pkgsrc-Users archive

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

net/ntp4 build failure on Debian Stretch



Hi,


# uname -a
Linux e130 4.9.0-13-amd64 #1 SMP Debian 4.9.228-1 (2020-07-05) x86_64 GNU/Linux

pkgsrc-current

net/npt4 "bmake build" fails as follows:

=== Begin log ====

=> Bootstrap dependency digest>=20010302: found digest-20190127
=> Bootstrap dependency tnftp-[0-9]*: found tnftp-20151004nb2
WARNING: [license.mk] Every package should define a LICENSE.
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Building for ntp-4.2.8p15nb1
cd ./html &&  ../scripts/build/checkHtmlFileDates
cd . &&  ./scripts/build/checkChangeLog
/usr/pkg/bin/bmake  all-recursive
Making all in scripts
Making all in build
Making all in calc_tickadj
/usr/pkg/bin/bmake  all-am
Making all in ntp-wait
Making all in ntpsweep
Making all in ntptrace
Making all in lib
Making all in update-leap
Making all in include
Making all in isc
Making all in libntp
/usr/pkg/bin/bmake  all-am
Making all in sntp
[ ! -r ./../COPYRIGHT ] || [ check-COPYRIGHT-submake -nt ./../COPYRIGHT ] || /usr/pkg/bin/bmake check-COPYRIGHT-submake
cd libopts && /usr/pkg/bin/bmake  libopts.la
  CC       libopts_la-libopts.lo
In file included from libopts.c:15:0:
proto.h:101:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
 static noreturn void
                 ^~~~
proto.h:104:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
 static noreturn void
                 ^~~~
proto.h:110:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
 static noreturn void
                 ^~~~
In file included from libopts.c:20:0:
autoopts.c: In function 'ao_malloc':
autoopts.c:68:9: warning: implicit declaration of function 'option_exits' [-Wimplicit-function-declaration]
         option_exits(EXIT_FAILURE);
         ^~~~~~~~~~~~
autoopts.c: In function 'optionProcess':
autoopts.c:336:9: warning: implicit declaration of function 'ao_bug' [-Wimplicit-function-declaration]
         ao_bug(zbad_data_msg);
         ^~~~~~
In file included from libopts.c:24:0:
configfile.c: In function 'optionLoadOpt':
configfile.c:1181:9: warning: implicit declaration of function 'fserr_exit' [-Wimplicit-function-declaration]
         fserr_exit(opts->pzProgName, "stat", odesc->optArg.argString);
         ^~~~~~~~~~
In file included from libopts.c:32:0:
makeshell.c: At top level:
makeshell.c:76:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
 LOCAL noreturn void
                ^~~~
makeshell.c:84:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
 LOCAL noreturn void
                ^~~~
makeshell.c:98:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
 LOCAL noreturn void
                ^~~~
*** Error code 1

Stop.
bmake[3]: stopped in /root/pkgsrc/work/net/ntp4/work/ntp-4.2.8p15/sntp/libopts
*** Error code 1 (ignored)
/usr/pkg/bin/bmake  all-recursive
Making all in include
Making all in scripts
Making all in unity
/usr/pkg/bin/bmake  all-am
Making all in libevent
/usr/pkg/bin/bmake  all-am
Making all in libopts
/usr/pkg/bin/bmake  all-am
  CC       libopts_la-libopts.lo
In file included from libopts.c:15:0:
proto.h:101:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
 static noreturn void
                 ^~~~
proto.h:104:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
 static noreturn void
                 ^~~~
proto.h:110:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
 static noreturn void
                 ^~~~
In file included from libopts.c:20:0:
autoopts.c: In function 'ao_malloc':
autoopts.c:68:9: warning: implicit declaration of function 'option_exits' [-Wimplicit-function-declaration]
         option_exits(EXIT_FAILURE);
         ^~~~~~~~~~~~
autoopts.c: In function 'optionProcess':
autoopts.c:336:9: warning: implicit declaration of function 'ao_bug' [-Wimplicit-function-declaration]
         ao_bug(zbad_data_msg);
         ^~~~~~
In file included from libopts.c:24:0:
configfile.c: In function 'optionLoadOpt':
configfile.c:1181:9: warning: implicit declaration of function 'fserr_exit' [-Wimplicit-function-declaration]
         fserr_exit(opts->pzProgName, "stat", odesc->optArg.argString);
         ^~~~~~~~~~
In file included from libopts.c:32:0:
makeshell.c: At top level:
makeshell.c:76:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
 LOCAL noreturn void
                ^~~~
makeshell.c:84:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
 LOCAL noreturn void
                ^~~~
makeshell.c:98:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
 LOCAL noreturn void
                ^~~~
*** Error code 1

Stop.
bmake[5]: stopped in /root/pkgsrc/work/net/ntp4/work/ntp-4.2.8p15/sntp/libopts
*** Error code 1

Stop.
bmake[4]: stopped in /root/pkgsrc/work/net/ntp4/work/ntp-4.2.8p15/sntp/libopts
*** Error code 1

Stop.
bmake[3]: stopped in /root/pkgsrc/work/net/ntp4/work/ntp-4.2.8p15/sntp
*** Error code 1

Stop.
bmake[2]: stopped in /root/pkgsrc/work/net/ntp4/work/ntp-4.2.8p15/sntp
*** Error code 1

Stop.
bmake[1]: stopped in /root/pkgsrc/work/net/ntp4/work/ntp-4.2.8p15
*** Error code 1

Stop.
bmake: stopped in /root/pkgsrc/work/net/ntp4/work/ntp-4.2.8p15
*** Error code 1

Stop.
bmake[1]: stopped in /root/cvs/pkgsrc/current/pkgsrc/net/ntp4
*** Error code 1

Stop.
bmake: stopped in /root/cvs/pkgsrc/current/pkgsrc/net/ntp4

=== End log ========


It appears to fail on Centos 7 too:
https://us-east.manta.joyent.com/pkgsrc/public/reports/Linux/el7/trunk/x86_64/20200919.2243/ntp-4.2.8p15nb1/build.log


Regards

--
Ottavio Caruso


Home | Main Index | Thread Index | Old Index