[FS#3234] 19.07.2 imagebuilder does not work with (detect) gcc 10.1 and FORCE=1 is not respected

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Mon Sep 21 20:18:58 EDT 2020


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#3234 - 19.07.2 imagebuilder does not work with (detect) gcc 10.1 and FORCE=1 is not respected
User who did this - Andreas Schneider (ciscam)

----------
I can reproduce with the imagebuilder from 18.06.8-ar71xx-tiny on Manjaro 20.1 5.4.64-1:

[openwrt-imagebuilder-18.06.8-ar71xx-tiny.Linux-x86_64]$ make image
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'proper-umask'... ok.
Checking 'gcc'... failed.
Checking 'working-gcc'... ok.
Checking 'g++'... failed.
Checking 'working-g++'... ok.
Checking 'ncurses'... ok.
Checking 'perl-thread-queue'... ok.
Checking 'tar'... ok.
Checking 'find'... ok.
Checking 'bash'... ok.
Checking 'patch'... ok.
Checking 'diff'... ok.
Checking 'cp'... ok.
Checking 'seq'... ok.
Checking 'awk'... ok.
Checking 'grep'... ok.
Checking 'getopt'... ok.
Checking 'stat'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'wget'... ok.
Checking 'perl'... ok.
Checking 'python3-cleanup'... ok.
Checking 'python'... ok.
Checking 'git'... ok.
Checking 'file'... ok.
Checking 'ldconfig-stub'... ok.

Build dependency: Please install the GNU C Compiler (gcc) 4.8 or later
Build dependency: Please install the GNU C++ Compiler (g++) 4.8 or later

Prerequisite check failed. Use FORCE=1 to override.
make[1]: *** [Makefile:84: staging_dir/host/.prereq-build] Error 1
make: *** [Makefile:193: image] Error 2

$ pacman -Qi gcc |grep Version
Version         : 10.2.0-2
$ echo $PATH
/home/user/.local/bin:/usr/local/bin:/usr/local/sbin:**/usr/bin**:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
$ whereis gcc g++
gcc: /usr/bin/gcc /usr/lib/gcc /usr/share/man/man1/gcc.1.gz /usr/share/info/gcc.info.gz
g++: /usr/bin/g++ /usr/share/man/man1/g++.1.gz
----------

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3234#comment8829

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list