Am 20.07.2018 um 12:59 schrieb Helmut Grohne: > On Sun, Jul 15, 2018 at 12:30:22PM +0200, Sven Joachim wrote: >> Something like this, perhaps? >> >> ,---- >> | make[1]: Entering directory '/<<BUILDDIR>>/ncurses-6.1+20180210/obj-test' >> | gcc -g -O2 >> | -fdebug-prefix-map=/<<BUILDDIR>>/ncurses-6.1+20180210=. >> -fstack-protector-strong >> | -Wformat -Werror=format-security -o cardfile ../obj-test/cardfile.o >> | -L/<<BUILDDIR>>/ncurses-6.1+20180210/obj-wide/lib >> | -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -I. -I../test >> | -I../test -DHAVE_CONFIG_H -DDATA_DIR=\"/usr/share/ncurses-examples\" >> | -Wdate-time -D_FORTIFY_SOURCE=2 >> | -I/<<BUILDDIR>>/ncurses-6.1+20180210/obj-wide/include >> | -D_DEFAULT_SOURCE -D_DEFAULT_SOURCE -D_GNU_SOURCE -D_GNU_SOURCE -g >> | -O2 >> | -fdebug-prefix-map=/<<BUILDDIR>>/ncurses-6.1+20180210=. >> -fstack-protector-strong >> | -Wformat -Werror=format-security -lformw -lmenuw -lpanelw -lncursesw >> | -ltinfo -lutil -lm >> | /<<BUILDDIR>>/ncurses-6.1+20180210/obj-wide/lib/libmenuw.so: file not >> recognized: File format not recognized >> | collect2: error: ld returned 1 exit status >> | Makefile:302: recipe for target 'cardfile' failed >> | make[1]: *** [cardfile] Error 1 >> | make[1]: Leaving directory '/<<BUILDDIR>>/ncurses-6.1+20180210/obj-test' >> | debian/rules:443: recipe for target 'build-test' failed >> `---- > > Yes, that's what was seeing. So that's the same thing and we can > essentially rule out hardware defects. > >> It would be necessary to have access to the build tree on a failure in >> order to debug the problem, build logs alone will most likely be >> useless. Since make currently treats -Otarget as -Oline, they have >> become almost incomprehensible anyway. :-/ > > My attempts at reproducing it with sbuild (native and cross) were > fruitless, but running rebootstrap on tmpfs while enabling a parallel > build should do. That was quite reliable on a small sample for me. Do > you want to try yourself? Would you like me to prepare and share a tree?
I tried building ncurses on a tmpfs a few times, but it always succeeded. So if you can tar up a build tree where it failed, that would be appreciated. Cheers, Sven