Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 202889 - setarch.c:51: error: `program_invocation_short_name' undeclared
Summary: setarch.c:51: error: `program_invocation_short_name' undeclared
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-20 19:48 UTC by solar (RETIRED)
Modified: 2007-12-21 03:23 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 solar (RETIRED) gentoo-dev 2007-12-20 19:48:36 UTC
This is probably a glibcism vs a ppc thing directly but clearly seems to be introduced sometime between 1.9-2.0.

luna(ppc32) / # emerge -pvq world -D
[ebuild     U ] sys-apps/setarch-2.0 [1.8]
[ebuild     U ] sys-apps/iproute2-2.6.22.20070710 [2.6.18.20061002] USE="-atm -berkdb -minimal"
[ebuild  NS   ] sys-libs/db-4.5.20_p2  USE="-bootstrap -doc -java -nocxx -tcl -test"
luna(ppc32) / # emerge setarch -q
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) sys-apps/setarch-2.0 to /
>>> root -sandbox(setup)
>>> root +sandbox(unpack)
 * Applying setarch-1.8-linux-headers.patch ...                                                                                                                                               [ ok ] * Applying setarch-1.9-links.patch ...                                                                                                                                                       [ ok ]>>> root +sandbox(compile)
setarch.c: In function `show_help':
setarch.c:51: error: `program_invocation_short_name' undeclared (first use in this function)
setarch.c:51: error: (Each undeclared identifier is reported only once
setarch.c:51: error: for each function it appears in.)
setarch.c: In function `show_usage':
setarch.c:69: error: `program_invocation_short_name' undeclared (first use in this function)
setarch.c: In function `main':
setarch.c:163: error: `program_invocation_short_name' undeclared (first use in this function)
make: *** [setarch] Error 1
make: *** Waiting for unfinished jobs....
 *
 * ERROR: sys-apps/setarch-2.0 failed.
 * Call stack:
 *   ebuild.sh, line 1701:  Called dyn_compile
 *   ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *   ebuild.sh, line   44:  Called src_compile
 *   ebuild.sh, line  711:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 *  The die message:
 *   emake failed
 *
 * 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/setarch-2.0/temp/build.log'.
 *
Comment 1 SpanKY gentoo-dev 2007-12-21 03:23:37 UTC
setarch is dead ... it's integrated into util-linux

i doubt it's a ppc thing ... i'm guessing that system is uClibc