First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 68798
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Patrick Kursawe <phosphan@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Alexander Benedix <alex@lusi.uni-sb.de>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
nohup.out emerge qwt output text/plain Alexander Benedix 2004-10-25 05:44 0000 67.99 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 68798 depends on: Show dependency tree
Bug 68798 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-10-25 03:16 0000
the ebuild lacks an entry to copy the library libqwt.so.* to /usr/lib/
in src_install you can find
        dolib lib/libqwt.so.${QWTVER}
        dosym libqwt.so.${QWTVER} /usr/lib/libqwt.so
        dosym libqwt.so.${QWTVER} /usr/lib/libqwt.so.${QWTVER/.\*/}
i don't know if the dolib-command should copy the library, but the package created by emerge -B qwt lacks the library, too

Reproducible: Always
Steps to Reproduce:
1. emerge (-b) qwt
2.
3.

Actual Results:  
designer doesn't show the qwt-widgets, qwt-programs don't compile

Expected Results:  
the library should be present

emerge info
Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20040808-r0,
2.6.9-rc3-nitro2 i686)
=================================================================
System uname: 2.6.9-rc3-nitro2 i686 mobile AMD Athlon(tm) XP2400+
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -mfpmath=sse,387
-fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -mfpmath=sse,387
-fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs candy ccache distlocks moo sandbox"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
ftp://gentoo.inode.at/source/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X acpi alsa audiofile avi bcmath berkdb bitmap-fonts bzlib
cairo cddb cdf cdparanoia cdr chroot codecs crypt cups data devfs devfs26
divx4linux dmx doc dts dvd dvdr dvdread encode f77 faac fbcon ffmpeg fftw
foomaticdb ftp gdbm gif gimp gimpprint gpm gtk gtk2 guile imagemagick imlib
imlib2 java javascript jp2 jpeg jpeg2k kde ladcca latex lesstif libg++
libsamplerate libwww live lzo mad mikmod mmx mmx2 mng monkey motif mozilla mp3
mpeg mplayer mythtv ncurses nls noplugin oggvorbis openal opengl oss pam
patented pdflib perl plotutils png ppds python qt quicktime radeon readline sdl
slang spell sse ssl svga tcltk tcpd tetex theora timidity transcode truetype usb
userlocales x86 xine xml2 xmms xprint xv xvid xvmc zlib"

------- Comment #1 From Patrick Kursawe 2004-10-25 03:39:14 0000 -------
Could you please tell which version of qwt you tried to emerge?

------- Comment #2 From Alexander Benedix 2004-10-25 03:57:32 0000 -------
I tried to emerge version 4.2.0_rc2-r2
I checked the new version 4.2.0_rc2-r3, but the src_install looks the same
just emerge(d) -B qwt (new version) and there are only dead links in usr/lib/

ls usr/lib/ -ahl
total 8.0K
drwxr-xr-x  2 alex users 4.0K Oct 25 12:54 .
drwxr-xr-x  6 alex users 4.0K Oct 25 12:54 ..
lrwxr-xr-x  1 alex users   15 Oct 25 12:54 libqwt.so -> libqwt.so.4.2.0
lrwxr-xr-x  1 alex users   15 Oct 25 12:54 libqwt.so.4.2.0 -> libqwt.so.4.2.0

------- Comment #3 From Alexander Benedix 2004-10-25 04:00:41 0000 -------
my solution was to do an "ebuild /usr/portage/.../qwt... compile" and copy the
library to it's right place (just want to let you know that the library is
compiled)

------- Comment #4 From Patrick Kursawe 2004-10-25 04:59:32 0000 -------
I can't reproduce this. Could you perhaps attach (not paste) the full emerge
output?

------- Comment #5 From Alexander Benedix 2004-10-25 05:44:26 0000 -------
Created an attachment (id=42555) [edit]
emerge qwt output

first i unmerged qwt and deleted the library i copied manually,
then run "nohup emerge qwt" (and attached nohup.out)
looked for library afterwards, but still missing (the output doesn't show that
it copied the library, only the linking)
is it possible that the linking is deleting my original library?

------- Comment #6 From Patrick Kursawe 2004-10-25 07:53:04 0000 -------
I upgraded to your portage version and still can't reproduce the problem. Could
you perhaps insert a "ls -l lib" as the first linie of src_install and check
the output? For me it yields 
total 845
lrwxrwxrwx  1 root root     15 Oct 25 16:46 libqwt.so -> libqwt.so.4.2.0
lrwxrwxrwx  1 root root     15 Oct 25 16:46 libqwt.so.4 -> libqwt.so.4.2.0
lrwxrwxrwx  1 root root     15 Oct 25 16:46 libqwt.so.4.2 -> libqwt.so.4.2.0
-rwxr-xr-x  1 root root 862590 Oct 25 16:46 libqwt.so.4.2.0

------- Comment #7 From Michael Brakemeier 2004-10-25 16:27:55 0000 -------
The pattern in the second dosym is mal-formed. It should read ${QWTVER/.*/},
not
${QWTVER/.\*/}. The later simply results in $QWTVER and dosym nukes the library
itself... .

src_install () {
        dolib lib/libqwt.so.${QWTVER}
        dosym libqwt.so.${QWTVER} /usr/lib/libqwt.so
        dosym libqwt.so.${QWTVER} /usr/lib/libqwt.so.${QWTVER/.*/}
...

works as expected and creates the libqwt.so and libqwt.so.4 symlinks.

------- Comment #8 From Patrick Kursawe 2004-10-25 22:00:56 0000 -------
The pattern works fine on my system, but I have an idea what's the trouble with
it. Investigating...

------- Comment #9 From Patrick Kursawe 2004-10-25 22:13:42 0000 -------
Thought it could be a bash2/bash3 problem, but seems that I am wrong. It still
works for me with bash 3.
Could you please try the following:

zaphod qwt # cat testscript 
QWTVER="4.2.0"
echo ${QWTVER/\.*/}
echo ${QWTVER/.*/}
zaphod qwt # bash testscript 
4
4

------- Comment #10 From Michael Brakemeier 2004-10-26 00:36:14 0000 -------
Same results for the script here.

As far as I understood the bash-manual ;-) you don't need to escape anything in the pattern, neither the dot nor the asterisk... . Pattern matching is done like in pathname expansion, not regexp-style.

The ${QWTVER/.\*/} should never work. For me it never did, neither with bash 2 nor bash 3...very strange.

------- Comment #11 From Patrick Kursawe 2004-10-26 02:23:42 0000 -------
I think I don't have to understand this. Since for me A and B work and for you
just B, and B seems to be correct, I'll just change it to B. Thanks.

------- Comment #12 From Alexander Benedix 2004-10-26 03:01:49 0000 -------
just changed my ebuild, did emerge -B qwt and the tar.bz2-file contains the
library eventually

First Last Prev Next    No search results available      Search page      Enter new bug