Bug 196425 - make tinderbox failed when running `make_keys`
Summary: make tinderbox failed when running `make_keys`
Status: Closed Not A Bug
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: Enji Cooper
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-01 21:13 UTC by Enji Cooper
Modified: 2015-01-02 23:54 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Enji Cooper freebsd_committer freebsd_triage 2015-01-01 21:13:05 UTC
It looks like something's broken with cross-compilation...

--- lib/ncurses/ncurses__L ---
./make_keys keys.list > init_keytry.h
sh: ./make_keys: Exec format error
--- lib/libpam__L ---
CC='cc  ' mkdep -f .depend -a    -I/usr/src.svn/lib/libpam/modules/pam_deny/../../../../contrib/openpam/include -I/usr/src.svn/lib/libpam/modules/pam_deny/../../libpam -DOPENPAM_DEBUG -std=gnu99   /usr/src.svn/lib/libpam/modules/pam_deny/pam_deny.c
--- lib/ncurses/ncurses__L ---
*** [init_keytry.h] Error code 126

$ find /usr/obj/powerpc.powerpc* -name make_keys | xargs file
/usr/obj/powerpc.powerpc/usr/src.svn/lib/ncurses/ncurses/make_keys:    ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (FreeBSD), dynamically linked (uses shared libs), FreeBSD-style, for FreeBSD 11.0 (1100052), not stripped
/usr/obj/powerpc.powerpc/usr/src.svn/lib/ncurses/ncursesw/make_keys:   ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (FreeBSD), dynamically linked (uses shared libs), FreeBSD-style, for FreeBSD 11.0 (1100052), not stripped
/usr/obj/powerpc.powerpc64/usr/src.svn/lib/ncurses/ncurses/make_keys:  ELF 64-bit MSB executable, 64-bit PowerPC or cisco 7500, version 1 (FreeBSD), dynamically linked (uses shared libs), FreeBSD-style, for FreeBSD 11.0 (1100052), not stripped
/usr/obj/powerpc.powerpc64/usr/src.svn/lib/ncurses/ncursesw/make_keys: ELF 64-bit MSB executable, 64-bit PowerPC or cisco 7500, version 1 (FreeBSD), dynamically linked (uses shared libs), FreeBSD-style, for FreeBSD 11.0 (1100052), not stripped
Comment 1 Enji Cooper freebsd_committer freebsd_triage 2015-01-01 21:15:34 UTC
$ uname -a
FreeBSD fuji-current-amd64.local 11.0-CURRENT FreeBSD 11.0-CURRENT #11 r275423+64f189f(projects/building-blocks): Fri Dec  5 15:17:33 PST 2014     ngie@fuji-current-amd64.local:/usr/obj/usr/src/sys/FUJI  amd64
$ svnversion 
276511M
$ svn status | grep -v \?
M       Makefile.inc1
M       share/mk/bsd.lib.mk
M       share/mk/bsd.prog.mk
Comment 2 Enji Cooper freebsd_committer freebsd_triage 2015-01-02 23:54:36 UTC
Seems to have been a product of my build changes.