Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 214655 - sys-apps/attr-2.4.41 and sys-apps/acl-2.2.47 fail configure due to fake rpm symlink
Summary: sys-apps/attr-2.4.41 and sys-apps/acl-2.2.47 fail configure due to fake rpm s...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 219679 233134 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-03-25 09:39 UTC by Ferry
Modified: 2008-08-17 14:38 UTC (History)
2 users (show)

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


Attachments
emerge --info (emerge.info,3.45 KB, text/plain)
2008-03-25 09:40 UTC, Ferry
Details
emerge --info --verbose (emerge.info.v,9.58 KB, text/plain)
2008-03-25 20:22 UTC, Ferry
Details
include/builddefs (builddefs,2.15 KB, text/plain)
2008-03-25 20:28 UTC, Ferry
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ferry 2008-03-25 09:39:26 UTC
Both have similar error. Already remerged libtool, ran revdep-rebuild even tried emerge -e sys-apps/attr. Currently have 2.4.38 installed, can't even rebuild that.

checking whether ln -s works... yes
checking for msgfmt... /usr/bin/msgfmt
checking for msgmerge... /usr/bin/msgmerge
checking for xgettext... /usr/bin/xgettext
checking for rpm... /usr/bin/rpm
./configure: line 20471: test: too many arguments
checking for an ANSI C-conforming const... yes
checking for mode_t... yes
checking for working alloca.h... yes
checking for alloca... yes
configure: creating ./config.status
config.status: creating include/builddefs
config.status: creating include/config.h
include/builddefs:58: *** missing separator.  Stop.
 * 
 * ERROR: sys-apps/attr-2.4.41 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2492:  Called die
 * The specific snippet of code:
 *       emake || die
 *  The die message:
 *   (no error message)
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-apps/attr-2.4.41/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/attr-2.4.41/temp/environment'.
 * 

 * Messages for package sys-apps/attr-2.4.41:

 * 
 * ERROR: sys-apps/attr-2.4.41 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2492:  Called die
 * The specific snippet of code:
 *       emake || die
 *  The die message:
 *   (no error message)
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-apps/attr-2.4.41/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/attr-2.4.41/temp/environment'.


Reproducible: Always
Comment 1 Ferry 2008-03-25 09:40:37 UTC
Created attachment 147230 [details]
emerge --info
Comment 2 Ferry 2008-03-25 09:41:55 UTC
Err sorry, 2.4.38 isn't in portage, can't emerge 2.4.39 either.
Comment 3 SpanKY gentoo-dev 2008-03-25 17:15:12 UTC
line 58 is an empty line so getting an error there is a little odd

please post the file in question as an attachment and post `emerge --verbose --info` as well
Comment 4 Ferry 2008-03-25 20:22:51 UTC
Created attachment 147298 [details]
emerge --info --verbose
Comment 5 Ferry 2008-03-25 20:28:11 UTC
Created attachment 147299 [details]
include/builddefs
Comment 6 Ferry 2008-03-25 20:29:29 UTC
Looking at the section where it goes wrong, it appears to have to do with rpm. I don't have rpm installed. There is a /usr/bin/rpm however, but it's just a symlink to /bin/true.

flaptoppy attr-2.4.41 # whereis rpm
rpm: /usr/bin/rpm
flaptoppy attr-2.4.41 # readlink /usr/bin/rpm
/bin/true
Comment 7 Ferry 2008-03-25 20:31:50 UTC
Renamed /usr/bin/rpm, all is fine. Wonder where /usr/bin/rpm came from.
Comment 8 Ferry 2008-03-25 20:36:24 UTC
My bad, probably created the rpm link for the Juniper SSL-VPN appliance we have. It works fine under linux, but it gives errors about rpm missing. Linking /usr/bin/rpm to /bin/true solves the issue. Nasty fix.

Sorry to have bugged you with this.
Comment 9 SpanKY gentoo-dev 2008-03-26 04:21:53 UTC
looks like the sgi packages rely on the rpm version format ... if you give it something else, it falls apart:

RPM_VERSION	= 6
Inc
<http://gnu
it
law

Meyering
Comment 10 SpanKY gentoo-dev 2008-05-05 04:57:03 UTC
*** Bug 219679 has been marked as a duplicate of this bug. ***
Comment 11 SpanKY gentoo-dev 2008-08-17 14:38:55 UTC
*** Bug 233134 has been marked as a duplicate of this bug. ***