First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 73139
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Chris White (RETIRED) <chriswhite@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Tobias Sager <moixa@gmx.ch>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
pdflib-5.0.4_p1-r1.diff pdflib-5.0.4_p1.ebuild to pdflib-5.0.4_p1-r1.ebuild patch Fernando Serboncini (RETIRED) 2004-12-05 19:16 0000 539 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 73139 depends on: Show dependency tree
Bug 73139 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-12-02 08:06 0000
pdflib 5.0.4_p1 creates a /usr/perlX and a /usr/pythonX.X directory. These
directories do not belong in /usr.

This is because the ebuild does now know the $(get_libdir) function without an
"inherit eutils".
Adding that yields a QA Notice upon merge but does the job perfectly otherwise.

------- Comment #1 From Fernando Serboncini (RETIRED) 2004-12-04 05:54:40 0000 -------
Everything worked fine to me without the "inherit eutils". Are you using the
latest portage?

------- Comment #2 From Tobias Sager 2004-12-04 09:14:53 0000 -------
Yes. This is my emerge info:

<snip>
Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.2.5-r2,glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r6 i686)
=================================================================
System uname: 2.6.9-gentoo-r6 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.18,sys-kernel/linux-headers-2.4.19-r1,sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /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=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks moo sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://gentoo.mirror.icd.hu/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage.local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa apm avi berkdb bitmap-fonts bonobo cdr chroot crypt cscope cups dga dillo directfb divx4linux dvd encode esd ethereal f77 fam fbcon flac foomaticdb fortran freetds gdbm ggi gif gphoto2 gpm gtk gtk2 gtkhtml guile imagemagick imlib ipv6 java javascript jce jpeg junit libg++ libwww mad maildir mbox mikmod motif mpeg mysql ncurses nls offensive oggvorbis opengl oss pam pcmcia pda pdflib perl php png pnp python qt quicktime readline samba sdl slang speex spell sse ssl svga tcltk tcpd tetex tiff truetype trusted unicode usb x86 xface xfs xml xml2 xmms xv xvid zlib"
</snip>

qpkg -f pdflib:
<snip>
media-libs/pdflib-5.0.4_p1 *
CONTENTS:
/usr
/usr/perl5
/usr/perl5/site_perl
/usr/perl5/site_perl/5.8.4
/usr/perl5/site_perl/5.8.4/i686-linux
/usr/python2.3
/usr/python2.3/lib-dynload
/usr/bin
/usr/bin/pdflib-config
/usr/lib
/usr/lib/libpdf.so.2.2.2
/usr/lib/libpdf.so.2 -> libpdf.so.2.2.2 1102180238
/usr/lib/libpdf.so -> libpdf.so.2.2.2 1102180238
/usr/lib/libpdf.la
/usr/lib/libpdf.a
/usr/lib/libpdf_java.so.0.0.0
/usr/lib/libpdf_java.so.0 -> libpdf_java.so.0.0.0 1102180238
/usr/lib/libpdf_java.so -> libpdf_java.so.0.0.0 1102180238
/usr/lib/libpdf_java.la
/usr/lib/libpdf_java.a
/usr/lib/perl5
/usr/lib/perl5/site_perl
/usr/lib/perl5/site_perl/5.8.4
/usr/lib/perl5/site_perl/5.8.4/pdflib_pl.so.0.0.0
/usr/lib/perl5/site_perl/5.8.4/pdflib_pl.so.0 -> pdflib_pl.so.0.0.0 1102180239
/usr/lib/perl5/site_perl/5.8.4/pdflib_pl.so -> pdflib_pl.so.0.0.0 1102180239
/usr/lib/perl5/site_perl/5.8.4/pdflib_pl.la
/usr/lib/perl5/site_perl/5.8.4/pdflib_pl.a
/usr/lib/perl5/site_perl/5.8.4/i686-linux
/usr/lib/python2.3
/usr/lib/python2.3/pdflib_py.so.0.0.0
/usr/lib/python2.3/pdflib_py.so.0 -> pdflib_py.so.0.0.0 1102180239
/usr/lib/python2.3/pdflib_py.so -> pdflib_py.so.0.0.0 1102180239
/usr/lib/python2.3/pdflib_py.la
/usr/lib/python2.3/pdflib_py.a
/usr/lib/tcl8.4
/usr/lib/tcl8.4/pdflib
/usr/lib/tcl8.4/pdflib/pkgIndex.tcl
/usr/lib/tcl8.4/pdflib/pdflib_tcl.so.0.0.0
/usr/lib/tcl8.4/pdflib/pdflib_tcl.so.0 -> pdflib_tcl.so.0.0.0 1102180239
/usr/lib/tcl8.4/pdflib/pdflib_tcl.so -> pdflib_tcl.so.0.0.0 1102180239
/usr/lib/tcl8.4/pdflib/pdflib_tcl.la
/usr/lib/tcl8.4/pdflib/pdflib_tcl.a
/usr/include
/usr/include/pdflib.h
/usr/share
/usr/share/doc
/usr/share/doc/pdflib-5.0.4_p1
/usr/share/doc/pdflib-5.0.4_p1/readme.txt.gz
/usr/share/doc/pdflib-5.0.4_p1/grid.pdf.gz
/usr/share/doc/pdflib-5.0.4_p1/PDFlib-license.pdf.gz
/usr/share/doc/pdflib-5.0.4_p1/PDFlib-license.rtf.gz
/usr/share/pdflib-5
/usr/share/pdflib-5/lib
/usr/share/pdflib-5/lib/pdflib.jar
/usr/share/pdflib-5/package.env
</snip>

