Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138959 - app-office/openoffice-2.0.3 does not honour USE=-ldap
Summary: app-office/openoffice-2.0.3 does not honour USE=-ldap
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
: 139048 139068 139254 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-02 23:29 UTC by Sebastian Bergmann (RETIRED)
Modified: 2006-07-04 16:40 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Bergmann (RETIRED) gentoo-dev 2006-07-02 23:29:11 UTC
checking whether to build LDAP configuration backend... yes
checking which LDAP SDK to use... OpenLDAP
checking ldap.h usability... no
checking ldap.h presence... no
checking for ldap.h... no
configure: error: ldap.h not found. install openldap libs
make: *** [stamp/build] Error 1

!!! ERROR: app-office/openoffice-2.0.3 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  openoffice-2.0.3.ebuild, line 250:   Called die

!!! Build failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

-- 

wopr-mobile ~ # emerge -vp openoffice

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] app-office/openoffice-2.0.3 [2.0.2-r2] USE="eds firefox gnome gtk java mono pam% xml -binfilter -cairo -debug% -kde -ldap -odk%" LINGUAS="-af% -ar% -be_BY% -bg% -bn% -bs% -ca% -cs% -cy% -da% -de% -el% -en% -en_GB% -en_US% -en_ZA% -es% -et% -fa% -fi% -fr% -gu_IN% -he% -hi_IN% -hr% -hu% -it% -ja% -km% -ko% -lt% -mk% -nb% -nl% -nn% -nr% -ns% -pa_IN% -pl% -pt% -pt_BR% -ru% -rw% -sh_YU% -sk% -sl% -sr_CS% -st% -sv% -sw_TZ% -th% -tn% -tr% -ts% -vi% -xh% -zh_CN% -zh_TW% -zu%" 0 kB

-- 

Portage 2.1.1_pre2-r2 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r1 i686)
=================================================================
System uname: 2.6.17-gentoo-r1 i686 Genuine Intel(R) CPU           L2400  @ 1.66GHz
Gentoo Base System version 1.12.1
ccache version 2.4 [disabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=pentium-m -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig cvs digest distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms sign strict"
GENTOO_MIRRORS="http://mirror.gentoo.no/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://trumpetti.atm.tut.fi/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/src/gentoo /usr/portage/local/layman/vmware"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa asf avi berkdb bitmap-fonts bluetooth browserplugin bzip2 cairo cdr cli crypt cups dbus divx4linux dlloader dri dvd dvdr dvdread eds emboss encode exif fame firefox flac foomaticdb fortran gaim galago gdbm gif glitz gnome gpm graphviz gstreamer gtk gtk2 hal imlib iproute2 ipv6 isdnlog java jpeg kdeenablefinal kdehiddenvisibility libg++ libnotify libsexy libwww lzo mad matroska mikmod mjpeg mmx mng mono moznocompose moznoirc moznomail mozsvg mp3 mpeg ncurses nls nomotif nptl nsplugin ogg oggvorbis opengl oss pam pam_console pcre pdf pdflib perl png pppd python quicktime readline reflection samba session smp spell spl sse sse2 ssl startup-notification svg tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis win32codecs wmf xml xml2 xorg xv xvid zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_i810"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Andreas Proschofsky (RETIRED) gentoo-dev 2006-07-03 02:59:26 UTC
Seems like upstream removed my patch for this for whatever reason, will have to add it back.
Comment 2 Hanno Zysik (geki) 2006-07-03 05:01:17 UTC
@Andreas

You got in the ebuild:
	echo "`use_enable ldap openldap`" >> ${CONFFILE}

And it should be:
	echo "`use_enable ldap`" >> ${CONFFILE}
	echo "`use_with ldap openldap`" >> ${CONFFILE}

We talked about this some time ago. ;)
Comment 3 Andreas Proschofsky (RETIRED) gentoo-dev 2006-07-03 05:45:31 UTC
(In reply to comment #2)
> @Andreas
> 
> You got in the ebuild:
>         echo "`use_enable ldap openldap`" >> ${CONFFILE}
> 
> And it should be:
>         echo "`use_enable ldap`" >> ${CONFFILE}
>         echo "`use_with ldap openldap`" >> ${CONFFILE}
> 
> We talked about this some time ago. ;)

So it's your fault, isn't it? ;p

Will fix this soon, thanks Hanno for pointing this out. Seem to have forgotten about that in between...
Comment 4 Jan Schubert 2006-07-03 05:50:36 UTC
Same problem here, please fixe asap 'cause a lot of people will run into it!
Comment 5 Andreas Proschofsky (RETIRED) gentoo-dev 2006-07-03 07:43:55 UTC
fixed in cvs, closing
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-07-03 10:51:54 UTC
*** Bug 139048 has been marked as a duplicate of this bug. ***
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-07-03 12:43:29 UTC
*** Bug 139068 has been marked as a duplicate of this bug. ***
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-07-04 16:40:53 UTC
*** Bug 139254 has been marked as a duplicate of this bug. ***