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

2015-11-10 Thread Carlos Ferreira
Paul, you it the nail! It was exactly that. I just removed the hardening-wrapper, removed the staging_dir and retried. Everything works now! This should be placed somewhere in the OpenWRT Wiki. Does anyone knows where exactly? On 10 November 2015 at 11:34, Paul Fertser wrote: > On Tue, Nov 1

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

2015-11-10 Thread Paul Fertser
On Tue, Nov 10, 2015 at 11:19:20AM +, Carlos Ferreira wrote: > First of all, I fell the need to apologise for the 7MB attachment... Yeah, that wasn't appropriate to be sent to the ML... > I hope it can provide a little more info. Looks like you have "hardening-wrapper" installed and it messe

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

2015-11-10 Thread Paul Fertser
On Tue, Nov 10, 2015 at 11:13:45AM +, Carlos Ferreira wrote: > These lines seem to be suspicious to me. A lot of "No such file or directory". > What can you tell from them? Do you have a functional /bin/sh? I can't tell much from this incomplete data you show. -- Be free, use free (http://ww

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

2015-11-10 Thread Carlos Ferreira
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>/

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

2015-11-09 Thread Paul Fertser
Hannu Nyman 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 -s9 make" is often providing enough clues too. -- Be free, use free (http:

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

2015-11-09 Thread Hannu Nyman
I am not sure if there is anything that strange. See https://dev.openwrt.org/browser/trunk/include/prereq-build.mk#L27 'gcc' basically just checks that gcc exists. (check that it responds to 'gcc --version' command) 'working-gcc' checks if gcc actually can compile anything. It tries to compile

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

2015-11-09 Thread Carlos Ferreira
The weirdest part is this. Checking 'gcc'... ok. Checking 'working-gcc'... failed. Checking 'g++'... ok. Checking 'working-g++'... failed. Checking 'ncurses'... failed. Checking 'zlib'... failed. Checking 'libssl'... failed. GCC and G++ checks out but the tests implemented in prereq-build.mk (wo

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

2015-11-09 Thread Carlos Ferreira
For reference, I'm using Manjaro Linux (Arch Linux based). [claymore@Claymore trunk]$ uname -a Linux Claymore 4.3.0-1-MANJARO #1 SMP PREEMPT Mon Nov 2 07:40:28 UTC 2015 x86_64 GNU/Linux On 9 November 2015 at 16:42, Hannu Nyman wrote: > One more "me too" report: > There was probably something u

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

2015-11-09 Thread Hannu Nyman
One more "me too" report: There was probably something unusual in the last OS kernel update for Ubuntu 15.10 x64, which has caused some compiler tools to require re-installation. I updated Ubuntu 15.10 kernel last week along other updates offered by the system, and after the kernel update I ra

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

2015-11-09 Thread Carlos Ferreira
Yes, I agree it may be a problem related to an OS update because I actually did that. Meanwhile, why would the gcc verification fail? I'm using The multilib gnu compiler and it always worked until now.. On 9 November 2015 at 14:29, Kevin Darbyshire-Bryant < ke...@darbyshire-bryant.me.uk> wrote:

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

2015-11-09 Thread Kevin Darbyshire-Bryant
On 09/11/15 13:43, Carlos Ferreira wrote: > PS: Instead of "trunk repo", it's "15.05 repo". > > On 9 November 2015 at 13:42, Carlos Ferreira > wrote: > > Today I updated my OpenWRT trunk repo and after making the usual > "./scripts/feeds install -a" this ha

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

2015-11-09 Thread Carlos Ferreira
PS: Instead of "trunk repo", it's "15.05 repo". On 9 November 2015 at 13:42, Carlos Ferreira wrote: > Today I updated my OpenWRT trunk repo and after making the usual > "./scripts/feeds install -a" this happened. > > [claymore@Claymore 15.05]$ ./scripts/feeds install -a > Checking 'working-make'