[Pkg-freeipa-devel] Bug#923011: nuxwdog: FTBFS (/usr/include/keyutils.h:204:48: error: expected ', ' or '...' before 'private')

Santiago Vila sanvila at debian.org
Fri Feb 22 22:53:47 GMT 2019


Package: src:nuxwdog
Version: 1.0.5-2
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-arch
dh build-arch  --no-parallel --with javahelper
   dh_update_autotools_config -a
   dh_autoreconf -a
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
configure.ac:59: installing './compile'
configure.ac:52: installing './missing'
Makefile.am: installing './depcomp'
   jh_linkjars -a
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
mkdir stash
cp lib/perl/Nuxwdogclient/*.inc stash
dh_auto_build -- -Dproduct.ui.flavor.prefix="" -Dproduct.prefix="" -Dproduct="nuxwdog" -Dversion="1.0.5"
	ant -Duser.name debian -Dproduct.ui.flavor.prefix= -Dproduct.prefix= -Dproduct=nuxwdog -Dversion=1.0.5
Buildfile: /<<PKGBUILDDIR>>/build.xml

clean:
     [echo] Removing 'nuxwdog' component directories ...
     [echo] Completed removing 'nuxwdog' component directories.

clean_javadocs:
     [echo] Removing 'nuxwdog' javadocs directory ...
     [echo] Nothing to do!
     [echo] Completed removing 'nuxwdog' javadocs directory.

compile_java:
     [echo] Compiling 'nuxwdog' java code from 'src' into 'build/classes' ...
    [mkdir] Created dir: /<<PKGBUILDDIR>>/build/classes
    [javac] /<<PKGBUILDDIR>>/build.xml:59: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 1 source file to /<<PKGBUILDDIR>>/build/classes
     [echo] Completed compiling 'nuxwdog' java code from 'src' into 'build/classes'.

build_jars:
     [echo] Generating 'nuxwdog' jar files ...
    [mkdir] Created dir: /<<PKGBUILDDIR>>/build/jars
      [jar] Building jar: /<<PKGBUILDDIR>>/build/jars/nuxwdog.jar
     [echo] Completed generating 'nuxwdog' jar files.

build_jni_headers:
     [echo] Generating 'nuxwdog' java header files ...
    [mkdir] Created dir: /<<PKGBUILDDIR>>/build/include
     [echo] Completed generating 'nuxwdog' java header files.

build_header_files:
     [echo] ${begin.build.headers.log.message}
    [mkdir] Created dir: /<<PKGBUILDDIR>>/build/usr/include
     [copy] Copying 2 files to /<<PKGBUILDDIR>>/build/usr/include

build:
     [echo] Built classes, jars, and jni headers for the 'nuxwdog' component.

compose_javadocs:
     [echo] Composing 'nuxwdog' javadocs ...
     [echo] Nothing to do!
     [echo] Completed composing 'nuxwdog' javadocs.

document:
     [echo] Documented 'nuxwdog' javadocs.

distribute_binaries:
     [echo] Creating 'nuxwdog' binary distributions ...
    [mkdir] Created dir: /<<PKGBUILDDIR>>/dist/binary
     [echo]     Creating 'nuxwdog' binary wrappers ...
     [echo]     Nothing to do!
     [echo]     Completed creating 'nuxwdog' binary wrappers.
     [echo]     Creating 'nuxwdog' binary zip files ...
      [zip] Building zip: /<<PKGBUILDDIR>>/dist/binary/nuxwdog-1.0.5.zip
     [echo]     Completed creating 'nuxwdog' binary zip files.
     [echo]     Creating 'nuxwdog' binary tar files ...
      [tar] Building tar: /<<PKGBUILDDIR>>/dist/binary/nuxwdog-1.0.5.tar
     [echo]     Completed creating 'nuxwdog' binary tar files.
     [echo]     Creating 'nuxwdog' binary gzip files ...
     [gzip] Building: /<<PKGBUILDDIR>>/dist/binary/nuxwdog-1.0.5.tar.gz
   [delete] Deleting: /<<PKGBUILDDIR>>/dist/binary/nuxwdog-1.0.5.tar
     [echo]     Completed creating 'nuxwdog' binary gzip files.
     [echo] Completed creating 'nuxwdog' binary distributions.

distribute_source:
     [echo] Creating 'nuxwdog' source distributions ...
    [mkdir] Created dir: /<<PKGBUILDDIR>>/dist/source
     [echo]     Creating 'nuxwdog' source zip files ...
      [zip] Building zip: /<<PKGBUILDDIR>>/dist/source/nuxwdog-1.0.5.zip
     [echo]     Completed creating 'nuxwdog' source zip files.
     [echo]     Creating 'nuxwdog' source tar files ...
      [tar] Building tar: /<<PKGBUILDDIR>>/dist/source/nuxwdog-1.0.5.tar
     [echo]     Completed creating 'nuxwdog' source tar files.
     [echo]     Creating 'nuxwdog' source gzip files ...
     [gzip] Building: /<<PKGBUILDDIR>>/dist/source/nuxwdog-1.0.5.tar.gz
   [delete] Deleting: /<<PKGBUILDDIR>>/dist/source/nuxwdog-1.0.5.tar
     [echo]     Completed creating 'nuxwdog' source gzip files.
     [echo] Completed creating 'nuxwdog' source distributions.

distribute:
     [echo] Distributed 'nuxwdog' distribution packages.

main:
     [echo] Built, verified, documented, and distributed a fresh 'nuxwdog' component.

BUILD SUCCESSFUL
Total time: 9 seconds
# run this here	
dh_auto_configure -- \
	 --enable-64bit
	./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --enable-64bit
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports the include directive... yes (GNU style)
checking for gcj... no
checking dependency style of gcj... none
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... none
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking dependency style of gcj... (cached) none
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking if gcj supports -fno-rtti -fno-exceptions... (cached) no
checking for gcj option to produce PIC... -fPIC
checking if gcj PIC flag -fPIC works... no
checking if gcj static flag -static works... no
checking if gcj supports -c -o file.o... no
checking if gcj supports -c -o file.o... (cached) no
checking whether the gcj linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking whether stat file-mode macros are broken... no
checking for an ANSI C-conforming const... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for uid_t in sys/types.h... yes
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for unistd.h... (cached) yes
checking for working chown... yes
checking whether closedir returns void... no
checking for error_at_line... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether lstat correctly handles trailing slash... yes
checking whether lstat accepts an empty string... no
checking whether lstat correctly handles trailing slash... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking return type of signal handlers... void
checking whether stat accepts an empty string... no
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... no
checking for strftime... yes
checking for vprintf... yes
checking for _doprnt... no
checking for setrlimit... yes
checking for endpwent... yes
checking for ftruncate... yes
checking for getcwd... yes
checking for gethostbyname... yes
checking for inet_ntoa... yes
checking for localtime_r... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for munmap... yes
checking for putenv... yes
checking for rmdir... yes
checking for socket... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strcspn... yes
checking for strdup... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strpbrk... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtol... yes
checking for tzset... yes
checking for --enable-64bit... yes
checking for --enable-debug... no
configure: checking for pre-built Ant NUXWDOG JNI Headers and Jars...
checking for --with-nuxwdog... no
checking for --with-nuxwdog-inc... no
checking for --with-nuxwdog-jars... no
checking for --with-jni-inc... using -I/usr/lib/jvm/java-11-openjdk-amd64/bin/../include -I/usr/lib/jvm/java-11-openjdk-amd64/bin/../include/linux
checking for nuxwdog JNI headers and jars in well-known locations... using pre-built Ant nuxwdog JNI generated headers and Jar file
configure: checking for NSPR...
checking for --with-nspr... no
checking for --with-nspr-inc... no
checking for --with-nspr-lib... no
checking for pkg-config... /usr/bin/pkg-config
checking for nspr with pkg-config... using system NSPR
checking keyutils.h usability... yes
checking keyutils.h presence... yes
checking for keyutils.h... yes
checking for add_key in -lkeyutils... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/perl/Nuxwdogclient/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   jh_build -a
   dh_auto_test -a
	make -j1 check VERBOSE=1
make[1]: Entering directory '/<<PKGBUILDDIR>>'
Making check in .
make[2]: Entering directory '/<<PKGBUILDDIR>>'
g++ -DHAVE_CONFIG_H -I.  -UDEBUG -DNDEBUG -DTRIMMED -I/usr/lib/jvm/java-11-openjdk-amd64/bin/../include -I/usr/lib/jvm/java-11-openjdk-amd64/bin/../include/linux -I./build/include -DLOCALSTATEDIR="\"/var\"" -DSYSCONFDIR="\"/etc\"" -DLIBDIR="\"/usr/lib/x86_64-linux-gnu\"" -DBINDIR="\"/usr/bin\"" -DDATADIR="\"/usr/share\"" -DDOCDIR="\"/usr/share/doc/nuxwdog\"" -DLIBEXECDIR="\"/usr/lib/x86_64-linux-gnu\"" -I/usr/include/nspr -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/com/redhat/nuxwdog/nuxwdog-watchdog.o `test -f 'src/com/redhat/nuxwdog/watchdog.cpp' || echo './'`src/com/redhat/nuxwdog/watchdog.cpp
src/com/redhat/nuxwdog/watchdog.cpp: In function 'int main(int, char**, char**)':
src/com/redhat/nuxwdog/watchdog.cpp:892:21: warning: '%s' directive writing up to 4095 bytes into a region of size 115 [-Wformat-overflow=]
     sprintf(envbuf, "WD_PIPE_NAME=%s", UDS_NAME);
                     ^~~~~~~~~~~~~~~~~  ~~~~~~~~
In file included from /usr/include/stdio.h:873,
                 from src/com/redhat/nuxwdog/watchdog.cpp:32:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 14 and 4109 bytes into a destination of size 128
   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       __bos (__s), __fmt, __va_arg_pack ());
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -DHAVE_CONFIG_H -I.  -UDEBUG -DNDEBUG -DTRIMMED -I/usr/lib/jvm/java-11-openjdk-amd64/bin/../include -I/usr/lib/jvm/java-11-openjdk-amd64/bin/../include/linux -I./build/include -DLOCALSTATEDIR="\"/var\"" -DSYSCONFDIR="\"/etc\"" -DLIBDIR="\"/usr/lib/x86_64-linux-gnu\"" -DBINDIR="\"/usr/bin\"" -DDATADIR="\"/usr/share\"" -DDOCDIR="\"/usr/share/doc/nuxwdog\"" -DLIBEXECDIR="\"/usr/lib/x86_64-linux-gnu\"" -I/usr/include/nspr -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/com/redhat/nuxwdog/nuxwdog-wdconf.o `test -f 'src/com/redhat/nuxwdog/wdconf.cpp' || echo './'`src/com/redhat/nuxwdog/wdconf.cpp
g++ -DHAVE_CONFIG_H -I.  -UDEBUG -DNDEBUG -DTRIMMED -I/usr/lib/jvm/java-11-openjdk-amd64/bin/../include -I/usr/lib/jvm/java-11-openjdk-amd64/bin/../include/linux -I./build/include -DLOCALSTATEDIR="\"/var\"" -DSYSCONFDIR="\"/etc\"" -DLIBDIR="\"/usr/lib/x86_64-linux-gnu\"" -DBINDIR="\"/usr/bin\"" -DDATADIR="\"/usr/share\"" -DDOCDIR="\"/usr/share/doc/nuxwdog\"" -DLIBEXECDIR="\"/usr/lib/x86_64-linux-gnu\"" -I/usr/include/nspr -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/com/redhat/nuxwdog/nuxwdog-wdsignals.o `test -f 'src/com/redhat/nuxwdog/wdsignals.cpp' || echo './'`src/com/redhat/nuxwdog/wdsignals.cpp
g++ -DHAVE_CONFIG_H -I.  -UDEBUG -DNDEBUG -DTRIMMED -I/usr/lib/jvm/java-11-openjdk-amd64/bin/../include -I/usr/lib/jvm/java-11-openjdk-amd64/bin/../include/linux -I./build/include -DLOCALSTATEDIR="\"/var\"" -DSYSCONFDIR="\"/etc\"" -DLIBDIR="\"/usr/lib/x86_64-linux-gnu\"" -DBINDIR="\"/usr/bin\"" -DDATADIR="\"/usr/share\"" -DDOCDIR="\"/usr/share/doc/nuxwdog\"" -DLIBEXECDIR="\"/usr/lib/x86_64-linux-gnu\"" -I/usr/include/nspr -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/com/redhat/nuxwdog/nuxwdog-wdpwd.o `test -f 'src/com/redhat/nuxwdog/wdpwd.cpp' || echo './'`src/com/redhat/nuxwdog/wdpwd.cpp
In file included from src/com/redhat/nuxwdog/wdpwd.cpp:30:
./config.h:388: warning: "_POSIX_C_SOURCE" redefined
 #define _POSIX_C_SOURCE 199506L
 
In file included from /usr/include/x86_64-linux-gnu/c++/8/bits/os_defines.h:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/c++config.h:508,
                 from /usr/include/c++/8/cstdlib:41,
                 from /usr/include/c++/8/stdlib.h:36,
                 from src/com/redhat/nuxwdog/wdpwd.cpp:21:
/usr/include/features.h:265: note: this is the location of the previous definition
 # define _POSIX_C_SOURCE 200809L
 
In file included from src/com/redhat/nuxwdog/wdpwd.cpp:37:
/usr/include/keyutils.h:204:48: error: expected ',' or '...' before 'private'
 extern long keyctl_dh_compute_kdf(key_serial_t private, key_serial_t prime,
                                                ^~~~~~~
make[2]: *** [Makefile:1011: src/com/redhat/nuxwdog/nuxwdog-wdpwd.o] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:1178: check-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: make -j1 check VERBOSE=1 returned exit code 2
make: *** [debian/rules:29: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
--------------------------------------------------------------------------------

The build was made in my autobuilder with "dpkg-buildpackage -B"
and it also fails here:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/nuxwdog.html

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.

Thanks.



More information about the Pkg-freeipa-devel mailing list