Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 173403 - app-arch/pbzip2 does not compile with USE="static"
Summary: app-arch/pbzip2 does not compile with USE="static"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo LiveCD Package Maintainers
URL:
Whiteboard:
Keywords:
: 174817 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-04-04 21:29 UTC by Peter Gantner (a.k.a. nephros)
Modified: 2007-04-16 18:22 UTC (History)
2 users (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 Peter Gantner (a.k.a. nephros) 2007-04-04 21:29:41 UTC
+++ This bug was initially created as a clone of Bug #104727 +++

The ebuild uses the get_libdir function which AFAICS is defined in multilib.eclass.
So it needs an 'inherit multilib' line.

Without it we get:
>>> Compiling source in /tmp/portage/app-arch/pbzip2-1.0.1/work/pbzip2-1.0.1 ...
/usr/portage/app-arch/pbzip2/pbzip2-1.0.1.ebuild: line 23: get_libdir: command not found
cp: cannot stat `/usr//libbz2.a': No such file or directory
make: *** No rule to make target `libbz2.a', needed by `pbzip2-static'.  Stop.
Comment 1 Marcelo Goes (RETIRED) gentoo-dev 2007-04-08 00:20:39 UTC
Worked for me.

06/09/03 20:12:14 kumba Exp $

+inherit multilib
+
 DESCRIPTION="A parallel version of BZIP2"
 HOMEPAGE="http://compression.ca/pbzip2/"
 SRC_URI="http://compression.ca/${PN}/${P}.tar.gz"
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2007-04-13 17:50:24 UTC
Fixed in CVS
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-04-16 18:22:28 UTC
*** Bug 174817 has been marked as a duplicate of this bug. ***