Summary: | x11-libs/qscintilla-2.2 - ld cannot find -lqscintilla2 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | bryce verdier <btv> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alex.afnet, astar, bugs, griffon26, joakim, qt, simcop2387, tais.hansen, yngwin |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
bryce verdier
2008-05-28 03:15:08 UTC
-L is missing the builddir... upstream bug ;) (In reply to comment #1) > -L is missing the builddir... upstream bug ;) > So how can we work around this? confirming this bug, any solution in sight? i too have this bug preventing the compile of PyQt [very important for me]. emerge --info Portage 2.1.5.2 (default-linux/amd64/2007.0, gcc-4.2.4, glibc-2.7-r2, 2.6.24-gentoo-r8 x86_64) ================================================================= System uname: 2.6.24-gentoo-r8 x86_64 Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz Timestamp of tree: Fri, 30 May 2008 10:33:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] app-shells/bash: 3.2_p39 dev-lang/python: 2.4.4-r9, 2.5.2-r4 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.62 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 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.25-r3 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=nocona -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.virginmedia.com/ " LANG="C" LDFLAGS="" LINGUAS="en_GB en" MAKEOPTS="-j3" 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/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aac acl acpi alsa amd64 berkdb cdparanoia cdr cli cracklib crypt css cups dbus divx dri dvb dvd dvdr dvdread esd ffmpeg flac fonts fortran gif gimp gphoto2 gpm hal iconv ieee1394 imagemagick imlib ipv6 isdnlog joystick jpeg kde latex lcms logitech-mouse matroska midi mmx mp3 mudflap mysql ncurses nls nptl nptlonly ogg openal opengl openmp pam pcre pdf perl png pppd python qt3 qt4 readline realplayer reflection samba seamonkey session spell spl sse sse2 ssl svg tcpd theora tiff tk truetype unicode usb vorbis x264 xcomposite xine xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Workaround: 1. mask =x11-libs/qscintilla-2.2 and =dev-python/qscintilla-python-2.2 2. emerge the 2.1 version of the above packages 3. remove the mask 4. now you can emerge the 2.2 version Ugly, but it works. (In reply to comment #5) > Workaround: > 1. mask =x11-libs/qscintilla-2.2 and =dev-python/qscintilla-python-2.2 > 2. emerge the 2.1 version of the above packages > 3. remove the mask > 4. now you can emerge the 2.2 version > > Ugly, but it works. also if you're willing to interviene during the building (by using Ctrl+Z), (this is probably not recommended), you can go into /var/tmp/portage/x11-libs/qscintilla-2.2/work/QScintilla-2.2/ and run make in the Qt4 directory (this probably also applies to the Qt3 directory, but i haven't tested that) and after it builds successfully there, do mkdir lib cp lib* lib and then go ahead and unpause the emerge and it'll build and then clean it all up for you. This will avoid possible bugs with linking part of the library against an older version of qscintilla which the above will do (unless you remerge it a second time). this is happening because in the 'designer-Qt4' directory, the makefile does appear to have a bug, where it wants to link against -L../Qt4/lib where it thinks the libraries are, you could also edit this makefile to make things work too. in theory this could be patched by us, but i don't think that's standard procedure. (In reply to comment #6) > > (In reply to comment #5) > > Workaround: > > 1. mask =x11-libs/qscintilla-2.2 and =dev-python/qscintilla-python-2.2 > > 2. emerge the 2.1 version of the above packages > > 3. remove the mask > > 4. now you can emerge the 2.2 version > > > > Ugly, but it works. > > > also if you're willing to interviene during the building (by using Ctrl+Z), > (this is probably not recommended), you can go into > /var/tmp/portage/x11-libs/qscintilla-2.2/work/QScintilla-2.2/ > > and run make in the Qt4 directory (this probably also applies to the Qt3 > directory, but i haven't tested that) > > and after it builds successfully there, do > > mkdir lib > > cp lib* lib > > and then go ahead and unpause the emerge and it'll build and then clean it all > up for you. This will avoid possible bugs with linking part of the library > against an older version of qscintilla which the above will do (unless you > remerge it a second time). > > this is happening because in the 'designer-Qt4' directory, the makefile does > appear to have a bug, where it wants to link against -L../Qt4/lib where it > thinks the libraries are, you could also edit this makefile to make things work > too. in theory this could be patched by us, but i don't think that's standard > procedure. > Another way that works with me download the development snapshot at http://www.riverbankcomputing.co.uk/software/qscintilla/download QScintilla-gpl-2.2.1-snapshot-20080619.tar.gz extract and compile manually, after reemerge qscintilla-2.2 (In reply to comment #5) > Workaround: > 1. mask =x11-libs/qscintilla-2.2 and =dev-python/qscintilla-python-2.2 > 2. emerge the 2.1 version of the above packages > 3. remove the mask > 4. now you can emerge the 2.2 version > > Ugly, but it works. > I just did paludis --install "=x11-libs/qscintilla-2.1*" and paludis took care of the rest; no masks required. (In reply to comment #5) > Workaround: > 1. mask =x11-libs/qscintilla-2.2 and =dev-python/qscintilla-python-2.2 > 2. emerge the 2.1 version of the above packages > 3. remove the mask > 4. now you can emerge the 2.2 version > > Ugly, but it works. > Thanks for that. Maybe now I can get hplip installed. This definitely works for me. Blessed be! Pappy emerge -1 =x11-libs/qscintilla-2.1-r1 =dev-python/qscintilla-python-2.1 emerge -1 =x11-libs/qscintilla-2.2 =dev-python/qscintilla-python-2.2 worked for me. anyway, it would be nice if the maintainer adds a fixed version (-r1) instead of letting people run into an over 1 month old bug, regardless whether this is an upstream bug or not. *** Bug 228667 has been marked as a duplicate of this bug. *** Starting from qscintilla-2.2, the libraries that are built end up in ../Qt[34] instead of ../Qt[34]/lib. I adapted the library paths used in the patches to the new location. |