Summary: | version bump: net-filter/anubis-3.9.95 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Daniel Black (RETIRED) <dragonheart> |
Component: | Current packages | Assignee: | Net-Mail Packages <net-mail+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | EBUILD |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 57193 | ||
Attachments: |
anubis-3.9.95.ebuild
files/transmode.c.patch files/authmode.c.patch anubis-3.9.95.ebuild config.log |
Description
Daniel Black (RETIRED)
2004-08-09 06:25:12 UTC
Created attachment 37095 [details] anubis-3.9.95.ebuild See bug 57193 for gpgme plan. If possible could a anubis-3.6.2-r2.ebuild be created to depend on version 0.3.14-r1. export GPGME_CONF=${ROOT}/usr/bin/gpgme3-config before configure and replace gpgme.h with gpgme3.h in the included. Ignore sed .... GPGME_CONF=${ROOT}/usr/bin/gpgme3-config should be sufficient before configure. Give me 1 hr to commit changes to make this sufficient. Ignore comment #1 - this is a gpgme-0.9+ dependand program. Error with sys-libs/pam-0.77 emerge anubis-3.9.95 (attached ebuild) cc -march=pentium3 -O2 -pipe -o anubis authmode.o daemon.o env.o errs.o esmtp.o exec.o gpg.o gsasl_srv.o guile.o help.o ident.o log.o main.o map.o message.o mime.o misc.o net.o quit.o rcfile.o rcfile-gram.o rcfile-lex.o regex.o socks.o transmode.o tunnel.o xdatabase.o ./libanubisdb.a ../lib/libanubis.a -lguile -lguile-ltdl -lqthreads -lpthread -lcrypt -lm -lpam_misc -lpam -lssl -lcrypto -lresolv -lgpgme -lnsl transmode.o(.text+0x1b7): In function `anubis_transparent_mode': : undefined reference to `pam_retval' transmode.o(.text+0x1c0): In function `anubis_transparent_mode': : undefined reference to `pam_retval' collect2: ld returned 1 exit status distcc[11979] ERROR: compile on localhost failed make[3]: *** [anubis] Error 1 make[3]: Leaving directory `/var/tmp/portage/anubis-3.9.95/work/anubis-3.9.95/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/anubis-3.9.95/work/anubis-3.9.95/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/anubis-3.9.95/work/anubis-3.9.95' make: *** [all] Error 2 !!! ERROR: mail-filter/anubis-3.9.95 failed. !!! Function src_compile, Line 53, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. frog anubis # env GENTOO_MIRRORS="" PORTDIR_OVERLAY=/home/dan/gentoo/gentoo-x86 emerge info Portage 2.0.51_pre17 (default-x86-2004.2, gcc-3.3.3, glibc-2.3.3.20040420-r1, 2.6.7-gentoo-r11 i686 Celeron (Coppermine)) ================================================================= System uname: 2.6.7-gentoo-r11 i686 Celeron (Coppermine) Gentoo Base System version 1.4.16 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.3 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.4.3-r4 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O2 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache cvs distcc maketest sandbox sign userpriv usersandbox" GENTOO_MIRRORS="" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/dan/gentoo/gentoo-x86" SYNC="rsync://rsync.au.gentoo.org/gentoo-portage" USE="X acpi alsa apm arts artswrappersuid avi berkdb bonobo cdr crypt cups encode ethereal fam fastcgi flash foomaticdb gd gif gphoto2 gtk gtkhtml guile imagemagick imlib java jpeg kde kerberos libgda libwww mad mbox mikmod mmx motif mozilla mpeg mysql nptl ntlm oggvorbis openal operanom2 pam pdflib perl php png postgres ppds python qt quicktime readline samba sdl slp socks5 sox spell sse ssl svga tcltk tetex tiff truetype usb vhosts x86 xinerama xml xml2 xv zlib" frog anubis # env GENTOO_MIRRORS="" PORTDIR_OVERLAY=/home/dan/gentoo/gentoo-x86 USE=-pam ebuild anubis-3.9.95.ebuild install >>> md5 src_uri ;-) anubis-3.9.95.tar.gz >>> Unpacking source... >>> Unpacking anubis-3.9.95.tar.gz to /var/tmp/portage/anubis-3.9.95/work >>> Source unpacked. crypt ssl QA Notice: USE Flag 'sock5' not in IUSE for mail-filter/anubis-3.9.95 ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-unprivileged-user=anubis --with-openssl --with-mysql --with-postgres --without-pam --without-pcre --without-nls --with-guile --without-dbm --without-socks-proxy configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. works ok Note: QA Notice: USE Flag 'sock5' not in IUSE for mail-filter/anubis-3.9.95 can you commit this without pam support for now? please? Created attachment 38413 [details, diff]
files/transmode.c.patch
patch to fix pam compile failure. Doing final testing on other permutations of
USE flags. Will submit fixed ebuild soon.
Created attachment 38414 [details, diff]
files/authmode.c.patch
Another pam patch
Created attachment 38415 [details]
anubis-3.9.95.ebuild
Fixed ebuild - all USE flags are already in the use.description (globals).
Check the config.log for sock5 being enabled - it wasn't working for me and I
don't know why. I tried an option as use_with as well which didn't work either.
FYI patches submitted upstream and incorporated into their cvs. Please commit this. It is blocking a cleanout of a number of SLOTS of gpgme which is realy a mess at the moment. So do those two patches need to be applied by the ebuild, or are they already contained in 3.9.95 ? Even after applying those two patches, linking bails out with this: gcc -march=pentium4 -Os -pipe -fomit-frame-pointer -funroll-loops -falign-functions=4 -o anubis authmode.o daemon.o env.o errs.o esmtp.o exec.o gpg.o gsasl_srv.o guile.o help.o ident.o log.o main.o map.o message.o mime.o misc.o net.o quit.o rcfile.o rcfile-gram.o rcfile-lex.o regex.o socks.o transmode.o tunnel.o xdatabase.o ./libanubisdb.a ../lib/libanubis.a -lguile -lguile-ltdl -lqthreads -lpthread -lcrypt -lm -lgsasl -lnsl -lwrap -lpam_misc -lpam -lssl -lcrypto -lresolv -lgpgme -lnsl -lgdbm gpg.o(.text+0x8): In function `gpgme_debug_info': : undefined reference to `gpgme_get_op_info' gpg.o(.text+0x5a1): In function `gpg_encrypt': : undefined reference to `gpgme_recipients_new' gpg.o(.text+0x5ac): In function `gpg_encrypt': : undefined reference to `gpgme_recipients_new' gpg.o(.text+0x624): In function `gpg_encrypt': : undefined reference to `gpgme_recipients_add_name_with_validity' gpg.o(.text+0x637): In function `gpg_encrypt': : undefined reference to `gpgme_recipients_add_name_with_validity' gpg.o(.text+0x6b4): In function `gpg_encrypt': : undefined reference to `gpgme_recipients_add_name_with_validity' gpg.o(.text+0x6c7): In function `gpg_encrypt': : undefined reference to `gpgme_recipients_add_name_with_validity' gpg.o(.text+0x73a): In function `gpg_encrypt': : undefined reference to `gpgme_recipients_add_name_with_validity' gpg.o(.text+0x74d): more undefined references to `gpgme_recipients_add_name_with_validity' follow gpg.o(.text+0x86a): In function `gpg_encrypt': : undefined reference to `gpgme_recipients_release' gpg.o(.text+0x94f): In function `gpg_encrypt': : undefined reference to `gpgme_recipients_release' gpg.o(.text+0xb7a): In function `gpg_sign_encrypt': : undefined reference to `gpgme_recipients_new' gpg.o(.text+0xb85): In function `gpg_sign_encrypt': : undefined reference to `gpgme_recipients_new' gpg.o(.text+0xbf9): In function `gpg_sign_encrypt': : undefined reference to `gpgme_recipients_add_name_with_validity' gpg.o(.text+0xc0c): In function `gpg_sign_encrypt': : undefined reference to `gpgme_recipients_add_name_with_validity' gpg.o(.text+0xc87): In function `gpg_sign_encrypt': : undefined reference to `gpgme_recipients_add_name_with_validity' gpg.o(.text+0xc9a): In function `gpg_sign_encrypt': : undefined reference to `gpgme_recipients_add_name_with_validity' gpg.o(.text+0xd0d): In function `gpg_sign_encrypt': : undefined reference to `gpgme_recipients_add_name_with_validity' gpg.o(.text+0xd20): more undefined references to `gpgme_recipients_add_name_with_validity' follow gpg.o(.text+0xe3b): In function `gpg_sign_encrypt': : undefined reference to `gpgme_recipients_release' gpg.o(.text+0xf20): In function `gpg_sign_encrypt': : undefined reference to `gpgme_recipients_release' collect2: ld returned 1 exit status make[3]: *** [anubis] Error 1 make[3]: Leaving directory `/var/tmp/portage/anubis-3.9.95/work/anubis-3.9.95/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/anubis-3.9.95/work/anubis-3.9.95/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/anubis-3.9.95/work/anubis-3.9.95' make: *** [all] Error 2 I'm emerging anubis with these USE flags: [ebuild U ] mail-filter/anubis-3.9.95 [3.6.2-r1] +crypt -dbm +guile -mysql +nls +pam -pcre -postgres +sasl -socks5 +ssl +tcpd 0 kB -------------------- # emerge --info Portage 2.0.51_pre20 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.6.7 i686 Intel(R) Celeron(R) CPU 2.60GHz) ================================================================= System uname: 2.6.7 i686 Intel(R) Celeron(R) CPU 2.60GHz Gentoo Base System version 1.5.3 distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.7-r4 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -Os -pipe -fomit-frame-pointer -funroll-loops -falign-functions=4" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -Os -pipe -fomit-frame-pointer -funroll-loops -falign-functions=4" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache cvs digest sandbox sign" GENTOO_MIRRORS="http://gentoo.ynet.sk/pub ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.easynet.nl/mirror/gentoo " MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage/" PORTDIR_OVERLAY="/usr/local/portage" SYNC="cvs://ticho@cvs.gentoo.org:/var/cvsroot" USE="X aalib alsa apm avi berkdb cdr crypt divx4linux doc encode flac foomaticdb gdbm gif gnutls gtk gtk2 guile imlib java jpeg libg++ libwww mad mailwrapper mbox mikmod mmx mozilla moznocompose moznoirc moznoxft mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sasl scanner sdl slang sse ssl tcltk tcpd tetex tiff truetype type1 unicode x86 xml2 xmms xv zlib" Any ideas? Created attachment 39184 [details] config.log Yes patches are needed until the next release. At the moment its a works for me: env PORTDIR_OVERLAY=/home/dan/gentoo/gentoo-x86/ ACCEPT_KEYWORDS=~x86 CFLAGS=" -Os -pipe -fomit-frame-pointer -funroll-loops -falign-functions=4" USE="crypt -dbm guile -mysql nls pam -pcre -postgres sasl -socks5 ssl tcpd" FEATURES=-strict emerge -pv =mail-filter/anubis-3.9.95 These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] mail-filter/anubis-3.9.95 +crypt -dbm +guile -mysql +nls +pam -pcre -postgres +sasl -socks5 +ssl +tcpd 0 kB [1] Total size of downloads: 0 kB Portage overlays: [1] /home/dan/gentoo/gentoo-x86 Portage 2.0.51_pre20 (selinux/2004.1/x86, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8-gentoo-r1 i686 Pentium III (Coppermine)) ================================================================= System uname: 2.6.8-gentoo-r1 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.16 distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.4.3-r4 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS=" -Os -pipe -fomit-frame-pointer -funroll-loops -falign-functions=4" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache cvs distcc loadpolicy maketest sandbox sfperms userpriv usersandbox" GENTOO_MIRRORS="ftp://mirror.internode.on.net/pub/gentoo http://premium.planetmirror.com/pub/gentoo http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/dan/gentoo/gentoo-x86" SYNC="rsync://rsync.au.gentoo.org/gentoo-portage" USE="acl acpi apache2 arts berkdb crypt cups esd ethereal fam fastcgi flash gd gdbm gpm gtk guile imagemagick java libgda libwww mbox mmx motif ncurses nls nptl oav openal opengl pam perl php pic plotutils png python qt readline samba sasl selinux skey slang slp sox sse ssl tcpd tetex tiff usb vhosts x86 xinerama xml zeo zlib" gcc -Os -pipe -fomit-frame-pointer -funroll-loops -falign-functions=4 -o anubis authmode.o daemon.o env.o errs.o esmtp.o exec.o gpg.o gsasl_srv.o guile.o help.o ident.o log.o main.o map.o message.o mime.o misc.o net.o quit.o rcfile.o rcfile-gram.o rcfile-lex.o regex.o socks.o transmode.o tunnel.o xdatabase.o ./libanubisdb.a ../lib/libanubis.a -lguile -lguile-ltdl -lqthreads -lpthread -lcrypt -lm -lgsasl -lnsl -lwrap -lpam_misc -lpam -lssl -lcrypto -lresolv -lgpgme -lnsl -lgdbm if gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I. -I. -I.. -I../lib -I../intl -Os -pipe -fomit-frame-pointer -funroll-loops -falign-functions=4 -MT anubisadm.o -MD -MP -MF ".deps/anubisadm.Tpo" -c -o anubisadm.o anubisadm.c; \ then mv -f ".deps/anubisadm.Tpo" ".deps/anubisadm.Po"; else rm -f ".deps/anubisadm.Tpo"; exit 1; fi gcc -Os -pipe -fomit-frame-pointer -funroll-loops -falign-functions=4 -o anubisadm anubisadm.o ./libanubisdb.a ../lib/libanubis.a -lnsl -lwrap -lpam_misc -lpam -lssl -lcrypto -lresolv -lgpgme -lnsl -lgdbm make[3]: Leaving directory `/var/tmp/portage/anubis-3.9.95/work/anubis-3.9.95/src' make[2]: Leaving directory `/var/tmp/portage/anubis-3.9.95/work/anubis-3.9.95/src' Making all in elisp make[2]: Entering directory `/var/tmp/portage/anubis-3.9.95/work/anubis-3.9.95/elisp' links with libraries: /lib/ld-linux.so.2 /lib/libc.so.6 /lib/libcrypt.so.1 /lib/libdl.so.2 /lib/libm.so.6 /lib/libnsl.so.1 /lib/libpam.so.0 /lib/libpam_misc.so.0 /lib/libpthread.so.0 /lib/libresolv.so.2 /lib/libwrap.so.0 /usr/lib/libcrypto.so.0.9.7 /usr/lib/libgdbm.so.2 /usr/lib/libgpg-error.so.0 /usr/lib/libgpgme.so.11 /usr/lib/libgsasl.so.1 /usr/lib/libguile-ltdl.so.1 /usr/lib/libguile.so.12 /usr/lib/libqthreads.so.12 /usr/lib/libssl.so.0.9.7 Corresponding packages: ldd usr/bin/anubisusr usr/sbin/anubis* | cut -f 3 -d ' ' | sort -u | xargs -n1 qpkg -f -v | uniq sys-libs/glibc-2.3.3.20040420-r1 * sys-libs/pam-0.77 * sys-libs/glibc-2.3.3.20040420-r1 * sys-apps/tcp-wrappers-7.6-r8 * dev-libs/openssl-0.9.7d-r1 * sys-libs/gdbm-1.8.0-r5 * dev-libs/libgpg-error-1.0 * app-crypt/gpgme-0.9.0-r1 * net-libs/libgsasl-0.1.1 * dev-util/guile-1.6.4-r1 * dev-libs/openssl-0.9.7d-r1 * I tried a few gpgme installs (in the following order) app-crypt/gpgme-0.9.0-r1 app-crypt/gpgme-0.3.14-r1 app-crypt/gpgme-0.3.16 app-crypt/gpgme-0.3.14 still anubis still compiled fine after each one. I've even remerged them just to me sure. Tried on a different machine - worked fine. Anything else to try? Stumped for ideas now. Ok, the problem is SLOT value of gpgme-0.3.14 (slot 0) and gpgme-0.3.14-r1 (slot 0.3). I had both installed, as well as 0.9.0-r1. /usr/lib/libgpgme.so was owned by both 0.3.14 and 0.9.0-r1. Therefore those linking problems. Somehow, we need to force users to unmerge 0.3.14 in favor of 0.3.14-r1, and *after* that, re-emerge 0.9.0, so it installs proper /usr/lib/libgpgme.so. Maybe mask 0.3.14 ? anubis-3.9.95 in CVS now, works fine after gpgme 0.9.0 was re-emerged to install correct files. |