Summary: | sys-libs/libuser requires sasl/sasl.h from dev-libs/cyrus-sasl no matter of use flags | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | nBVCXz <nbvcxz> |
Component: | [OLD] Library | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | emerg.reanimator, m.langer798, voidprayer |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://forums.gentoo.org/viewtopic.php?t=545734 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 265668 | ||
Bug Blocks: | |||
Attachments: |
deactivate sasl if configured --without-sasl
deactive gtkdocs unconditionally in configure.in sys-libs/libuser-0.56.8-r1.ebuild |
Description
nBVCXz
2007-07-15 13:18:37 UTC
Try 0.56.4, I just added it. Should show up in an hour. Built fine for me without cyrus-sasl installed. Assuming fixed from lack of response to comment #1. *** Bug 210286 has been marked as a duplicate of this bug. *** Not really. Still can't reproduce it on 0.56.8 without cyrus-sasl installed and with USE="-sasl", closing again. *** Bug 222251 has been marked as a duplicate of this bug. *** (In reply to comment #5) > Still can't reproduce it on 0.56.8 without cyrus-sasl installed and with > USE="-sasl", closing again. > * sys-libs/libuser [R 0.56.8] <target> ldap -quotas -sasl (selinux) Why does this bug have resolved status when it's not? Please check the log (especially the line: modules/ldap.c:33:23: error: sasl/sasl.h: No such file or directory) which suggest LDAP flag. The ebuild should have sasl as DEP for SASL and LDAP use flags. x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -march=core2 -Os -pipe -Wall -Wcast-align -Wmissing-noreturn -Wnested-externs -Wpointer-arith -Wstrict-prototypes -Wundef -MT modules/ldap.lo -MD -MP -MF modules/.deps/ldap.Tpo -c modules/ldap.c -fPIC -DPIC -o modules/.libs/ldap.o modules/ldap.c:33:23: error: sasl/sasl.h: No such file or directory modules/ldap.c: In function 'interact': modules/ldap.c:234: error: 'sasl_interact_t' undeclared (first use in this function) modules/ldap.c:234: error: (Each undeclared identifier is reported only once modules/ldap.c:234: error: for each function it appears in.) modules/ldap.c:234: error: 'res' undeclared (first use in this function) modules/ldap.c:241: error: 'SASL_CB_LIST_END' undeclared (first use in this function) modules/ldap.c:244: error: 'SASL_CB_USER' undeclared (first use in this function) modules/ldap.c:253: error: 'SASL_CB_AUTHNAME' undeclared (first use in this function) modules/ldap.c:260: error: 'SASL_CB_GETREALM' undeclared (first use in this function) mkdir python/.libs make[2]: *** [modules/ldap.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... Sorry, but I don't think this bug is fixed. When trying to install sys-libs/libuser-0.56.8 USE="ldap -quotas -sasl (-selinux)" i get: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=k8 -Wall -Wcast-align -Wmissing-noreturn -Wnested-externs -Wpointer-arith -Wstrict-prototypes -Wundef -MT modules/ldap.lo -MD -MP -MF modules/.deps/ldap.Tpo -c modules/ldap.c -fPIC -DPIC -o modules/.libs/ldap.o modules/ldap.c:33:23: error: sasl/sasl.h: No such file or directory modules/ldap.c: In function 'interact': modules/ldap.c:234: error: 'sasl_interact_t' undeclared (first use in this function) modules/ldap.c:234: error: (Each undeclared identifier is reported only once modules/ldap.c:234: error: for each function it appears in.) modules/ldap.c:234: error: 'res' undeclared (first use in this function) modules/ldap.c:241: error: 'SASL_CB_LIST_END' undeclared (first use in this function) modules/ldap.c:244: error: 'SASL_CB_USER' undeclared (first use in this function) modules/ldap.c:253: error: 'SASL_CB_AUTHNAME' undeclared (first use in this function) modules/ldap.c:260: error: 'SASL_CB_GETREALM' undeclared (first use in this function) make[2]: *** [modules/ldap.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/sys-libs/libuser-0.56.8/work/libuser-0.56.8' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/sys-libs/libuser-0.56.8/work/libuser-0.56.8' make: *** [all] Error 2 * * ERROR: sys-libs/libuser-0.56.8 failed. Portage 2.1.6.4 (default/linux/amd64/2008.0/server, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r7 x86_64) ================================================================= System uname: Linux-2.6.27-gentoo-r7-x86_64-AMD_Athlon-tm-_64_Processor_3200+-with-glibc2.2.5 Timestamp of tree: Tue, 13 Jan 2009 19:45:01 +0000 app-shells/bash: 3.2_p39 dev-lang/python: 2.5.2-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=k8" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -march=k8" DISTDIR="/var/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.uni-c.dk/pub/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ " LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" PKGDIR="/var/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/var/portage/repos/gentoo" PORTDIR_OVERLAY="/var/portage/repos/private" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="acl amd64 berkdb bzip2 caps cli cracklib crypt cups dri fam fortran gdbm gpm iconv ipv6 isdnlog ldap mailwrapper midi mmx mudflap multilib mysql ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session snmp spl sse sse2 ssl sysfs tcpd truetype unicode vim-syntax xattr xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS I've just reproduced exactly the same behavior (as explained in comment 8) on another box. Donnie (in reply to comment 5), if you are trying to reproduce this bug, please don't just unmerge cyrus-sysl, but also remerge openldap with USE="-sasl" before trying to install libuser. I'm going to look into this more closely. Portage 2.1.4.5 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.26.5 x86_64) ================================================================= System uname: 2.6.26.5 x86_64 Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz Timestamp of tree: Mon, 12 Jan 2009 22:15:02 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7-r1, 2.1.6 dev-lang/python: 2.5.2-r7 dev-util/cmake: 2.6.0 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=nocona -O2 -pipe" DISTDIR="/var/portage/distfiles" FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ http://mirror.uni-c.dk/pub/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ " LC_ALL="en_US.utf8" LDFLAGS="-Wl,-O1" LINGUAS="en de" MAKEOPTS="-j3" PKGDIR="/var/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/var/portage/repos/gentoo" PORTDIR_OVERLAY="/var/portage/repos/layman/sajinet /var/portage/repos/layman/science /var/portage/repos/layman/java-overlay /var/portage/repos/private" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac acpi alsa amd64 berkdb bluetooth branding bzip2 cairo caps cddb cdparanoia cdr cli cracklib crypt cups dbus djvu dri dvd dvdr dvdread eds emboss encode evo exif fam ffmpeg firefox flac fortran gd gdbm gif gimp gnome gnome-keyring gphoto2 gpm gstreamer gtk hal hddtemp iconv icu ipod ipv6 isdnlog java java6 jpeg jpeg2k lcms ldap libnotify lm_sensors mad matroska midi mikmod mmap mmx mmxext mono mp3 mpeg mudflap multilib musicbrainz ncurses nls nptl nptlonly nvidia ogg opengl openmp pam pcre pdf perl plotutils png ppds pppd pulseaudio python qt3support quicktime readline reflection ruby sdl session spell spl sse sse2 ssl ssse3 startup-notification svg sysfs tcpd tetex theora threads tiff truetype unicode usb vcd vim-syntax vorbis xattr xine xml xorg xulrunner xv xvid zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon konica ptp2 kodak" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="nvidia nv" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Created attachment 178437 [details, diff]
deactivate sasl if configured --without-sasl
This patch fixes the sasl related build failures for me. Please note that it has only been only roughly tested and needs some more improvements. What is most important: I've not verified that USE="sasl" still has the desired effect. Maybe someone could check.
Created attachment 178441 [details]
deactive gtkdocs unconditionally in configure.in
configure.in contained a call to a macro named "GTK_DOC_CHECK", that might not be available on lightweight systems. This leads to errors during eautoreconf. As there is no doc USE-flag anyway, I've fixed the errors metioned above by deactivating the gtkdocs unconditionally for the time being.
Created attachment 178444 [details]
sys-libs/libuser-0.56.8-r1.ebuild
Updated ebuild, that applies the patches attached above. Besides I've removed the "quotas" USE-flag as it has no effect as far as I can tell.
Now here is my question: Does it make any sense to spend more time on this, or are there superior alternatives anyway?
(In reply to comment #12) > Now here is my question: Does it make any sense to spend more time on this, or > are there superior alternatives anyway? Apparently not ;-). Treecleaners? Removed from tree. |