Emerging psi fails with exception: Checking for Qt >= 3.1 ... yes Checking for QCA 1.0 ... no Error: need QCA 1.0! * * ERROR: net-im/psi-0.10-r4 failed. * Call stack: * ebuild.sh, line 1701: Called dyn_compile * ebuild.sh, line 1039: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * psi-0.10-r4.ebuild, line 249: Called die * The specific snippet of code: * ./configure \ * --prefix=/usr \ * --with-qca-inc=/usr/include/qca1 \ * --with-qca-lib=/usr/lib/qca1 \ * ${myconf} \ * || die "Configure failed" * The die message: * Configure failed The problem is with paths to qca - they are set to : /usr/include/qca1 and /usr/lib/qca1 but in my system (and few others) qca libs are in folders: /usr/include and /usr/lib. Changins this two paths in ebuild fixes the problem
Reopen with config.log and emerge --info attached; thanks.
Created attachment 141672 [details] emerge.log
# emerge --info Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3 i686) ================================================================= System uname: 2.6.23-gentoo-r3 i686 AMD Sempron(tm) 2600+ Timestamp of tree: Wed, 23 Jan 2008 10:30:01 +0000 app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.10-r5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -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/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/init.d /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y" FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" INSTALL_MASK="Changelog.gz TODO.gz Author.gz" LANG="pl_PL.UTF-8" LC_ALL="pl_PL.UTF-8" LINGUAS="pl en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/banned_branches" 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 aac alsa bitmap-fonts bluetooth bzip2 cli cracklib crypt cups directfb dri dvd dvdr dvdread encode exif gdbm gif gnutls gpm gtk2 iconv imlib java jpeg kde kdehiddenvisibility mad midi mikmod mmx mng motif mp3 mpeg mplayer mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam png qt qt3 quicktime readline real sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb vorbis win32codecs x86 xml xorg xv xvid zlib" ALSA_CARDS="emu10k1" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en" USERLAND="GNU" VIDEO_CARDS="radeon" Unset: CPPFLAGS, CTARGET, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
I forgot: # emerge -pv qca These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] app-crypt/qca-1.0-r2 0 kB
If there's need for similar info from other user, I'm ready to provide it. But all the error messages etc. are the same here
Hi all. I know, that it is not gentoo-way, but I was solve this problem by enter folowing commands: ln -s /usr/include/ /usr/include/qca1 && ln -s /usr/lib/ /usr/lib/qca1 I think, this is a best solution at this moment...
(In reply to comment #6) > Hi all. I know, that it is not gentoo-way, but I was solve this problem by > enter folowing commands: > > ln -s /usr/include/ /usr/include/qca1 && ln -s /usr/lib/ /usr/lib/qca1 > > I think, this is a best solution at this moment... > Sorry - but I think it's a stupid way of solving this problem - these symbolic links shouldn't even exist (why should I have in /usr/lib/qca1 all other libraries ? There should be only qca1 connected libraries) The best solution is: - edit psi ebuild - change it by setting new libraries paths: ./configure \ --prefix=/usr \ --with-qca-inc=/usr/include/qca1 \ --with-qca-lib=/usr/lib/qca1 \ ${myconf} \ || die "Configure failed" - generate new digest: ebuild psi-0.10-r4.ebuild digest (in /usr/portage/net-im/psi directory)
(In reply to comment #7) > (In reply to comment #6) > > Hi all. I know, that it is not gentoo-way, but I was solve this problem by > > enter folowing commands: > > > > ln -s /usr/include/ /usr/include/qca1 && ln -s /usr/lib/ /usr/lib/qca1 > > > > I think, this is a best solution at this moment... > > > > Sorry - but I think it's a stupid way of solving this problem - these symbolic > links shouldn't even exist (why should I have in /usr/lib/qca1 all other > libraries ? There should be only qca1 connected libraries) > The best solution is: > - edit psi ebuild > - change it by setting new libraries paths: > > ./configure \ > --prefix=/usr \ > --with-qca-inc=/usr/include/qca1 \ > --with-qca-lib=/usr/lib/qca1 \ > ${myconf} \ > || die "Configure failed" > > - generate new digest: ebuild psi-0.10-r4.ebuild digest (in > /usr/portage/net-im/psi directory) > Yep? And do this every time when somebody approves new psi's ebuild? ;)
(In reply to comment #7) > - edit psi ebuild > - change it by setting new libraries paths: > > ./configure \ > --prefix=/usr \ > --with-qca-inc=/usr/include/qca1 \ > --with-qca-lib=/usr/lib/qca1 \ > ${myconf} \ > || die "Configure failed" Can't see, what you've changed comparing to original buggy ebuild (-;E
Created attachment 145294 [details, diff] Ebuild patch This patch fixes the include paths
could someone please fix this? i think it should not be up to the user to fix ebuilds.
Reassigning to another maintainer since troll has retired from Gentoo.
Thank you guys for report and fix. Sorry for delay, this bug is fixed now.