From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] Cannot rebuild autobuild
Date: Thu, 16 Nov 2017 00:40:55 +0100 [thread overview]
Message-ID: <58b8ef53-75b6-fc8b-8d37-e21570ae4e3b@mind.be> (raw)
In-Reply-To: <20171116001919.67e98b4b@gmx.net>
On 16-11-17 00:19, Peter Seiderer wrote:
> Hello Arnout,
>
> On Thu, 16 Nov 2017 00:03:45 +0100, Arnout Vandecappelle <arnout@mind.be> wrote:
>
>> On 15-11-17 13:58, Petr Vorel wrote:
>>>> Cannot execute cross-compiler '.../host/opt/ext-toolchain/bin/x86_64-ctng_locales-linux-gnu-gcc'
>>>> make[1]: *** [package/pkg-generic.mk:209: .../build/toolchain-external/.stamp_configured] Error 1
>>>> make: *** [Makefile:16: _all] Error 2
>>>> Maybe the toolchain definition should select BR2_HOSTARCH_NEEDS_IA32_LIBS?
>>> It must be some system library dependency as I was able to run the build on Debian unstable.
>>> Failing build is on openSUSE Tumbleweed x86_64 (the same as you), but I have glibc-32bit
>>> and many other 32 bit packages installed (as well on Debian machine).
>>> I tried to play with BR2_HOSTARCH_NEEDS_IA32_LIBS, but didn't found the solution.
>>> Thomas, any idea what can be wrong?
>>
>>
>> What does .../host/opt/ext-toolchain/bin/x86_64-ctng_locales-linux-gnu-gcc -v
>> report? When you run ldd on it? When you run it under strace? What about the
>> other binaries bundled in that tarball? What about other external toolchains
>> (e.g. sourcery)?
>
> The above error message is from old buildroot 2016.11.3 (the compiler tar file is downloaded and
> upacked and fails at runtime)...
>
> The original error is with git master (or all buildroot past the ec54092c916440501006bfa51a820eb953100510
> ('toolchain-external-custom: new package') commit:
>
> /usr/bin/install -m 0644 support/misc/target-dir-warning.txt .../build-prebuild-toolchain-001/target/THIS_IS_NOT_YOUR_ROOT_FILESYSTEM
> ^[[7m>>> skeleton-init-sysv Extracting^[[27m
> ^[[7m>>> skeleton-init-sysv Patching^[[27m
> ^[[7m>>> skeleton-init-sysv Configuring^[[27m
> ^[[7m>>> skeleton-init-sysv Building^[[27m
> ^[[7m>>> skeleton-init-sysv Installing to target^[[27m
> rsync -a --ignore-times --exclude .svn --exclude .git --exclude .hg --exclude .bzr --exclude CVS --chmod=u=rwX,go=rX --exclude .empty --exclude '*~' package/skeleton-init-sysv//skeleton/ .../build-prebuild-toolchain-001/target/
> ^[[7m>>> skeleton Extracting^[[27m
> ^[[7m>>> skeleton Patching^[[27m
> ^[[7m>>> skeleton Configuring^[[27m
> ^[[7m>>> skeleton Building^[[27m
> ^[[7m>>> skeleton Installing to target^[[27m
> make[1]: *** No rule to make target 'toolchain-external-custom', needed by '.../build-prebuild-toolchain-001/build/toolchain-external/.stamp_configured'. Stop.
> make: *** [Makefile:16: _all] Error 2
>
> The error occurs before the prebuild toolchain is downloaded/extracted...
That is really weird, the toolchain-external-custom dependencies should be
defined no matter what... Could you pastebin the output make 'make -qp' somewhere?
I would think it would be somehow related to gcc not being executable, but
since this occurs before the package is even extracted... Just to be sure, what
is the contents of output/build when you get this error? There is no
toolchain-external-custom directory yet, right?
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
next prev parent reply other threads:[~2017-11-15 23:40 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-13 10:27 [Buildroot] Cannot rebuild autobuild Petr Vorel
2017-11-13 11:06 ` Baruch Siach
2017-11-13 14:42 ` Petr Vorel
2017-11-14 22:44 ` Peter Seiderer
2017-11-15 12:58 ` Petr Vorel
2017-11-15 23:03 ` Arnout Vandecappelle
2017-11-15 23:19 ` Peter Seiderer
2017-11-15 23:40 ` Arnout Vandecappelle [this message]
2017-11-16 7:29 ` Petr Vorel
2017-11-16 13:43 ` Arnout Vandecappelle
2017-11-18 21:22 ` Peter Seiderer
2017-11-20 21:44 ` Yann E. MORIN
2017-11-18 21:32 ` Peter Seiderer
2017-11-21 20:16 ` Petr Vorel
2017-11-25 15:01 ` Yann E. MORIN
2017-11-25 16:34 ` Arnout Vandecappelle
2017-11-29 21:19 ` Petr Vorel
2017-12-15 20:22 ` Petr Vorel
2017-12-15 20:23 ` [Buildroot] FW: " Kees van Unen
2017-11-16 7:14 ` [Buildroot] " Petr Vorel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=58b8ef53-75b6-fc8b-8d37-e21570ae4e3b@mind.be \
--to=arnout@mind.be \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.