Bug#756794: vsftpd: FTBFS on kfreebsd-*
tags + patch user debian-...@lists.debian.org usertags + kfreebsd thanks Hi, On 20/08/14 16:38, Jörg Frings-Fürst wrote: > There are no changes at sysdeputil.c between vsftpd/3.0.2-14 and > vsftpd/3.0.2-15. I see what happened: kfreebsd-kernel-headers introduced a new sys/capability.h which we did not have before. vsftpd will use it in preference to a dummyinc/sys/capability.h You can see in dummyinc/sys/capability.h that it would otherwise #undef VSF_SYSDEP_HAVE_LIBCAP. vsftpd expects sys/capability.h will define cap_t, but only libcap has that, our header does not. I'm not sure what's right/wrong here. libcap is a linux-any package currently but would conflict with this FreeBSD kernel header otherwise. (Why does libpcap put it in sys/?) Either way, we don't seem to have libcap on GNU/kFreeBSD, and quoting Ben Kaduk: > It seems [libpcap] is the provider of the cap_t; there is no such concept in > the base freebsd system. I think it is appropriate to add the attached, along with the other platform-specific configuration atop sysdeputil.c Regards, -- Steven Chamberlain ste...@pyro.eu.org Description: Neither FreeBSD nor GNU/kFreeBSD have libpcap. Avoid confusing sys/capability.h kernel header with libpcap's Author: Steven Chamberlain Bug-Debian: http://bugs.debian.org/756794 Forwarded: no --- a/sysdeputil.c +++ b/sysdeputil.c @@ -113,6 +113,10 @@ #define VSF_SYSDEP_HAVE_SETPROCTITLE #endif +#if defined(__FreeBSD_kernel__) + #undef VSF_SYSDEP_HAVE_LIBCAP +#endif + #if defined(__NetBSD__) #include #define VSF_SYSDEP_HAVE_SETPROCTITLE signature.asc Description: OpenPGP digital signature
Bug#760165: graphviz: [kfreebsd] multithreaded dot hangs sometimes
tags 760165 + patch thanks On 01/09/14 17:51, Gilles Filippini wrote: > On Mon, 01 Sep 2014 13:33:26 +0100 Steven Chamberlain > wrote: >> This does look like a bug in graphviz running with multiple threads > > Doesn't it look like #701832 that you fixed a while ago? Wow, that was 18 months ago, I had absolutely no memory of that! > Looking at lib/gvc/gvconfig.c, the /proc/self/map related code isn't > guarded by #ifdef linux anymore. You're right, the patch got out of sync with upstream and was removed in error. I've attached an updated version. With it, I was able to build the shogun documentation successfully on kfreebsd-i386 with 5 threads. Thanks, Regards, -- Steven Chamberlain ste...@pyro.eu.org --- a/lib/gvc/gvconfig.c +++ b/lib/gvc/gvconfig.c @@ -328,6 +328,7 @@ char * gvconfig_libdir(GVC_t * gvc) } } #else +#ifdef linux FILE* f = fopen ("/proc/self/maps", "r"); char* path; if (f) { @@ -356,6 +357,7 @@ char * gvconfig_libdir(GVC_t * gvc) } #endif #endif +#endif } } if (gvc->common.verbose && !dirShown) {
Bug#763679: regexxer: FTBFS[kfreebsd-amd64,mips*]: related to -fPIC?
Package: regexxer Version: 0.9-5 Severity: serious Hi, regexxer 0.9-5 FTBFS on kfreebsd-amd64, mips and mipsel: https://buildd.debian.org/status/logs.php?pkg=regexxer&ver=0.9-5 from config.log: | configure:3289: checking whether we are cross compiling | configure:3297: gcc -o conftest -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 -Wl,-z,defs -Wl,-O1 -Wl,--as-needed | -pie -Wl,-z,relro -Wl,-z,now conftest.c >&5 | /usr/bin/ld.bfd.real: /tmp/ccGMnb8i.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC | /tmp/ccGMnb8i.o: error adding symbols: Bad value | collect2: error: ld returned 1 exit status | configure:3301: $? = 1 | configure:3308: ./conftest | /home/steven/regexxer-0.9/./configure: line 3310: ./conftest: No such file or directory | configure:3312: $? = 127 | configure:3319: error: in `/home/steven/regexxer-0.9': | configure:3321: error: cannot run C compiled programs. -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable') Architecture: kfreebsd-amd64 (x86_64) Kernel: kFreeBSD 9.0-2-amd64-xenhvm-ipsec Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20141001194335.93924.95974.report...@sid.kfreebsd-amd64.pyro.eu.org
Bug#765284: htdig: FTBFS on kfreebsd-*: 'ETIME' undeclared
tags 765284 + patch thanks Hi, On 13/10/14 22:24, Sebastian Ramacher wrote: > | mut_pthread.c:204:27: error: 'ETIME' undeclared (first use in this function) > | if (ret != 0 && ret != ETIME && ret != ETIMEDOUT) Patch attached for this; please see its description. Thanks, Regards, -- Steven Chamberlain ste...@pyro.eu.org From: Steven Chamberlain Subject: only use ETIME if defined Bug-Debian: http://bugs.debian.org/765284 Forwarded: no ETIME relates to an optional POSIX STREAMS extension not implemented on some platforms (such as GNU/kFreeBSD). Don't check for this return value on platforms that don't define it. --- db/mut_pthread.c.orig 2002-02-02 18:18:05.0 + +++ db/mut_pthread.c 2014-10-14 12:40:53.771737556 +0100 @@ -201,7 +201,11 @@ * call, and Solaris delivers the signal to the wrong * LWP. */ - if (ret != 0 && ret != ETIME && ret != ETIMEDOUT) + if (ret != 0 && +#ifdef ETIME + ret != ETIME && +#endif + ret != ETIMEDOUT) return (ret); } signature.asc Description: OpenPGP digital signature
Bug#664612: wu-ftpd: FTBFS[kfreebsd]: error: 'struct dqblk64' has no member named 'dqb_fhardlimit'
reassign 664612 kfreebsd-kernel-headers 0.78 tags 664612 + patch thanks Hi, Actually something in ufs/quota.h was causing a configure testcase -- for quota type -- to reach the wrong result ('file' instead of 'inode' quotas; config.log excerpt below). The configure testcase includes sys/types.h before ufs/quota.h. But both u_int32_t and uint32_t are used there. The attached patch hunk fixes this if appended to 004_stdint_h.diff. > configure:6135: checking whether quota support is file- or inode based > configure:6182: i486-kfreebsd-gnu-gcc -c -g -Wall -D_FILE_OFFSET_BITS=64 -O2 > conftest.c >&5 > In file included from conftest.c:126:0: > /usr/include/ufs/ufs/quota.h:129:2: error: unknown type name 'uint32_t' > /usr/include/ufs/ufs/quota.h:130:2: error: unknown type name 'uint32_t' > /usr/include/ufs/ufs/quota.h:131:2: error: unknown type name 'uint32_t' > conftest.c: In function 'main': > conftest.c:132:6: warning: unused variable 'f' [-Wunused-variable] > configure:6182: $? = 1 > configure: failed program was: > | /* confdefs.h */ > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define PACKAGE_URL "" > | #define STDC_HEADERS 1 > | #define TIME_WITH_SYS_TIME 1 > | #define AUTOCONF 1 > | #define HAVE_SYS_TYPES_H 1 > | #define HAVE_SYS_STAT_H 1 > | #define HAVE_STDLIB_H 1 > | #define HAVE_STRING_H 1 > | #define HAVE_MEMORY_H 1 > | #define HAVE_STRINGS_H 1 > | #define HAVE_INTTYPES_H 1 > | #define HAVE_STDINT_H 1 > | #define HAVE_UNISTD_H 1 > | #define HAVE_DIRENT_H 1 > | #define HAVE_REGEX_H 1 > | #define HAVE_SHADOW_H 1 > | #define HAVE_SECURITY_PAM_APPL_H 1 > | #define HAVE_SYSLOG_H 1 > | #define HAVE_SYS_SYSLOG_H 1 > | #define HAVE_FCNTL_H 1 > | #define HAVE_MNTENT_H 1 > | #define HAVE_STDLIB_H 1 > | #define HAVE_UNISTD_H 1 > | #define HAVE_GLOB_H 1 > | #define HAVE_GRP_H 1 > | #define HAVE_SYS_DIR_H 1 > | #define HAVE_STRING_H 1 > | #define HAVE_BSD_BSD_H 1 > | #define HAVE_SYS_PARAM_H 1 > | #define HAVE_VALUES_H 1 > | #define HAVE_LIMITS_H 1 > | #define HAVE_SYS_TYPES_H 1 > | #define HAVE_PATHS_H 1 > | #define HAVE_DIRFD 1 > | #define HAVE_FCHDIR 1 > | #define HAVE_FLOCK 1 > | #define HAVE_FTW 1 > | #define HAVE_GETCWD 1 > | #define HAVE_GETDTABLESIZE 1 > | #define HAVE_LSTAT 1 > | #define HAVE_VPRINTF 1 > | #define HAVE_SNPRINTF 1 > | #define HAVE_REGEXEC 1 > | #define HAVE_FGETSPENT 1 > | #define HAVE_GETUSERSHELL 1 > | #define HAVE_SETUID 1 > | #define HAVE_VSNPRINTF 1 > | #define HAVE_SNPRINTF 1 > | #define HAVE_STRCASESTR 1 > | #define HAVE_STRDUP 1 > | #define HAVE_STRERROR 1 > | #define HAVE_STRSEP 1 > | #define HAVE_STRSTR 1 > | #define HAVE_SYSLOG 1 > | #define HAVE_GLOB 1 > | #define HAVE_STRCASECMP 1 > | #define HAVE_STRNCASECMP 1 > | #define HAVE_SIGPROCMASK 1 > | #define HAVE_QUOTACTL 1 > | #define HAVE_GETRLIMIT 1 > | #define HAVE_SYSCONF 1 > | #define HAVE_SETSID 1 > | #define HAVE_MEMMOVE 1 > | #define HAVE_STRTOUL 1 > | #define HAVE_SETEUID 1 > | #define HAVE_SETEGID 1 > | #define HAVE_SIGLIST 1 > | #define QSORT_IS_VOID 1 > | #define NEED_VALUES_H 1 > | #define NBBY BITSPERBYTE > | #define FACILITY LOG_FTP > | #define HAVE_UT_UT_HOST 1 > | #define HAVE_UT_UT_EXIT_E_TERMINATION 1 > | #define HAVE_ST_BLKSIZE 1 > | #define GR_GID_FORMAT "u" > | #define PW_UID_FORMAT "u" > | #define L_FORMAT "qd" > | #define T_FORMAT "u" > | #define HAVE_SETUID 1 > | #define UPLOAD 1 > | #define OVERWRITE 1 > | #define HOST_ACCESS 1 > | #define LOG_FAILED 1 > | #define LOG_TOOMANY 1 > | #define DNS_TRYAGAIN 1 > | #define HAVE_UFS_UFS_QUOTA_H 1 > | /* end confdefs.h. */ > | > | #include > | #ifdef TIME_WITH_SYS_TIME > | #include > | #include > | #else > | #ifdef HAVE_SYS_TIME_H > | #include > | #else > | #include > | #endif > | #endif > | #ifdef HAVE_SYS_TYPES_H > | #include > | #endif > | #ifdef HAVE_SYS_QUOTA_H > | #include > | #else > | #ifdef HAVE_LINUX_QUOTA_H > | #include > | #endif > | #endif > | #ifdef HAVE_SYS_FS_UFS_QUOTA_H > | #include > | #endif > | #ifdef HAVE_UFS_QUOTA_H > | #include > | #endif > | #ifdef HAVE_JFS_QUOTA_H > | #include > | #endif > | #ifdef HAVE_UFS_UFS_QUOTA_H > | #include > | #endif > | struct dqblk quota; > | int > | main () > | { > | int f=quota.dqb_ihardlimit; > | ; > | return 0; > | } > configure:6188: result: file Thanks! Regards, -- Steven Chamberlain ste...@pyro.eu.org --- a/sys/ufs/ufs/quota.h +++ b/sys/ufs/ufs/quota.h @@ -36,6 +36,8 @@ #ifndef _UFS_UFS_QUOTA_H_ #define _UFS_UFS_QUOTA_H_ +#include + /* * Definitions for disk quotas imposed on the average user * (big brother finally hits UNIX).
Bug#664612: wu-ftpd: FTBFS[kfreebsd]: error: 'struct dqblk64' has no member named 'dqb_fhardlimit'
On 06/04/12 21:30, Robert Millan wrote: > The correct > solution is to include before including . Ah okay. Tested with your stdint.diff for wu-ftpd and that works too. Have also checked that it still builds ok on amd64 (GNU/Linux) with it applied. As the package is orphaned, who would be able to handle an upload? Dominic? Thanks, Regards, -- Steven Chamberlain ste...@pyro.eu.org -- To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4f7f553e.2060...@pyro.eu.org
Bug#778418: ndisc6: fails to build on kfreebsd
Control: block -1 by 764692 Hi, Michael Gilbert wrote: > This package no longer builds on the freebsd architectures: > https://buildd.debian.org/ndisc6 This is another effect of #764692; we should be able to fix it in glibc post-jessie release, by updating the glibc-bsd copy of tcp.h (and others) with union of Linux and BSD-like struct tcphdr members. Regards, -- Steven Chamberlain ste...@pyro.eu.org -- To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150214191930.gb4...@squeeze.pyro.eu.org