Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 207169 - net-im/psi-0.10-r4 should depend on >=app-crypt/qca-1.0-r3
Summary: net-im/psi-0.10-r4 should depend on >=app-crypt/qca-1.0-r3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Peter Weller (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-23 15:53 UTC by Quosek
Modified: 2009-02-18 14:35 UTC (History)
4 users (show)

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


Attachments
emerge.log (net-im%3Apsi-0.10-r4%3A20080123-141741.log,11.44 KB, text/plain)
2008-01-23 18:15 UTC, Quosek
Details
Ebuild patch (psi-0.10-r4.ebuild.diff,360 bytes, patch)
2008-03-04 19:02 UTC, Boris Petersen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Quosek 2008-01-23 15:53:49 UTC
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
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-01-23 16:38:48 UTC
Reopen with config.log and emerge --info attached; thanks.
Comment 2 Quosek 2008-01-23 18:15:43 UTC
Created attachment 141672 [details]
emerge.log
Comment 3 Quosek 2008-01-23 18:16:48 UTC
 # 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
Comment 4 Quosek 2008-01-23 18:17:12 UTC
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
Comment 5 Nikolaj Šujskij 2008-01-29 14:10:57 UTC
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
Comment 6 Vadim A. Misbakh-Soloviov (mva) (RETIRED) gentoo-dev 2008-02-03 17:28:26 UTC
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...
Comment 7 Quosek 2008-02-03 17:41:31 UTC
(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)
Comment 8 Vadim A. Misbakh-Soloviov (mva) (RETIRED) gentoo-dev 2008-02-03 18:31:36 UTC
(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? ;)
Comment 9 Nikolaj Šujskij 2008-02-08 09:16:13 UTC
(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
Comment 10 Boris Petersen 2008-03-04 19:02:35 UTC
Created attachment 145294 [details, diff]
Ebuild patch

This patch fixes the include paths
Comment 11 Leonie Herzberg 2008-03-08 10:46:40 UTC
could someone please fix this? i think it should not be up to the user to fix ebuilds.
Comment 12 Łukasz Damentko (RETIRED) gentoo-dev 2008-03-14 17:32:59 UTC
Reassigning to another maintainer since troll has retired from Gentoo.
Comment 13 Peter Volkov (RETIRED) gentoo-dev 2009-02-18 14:35:49 UTC
Thank you guys for report and fix. Sorry for delay, this bug is fixed now.