------- Comment #3 From Fernando Serboncini (RETIRED) 2004-12-05 05:37:43 0000 -------
I'm not being able to reproduce this here (neither the /usr/python nor the QA
Notice).
could you tell me what is the QA notice you get?

AFAIK, the $(get_libdir) function should be available all the time (even
without eutils). So my guess is something else is wrong. 

------- Comment #4 From Tobias Sager 2004-12-05 06:12:13 0000 -------
Changing the ebuild like this:
<snip>
--- pdflib-5.0.4_p1.ebuild.org  2004-12-05 14:51:01.421535000 +0100
+++ pdflib-5.0.4_p1.ebuild      2004-12-05 14:51:06.621535000 +0100
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: /var/cvsroot/gentoo-x86/media-libs/pdflib/pdflib-5.0.4_p1.ebuild,v 1.5 2004/12/03 06:20:07 kingtaco Exp $
 
-inherit java-pkg
+inherit java-pkg eutils
 
 MY_PN="${PN/pdf/PDF}-Lite"
 MY_PV="${PV/_p1/p1}"
</snip>


Merge works fine (does not print the QA Notice now). qpkg -l pdflib
<snip>
media-libs/pdflib-5.0.4_p1 *
CONTENTS:
/usr
/usr/lib
/usr/lib/perl5
/usr/lib/perl5/site_perl
/usr/lib/perl5/site_perl/5.8.4
/usr/lib/perl5/site_perl/5.8.4/i686-linux
/usr/lib/perl5/site_perl/5.8.4/i686-linux/pdflib_pl.so.0.0.0
/usr/lib/perl5/site_perl/5.8.4/i686-linux/pdflib_pl.so.0 -> pdflib_pl.so.0.0.0 1102255211
/usr/lib/perl5/site_perl/5.8.4/i686-linux/pdflib_pl.so -> pdflib_pl.so.0.0.0 1102255211
/usr/lib/perl5/site_perl/5.8.4/i686-linux/pdflib_pl.la
/usr/lib/perl5/site_perl/5.8.4/i686-linux/pdflib_pl.a
/usr/lib/perl5/site_perl/5.8.4/i686-linux/pdflib_pl.pm
/usr/lib/python2.3
/usr/lib/python2.3/lib-dynload
/usr/lib/python2.3/lib-dynload/pdflib_py.so.0.0.0
/usr/lib/python2.3/lib-dynload/pdflib_py.so.0 -> pdflib_py.so.0.0.0 1102255211
/usr/lib/python2.3/lib-dynload/pdflib_py.so -> pdflib_py.so.0.0.0 1102255211
/usr/lib/python2.3/lib-dynload/pdflib_py.la
/usr/lib/python2.3/lib-dynload/pdflib_py.a
/usr/lib/libpdf.so.2.2.2
/usr/lib/libpdf.so.2 -> libpdf.so.2.2.2 1102255211
/usr/lib/libpdf.so -> libpdf.so.2.2.2 1102255211
/usr/lib/libpdf.la
/usr/lib/libpdf.a
/usr/lib/libpdf_java.so.0.0.0
/usr/lib/libpdf_java.so.0 -> libpdf_java.so.0.0.0 1102255211
/usr/lib/libpdf_java.so -> libpdf_java.so.0.0.0 1102255211
/usr/lib/libpdf_java.la
/usr/lib/libpdf_java.a
/usr/lib/tcl8.4
/usr/lib/tcl8.4/pdflib
/usr/lib/tcl8.4/pdflib/pkgIndex.tcl
/usr/lib/tcl8.4/pdflib/pdflib_tcl.so.0.0.0
/usr/lib/tcl8.4/pdflib/pdflib_tcl.so.0 -> pdflib_tcl.so.0.0.0 1102255211
/usr/lib/tcl8.4/pdflib/pdflib_tcl.so -> pdflib_tcl.so.0.0.0 1102255211
/usr/lib/tcl8.4/pdflib/pdflib_tcl.la
/usr/lib/tcl8.4/pdflib/pdflib_tcl.a
/usr/bin
/usr/bin/pdflib-config
/usr/include
/usr/include/pdflib.h
/usr/share
/usr/share/doc
/usr/share/doc/pdflib-5.0.4_p1
/usr/share/doc/pdflib-5.0.4_p1/readme.txt.gz
/usr/share/doc/pdflib-5.0.4_p1/grid.pdf.gz
/usr/share/doc/pdflib-5.0.4_p1/PDFlib-license.pdf.gz
/usr/share/doc/pdflib-5.0.4_p1/PDFlib-license.rtf.gz
/usr/share/pdflib-5
/usr/share/pdflib-5/lib
/usr/share/pdflib-5/lib/pdflib.jar
/usr/share/pdflib-5/package.env
</snip>

