Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 216863 - Can't emerge kde-base/kdnssd-4.0.3 from binary package
Summary: Can't emerge kde-base/kdnssd-4.0.3 from binary package
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 222397 222399 222407 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-04-08 12:34 UTC by Paolo Pedroni
Modified: 2008-05-30 09:26 UTC (History)
0 users

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


Attachments
Ebuild environment (target machine) (environment,119.55 KB, text/plain)
2008-04-08 12:35 UTC, Paolo Pedroni
Details
Output of emerge -Kav --debug kde-base/kdnssd (emerge.output,47.30 KB, text/plain)
2008-05-17 10:42 UTC, Paolo Pedroni
Details
Output of emerge -Kv --debug kde-base/kdnssd (emerge.output,482.32 KB, text/plain)
2008-05-17 12:28 UTC, Paolo Pedroni
Details
Output of 'emerge -Kv --debug kde-base/kdnssd' (kdnssd.emerge.output,345.27 KB, text/plain)
2008-05-18 12:42 UTC, Paolo Pedroni
Details
Output of 'emerge -Kv --debug kde-base/okular' (okular.emerge.output,301.77 KB, text/plain)
2008-05-18 12:43 UTC, Paolo Pedroni
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paolo Pedroni 2008-04-08 12:34:29 UTC
If I try to emerge kde-base/kdnssd from a binary package built from another machine (same toolchain, USE flags, anything) I get the following error:

>>> Emerging (1 of 29) kde-base/kdnssd-4.0.3 to /
>>> Extracting info
 *
 * ERROR: kde-base/kdnssd-4.0.3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called pkg_setup
 *             environment, line 2824:  Called kde4-meta_pkg_setup
 *             environment, line 2315:  Called kde4-base_pkg_setup
 *             environment, line 2025:  Called kde4-functions_check_use
 *             environment, line 2176:  Called _kde4-functions_built_with_use 'pkg_setup' 'pkg_setup' 'pkg_setup' 'net-dns/avahi'
 *             environment, line  317:  Called built_with_use 'mdnsresponder-compat' 'net-dns/avahi'
 *             environment, line  516:  Called die
 * The specific snippet of code:
 *                           die "$PKG does not actually support the $1 USE flag!"
 *  The die message:
 *   net-dns/avahi-0.6.20-r2 does not actually support the net-dns/avahi USE flag!
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/kde-base:kdnssd-4.0.3:20080408-115812.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/kdnssd-4.0.3/temp/environment'.
 *
!!! Setup failed: 1

I think that it's a bug in some kde4 eclass because the error message 'net-dns/avahi-0.6.20-r2 does not actually support the net-dns/avahi USE flag!' does not make much sense to me.

Of course net-dns/avahi on the source and target machines are built with the same USE flags (it's the very same package, built on a machine, bin-packaged and installed on the other)

The package builds from source and installs just fine.

I will attach the ebuild environment ASAP.

Reproducible: Always

Steps to Reproduce:
1. build kde-base/kdnssd on the build machine
2. transfer to the other machine
3. ebuild -1kav kde-base/kdnssd

Actual Results:  
The error above.

Expected Results:  
Emerged the binary package.

# emerge --info (source machine)
Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
Timestamp of tree: Tue, 08 Apr 2008 06:00:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
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=k8 -O2 -pipe -fomit-frame-pointer"
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/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache collision-protect distcc distlocks fixpackages metadata-transfer sandbox sfperms strict test unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://ftp.vein.hu/pub/linux/distributions/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LINGUAS="it"
MAKEOPTS="-j14"
PKGDIR="/usr/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="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://pedroni03/gentoo-portage"
USE="X Xaw3d a52 aac aalib acpi alsa amd64 ao arts audiofile avahi bash-completion berkdb bluetooth bzip2 cairo caps cddb cdparanoia cdr cli cracklib crypt cups curl dbus dga dio dri dvd dvdr dvdread emboss encode exif expat fam fbcon ffmpeg fftw firefox flac fontconfig foomaticdb fortran ftp gd gdbm ggi gif glut gmp gnutls gphoto2 gpm gtk guile hal htmlhandbook iconv idn ieee1394 imagemagick imlib isdnlog jack java javascript jbig jikes jpeg jpeg2k kde kdeenablefinal lcms libcaca libsamplerate lm_sensors lua lzo mad maildir matroska memlimit midi mikmod mime mmap mmx mng mozilla mp3 mpeg mpi mplayer mudflap ncurses nls nptl nptlonly nsplugin offensive ogg openal openexr opengl openmp oss pam pcre pdf perl png portaudio posix ppds pppd python qt3 qt3support qt4 quicktime rdesktop readline recode reflection ruby samba sdl session sharedmem shorten sndfile sockets sox speex spell spl sse sse2 ssl startup-notification svg symlink syslog sysvipc tcl tcpd theora threads tidy tiff tk truetype unicode usb vcd vim-syntax vorbis wmf wxwindows x264 xcb xcomposite xine xinerama xml xorg xosd xpm xscreensaver xv xvid yahoo zlib" ALSA_CARDS="intel8x0 virmidi" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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="kodak ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

#emerge --info (target machine)
Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r4 x86_64 Dual Core AMD Opteron(tm) Processor 185
Timestamp of tree: Tue, 08 Apr 2008 06:00:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
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=k8 -O2 -pipe -fomit-frame-pointer"
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/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache collision-protect distcc distlocks fixpackages metadata-transfer sandbox sfperms strict test unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://mirror.ing.unibo.it/gentoo/ http://mirror.ovh.net/gentoo-distfiles/ http://mirror.switch.ch/ftp/mirror/gentoo/"
LC_ALL="it_IT.UTF-8"
LINGUAS="it"
MAKEOPTS="-j14"
PKGDIR="/usr/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="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://10.20.30.18/gentoo-portage"
USE="X Xaw3d a52 aac aalib acpi alsa amd64 ao arts audiofile avahi bash-completion berkdb bluetooth bzip2 cairo caps cddb cdparanoia cdr cli cracklib crypt cups curl dbus dga dio dri dvd dvdr dvdread emboss encode exif expat fam fbcon ffmpeg fftw firefox flac fontconfig foomaticdb fortran ftp gd gdbm ggi gif glut gmp gnutls gphoto2 gpm gtk guile hal htmlhandbook iconv idn ieee1394 imagemagick imlib isdnlog jack java javascript jbig jikes joystick jpeg jpeg2k kde kdeenablefinal lcms libcaca libsamplerate lm_sensors lua lzo mad maildir matroska memlimit midi mikmod mime mmap mmx mng mozilla mp3 mpeg mpi mplayer mudflap ncurses nls nptl nptlonly nsplugin offensive ogg openal openexr opengl openmp oss pam pcre pdf perl png portaudio posix ppds pppd python qt3 qt3support qt4 quicktime rdesktop readline recode reflection ruby samba scanner sdl session sharedmem shorten sndfile sockets sox speex spell spl sse sse2 ssl startup-notification svg symlink syslog sysvipc tcl tcpd theora threads tidy tiff tk truetype unicode usb vcd vim-syntax vorbis wmf wxwindows x264 xcb xcomposite xine xinerama xml xorg xosd xpm xscreensaver xv xvid yahoo zlib" ALSA_CARDS="intel8x0 virmidi" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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="kodak ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard evdev joystick mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Paolo Pedroni 2008-04-08 12:35:24 UTC
Created attachment 149098 [details]
Ebuild environment (target machine)
Comment 2 Ingmar Vanhassel (RETIRED) gentoo-dev 2008-04-08 13:09:16 UTC
Should be fixed with my latest commit.
Thanks for the report. :)
Comment 3 Ingmar Vanhassel (RETIRED) gentoo-dev 2008-05-16 16:21:17 UTC
*** Bug 222397 has been marked as a duplicate of this bug. ***
Comment 4 Ingmar Vanhassel (RETIRED) gentoo-dev 2008-05-16 16:21:28 UTC
*** Bug 222399 has been marked as a duplicate of this bug. ***
Comment 5 Ingmar Vanhassel (RETIRED) gentoo-dev 2008-05-16 16:21:38 UTC
*** Bug 222407 has been marked as a duplicate of this bug. ***
Comment 6 Ingmar Vanhassel (RETIRED) gentoo-dev 2008-05-16 16:22:20 UTC
.
Comment 7 Paolo Pedroni 2008-05-17 08:38:32 UTC
It happens again with kdnssd-4.0.4...
Comment 8 Bo Ørsted Andresen (RETIRED) gentoo-dev 2008-05-17 08:45:43 UTC
emerge -pv avahi ?
Comment 9 Paolo Pedroni 2008-05-17 09:37:48 UTC
(In reply to comment #8)
> emerge -pv avahi ?
> 

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

Calculating dependencies... done!
[ebuild   R   ] net-dns/avahi-0.6.22-r1  USE="dbus gdbm gtk mdnsresponder-compat python qt3 qt4 test -autoipd -bookmarks -doc -howl-compat -ipv6 -mono" 1,172 kB

Total: 1 package (1 reinstall), Size of downloads: 1,172 kB
Comment 10 Paolo Pedroni 2008-05-17 09:38:09 UTC
Another affected package is okular-4.0.4
Comment 11 Bo Ørsted Andresen (RETIRED) gentoo-dev 2008-05-17 10:10:35 UTC
Please attach the output of:

emerge -Kav --debug kde-base/kdnssd
Comment 12 Paolo Pedroni 2008-05-17 10:42:06 UTC
Created attachment 153409 [details]
Output of emerge -Kav --debug kde-base/kdnssd
Comment 13 Bo Ørsted Andresen (RETIRED) gentoo-dev 2008-05-17 11:00:14 UTC
(In reply to comment #12)
> Created an attachment (id=153409) [edit]
> Output of emerge -Kav --debug kde-base/kdnssd

Heh, sorry... shouldn't have included the --ask.. That log stops before the interesting part...

emerge -Kv --debug kde-base/kdnssd
Comment 14 Paolo Pedroni 2008-05-17 12:28:32 UTC
Created attachment 153417 [details]
Output of emerge -Kv --debug kde-base/kdnssd
Comment 15 Bo Ørsted Andresen (RETIRED) gentoo-dev 2008-05-17 14:10:34 UTC
Rather stupid eclass bug. This was the fix:

-            KDE4_BUILT_WITH_USE_CHECK="${kde4_built_with_use_check[@]}"
+            KDE4_BUILT_WITH_USE_CHECK=("${kde4_built_with_use_check[@]}")

You will have to sync in a few hours to get the new eclass and then rebuild the affected binary packages to get rid of this problem... Sorry for the inconvenience.
Comment 16 Paolo Pedroni 2008-05-18 12:41:07 UTC
I waited until 8am CEST to resync, and the eclass looks fixed, I rebuilt the packages on the source machine, transferred them over to the target machine, but two packages are still not working: kdnssd and okular.

I am attaching the output of 'emerge -Kv --debug kde-base/kdnssd' and 'emerge -Kv --debug kde-base/okular'
Comment 17 Paolo Pedroni 2008-05-18 12:42:16 UTC
Created attachment 153529 [details]
Output of 'emerge -Kv --debug kde-base/kdnssd'
Comment 18 Paolo Pedroni 2008-05-18 12:43:09 UTC
Created attachment 153531 [details]
Output of 'emerge -Kv --debug kde-base/okular'
Comment 19 Paolo Pedroni 2008-05-19 10:12:29 UTC
After adding the "zeroconf" USE flag I now have this problem with krdc and krfb as well. I rebuilt and reinstalled qt, avahi, poppler-bindings, all the packages quoted in the error messages for the various packages: all to no avail.
Comment 20 Bo Ørsted Andresen (RETIRED) gentoo-dev 2008-05-19 14:50:28 UTC
(In reply to comment #17)
> Created an attachment (id=153529) [edit]
> Output of 'emerge -Kv --debug kde-base/kdnssd'

Can you mail me the binpkg that you used to reproduce this? Should be in /usr/portage/packages/kde-base/kdnssd.tbz2 or something like that...
Comment 21 Paolo Pedroni 2008-05-19 20:02:06 UTC
(In reply to comment #20)
> (In reply to comment #17)
> > Created an attachment (id=153529) [edit]
> > Output of 'emerge -Kv --debug kde-base/kdnssd'
> 
> Can you mail me the binpkg that you used to reproduce this? Should be in
> /usr/portage/packages/kde-base/kdnssd.tbz2 or something like that...
> 

I sent it today at 19:16 CEST. Let me know if you find out anything.
Comment 22 Bo Ørsted Andresen (RETIRED) gentoo-dev 2008-05-25 23:19:19 UTC
(In reply to comment #21)
> > Can you mail me the binpkg that you used to reproduce this? Should be in
> > /usr/portage/packages/kde-base/kdnssd.tbz2 or something like that...
> 
> I sent it today at 19:16 CEST. Let me know if you find out anything.

Sorry, forgot to reply. It did reveal the problem, thanks. I still need to think a bit more about the solution (and why I originally added all this complexity). Will try to get this fixed within a couple of days...
Comment 23 Paolo Pedroni 2008-05-26 06:08:22 UTC
(In reply to comment #22)
> Sorry, forgot to reply. It did reveal the problem, thanks. I still need to
> think a bit more about the solution (and why I originally added all this
> complexity). Will try to get this fixed within a couple of days...

Thanks for the reply. I'm crossing my fingers and waiting patiently for the solution. I'll ping you in a few days if nothing comes this way.

Comment 24 Bo Ørsted Andresen (RETIRED) gentoo-dev 2008-05-30 09:26:19 UTC
The problem should be fixed now in 4.0.4. 4.0.2 and 4.0.3 should be removed from the tree soon so I didn't fix those. Again you will have to rebuild the affected binpkgs. Thanks for your patience and please reopen if you experience further problems with this in 4.0.4.