freebsd / freebsd-wifi-build

freebsd-wifi-build
142 stars 59 forks source link

tl-wdr3600 build fails #113

Closed bsdhsr closed 3 years ago

bsdhsr commented 7 years ago

Also tried with 11-STABLE sources.

Command:

~/freebsd-wifi/freebsd-wifi-build/build/bin/build tl-wdr3600


stage 4.2: building libraries

===> gnu/lib/libssp/libssp_nonshared (obj,all,install) ===> gnu/lib/libgcc (obj,all,install) ===> lib/libcompiler_rt (obj,all,install) ===> gnu/lib/csu (obj,all,install) ===> lib/csu (obj,all,install) ===> lib/csu/mips (obj) ===> lib/csu/mips (all) ===> lib/csu/mips (install) ===> lib/libcompiler_rt (obj,all,install) {standard input}: Assembler messages: {standard input}:87: Warning: no .frame pseudo-op used in PIC code {standard input}: Assembler messages: {standard input}:79: Warning: no .frame pseudo-op used in PIC code {standard input}: Assembler messages: {standard input}:102: Warning: no .frame pseudo-op used in PIC code ===> lib/libc (obj,all,install) {standard input}: Assembler messages: {standard input}:98: Warning: no .frame pseudo-op used in PIC code {standard input}: Assembler messages: {standard input}:79: Warning: no .frame pseudo-op used in PIC code ===> lib/libc_nonshared (obj,all,install) /usr/home/hsr/freebsd-wifi/src/11-release/lib/libc/gen/getgrent.c: In function 'grp_marshal_func': /usr/home/hsr/freebsd-wifi/src/11-release/lib/libc/gen/getgrent.c:215:9: warning: variable 'orig_buf_size' set but not used [-Wunused-but-set-variable] size_t orig_buf_size; ^~~~~ /usr/home/hsr/freebsd-wifi/src/11-release/lib/libc/gen/getgrent.c:214:8: warning: variable 'orig_buf' set but not used [-Wunused-but-set-variable] char orig_buf; ^~~~ /usr/home/hsr/freebsd-wifi/src/11-release/lib/libc/gen/getgrent.c:212:8: warning: variable 'gid' set but not used [-Wunused-but-set-variable] gid_t gid; ^~~ /usr/home/hsr/freebsd-wifi/src/11-release/lib/libc/gen/getgrent.c:211:8: warning: variable 'name' set but not used [-Wunused-but-set-variable] char name; ^~~~ /usr/home/hsr/freebsd-wifi/src/11-release/lib/libc/gen/getgrent.c: In function 'grp_unmarshal_func': /usr/home/hsr/freebsd-wifi/src/11-release/lib/libc/gen/getgrent.c:307:8: warning: variable 'gid' set but not used [-Wunused-but-set-variable] gid_t gid; ^~~ /usr/home/hsr/freebsd-wifi/src/11-release/lib/libc/gen/getgrent.c:306:8: warning: variable 'name' set but not used [-Wunused-but-set-variable] char name; ^~~~ /usr/home/hsr/freebsd-wifi/src/11-release/lib/libc/gen/getpwent.c: In function 'pwd_marshal_func': /usr/home/hsr/freebsd-wifi/src/11-release/lib/libc/gen/getpwent.c:264:9: warning: variable 'orig_buf_size' set but not used [-Wunused-but-set-variable] size_t orig_buf_size; ^~~~~ /usr/home/hsr/freebsd-wifi/src/11-release/lib/libc/gen/getpwent.c:263:8: warning: variable 'orig_buf' set but not used [-Wunused-but-set-variable] char orig_buf; ^~~~ /usr/home/hsr/freebsd-wifi/src/11-release/lib/libc/gen/getpwent.c:261:8: warning: variable 'uid' set but not used [-Wunused-but-set-variable] uid_t uid; ^~~ /usr/home/hsr/freebsd-wifi/src/11-release/lib/libc/gen/getpwent.c:260:8: warning: variable 'name' set but not used [-Wunused-but-set-variable] char name; ^~~~ /usr/home/hsr/freebsd-wifi/src/11-release/lib/libc/gen/getpwent.c: In function 'pwd_unmarshal_func': /usr/home/hsr/freebsd-wifi/src/11-release/lib/libc/gen/getpwent.c:365:8: warning: variable 'uid' set but not used [-Wunused-but-set-variable] uid_t uid; ^~~ /usr/home/hsr/freebsd-wifi/src/11-release/lib/libc/gen/getpwent.c:364:8: warning: variable 'name' set but not used [-Wunused-but-set-variable] char name; ^~~~ {standard input}: Assembler messages: {standard input}:10: Warning: no .frame pseudo-op used in PIC code /usr/home/hsr/freebsd-wifi/src/11-release/lib/libc/isc/ev_streams.c:23:19: error: 'rcsid' defined but not used [-Werror=unused-const-variable=] static const char rcsid[] = "$Id: ev_streams.c,v 1.5 2005/04/27 04:56:36 sra Exp $"; ^~~~~ cc1: all warnings being treated as errors --- ev_streams.o --- *** [ev_streams.o] Error code 1

make[4]: stopped in /usr/home/hsr/freebsd-wifi/src/11-release/lib/libc 1 error

make[4]: stopped in /usr/home/hsr/freebsd-wifi/src/11-release/lib/libc --- lib/libcL --- *** [lib/libcL] Error code 2

make[3]: stopped in /usr/home/hsr/freebsd-wifi/src/11-release 1 error

