Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 170625 - x11-libs/qwt-5.0.1 fails with parallel build and fails to install header files and library.
Summary: x11-libs/qwt-5.0.1 fails with parallel build and fails to install header file...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Caleb Tennis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-12 19:07 UTC by Erik Zeek
Modified: 2007-03-15 12:06 UTC (History)
1 user (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 Erik Zeek 2007-03-12 19:07:25 UTC
I noticed this morning that qwt failed to install any header files, so I tried reinstalling it.  Then it failed for parallel builds.  Removed the "-j2" and it seemed to work, but no library gets installed.  It's looking for libqwt.so.5.0.1, but qwt produces libqwt.so.5.0.0.

>>> Install qwt-5.0.1 into /tmp/portage/x11-libs/qwt-5.0.1/image/ category x11-libs
total 824K
lrwxrwxrwx 1 portage portage   15 2007-03-12 12:21 libqwt.so -> libqwt.so.5.0.0
lrwxrwxrwx 1 portage portage   15 2007-03-12 12:21 libqwt.so.5 -> libqwt.so.5.0.0
lrwxrwxrwx 1 portage portage   15 2007-03-12 12:21 libqwt.so.5.0 -> libqwt.so.5.0.0
-rwxr-xr-x 1 portage portage 818K 2007-03-12 12:21 libqwt.so.5.0.0
!!! dolib: lib/libqwt.so.5.0.1 does not exist
install: cannot stat `include/*': No such file or directory
>>> Completed installing qwt-5.0.1 into /tmp/portage/x11-libs/qwt-5.0.1/image/

strip: i686-pc-linux-gnu-strip --strip-unneeded
   usr/lib/qt4/plugins/designer/libqwt_designer_plugin.so
>>> Merging x11-libs/qwt-5.0.1 to /
--- /usr/
--- /usr/lib/
--- /usr/lib/qt4/
--- /usr/lib/qt4/plugins/
--- /usr/lib/qt4/plugins/designer/
>>> /usr/lib/qt4/plugins/designer/libqwt_designer_plugin.so
--- /usr/include/
>>> /usr/include/qwt5/
>>> /usr/lib/libqwt.so -> libqwt.so.5.0.1
>>> /usr/lib/libqwt.so.5 -> libqwt.so.5.0.1
>>> Safely unmerging already-installed instance...
--- !mtime obj /usr/lib/qt4/plugins/designer/libqwt_designer_plugin.so
--- !mtime sym /usr/lib/libqwt.so.5
--- !mtime sym /usr/lib/libqwt.so
--- !empty dir /usr/lib/qt4/plugins/designer
--- !empty dir /usr/lib/qt4/plugins
--- !empty dir /usr/lib/qt4
--- !empty dir /usr/lib
<<<        dir /usr/include/qwt5
--- !empty dir /usr/include
--- !empty dir /usr
>>> Regenerating /etc/ld.so.cache...
>>> Original instance of package unmerged safely.
>>> Regenerating /etc/ld.so.cache...
>>> x11-libs/qwt-5.0.1 merged.
Comment 1 Erik Zeek 2007-03-12 19:08:14 UTC
emerge --info

Portage 2.1.2.2 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.5-r0, 2.6.20-gentoo-r2 i686)
=================================================================
System uname: 2.6.20-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.9
Timestamp of tree: Mon, 12 Mar 2007 16:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r4
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.15-r1
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=prescott -march=prescott -pipe"
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 /usr/spool/PBS"
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 /etc/texmf/web2c"
CXXFLAGS="-O2 -mtune=prescott -march=prescott -pipe"
DISTDIR="/home/gentoo/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.espri.arizona.edu/gentoo/ http://mirror.phy.olemiss.edu/mirror/gentoo http://gentoo.mirrors.easynews.com/linux/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo http://www.gtlib.gatech.edu/pub/gentoo http://gentoo.llarian.net/ http://mirror.datapipe.net/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.osuosl.org/ http://gentoo.chem.wisc.edu/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common"
LINGUAS="en en_US"
PKGDIR="/home/gentoo/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=20 --prune-empty-dirs"
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="/tmp"
PORTDIR="/home/gentoo/portage"
PORTDIR_OVERLAY="/home/gentoo/local/layman/science /home/gentoo/local/layman/vmware /home/gentoo/local/layman/sunrise /home/gentoo/local/layman/xeffects /home/gentoo/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="7zip X X509 Xaw3d a52 aac aalib acct acl acpi activefilter ada aiglx aim aio akode alsa amarok amazon amd amr animgif ansi aoss aotuv apache apache2 apm arts artswrappersuid artworkextra asf asm asterisk async atm auctex audiofile auth authdaemond authfile automount background bash-completion bcmath bcp bdf berkdb bigpatch binary-drivers binfilter bitmap-fonts bittorrent bjam bl blas blender-game bonobo boost branding bzip2 c++ cairo calendar cap caps catalogs cblas ccache cdda cddb cdf cdinstall cdparanoia cdr cdrom cgi checkpath chm chroot cli colordiff config_wizard contrib corba cppunit cracklib crosscompile crypt cscope css ctype cups curl curlwrappers cvs cvsgraph cxx d daap dbm dbus dbx device-mapper dga dhcp dio directfb discard-path divx djvu dmi dnd dnotify dri dts dv dvd dvdr dvdread dvi dynagraph ecc editor effects emboss emf emoticon emovix enca encode enscript epson erandom esd examples excel exif expat extrafilters extraicons extramodules f90 fam fame fastbuild fastcgi fat fbcon fbdev fbsplash festival ffmpeg fftw filter finger firefox fits flac flash flatfile fltk fmod font-server fontconfig foomaticdb force-cgi-redirect fortran fortran95 fpx freetts ftp fuse gb gcc-libffi gcj gd gdal gdbm geoip geos ggi gif gimp gimpprint ginac gkrellm glade glep glgd glib glibc-omitfp glitz glut gmail gmath gmedia gml gmp gmtfull gmthigh gmtsuppl gmttria gnome gnome-print gnomedb gnuplot gnutls gpg2-experimental gpgme gphoto2 gpm gps grammar graphviz gs gsl gssapi gstreamer gtk gtk2 gtkhtml guile gzip hal haskell hddtemp hdf hdf5 hfs high-ints hlapi hou hpn html httpd i8x0 ical iconv icq icu id3 ide idea idn image imagemagick imap imlib inifile inkjar insecure-drivers insecure-savers ipv6 isdnlog itcl jack jai java javacomm javascript jbig jce jikes jimi jit john jpeg jpeg2k junit jython kcal kde kdecards kdeenablefinal kdehiddenvisibility kdepim kdexdeltas kqemu lame lapack largefile largeterminal lash latex lcms ldap libcaca libclamav libdsk libg++ libgda libsamplerate live lm_sensors logitech-mouse logrotate logwatch lzo lzw mad mail maildir mailwrapper maps math matroska mbrola mcal md5sum mhash midi mikmod mime ming minuit mixer mjpeg mmap mmx mmxext mng mod mod_python modplug module mopac7 motif mozbranding mozcalendar mozdevelop mozdom moznocompose moznoirc moznomail mozsha1 mozsvg mp3 mp4 mp4live mpeg mpeg2 mplayer mpqc mtp multiprocess musepack music musicbrainz mysql na_dd na_icons nas ncurses net netcdf nethack netmeeting network new-clx new-login newspr nfs nls nntp no-old-linux no-seamonkey nocd nodoc nodrm nosource nosrc nowin nptl nptlonly nsplugin ntfs ntlm ntp numarray numeric oav objc objc++ ocaml ocr octave odk ofa offensive ofx ogdi ogg on-the-fly-crypt openal openbabel openexr opengl openssl opensslcrypt openstreetmap osc oss pager pam pam_chroot pam_console pam_timestamp pango paranoidmsg parse-clocks pascal patch patented pbs pch pcntl pcre pdf perl pertty php physfs pic player plib plotutils plugin pmount png pop portaudio posix postfix povray ppds pppd print proj ps pyste python qhull qt3 qt3support qt4 quicktime quotas quotes rar rc5 rdesktop readline real realmedia reflection remix rle rogue rpc rrdtool rtc rtsp ruby samba sasl scanner screen script scripting sdk sdl sdl-sound search sender serial session sftp sftplogging shared sharedext sharedmem shorten shout skins slp smime smp smtp sndfile soap sockets socks5 sou sound sounds sox spamassassin speech speedo speex spell spl sql sqlite sqlite3 sse sse2 ssl startup-notification stl stlport stream subject-rewrite subtitles subversion suid svg svga svgz svn-mirror swat symlink sysfs syslog sysvipc szip t1lib tagwriting tcl tcltk tcpd test tetex text texteffect textures tga themes theora thesaurus threads tidy tiff timidity tk tntc tokenizer tomsfastmath toolbar tools transcode transparency truetype truetype-fonts type1 type1-fonts ucs2 ucs4 unicode unzip upnp urandom usb userlocales utempter uudeview v4l v4l2 vcd vdr videos vidix vim vim-pager vim-with-x virus-scan visualization vlm vnc vncviewer voice vorbis vorbis-psy wavpack webdav win32codecs wma wmf wmp wordperfect wxwindows x264 x86 xanim xcb xcomposite xerces-c xface xforms xft xine xinetd xml xmlreader xmlrpc xmlwriter xorg xosd xpm xprint xscreensaver xsl xslt xtended xterm xv xvid xvmc xvnc yaepg yv12 zip zlib zvbi" ALSA_CARDS="intel8x0 intel8x0m pxa2xx-ac97 hda-intel" 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" CAMERAS="all" ELIBC="glibc" INPUT_DEVICES="keyboard mouse jamstudio" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="i810 i830"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 2 Erik Zeek 2007-03-12 19:09:06 UTC
(In reply to comment #0)
> I noticed this morning that qwt failed to install any header files, so I tried
> reinstalling it.  Then it failed for parallel builds.  Removed the "-j2" and it
> seemed to work, but no library gets installed.  It's looking for
> libqwt.so.5.0.1, but qwt produces libqwt.so.5.0.0.

P.S.  The header files also don't get installed.
Comment 3 Andrew Gaydenko 2007-03-14 07:02:10 UTC
Doc/examples files are missed also (as a result, missed almost all files):

equery f qwt
[ Searching for packages matching qwt... ]
* Contents of x11-libs/qwt-5.0.1:
/usr
/usr/include
/usr/include/qwt5
/usr/lib64
/usr/lib64/libqwt.so -> libqwt.so.5.0.1
/usr/lib64/libqwt.so.5 -> libqwt.so.5.0.1
/usr/lib64/qt4
/usr/lib64/qt4/plugins
/usr/lib64/qt4/plugins/designer
/usr/lib64/qt4/plugins/designer/libqwt_designer_plugin.so
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2007-03-14 11:53:18 UTC
yep, they changed the build system on me.  I'm working on it now.
Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2007-03-14 12:02:45 UTC
Okay, I've committed some fixes to 5.0.1.  Please try it out and let me know if it fixes the issue.  I haven't done anything with parallel builds, so if that's still broken let me know and I'll force MAKEOPTS=-j1
Comment 6 Erik Zeek 2007-03-14 13:42:02 UTC
Seems to install fine now.

Parallel builds still to not work.  It tries to link the designer before the library is built.  It will succeed if you have a previous install of qwt.

Also, it appears to ignore USE=-doc.  It looks like the documentation gets installed anyway.

Thanks for fixing it.

Erik
Comment 7 Erik Zeek 2007-03-14 13:43:44 UTC
(In reply to comment #5)
> Okay, I've committed some fixes to 5.0.1.  Please try it out and let me know if
> it fixes the issue.  I haven't done anything with parallel builds, so if that's
> still broken let me know and I'll force MAKEOPTS=-j1
> 

Actually could you append -j1 to MAKEOPTS.  I also use "-s -w" to reduce the clutter on the screen.
Comment 8 Caleb Tennis (RETIRED) gentoo-dev 2007-03-14 15:13:25 UTC
added ability to not install docs without doc use flag and MAKEOPTS -j1 stuff.

please try it again to see how well it works.
Comment 9 Erik Zeek 2007-03-14 17:05:50 UTC
MAKEOPTS needs to be set before emake is called.  Change the emake lines to:

MAKEOPTS="$MAKEOPTS -j1" emake || die

and it works fine.
Comment 10 Caleb Tennis (RETIRED) gentoo-dev 2007-03-15 12:06:03 UTC
makeopts fixed.  thanks for the reports everyone.