Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 185409 - sys-libs/libuser requires sasl/sasl.h from dev-libs/cyrus-sasl no matter of use flags
Summary: sys-libs/libuser requires sasl/sasl.h from dev-libs/cyrus-sasl no matter of u...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
: 210286 222251 (view as bug list)
Depends on: 265668
Blocks:
  Show dependency tree
 
Reported: 2007-07-15 13:18 UTC by nBVCXz
Modified: 2009-07-30 12:55 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
deactivate sasl if configured --without-sasl (0.56.8-deactivate-SASL-when-configured-with-without-sasl-1010.patch,1.61 KB, patch)
2009-01-14 00:29 UTC, Matthias Langer
Details | Diff
deactive gtkdocs unconditionally in configure.in (0.56.8-deactivate-gtkdocs-1020.patch,813 bytes, text/plain)
2009-01-14 00:34 UTC, Matthias Langer
Details
sys-libs/libuser-0.56.8-r1.ebuild (libuser-0.56.8-r1.ebuild,1.32 KB, text/plain)
2009-01-14 00:42 UTC, Matthias Langer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nBVCXz 2007-07-15 13:18:37 UTC
no matter of use flags emerging sys-libs/libuser always requires sasl/sasl.h from dev-libs/cyrus-sasl - if you emerge it everything goes smooth

Reproducible: Always

Steps to Reproduce:
1.emerge libuser

Actual Results:  
mkdir python/.libs
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/python2.4 -Os -march=pentium3 -pipe -fno-ident -fomit-frame-pointer -ftree-vectorize -ftree-loop-linear -frename-registers -funit-at-a-time -freorder-blocks -freorder-blocks-and-partition -fgcse-sm -fgcse-las -fgcse-after-reload -fmerge-all-constants -combine -fweb -ftracer -Wall -Wcast-align -Wmissing-noreturn -Wnested-externs -Wpointer-arith -Wstrict-prototypes -Wundef -MT python/python_libusermodule_la-libusermodule.lo -MD -MP -MF python/.deps/python_libusermodule_la-libusermodule.Tpo -c python/libusermodule.c  -fPIC -DPIC -o python/.libs/python_libusermodule_la-libusermodule.o
modules/ldap.c:37:23: error: sasl/sasl.h: No such file or directory
modules/ldap.c: In function 'interact':
modules/ldap.c:239: error: 'sasl_interact_t' undeclared (first use in this function)
modules/ldap.c:239: error: (Each undeclared identifier is reported only once
modules/ldap.c:239: error: for each function it appears in.)
modules/ldap.c:239: error: 'interact_data' undeclared (first use in this function)
modules/ldap.c:246: error: 'SASL_CB_LIST_END' undeclared (first use in this function)
modules/ldap.c:251: error: 'SASL_CB_USER' undeclared (first use in this function)
modules/ldap.c:258: error: 'SASL_CB_AUTHNAME' undeclared (first use in this function)
make[2]: *** [modules/modules_libuser_ldap_la-ldap.lo] Błąd 1
make[2]: *** Oczekiwanie na niezakończone zadania....
make[1]: *** [all-recursive] Błąd 1
make: *** [all] Błąd 2
 * 
 * ERROR: sys-libs/libuser-0.54.6 failed.
 * Call stack:
 *   ebuild.sh, line 1647:   Called dyn_compile
 *   ebuild.sh, line 988:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   libuser-0.54.6.ebuild, line 42:   Called die
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2007-07-15 16:31:25 UTC
Try 0.56.4, I just added it. Should show up in an hour. Built fine for me without cyrus-sasl installed.
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2007-10-15 09:15:50 UTC
Assuming fixed from lack of response to comment #1.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2008-02-15 22:06:15 UTC
*** Bug 210286 has been marked as a duplicate of this bug. ***
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2008-02-15 22:06:37 UTC
Not really.
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2008-03-19 06:45:17 UTC
Still can't reproduce it on 0.56.8 without cyrus-sasl installed and with USE="-sasl", closing again.
Comment 6 Hongjiu Zhang 2008-05-19 12:18:24 UTC
*** Bug 222251 has been marked as a duplicate of this bug. ***
Comment 7 Robert Piasek (RETIRED) gentoo-dev 2008-06-09 11:14:39 UTC
(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....
Comment 8 Matthias Langer 2009-01-13 21:04:00 UTC
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
Comment 9 Matthias Langer 2009-01-13 21:39:45 UTC
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
Comment 10 Matthias Langer 2009-01-14 00:29:30 UTC
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.
Comment 11 Matthias Langer 2009-01-14 00:34:07 UTC
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.
Comment 12 Matthias Langer 2009-01-14 00:42:33 UTC
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?
Comment 13 Matthias Langer 2009-04-07 21:55:53 UTC
(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?

Comment 14 Samuli Suominen (RETIRED) gentoo-dev 2009-07-30 12:55:29 UTC
Removed from tree.