Package: silc-toolkit Version: 1.1.9-1 Severity: important Tags: patch User: [email protected] Usertags: kfreebsd
Hi, your package FTBFS, given threads aren't detected on GNU/kFreeBSD, leading to missing SILC_THREADS definition, and then missing functions, as can be seen there: | dpkg-gensymbols: warning: some new symbols appeared in the symbols file: see diff output below | dpkg-gensymbols: warning: some symbols disappeared in the symbols file: see diff output below | dpkg-gensymbols: warning: debian/libsilc-1.1-2/DEBIAN/symbols doesn't match completely debian/libsilc-1.1-2.symbols | --- dpkg-gensymbols_libsilc-1.1-2_kfreebsd-i386 | +++ dpkg-gensymbolskjDu55 2009-07-06 22:27:06.000000000 +0000 | @@ -254,7 +254,7 @@ | silc_default_hm...@base 1.1.3 | silc_default_p...@base 1.1.3 | silc_default_pkcs_...@base 1.1.3 | - silc_ep...@base 1.1.3 | +#MISSING: 1.1.9-1# silc_ep...@base 1.1.3 | silc_fd_stream_cl...@base 1.1.3 | silc_fd_stream_crea...@base 1.1.3 | silc_fd_stream_cre...@base 1.1.3 | @@ -730,6 +730,7 @@ | silc_pkcs_unregis...@base 1.1.3 | silc_pkcs_unregister_...@base 1.1.3 | silc_pkcs_ver...@base 1.1.3 | + silc_p...@base 1.1.9-1 | silc_public_key_payload_dec...@base 1.1.3 | silc_public_key_payload_enc...@base 1.1.3 | silc_real...@base 1.1.3 | @@ -788,8 +789,8 @@ | silc_schedule_uni...@base 1.1.3 | silc_schedule_unset_listen...@base 1.1.3 | silc_schedule_wak...@base 1.1.3 | - silc_schedule_wakeup...@base 1.1.3 | - silc_schedule_wakeup_i...@base 1.1.3 | +#MISSING: 1.1.9-1# silc_schedule_wakeup...@base 1.1.3 | +#MISSING: 1.1.9-1# silc_schedule_wakeup_i...@base 1.1.3 | silc_sftp_attr_dec...@base 1.1.3 | silc_sftp_attr_enc...@base 1.1.3 | silc_sftp_attr_f...@base 1.1.3 | dh_makeshlibs: dpkg-gensymbols returned exit code 1 | make: *** [binary-arch] Error 1 Full build log: https://buildd.debian.org/~luk/status/package.php?p=silc-toolkit&suite=unstable Patch attached (you may want to relibtoolize afterwards). Once that fixed, there's poll vs. epoll too, as can be seen below: | --- dpkg-gensymbols_libsilc-1.1-2_kfreebsd-i386 | +++ dpkg-gensymbolsdzMAFK 2009-07-11 14:11:41.000000000 +0200 | @@ -254,7 +254,7 @@ | silc_default_hm...@base 1.1.3 | silc_default_p...@base 1.1.3 | silc_default_pkcs_...@base 1.1.3 | - silc_ep...@base 1.1.3 | +#MISSING: 1.1.9-1# silc_ep...@base 1.1.3 | silc_fd_stream_cl...@base 1.1.3 | silc_fd_stream_crea...@base 1.1.3 | silc_fd_stream_cre...@base 1.1.3 | @@ -730,6 +730,7 @@ | silc_pkcs_unregis...@base 1.1.3 | silc_pkcs_unregister_...@base 1.1.3 | silc_pkcs_ver...@base 1.1.3 | + silc_p...@base 1.1.9-1 | silc_public_key_payload_dec...@base 1.1.3 | silc_public_key_payload_enc...@base 1.1.3 | silc_real...@base 1.1.3 | dh_makeshlibs: dpkg-gensymbols returned exit code 1 AFAICT, epoll is Linux-specific, and “replaced” by poll here. Please also tweak your symbols file accordingly (for both kfreebsd-{i386,amd64}). You may want to know that debhelper 7.2.11 has .$os support in addition to .$arch support, so that you should only need a .kfreebsd file. Mraw, KiBi.
diff -u silc-toolkit-1.1.9/debian/changelog silc-toolkit-1.1.9/debian/changelog --- silc-toolkit-1.1.9/debian/changelog +++ silc-toolkit-1.1.9/debian/changelog @@ -1,3 +1,10 @@ +silc-toolkit (1.1.9-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix missing thread detection on GNU/kFreeBSD. + + -- Cyril Brulebois <[email protected]> Sat, 11 Jul 2009 14:06:31 +0200 + silc-toolkit (1.1.9-1) unstable; urgency=low [ Daniel Kahn Gillmor ] only in patch2: unchanged: --- silc-toolkit-1.1.9.orig/configure +++ silc-toolkit-1.1.9/configure @@ -2942,7 +2942,7 @@ # Put here any platform specific stuff # case "$target" in - *-*-linux*) + *-*-linux*|*-k*bsd*-gnu) check_threads=true CFLAGS=`echo $CFLAGS -D_GNU_SOURCE` ;; only in patch2: unchanged: --- silc-toolkit-1.1.9.orig/configure.ac +++ silc-toolkit-1.1.9/configure.ac @@ -40,7 +40,7 @@ # Put here any platform specific stuff # case "$target" in - *-*-linux*) + *-*-linux*|*-k*bsd*-gnu) check_threads=true CFLAGS=`echo $CFLAGS -D_GNU_SOURCE` ;;

