[OpenWrt-Devel] OpenWRT broken for some reason in my system

Carlos Ferreira carlosmf.pt at gmail.com
Tue Nov 10 06:13:45 EST 2015


These lines seem to be suspicious to me. A lot of "No such file or
directory".
What can you tell from them?

[pid  3669] execve("/home/claymore/OpenWRT/trunk/staging_dir/host/bin/sh",
["sh", "-c", "if make V=s -f /home/claymore/OpenWRT/trunk/include/
prereq-build.mk check-working-gcc >/dev/null 2>/dev/null; then echo 'ok.';
else echo 'failed.'; echo \"Build dependency: Please reinstall the GNU C
Compiler - it appears to be broken\" >>
/home/claymore/OpenWRT/trunk/tmp/.prereq-error; fi"], [/* 106 vars */]) =
-1 ENOENT (No such file or directory)
[pid  3669]
execve("/home/claymore/OpenWRT/trunk/staging_dir/toolchain-_gcc-_-/bin/sh",
["sh", "-c", "if make V=s -f /home/claymore/OpenWRT/trunk/include/
prereq-build.mk check-working-gcc >/dev/null 2>/dev/null; then echo 'ok.';
else echo 'failed.'; echo \"Build dependency: Please reinstall the GNU C
Compiler - it appears to be broken\" >>
/home/claymore/OpenWRT/trunk/tmp/.prereq-error; fi"], [/* 106 vars */]) =
-1 ENOENT (No such file or directory)
[pid  3669] execve("/home/claymore/OpenWRT/trunk/staging_dir/host/bin/sh",
["sh", "-c", "if make V=s -f /home/claymore/OpenWRT/trunk/include/
prereq-build.mk check-working-gcc >/dev/null 2>/dev/null; then echo 'ok.';
else echo 'failed.'; echo \"Build dependency: Please reinstall the GNU C
Compiler - it appears to be broken\" >>
/home/claymore/OpenWRT/trunk/tmp/.prereq-error; fi"], [/* 106 vars */]) =
-1 ENOENT (No such file or directory)
[pid  3669] execve("/usr/lib/hardening-wrapper/bin/sh", ["sh", "-c", "if
make V=s -f /home/claymore/OpenWRT/trunk/include/prereq-build.mk
check-working-gcc >/dev/null 2>/dev/null; then echo 'ok.'; else echo
'failed.'; echo \"Build dependency: Please reinstall the GNU C Compiler -
it appears to be broken\" >>
/home/claymore/OpenWRT/trunk/tmp/.prereq-error; fi"], [/* 106 vars */]) =
-1 ENOENT (No such file or directory)
[pid  3669] execve("/usr/local/sbin/sh", ["sh", "-c", "if make V=s -f
/home/claymore/OpenWRT/trunk/include/prereq-build.mk check-working-gcc
>/dev/null 2>/dev/null; then echo 'ok.'; else echo 'failed.'; echo \"Build
dependency: Please reinstall the GNU C Compiler - it appears to be broken\"
>> /home/claymore/OpenWRT/trunk/tmp/.prereq-error; fi"], [/* 106 vars */])
= -1 ENOENT (No such file or directory)
[pid  3669] execve("/usr/local/bin/sh", ["sh", "-c", "if make V=s -f
/home/claymore/OpenWRT/trunk/include/prereq-build.mk check-working-gcc
>/dev/null 2>/dev/null; then echo 'ok.'; else echo 'failed.'; echo \"Build
dependency: Please reinstall the GNU C Compiler - it appears to be broken\"
>> /home/claymore/OpenWRT/trunk/tmp/.prereq-error; fi"], [/* 106 vars */])
= -1 ENOENT (No such file or directory)
[pid  3669] execve("/usr/bin/sh", ["sh", "-c", "if make V=s -f
/home/claymore/OpenWRT/trunk/include/prereq-build.mk check-working-gcc
>/dev/null 2>/dev/null; then echo 'ok.'; else echo 'failed.'; echo \"Build
dependency: Please reinstall the GNU C Compiler - it appears to be broken\"
>> /home/claymore/OpenWRT/trunk/tmp/.prereq-error; fi"], [/* 106 vars */])
= 0



On 10 November 2015 at 07:19, Paul Fertser <fercerpav at gmail.com> wrote:

> Hannu Nyman <hannu.nyman at iki.fi> writes:
> > If you are really interested, check the test command from lines 39-40
> > manually:
> > echo 'int main(int argc, char **argv) { return 0; }' | gcc -x c -o $
> > (TMP_DIR)/a.out -
>
> Looking at "strace -f -s99999 make" is often providing enough clues too.
>
> --
> Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
> mailto:fercerpav at gmail.com
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>



-- 

Carlos Miguel Ferreira
Researcher at Telecommunications Institute
Aveiro - Portugal
Work E-mail - cmf at av.it.pt
Skype & GTalk -> carlosmf.pt at gmail.com
LinkedIn -> http://www.linkedin.com/in/carlosmferreira
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20151110/73208907/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list