[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#384117: debian/rules preselects apr_lock_method wrong



Package: apr
Version: 1.2.7
Severity: important

in debian/rules I had to comment out that line:

ifeq ($(DEB_BUILD_ARCH),i386)
        # CONFFLAGS=apr_lock_method=USE_PROC_PTHREAD_SERIALIZE
        CONFFLAGS=
else

...after some hours of investigation! I have no idea what this should be
usefull for, but include/apr.h says:

#define APR_USE_FLOCK_SERIALIZE           0 
#define APR_USE_SYSVSEM_SERIALIZE         1
#define APR_USE_POSIXSEM_SERIALIZE        0
#define APR_USE_FCNTL_SERIALIZE           0
#define APR_USE_PROC_PTHREAD_SERIALIZE    0 
#define APR_USE_PTHREAD_SERIALIZE         1 

#define APR_HAS_FLOCK_SERIALIZE           1
#define APR_HAS_SYSVSEM_SERIALIZE         1
#define APR_HAS_POSIXSEM_SERIALIZE        0
#define APR_HAS_FCNTL_SERIALIZE           1
#define APR_HAS_PROC_PTHREAD_SERIALIZE    0

./configure does not detect APR_HAS_PROC_PTHREAD_SERIALIZE, so no need
to force it using that. - I forget where it broke compiling, but at
least one file has some #ifdefs that look on the _HAS_ on one side and
on the _USE_ on the other. They should match, but they didn't with 
CONFFLAGS in force.


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.21
Locale: LANG=spanish, LC_CTYPE=spanish (charmap=ISO-8859-1) (ignored: LC_ALL set to es_ES)



Reply to: