Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 176610 - dependence problems between net-dns/avahi-0.6.18, kde-base/kdelibs-3.5.6-r7, and kde-misc/kdnssd-avahi-0.1.2
Summary: dependence problems between net-dns/avahi-0.6.18, kde-base/kdelibs-3.5.6-r7, ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-30 18:21 UTC by Lee
Modified: 2007-05-01 12:34 UTC (History)
2 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 Lee 2007-04-30 18:21:24 UTC
I do not have KDE emerged, but I am using kde-base/kdelibs-3.5.6-r7 for programs like ktechlab. 

kde-base/kdelibs-3.5.6-r7 is depending on kde-misc/kdnssd-avahi-0.1.2 because I set the avahi use flag system wide. 

kde-misc/kdnssd-avahi-0.1.2 will not build because net-dns/avahi-0.6.18 was not built with the qt3 use flag.

There is two workarounds:

Put "kde-base/kdelibs -avahi" in /etc/portage/package.use
or
Put "net-dns/avahi qt3" in /etc/portage/package.use

Should I just use the workaround or is there something that can be done with one of the ebuilds so I don't have to manually set use flags per packages. 

Thank You For Your Time And Making Gentoo The Best Distro



kde-misc/kdnssd-avahi-0.1.2 error during ./configure:

checking for  avahi-qt3 >= 0.4 ... Package avahi-qt3 was not found in the pkg-config search path. Perhaps you should add the directory containing `avahi-qt3.pc' to the PKG_CONFIG_PATH environment variable No package 'avahi-qt3' found
configure: error: Library requirements ( avahi-qt3 >= 0.4 , avahi-client >= 0.4 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.



emerge --info
Portage 2.1.2.5 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r1, 2.6.20-gentoo-r6 i686)
=================================================================
System uname: 2.6.20-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System release 1.12.10
Timestamp of tree: Mon, 30 Apr 2007 16:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r7
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en en_US"
MAKEOPTS="-j5"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi addbookmarks alias alsa apache2 artworkextra autoipd autoreplace avahi bitmap-fonts bluetooth branding bzip2 cdr cli connectionstatus contactnotes cracklib crypt css cups dbus dga dri dts dv dvd dvdr dvdread eds encode esd extrafilters fat ffmpeg fftw firefox flac foomaticdb fortran gadu gdbm gif gimp gnome gphoto2 gpm groupwise gtk hal hfs highlight history iconv ieee1394 ifp ipod ipv6 irc isdnlog java jbig jfs jingle jpeg jpeg2k keyring lame libg++ libsamplerate logrotate md5sum midi mjpeg mmap mmx mng mp3 mp3rtp mpeg musicbrainz mysql ncurses netmeeting network nfs nls nowlistening nptl nptlonly nsplugin ntfs offensive ogg opengl pam pcmcia pcre pda perl php png ppds pppd python quicktime readline real reflection reiser4 reiserfs samba scanner sdl server session sms sndfile sox speex spell spl sse sse2 ssl statistics tcpd texteffect theora threadsafe tiff translator truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd vidix visualization vorbis wavpack webpresence win32codecs x264 x86 xfs xine xml xorg xprint xscreensaver xv xvid yahoo yv12 zip zlib" ALSA_CARDS="intel8x0" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="fglrx radeon v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jorge Manuel B. S. Vicetto (RETIRED) gentoo-dev 2007-04-30 18:39:26 UTC
How did you get the following output?

-----------------------------------------------------------
kde-misc/kdnssd-avahi-0.1.2 error during ./configure:

checking for  avahi-qt3 >= 0.4 ... Package avahi-qt3 was not found in the
pkg-config search path. Perhaps you should add the directory containing
`avahi-qt3.pc' to the PKG_CONFIG_PATH environment variable No package
'avahi-qt3' found
configure: error: Library requirements ( avahi-qt3 >= 0.4 , avahi-client >= 0.4
) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your
libraries are in a nonstandard prefix so pkg-config can find them.
-----------------------------------------------------------

Were you using emerge or ebuild? If the latter, where is the bug?
This is not a support channel, for that you should use the IRC channels, start on #gentoo, or the forums.
Comment 2 Harald van Dijk (RETIRED) gentoo-dev 2007-04-30 19:59:21 UTC
(In reply to comment #1)
> How did you get the following output?
> 
> -----------------------------------------------------------
> kde-misc/kdnssd-avahi-0.1.2 error during ./configure:
> 
> checking for  avahi-qt3 >= 0.4 ... Package avahi-qt3 was not found in the
> pkg-config search path.

As was mentioned in the bug description, by building avahi with USE="-qt3". The ebuild for kdnssd-avahi has a built_with_use check. This check is never executed, because it's in pkg_config instead of pkg_setup.
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2007-04-30 20:27:41 UTC
Fixed the check. That was it!?
Comment 4 Harald van Dijk (RETIRED) gentoo-dev 2007-04-30 20:36:42 UTC
The rest of this bug is (assuming I'm not misreading) a request to do something so that flags do not have to manually be set on a per-package basis, which is something that unfortunately cannot be done properly until portage supports use-based dependencies (bug #2272). So, at this time, if the check is fixed so that a useful error message is given, that's probably all that can be done, unless you can think of an alternative solution.
Comment 5 Jorge Manuel B. S. Vicetto (RETIRED) gentoo-dev 2007-04-30 21:26:40 UTC
(In reply to comment #2)
> (In reply to comment #1)
,,,
> As was mentioned in the bug description, by building avahi with USE="-qt3". The
> ebuild for kdnssd-avahi has a built_with_use check. This check is never
> executed, because it's in pkg_config instead of pkg_setup.
> 

Sorry, my mistake. I looked at the ebuild and didn't noticed it was in pkg_config, instead of pkg_config.

Curtis, sorry for having jumped on you.
Comment 6 Lee 2007-04-30 21:41:39 UTC
(In reply to comment #5)
> Curtis, sorry for having jumped on you.
> 

No worries Jorge Manuel B. S. Vicetto. I didn't feel jumped on.


(In reply to comment #4)
> Curtis, sorry for having jumped on you.
> 
Harald van Dijk thanks for the info in Comment  #4. I really don't have any idea to solve the manual set use flag problem. I am a novice with ebuilds, but I am learning.
Comment 7 Carsten Lohrke (RETIRED) gentoo-dev 2007-05-01 12:34:32 UTC
O.k. assuminfg everything is fine now. Otherwise reopen, please.