------- Comment #5 From Fernando Serboncini (RETIRED) 2004-12-05 07:39:07 0000 -------
Ok, I think I got it.
first, check if you've etc-updated /etc/init.d/functions.sh correctly, there must be a get_libdir() function there (that's why you shouldn't have to add eutils for the ebuild to work).

If this file isn't updated, you'll have to re-emerge baselayout.

If the function is there, there may be something wrong with you ${CONF_LIBDIR_OVERRIDE} or ${CONF_LIBDIR} function. I don't think this is the case, since einstall (the rest of the /usr/lib/* installs) are finding the libdir correctly. They may be set in /etc/rc.conf or /etc/conf.d/rc.conf, I guess.

So I think that's it.


------- Comment #6 From Tobias Sager 2004-12-05 13:30:46 0000 -------
Principally, you're right about the missing function, but...
I re-emerged baselayout, but still do not have get_libdir in functions.sh.

Version-tag of functions.sh:
$Header: /home/cvsroot/gentoo-src/rc-scripts/sbin/functions.sh,v 1.52 2004/05/21 15:22:12 agriffis Exp $

Baselayout is at version 1.9.4-r6.

------- Comment #7 From Fernando Serboncini (RETIRED) 2004-12-05 19:16:43 0000 -------
Created an attachment (id=45350) [edit]
pdflib-5.0.4_p1.ebuild to pdflib-5.0.4_p1-r1.ebuild

patch to add "inherit eutils" on pdflib ebuild.

------- Comment #8 From Fernando Serboncini (RETIRED) 2004-12-05 19:19:25 0000 -------
We have got it. The current ebuild was requesting get_libdir() to be globally
defined (on functions.sh) but this is only available on baselayout-1.11 which
is still unstable (~arch). Therefore, I've inherited eutils on the ebuild.
Everything  should work now.

------- Comment #9 From Bryan Østergaard (RETIRED) 2004-12-05 19:52:02 0000 -------
Fixed in cvs.

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