Source: hyperic-sigar Version: 1.6.4+dfsg-7 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20240313 ftbfs-trixie
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > debian/rules binary > dh binary --sourcedirectory=bindings/java > dh_update_autotools_config -O--sourcedirectory=bindings/java > dh_autoreconf -O--sourcedirectory=bindings/java > dh_auto_configure -O--sourcedirectory=bindings/java > dh_auto_build -O--sourcedirectory=bindings/java > cd bindings/java && ant -Duser.name debian > Buildfile: /<<PKGBUILDDIR>>/bindings/java/build.xml > > jni-init: > [mkdir] Created dir: /<<PKGBUILDDIR>>/bindings/java/build/classes > [echo] jni.src=linux, jni.jdk.os=linux, 64-bit > [javac] /<<PKGBUILDDIR>>/bindings/java/hyperic_jni/jni-build.xml:165: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > [javac] Using javac -source 1.4 is no longer supported, switching to 7 > [javac] Using javac -target 1.4 is no longer supported, switching to 7 > [javac] Compiling 6 source files to > /<<PKGBUILDDIR>>/bindings/java/build/classes > [javac] warning: [options] bootstrap class path not set in conjunction > with -source 7 > [javac] warning: [options] source value 7 is obsolete and will be removed > in a future release > [javac] warning: [options] target value 7 is obsolete and will be removed > in a future release > [javac] warning: [options] To suppress warnings about obsolete options, > use -Xlint:-options. > [javac] Note: > /<<PKGBUILDDIR>>/bindings/java/hyperic_jni/src/org/hyperic/jni/ArchLoader.java > uses or overrides a deprecated API. > [javac] Note: Recompile with -Xlint:deprecation for details. > [javac] 4 warnings > [libarch] amd64-linux > [echo] java.home=/usr/lib/jvm/java-17-openjdk-amd64 > > sigar-version: > [tstamp] Honouring environment variable SOURCE_DATE_EPOCH which has been > set to 1636439402 > [echo] SIGAR git revision exported > > version-file: > [echo] cp ./src/org/hyperic/sigar/SigarVersion.java.in -> > /<<PKGBUILDDIR>>/bindings/java/build/./src/org/hyperic/sigar/SigarVersion.java > [copy] Copying 1 file to > /<<PKGBUILDDIR>>/bindings/java/build/src/org/hyperic/sigar > > version-file: > [echo] cp ../../src/sigar_version.c.in -> > /<<PKGBUILDDIR>>/bindings/java/build/src/sigar_version.c > [copy] Copying 1 file to /<<PKGBUILDDIR>>/bindings/java/build/src > > version-file: > [echo] cp ../../src/os/darwin/Info.plist.in -> > /<<PKGBUILDDIR>>/bindings/java/build/src/Info.plist > [copy] Copying 1 file to /<<PKGBUILDDIR>>/bindings/java/build/src > > version-file: > [echo] cp ../../src/os/win32/sigar.rc.in -> > /<<PKGBUILDDIR>>/bindings/java/build/src/sigar.rc > [copy] Copying 1 file to /<<PKGBUILDDIR>>/bindings/java/build/src > > sigar.rc: > > prepare-src: > [exec] javasigar_generated.c needs update > [exec] generating javasigar_generated.c > [exec] generating javasigar_generated.h > [exec] generating org/hyperic/sigar/DirUsage.java > [exec] generating org/hyperic/sigar/FileSystem.java > [exec] generating org/hyperic/sigar/FileAttrs.java > [exec] generating org/hyperic/sigar/NfsServerV2.java > [exec] generating org/hyperic/sigar/NetInfo.java > [exec] generating org/hyperic/sigar/DirStat.java > [exec] generating org/hyperic/sigar/Mem.java > [exec] generating org/hyperic/sigar/NetInterfaceConfig.java > [exec] generating org/hyperic/sigar/NfsClientV3.java > [exec] generating org/hyperic/sigar/ProcFd.java > [exec] generating org/hyperic/sigar/Uptime.java > [exec] generating org/hyperic/sigar/NetInterfaceStat.java > [exec] generating org/hyperic/sigar/Who.java > [exec] generating org/hyperic/sigar/ProcTime.java > [exec] generating org/hyperic/sigar/DiskUsage.java > [exec] generating org/hyperic/sigar/NetConnection.java > [exec] generating org/hyperic/sigar/FileSystemUsage.java > [exec] generating org/hyperic/sigar/ProcStat.java > [exec] skipping org/hyperic/sigar/NetStat.java > [exec] generating org/hyperic/sigar/ProcCredName.java > [exec] generating org/hyperic/sigar/ProcMem.java > [exec] generating org/hyperic/sigar/ProcState.java > [exec] generating org/hyperic/sigar/ProcCpu.java > [exec] generating org/hyperic/sigar/ProcExe.java > [exec] generating org/hyperic/sigar/ThreadCpu.java > [exec] generating org/hyperic/sigar/SysInfo.java > [exec] generating org/hyperic/sigar/ResourceLimit.java > [exec] generating org/hyperic/sigar/NfsClientV2.java > [exec] generating org/hyperic/sigar/CpuInfo.java > [exec] generating org/hyperic/sigar/Tcp.java > [exec] generating org/hyperic/sigar/Swap.java > [exec] skipping org/hyperic/sigar/CpuPerc.java > [exec] generating org/hyperic/sigar/NetRoute.java > [exec] generating org/hyperic/sigar/NfsServerV3.java > [exec] generating org/hyperic/sigar/ProcCred.java > [exec] generating org/hyperic/sigar/Cpu.java > > jni-compile: > > jni-cc: > [mkdir] Created dir: > /<<PKGBUILDDIR>>/bindings/java/build/obj/amd64-linux/lib > [echo] jni libname=sigar > [cc] 13 total files to be compiled. > [cc] /<<PKGBUILDDIR>>/bindings/java/src/jni/javasigar.c: In function > ‘jsigar_get_sigar’: > [cc] /<<PKGBUILDDIR>>/bindings/java/src/jni/javasigar.c:71:14: > warning: variable ‘sigar’ set but not used [-Wunused-but-set-variable] > [cc] 71 | sigar_t *sigar > [cc] | ^~~~~ > [cc] /<<PKGBUILDDIR>>/bindings/java/src/jni/javasigar.c:80:5: note: in > expansion of macro ‘dSIGAR_GET’ > [cc] 80 | dSIGAR_GET; \ > [cc] | ^~~~~~~~~~ > [cc] /<<PKGBUILDDIR>>/bindings/java/src/jni/javasigar.c:232:5: note: > in expansion of macro ‘dSIGAR’ > [cc] 232 | dSIGAR(NULL); > [cc] | ^~~~~~ > [cc] /<<PKGBUILDDIR>>/bindings/java/src/jni/javasigar.c: In function > ‘Java_org_hyperic_sigar_Sigar_kill’: > [cc] /<<PKGBUILDDIR>>/bindings/java/src/jni/javasigar.c:71:14: > warning: variable ‘sigar’ set but not used [-Wunused-but-set-variable] > [cc] 71 | sigar_t *sigar > [cc] | ^~~~~ > [cc] /<<PKGBUILDDIR>>/bindings/java/src/jni/javasigar.c:74:5: note: in > expansion of macro ‘dSIGAR_GET’ > [cc] 74 | dSIGAR_GET; \ > [cc] | ^~~~~~~~~~ > [cc] /<<PKGBUILDDIR>>/bindings/java/src/jni/javasigar.c:361:5: note: > in expansion of macro ‘dSIGAR_VOID’ > [cc] 361 | dSIGAR_VOID; > [cc] | ^~~~~~~~~~~ > [cc] /<<PKGBUILDDIR>>/bindings/java/src/jni/javasigar.c: In function > ‘Java_org_hyperic_sigar_CpuPerc_gather’: > [cc] /<<PKGBUILDDIR>>/bindings/java/src/jni/javasigar.c:71:14: > warning: variable ‘sigar’ set but not used [-Wunused-but-set-variable] > [cc] 71 | sigar_t *sigar > [cc] | ^~~~~ > [cc] /<<PKGBUILDDIR>>/bindings/java/src/jni/javasigar.c:74:5: note: in > expansion of macro ‘dSIGAR_GET’ > [cc] 74 | dSIGAR_GET; \ > [cc] | ^~~~~~~~~~ > [cc] /<<PKGBUILDDIR>>/bindings/java/src/jni/javasigar.c:619:5: note: > in expansion of macro ‘dSIGAR_VOID’ > [cc] 619 | dSIGAR_VOID; > [cc] | ^~~~~~~~~~~ > [cc] /<<PKGBUILDDIR>>/bindings/java/src/jni/javasigar.c: In function > ‘Java_org_hyperic_sigar_Sigar_getServicePid’: > [cc] /<<PKGBUILDDIR>>/bindings/java/src/jni/javasigar.c:71:14: > warning: variable ‘sigar’ set but not used [-Wunused-but-set-variable] > [cc] 71 | sigar_t *sigar > [cc] | ^~~~~ > [cc] /<<PKGBUILDDIR>>/bindings/java/src/jni/javasigar.c:80:5: note: in > expansion of macro ‘dSIGAR_GET’ > [cc] 80 | dSIGAR_GET; \ > [cc] | ^~~~~~~~~~ > [cc] /<<PKGBUILDDIR>>/bindings/java/src/jni/javasigar.c:1641:5: note: > in expansion of macro ‘dSIGAR’ > [cc] 1641 | dSIGAR(0); > [cc] | ^~~~~~ > [cc] /<<PKGBUILDDIR>>/src/sigar_util.c: In function > ‘sigar_proc_list_procfs_get’: > [cc] /<<PKGBUILDDIR>>/src/sigar_util.c:167:5: warning: ‘readdir_r’ is > deprecated [-Wdeprecated-declarations] > [cc] 167 | while (readdir_r(dirp, &dbuf, &ent) == 0) { > [cc] | ^~~~~ > [cc] In file included from /<<PKGBUILDDIR>>/src/sigar_util.c:31: > [cc] /usr/include/dirent.h:185:12: note: declared here > [cc] 185 | extern int readdir_r (DIR *__restrict __dirp, > [cc] | ^~~~~~~~~ > [cc] /<<PKGBUILDDIR>>/src/sigar_util.c: In function > ‘sigar_proc_fd_count’: > [cc] /<<PKGBUILDDIR>>/src/sigar_util.c:210:5: warning: ‘readdir_r’ is > deprecated [-Wdeprecated-declarations] > [cc] 210 | while (readdir_r(dirp, &dbuf, &ent) == 0) { > [cc] | ^~~~~ > [cc] /usr/include/dirent.h:185:12: note: declared here > [cc] 185 | extern int readdir_r (DIR *__restrict __dirp, > [cc] | ^~~~~~~~~ > [cc] /<<PKGBUILDDIR>>/src/sigar_util.c: At top level: > [cc] /<<PKGBUILDDIR>>/src/sigar_util.c:742:10: fatal error: rpc/rpc.h: > No such file or directory > [cc] 742 | #include <rpc/rpc.h> > [cc] | ^~~~~~~~~~~ > [cc] compilation terminated. > [cc] /<<PKGBUILDDIR>>/src/os/linux/linux_sigar.c: In function > ‘sigar_os_proc_list_get’: > [cc] /<<PKGBUILDDIR>>/src/os/linux/linux_sigar.c:621:5: warning: > ‘readdir_r’ is deprecated [-Wdeprecated-declarations] > [cc] 621 | while (readdir_r(dirp, &dbuf, &ent) == 0) { > [cc] | ^~~~~ > [cc] In file included from > /<<PKGBUILDDIR>>/src/os/linux/linux_sigar.c:18: > [cc] /usr/include/dirent.h:185:12: note: declared here > [cc] 185 | extern int readdir_r (DIR *__restrict __dirp, > [cc] | ^~~~~~~~~ > [cc] /<<PKGBUILDDIR>>/src/os/linux/linux_sigar.c: In function > ‘sigar_proc_port_get’: > [cc] /<<PKGBUILDDIR>>/src/os/linux/linux_sigar.c:2265:5: warning: > ‘readdir_r’ is deprecated [-Wdeprecated-declarations] > [cc] 2265 | while (readdir_r(dirp, &dbuf, &ent) == 0) { > [cc] | ^~~~~ > [cc] /usr/include/dirent.h:185:12: note: declared here > [cc] 185 | extern int readdir_r (DIR *__restrict __dirp, > [cc] | ^~~~~~~~~ > [cc] /<<PKGBUILDDIR>>/src/os/linux/linux_sigar.c:2306:9: warning: > ‘readdir_r’ is deprecated [-Wdeprecated-declarations] > [cc] 2306 | while (readdir_r(fd_dirp, &fd_dbuf, &fd_ent) == > 0) { > [cc] | ^~~~~ > [cc] /usr/include/dirent.h:185:12: note: declared here > [cc] 185 | extern int readdir_r (DIR *__restrict __dirp, > [cc] | ^~~~~~~~~ > [cc] /<<PKGBUILDDIR>>/src/os/linux/linux_sigar.c: In function > ‘xen_vendor_parse’: > [cc] /<<PKGBUILDDIR>>/src/os/linux/linux_sigar.c:2483:25: warning: > ‘%s’ directive output may be truncated writing up to 255 bytes into a region > of size 246 [-Wformat-truncation=] > [cc] 2483 | "XenServer %s", > [cc] | ^~ > [cc] /<<PKGBUILDDIR>>/src/os/linux/linux_sigar.c:2481:5: note: > ‘snprintf’ output between 11 and 266 bytes into a destination of size 256 > [cc] 2481 | snprintf(info->description, > [cc] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ > [cc] 2482 | sizeof(info->description), > [cc] | ~~~~~~~~~~~~~~~~~~~~~~~~~~ > [cc] 2483 | "XenServer %s", > [cc] | ~~~~~~~~~~~~~~~ > [cc] 2484 | info->vendor_version); > [cc] | ~~~~~~~~~~~~~~~~~~~~~ > [cc] /<<PKGBUILDDIR>>/src/os/linux/linux_sigar.c: In function > ‘get_linux_vendor_info.isra’: > [cc] /<<PKGBUILDDIR>>/src/os/linux/linux_sigar.c:2556:22: warning: > ‘%s’ directive output may be truncated writing up to 255 bytes into a region > of size between 0 and 255 [-Wformat-truncation=] > [cc] 2556 | "%s %s", > [cc] | ^~ > [cc] /<<PKGBUILDDIR>>/src/os/linux/linux_sigar.c:2554:9: note: > ‘snprintf’ output between 2 and 512 bytes into a destination of size 256 > [cc] 2554 | snprintf(info->description, > [cc] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ > [cc] 2555 | sizeof(info->description), > [cc] | ~~~~~~~~~~~~~~~~~~~~~~~~~~ > [cc] 2556 | "%s %s", > [cc] | ~~~~~~~~ > [cc] 2557 | info->vendor, info->vendor_version); > [cc] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > [cc] /<<PKGBUILDDIR>>/src/sigar_fileinfo.c: In function ‘dir_stat_get’: > [cc] /<<PKGBUILDDIR>>/src/sigar_fileinfo.c:724:5: warning: ‘strncpy’ > specified bound 4097 equals destination size [-Wstringop-truncation] > [cc] 724 | strncpy(name, dir, sizeof(name)); > [cc] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > [cc] /<<PKGBUILDDIR>>/bindings/java/src/jni/vmware/javavmware.c: In > function ‘vmware_throw_last_error’: > [cc] /<<PKGBUILDDIR>>/bindings/java/src/jni/vmware/javavmware.c:43:9: > warning: variable ‘retval’ set but not used [-Wunused-but-set-variable] > [cc] 43 | int retval; > [cc] | ^~~~~~ > > BUILD FAILED > /<<PKGBUILDDIR>>/bindings/java/hyperic_jni/jni-build.xml:224: The following > error occurred while executing this line: > /<<PKGBUILDDIR>>/bindings/java/hyperic_jni/jni-build.xml:270: gcc failed with > return code 1 > > Total time: 5 seconds > dh_auto_build: error: cd bindings/java && ant -Duser.name debian returned > exit code 1 > make: *** [debian/rules:6: binary] Error 25 The full build log is available from: http://qa-logs.debian.net/2024/03/13/hyperic-sigar_1.6.4+dfsg-7_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.