make[3]: stopped in /usr/home/hsr/freebsd-wifi/src/11-release --- libraries --- *** [libraries] Error code 2

make[2]: stopped in /usr/home/hsr/freebsd-wifi/src/11-release 1 error

make[2]: stopped in /usr/home/hsr/freebsd-wifi/src/11-release --- _libraries --- *** [_libraries] Error code 2

make[1]: stopped in /usr/home/hsr/freebsd-wifi/src/11-release 1 error

make[1]: stopped in /usr/home/hsr/freebsd-wifi/src/11-release --- buildworld --- *** [buildworld] Error code 2

make: stopped in /usr/home/hsr/freebsd-wifi/src/11-release 1 error

make: stopped in /usr/home/hsr/freebsd-wifi/src/11-release

mizhka commented 7 years ago

It's better to try 12-current as well ;)

Davis-A commented 7 years ago

Still unable to build tl-wdr3600. I tried with 10.3, 11.0.1 and head (2017-07-11).

All builds failed at different times. Included are links to build output:

10.3 - Built world, failed to start building kernel, unable to find a kernel configuration file 11.0.1 - Failed at building system libraries, about the time it started libc Head - Built world, failed to build the kernel

erikarn commented 7 years ago

hihi

I'm still sorting it out! give me a tiny bit more time pretty please

-adrian

On 11 July 2017 at 21:38, croquagei notifications@github.com wrote:

Still unable to build tl-wdr3600. I tried with 10.3, 11.0.1 and head (2017-07-11).

All builds failed at different times. Included are links to build output:

10.3 - Built world, failed to start building kernel, unable to find a kernel configuration file https://gist.github.com/croquagei/c55c1ea6498cc98c861d1c8d9df101d6 11.0.1 - Failed at building system libraries, about the time it started libc https://gist.github.com/croquagei/16b927cfab0f6b553c68728f299297cc Head - Built world, failed to build the kernel https://gist.github.com/croquagei/53a386290c48a1144672d0a737456e28

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/freebsd/freebsd-wifi-build/issues/113#issuecomment-314642155, or mute the thread https://github.com/notifications/unsubscribe-auth/ABGl7UeebYd8wQhOLfZCxh3o-cSvWtd3ks5sNE24gaJpZM4MNpHt .

Davis-A commented 7 years ago

No problems, appreciate all the work 👍

Davis-A commented 7 years ago

Both world and kernel compile but i don't get a final iamge.

Instead I've got a few kernels. kernel.TL-WDR4300
kernel.TL-WDR4300.debug
kernel.TL-WDR4300.tramp.bin

Here's my build output for head

erikarn commented 7 years ago

nothing after including modules?

-a

On 13 August 2017 at 01:11, croquagei notifications@github.com wrote:

Both world and kernel compile but i don't get a final iamge.

Instead I've got a few kernels. kernel.TL-WDR4300 kernel.TL-WDR4300.debug kernel.TL-WDR4300.tramp.bin

(Here's my build output for head)[https://gist.github.com/croquagei/ 0c0081ffcceaa69d56669cd521b14d2c]

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/freebsd/freebsd-wifi-build/issues/113#issuecomment-322028376, or mute the thread https://github.com/notifications/unsubscribe-auth/ABGl7eKVTY7Bi5Vn1BOJ5lCD2pdarS-Sks5sXq-1gaJpZM4MNpHt .

Davis-A commented 7 years ago

Ehh. I think I hit a git gist size limit as it cut off half the output.

So here's another build attempt. I also remembered to append stderr too

erikarn commented 7 years ago

Aha, I know what else needs merging! Gimme a bit of time.

Thanks!

-a

On 16 August 2017 at 00:36, croquagei notifications@github.com wrote:

Unsure how to do that. I just followed the instructions on the wiki page for the device. Which was just check out the src tree then run the build script.

Here's another build attempt, this time i remembered to redirect stderr. https://gist.github.com/croquagei/f974aeb09222b5f3308f6a764146f63a

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/freebsd/freebsd-wifi-build/issues/113#issuecomment-322690864, or mute the thread https://github.com/notifications/unsubscribe-auth/ABGl7eBlDi_SjvDhO272KCrDj_5eI38Jks5sYpwMgaJpZM4MNpHt .

Davis-A commented 7 years ago

Any update on progress?

mizhka commented 6 years ago

Hi,

As of today, ~/freebsd-wifi/freebsd-wifi-build/build/bin/build tl-wdr3600 works fine (host - HEAD, src - HEAD). @croquagei , do you still have a problem?

mky commented 6 years ago

Hi,

The problem still exists. Today I tried to build FreeBSD-11.1-RELEASE and FreeBSD-11-STABLE for TL-WDR3600. Both fails on buildworld. I tried also patches from pull request #124 but it doesn't help. I attaching build logs, maybe it can help with fixing this issue.

Build host: FreeBSD-11.1-RELEASE-p6 (amd64)

Packages: bison-3.0.4,1 dialog4ports-0.1.6 fakeroot-1.22 git-2.15.1 gmake-4.2.1_1 libtool-2.4.6 lzma-16.04 mips-binutils-2.28,1 mips-gcc-6.3.0 mips-xtoolchain-gcc-0.2 subversion-1.9.7 uboot-mkimage-2010.12 wget-1.19.2

Build logs: freebsd-11.1-release-tl-wdr3600.txt freebsd-11.1-release-tl-wdr3600-pullreq-124.txt freebsd-11-stable-tl-wdr3600.txt freebsd-11-stable-tl-wdr3600-pullreq-124.txt