bug#53424: tftp-hpa: Fails to build (multiple definition of 'toplevel' when linking)

2022-01-22 Thread Tobias Geerinckx-Rice via Bug reports for GNU Guix
Hullo again, I had a minute to spare and pushed the fix to master. Thanks for the report! Ivan Vilata i Balaguer 写道: (Please note that I know very little about the GNU Build System.) See commit dfc32d8d997da74a6e838b450649bd89905ffdc3 ;-) Closing, T G-R signature.asc Description: PGP s

bug#53424: tftp-hpa: Fails to build (multiple definition of 'toplevel' when linking)

2022-01-22 Thread Ivan Vilata i Balaguer
Tobias Geerinckx-Rice (2022-01-21 22:20:15 +0100) wrote: > Hullo Ivan, > > At a glance, this *looks* like what is frequently fixed by adding ‘-fcommon’ > to CFLAGS[0]. Worth a try… > > Kind regards, > > T G-R > > [0]: > https://git.savannah.gnu.org/cgit/guix.git/commit/?id=ab5d31c53eb06ced08

bug#53424: tftp-hpa: Fails to build (multiple definition of 'toplevel' when linking)

2022-01-21 Thread Maxime Devos
Ivan Vilata i Balaguer schreef op vr 21-01-2022 om 22:06 [+0100]: > tftp.c:88:5: warning: implicit declaration of function ‘bsd_signal’; > did you mean ‘ssignal’? [-Wimplicit-function-declaration] >    88 | bsd_signal(SIGALRM, timer); >   | ^~ This one looks like tftp.c forgot

bug#53424: tftp-hpa: Fails to build (multiple definition of 'toplevel' when linking)

2022-01-21 Thread Tobias Geerinckx-Rice via Bug reports for GNU Guix
Hullo Ivan, At a glance, this *looks* like what is frequently fixed by adding ‘-fcommon’ to CFLAGS[0]. Worth a try… Kind regards, T G-R [0]: https://git.savannah.gnu.org/cgit/guix.git/commit/?id=ab5d31c53eb06ced0873599a98c74dba80b46b1e signature.asc Description: PGP signature

bug#53424: tftp-hpa: Fails to build (multiple definition of 'toplevel' when linking)

2022-01-21 Thread Ivan Vilata i Balaguer
Hi! When trying to upgrade package `tftp-hpa 5.2` from Guix commit `404f6953` to that of commit `4a943cfd`, the build fails showing these warnings and error: ``` starting phase `build' […] gcc -g -O2 -W -Wall -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-