Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Feb 2019 16:50:14 -0800 (PST)
From:      "Rodney W. Grimes" <freebsd-rwg@pdx.rh.CN85.dnsmgr.net>
To:        Karl Denninger <karl@denninger.net>
Cc:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: Crochet blowup attempting build of 12-STABLE for the RPI3
Message-ID:  <201902120050.x1C0oEpQ073427@pdx.rh.CN85.dnsmgr.net>
In-Reply-To: <a9744055-3235-5e15-dde4-efc0cfdc4387@denninger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> On 2/11/2019 16:13, Rodney W. Grimes wrote:
> >> --- lib/ncurses/ncurses__L ---
> >> --- nomacros.h ---
> >> LC_ALL=C sh
> >> /pics/CrossBuild-12STABLE/src/contrib/ncurses/ncurses/base/MKlib_gen
> >> .sh "cc -target aarch64-unknown-freebsd12.0
> >> --sysroot=/pics/Crochet-work-12STABL
> >> E/obj/pics/CrossBuild-12STABLE/src/arm64.aarch64/tmp
> >> -B/pics/Crochet-work-12STAB
> >> LE/obj/pics/CrossBuild-12STABLE/src/arm64.aarch64/tmp/usr/bin -E -O2
> >> -pipe?? -I.
> >> ?-I/pics/Crochet-work-12STABLE/obj/pics/CrossBuild-12STABLE/src/arm64.aarch64/li
> >> b/ncurses/ncurses -I/pics/CrossBuild-12STABLE/src/lib/ncurses/ncurses
> >> -I/pics/Cr
> >> ossBuild-12STABLE/src/lib/ncurses/ncurses
> >> -I/pics/CrossBuild-12STABLE/src/contri
> >> b/ncurses/include
> >> -I/pics/CrossBuild-12STABLE/src/contrib/ncurses/ncurses -Wall
> >> -DNDEBUG -DHAVE_CONFIG_H -DFREEBSD_NATIVE -DTERMIOS -g? -std=gnu99
> >> -fstack-prote
> >> ctor-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
> >> -Wno-unused-parame
> >> ter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
> >> -Wno-uninitialized
> >> -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int
> >> -Wno-unused-const-variabl
> >> e -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality
> >> -Wno-unu
> >> sed-function -Wno-enum-conversion -Wno-unused-local-typedef
> >> -Wno-address-of-pack
> >> ed-member? -Qunused-arguments "? "awk" generated < curses.h | fgrep
> >> undef > noma
> >> cros.h
> >> --- init_keytry.h ---
> >> ./make_keys keys.list > init_keytry.h
> >> sh: ./make_keys: Permission denied
> >> *** [init_keytry.h] Error code 126
> >>
> >> make[4]: stopped in /pics/CrossBuild-12STABLE/src/lib/ncurses/ncurses
> >> 1 error
> >>
> >> The executable in question appears to be ok with a "file" command but
> >> will not execute.
> >>
> >> Attempting to build for the RPI3.
> > What does ls -l show on that make_keys file,
> > did it some how get created with out x bits?
> 
> Nope:
> 
> root@NewFS:/pics/Crochet-work-12STABLE/obj/pics/CrossBuild-12STABLE/src/arm64.aarch64/lib/ncurses/ncurses
> # ls -al
> total 212
> drwxrwxr-x?? 2 root? wheel???? 23 Feb 11 14:54 .
> drwxrwxr-x? 10 root? wheel???? 10 Feb 11 14:53 ..
> -rw-r--r--?? 1 root? wheel? 16639 Feb 11 14:52 MKterm.h.awk
> -rw-r--r--?? 1 root? wheel? 11905 Feb 11 14:54 codes.c
> -rw-r--r--?? 1 root? wheel? 78856 Feb 11 14:52 curses.h
> -rw-r--r--?? 1 root? wheel? 66274 Feb 11 14:52 curses.head
> -rw-r--r--?? 1 root? wheel?? 1769 Feb 11 14:54 expanded.c
> -rw-r--r--?? 1 root? wheel??? 241 Feb 11 14:54 fallback.c
> -rw-r--r--?? 1 root? wheel??? 119 Feb 11 14:52 hashsize.h
> -rw-r--r--?? 1 root? wheel????? 0 Feb 11 14:54 init_keytry.h
> -rw-r--r--?? 1 root? wheel?? 3026 Feb 11 14:54 keys.list
> -rw-r--r--?? 1 root? wheel? 23824 Feb 11 14:54 lib_gen.c
> -rw-r--r--?? 1 root? wheel?? 8122 Feb 11 14:54 lib_keyname.c
> -rwxr-xr-x?? 1 root? wheel? 24784 Feb 11 14:52 make_hash
> -rwxr-xr-x?? 1 root? wheel? 38704 Feb 11 14:52 make_keys
> -rw-r--r--?? 1 root? wheel? 35243 Feb 11 14:52 names.c
> -rw-r--r--?? 1 root? wheel? 10757 Feb 11 14:52 ncurses_def.h
> -rw-r--r--?? 1 root? wheel??? 118 Feb 11 14:54 nomacros.h
> -rw-r--r--?? 1 root? wheel?? 9188 Feb 11 14:54 parametrized.h
> -rw-r--r--?? 1 root? wheel? 39733 Feb 11 14:52 term.h
> -rw-r--r--?? 1 root? wheel?? 3470 Feb 11 14:52 termcap.h
> -rw-r--r--?? 1 root? wheel?? 6165 Feb 11 14:54 unctrl.c
> -rw-r--r--?? 1 root? wheel?? 3099 Feb 11 14:52 unctrl.h
> root@NewFS:/pics/Crochet-work-12STABLE/obj/pics/CrossBuild-12STABLE/src/arm64.aarch64/lib/ncurses/ncurses
> # file make_keys
> make_keys: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD),
> dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 12.0
> (1200502), FreeBSD-style, with debug_info, not stripped
> root@NewFS:/pics/Crochet-work-12STABLE/obj/pics/CrossBuild-12STABLE/src/arm64.aarch64/lib/ncurses/ncurses
> #
> 
> But....
> 
> root@NewFS:/pics/Crochet-work-12STABLE/obj/pics/CrossBuild-12STABLE/src/arm64.aarch64/lib/ncurses/ncurses
> # ./make_keys
> ./make_keys: Permission denied.

This is an error message from make_keys, it is trying to do something that is
getting a EPERM returned.  Try:

truss ./make_keys

-- 
Rod Grimes                                                 rgrimes@freebsd.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902120050.x1C0oEpQ073427>