Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 160931 - dev-python/qscintilla-1.7.1 fails to build
Summary: dev-python/qscintilla-1.7.1 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-08 16:24 UTC by Alexander Jenisch
Modified: 2007-03-16 09:38 UTC (History)
3 users (show)

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


Attachments
qscintilla-1.7.1 build.log (build.log,51.02 KB, text/plain)
2007-01-09 18:23 UTC, Alexander Jenisch
Details
qscintilla-1.7.1.patch (qscintilla-1.7.1.patch,398 bytes, patch)
2007-01-09 19:14 UTC, Brian Merrill
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Jenisch 2007-01-08 16:24:08 UTC
mv -f libqscintilla.so.7.0.1 libqscintilla.so libqscintilla.so.7 libqscintilla.so.7.0 lib/
x86_64-pc-linux-gnu-g++ -c -pipe -Wall -W -march=athlon64 -O2 -pipe -ftracer -w -fPIC  -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I../qt -I/usr/qt/3/include -o qscintillaplugin.o qscintillaplugin.cpp
rm -f libqscintillaplugin.so
x86_64-pc-linux-gnu-g++ -shared -o libqscintillaplugin.so qscintillaplugin.o   -L/usr/qt/3/lib64 -L../qt -lqscintilla -lqt-mt
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lqscintilla
collect2: ld returned 1 exit status
make: *** [libqscintillaplugin.so] Error 1

!!! ERROR: dev-python/qscintilla-1.7.1 failed.
Call stack:
  ebuild.sh, line 1593:   Called dyn_compile
  ebuild.sh, line 951:   Called src_compile
  qscintilla-1.7.1.ebuild, line 46:   Called die

root@enti $ emerge --info
Portage 2.1.2_rc4-r7 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.18-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.8
Last Sync: Mon, 08 Jan 2007 06:30:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
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.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -ftracer"
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/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache cvs distlocks fixpackages metadata-transfer prelink sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.club-internet.fr/pub/mirrors/gentoo ftp://gentoo.imj.fr/pub/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
MAKEOPTS="-j2"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/layman/xeffects /usr/local/layman/xeffects-experimental /usr/local/layman/xeffects-experimental /usr/local/layman/xeffects"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acpi aiglx airo alsa amd64 apache2 asf audiofile automount avi bash-completion berkdb bitmap-fonts bzip2 bzlib cairo cdda cdparanoia cli cpudetection cracklib crypt ctype cups curl cvs dbus dga dir divx4linux dlloader dri dts dvd dvdread encode fam ffmpeg foomaticdb fortran freetype ftp gcc64 gd gdbm gif gimpprint glx gphoto2 gpm gtk gtk2 hal iconv icq imagemagick imap imlib ipv6 isdnlog ithreads java javascript jpeg jpeg2k kde kdeenablefinal lame ldap libg++ lm_sensors logitech-mouse lzo mad maildir mikmod mime modplug mp3 mp4 mpeg musicbrainz mysql ncurses nls nocd nptl nptlonly nsplugin nvidia offensive ogg oggvorbis openal opengl openntpd oss pam pcre pdf pdflib perl php png posix ppds pppd python qt qt3 quicktime rdesktop readline reflection rowserplugin rtc samba sasl scenarios sdl server session slp sndfile sockets spamassassin speex spell spl sql ssl stream subversion svg swat syslog tcl tcltk tcpd tetex tga theora threads tiff timidity tk truetype truetype-fonts type1-fonts udev unicode usb videos visualization vorbis webdav wma x264 xft xine xml xml2 xorg xosd xpm xv xvid xvmc zeroconf zlib" ALSA_CARDS="emu10k1 usb-audio" 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" KERNEL="linux" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Tiziano Müller (RETIRED) gentoo-dev 2007-01-09 13:30:29 UTC
@Alexander: Can you reproduce it? If yes, can you please try to emerge it with "MAKEOPTS=-j1 emerge qscintilla" ? If that fails as well, could you please attach the complete log? Thanks.
Comment 2 Arne Flagge 2007-01-09 15:17:47 UTC
Same here.

emerge --info:
Portage 2.1.2_rc4-r7 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.20-rc4 i686)
=================================================================
System uname: 2.6.20-rc4 i686 Intel(R) Core(TM)2 CPU          6300  @ 1.86GHz
Gentoo Base System version 1.12.8
Last Sync: Tue, 09 Jan 2007 07:20:02 +0000
dev-java/java-config: 1.3.7, 2.0.31
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.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs"
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/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --nospinner"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch prelink sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/aross"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa apache2 bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo cdr cli cracklib crypt css curl dbus dlloader dri dvd dvdr dvdread dxr3 emboss fam ffmpeg firefox gdbm gif hal hbci iconv isdnlog jpeg kde kdeenablefinal kdehiddenvisibility libg++ mad mmx mmxext mp3 mpeg mplayer musicbrainz ncurses nls nptl nptlonly nsplugin nvidia ogg opengl pam pcre pdf perl pic png ppds pppd python qt3 quicktime readline real reflection samba session slang spell spl sse sse2 ssl svg tcpd threads truetype truetype-fonts type1-fonts udev unicode vorbis win32codecs x264 x86 xcb xcomposite xml xorg xv xvid xvmc 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" ELIBC="glibc" INPUT_DEVICES="keyboard evdev" KERNEL="linux" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="i810 vesa"
Unset:  CTARGET, INSTALL_MASK, LDFLAGS
Comment 3 Arne Flagge 2007-01-09 17:59:02 UTC
If you have a version of qscintilla installed (e.g. qscintilla-1.5.1), you are able to emerge qscintilla-1.7.1 .
Comment 4 Alexander Jenisch 2007-01-09 18:23:53 UTC
Created attachment 106241 [details]
qscintilla-1.7.1 build.log

still not working with -j1.
Comment 5 Brian Merrill 2007-01-09 19:14:10 UTC
Created attachment 106255 [details, diff]
qscintilla-1.7.1.patch

It appears to me the patch needs to be adjusted slightly.
The attached patch fixes the link error for me.
Comment 6 Tiziano Müller (RETIRED) gentoo-dev 2007-01-09 19:55:49 UTC
@Arne, @Brian: Good work, thanks! When I took a look at it the first time, I suspected a parallel builds problem.

Since I had qscintilla already installed when I did the version bump, it linked against the older version in /usr/lib and I didn't note that upstream changed the build-scripts a little.

Fixed in CVS. Please resync in an hour or two.