bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

oddball messages on FreeBSD that cause make to fail the testsuite


From: Dennis Clarke
Subject: oddball messages on FreeBSD that cause make to fail the testsuite
Date: Mon, 14 Feb 2022 18:54:41 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.0



I was really surprised to see this on amd64 FreeBSD 13.0 :


2 Tests in 1 Category Failed (See .diff* files in work dir for details) :-(

*** Error code 1

Stop.
make[2]: stopped in /opt/bw/build/make-4.3_fbsd13_amd64.001
*** Error code 1

Stop.
make[1]: stopped in /opt/bw/build/make-4.3_fbsd13_amd64.001
*** Error code 1

Stop.
make: stopped in /opt/bw/build/make-4.3_fbsd13_amd64.001


The diff files seem to be all about a compiler warning :

bw$
bw$ cat  ./tests/work/features/load.diff.3
*** work/features/load.base.3   Mon Feb 14 16:48:38 2022
--- work/features/load.log.3    Mon Feb 14 16:48:38 2022
***************
*** 1,2 ****
--- 1,9 ----
  rebuilding testload.so
+ testload.c:6:5: warning: no previous extern declaration for non-static variable 'plugin_is_GPL_compatible' [-Wmissing-variable-declarations]
+ int plugin_is_GPL_compatible;
+     ^
+ testload.c:6:1: note: declare 'static' if the variable is not intended to be used outside of this translation unit
+ int plugin_is_GPL_compatible;
+ ^
+ 1 warning generated.
  pre= post=testload.so implicit
bw$
bw$
bw$ cat  ./tests/work/features/load.diff.4
*** work/features/load.base.4   Mon Feb 14 16:48:38 2022
--- work/features/load.log.4    Mon Feb 14 16:48:38 2022
***************
*** 1,2 ****
--- 1,9 ----
  rebuilding testload.so
+ testload.c:6:5: warning: no previous extern declaration for non-static variable 'plugin_is_GPL_compatible' [-Wmissing-variable-declarations]
+ int plugin_is_GPL_compatible;
+     ^
+ testload.c:6:1: note: declare 'static' if the variable is not intended to be used outside of this translation unit
+ int plugin_is_GPL_compatible;
+ ^
+ 1 warning generated.
  pre= post=testload.so explicit
bw$


I went looking for this "testload" thingy and could not find it.
Any ideas ?




--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional



reply via email to

[Prev in Thread] Current Thread [Next in Thread]