heimat heimat # emerge -Dpv openoffice These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] app-office/openoffice-2.0.0_rc2 [1.1.4-r1] +curl +eds +gnome +java +kde -ldap +mozilla -nas +python +xml2 +zlib 0 kB So as you can see I have ldap flag turned off but ebuild ignores it (see actual result) Reproducible: Always Steps to Reproduce: 1.echo 'app-office/openoffice' >> /etc/portage/package.unmask 2.echo 'app-office/openoffice ~x86' >> /etc/portage/package.keywords 3.emerge -D openoffice Actual Results: [...] 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] Błąd 1 Expected Results: emerge openoffice-2.0.0_rc2 Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.13-gentoo-r2 i686) ================================================================= System uname: 2.6.13-gentoo-r2 i686 mobile AMD Athlon(tm) XP-M 3000+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5-r2, 2.4.1-r1 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -mcpu=athlon-xp -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /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="-O2 -mcpu=athlon-xp -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.zie.pg.gda.pl http://src.gentoo.pl" LANG="pl_PL" LC_ALL="pl_PL" LINGUAS="pl" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X acpi aliaschain alsa apache2 arts avi bash-completion berkdb bitmap-fonts bzlib cardbus cdr cpdflib cpudetection crypt cups curl curlwrappers divx4linux doc dvd dvdread eds emboss encode esd exif extraicons extramodules fam fbcon ffmpeg flac foomaticdb fortran freetds ftp gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 imap imlib innodb insecure-drivers ipv6 java javascript jpeg junit kde lesstif libg++ libwww lzw-tiff mad maildir mbox mikmod mime mmx mmxext mono motif mozilla moznocompose moznoirc moznomail mp3 mpeg mysql mysqli ncurses nfs nls no-old-linux nsplugin odbc ogg oggvorbis opengl oss pam pcmcia pcntl pcre pdflib perl php png posix python qt quicktime readline samba sdl sharedext sharedmem slang sockets softmmu spell spl ssl svg svga tcltk tcpd tetex threads tidy tiff tokenizer toolbar truetype truetype-fonts type1-fonts unichrome unicode usb v4l vcd vhosts vim-with-x vorbis wifi win32codecs xine xml xml2 xmms xpm xv xvid zlib linguas_pl userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Known bug, upstream problem unfortunately, already on my todo-list
I've added a fix for this to the ebuild (give the mirrors a little time and then emerge sync to get it), problem is, the openoffice-configure script is broken... Leaving this open until my build with -ldap is finished successfully.
Build failed as mozilla-ldap stuff was used instead (which does not work), added another patch which doesn't use ldap at all with -ldap. Both will go upstream shortly. Closing
Any words on when this will be fixed? app-office/openoffice-2.0.1-r1 failed. 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 [ebuild N ] app-office/openoffice-2.0.1-r1 USE="eds gtk java kde mozilla -binfilter -gnome -ldap -xml" So it is still ignoring -ldap in the useflags. Given the last modified date is 2005-10-12, I beleive that reopening it is the right thing to do.