Bug#976915: service-wrapper-java: FTBFS on ppc64el: [exec] wrapper.c:(.text+0x3598): undefined reference to `pow'
Lucas Nussbaum
lucas at debian.org
Wed Dec 9 08:41:34 GMT 2020
Source: service-wrapper-java
Version: 3.5.30-1
Severity: serious
Justification: FTBFS on ppc64el
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201209 ftbfs-bullseye ftbfs-ppc64el
Hi,
During a rebuild of all packages in sid, your package failed to build
on ppc64el. At the same time, it did not fail on amd64.
I'm marking this bug as severity:serious since your package currently has
ppc64el binary packages in unstable (so this is a regression).
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_testdir
> jh_build
> warning: [options] bootstrap class path not set in conjunction with -source 7
> ./src/java/org/tanukisoftware/wrapper/test/WrapperPrintParam.java:31: warning: non-varargs call of varargs method with inexact argument type for last parameter;
> null );
> ^
> cast to Class for a varargs call
> cast to Class[] for a non-varargs call and to suppress this warning
> ./src/java/org/tanukisoftware/wrapper/test/WrapperPrintParam.java:33: warning: non-varargs call of varargs method with inexact argument type for last parameter;
> null );
> ^
> cast to Class for a varargs call
> cast to Class[] for a non-varargs call and to suppress this warning
> ./src/java/org/tanukisoftware/wrapper/test/DeadLockBase.java:96: warning: non-varargs call of varargs method with inexact argument type for last parameter;
> rentrantLockClass.getMethod( "lock", null ).invoke( lock2,
> ^
> cast to Class for a varargs call
> cast to Class[] for a non-varargs call and to suppress this warning
> ./src/java/org/tanukisoftware/wrapper/test/DeadLockBase.java:104: warning: non-varargs call of varargs method with inexact argument type for last parameter;
> rentrantLockClass.getMethod( "unlock", null ).invoke( lock2,
> ^
> cast to Class for a varargs call
> cast to Class[] for a non-varargs call and to suppress this warning
> ./src/java/org/tanukisoftware/wrapper/test/DeadLockBase.java:162: warning: non-varargs call of varargs method with inexact argument type for last parameter;
> rentrantLockClass.getMethod( "lock", null ).invoke( lock1,
> ^
> cast to Class for a varargs call
> cast to Class[] for a non-varargs call and to suppress this warning
> ./src/java/org/tanukisoftware/wrapper/test/DeadLockBase.java:170: warning: non-varargs call of varargs method with inexact argument type for last parameter;
> rentrantLockClass.getMethod( "unlock", null ).invoke( lock1,
> ^
> cast to Class for a varargs call
> cast to Class[] for a non-varargs call and to suppress this warning
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> 7 warnings
> Creating destination directory: "debian/_jh_build.javadoc/api/"
> ./src/java/org/tanukisoftware/wrapper/WrapperListener.java:146: warning - invalid usage of tag &
> ./src/java/org/tanukisoftware/wrapper/WrapperListener.java:146: warning - invalid usage of tag &
> ./src/java/org/tanukisoftware/wrapper/WrapperListener.java:146: warning - invalid usage of tag &
> ./src/java/org/tanukisoftware/wrapper/WrapperListener.java:146: warning - invalid usage of tag &
> ./src/java/org/tanukisoftware/wrapper/WrapperListener.java:146: warning - invalid usage of tag &
> ./src/java/org/tanukisoftware/wrapper/WrapperListener.java:146: warning - invalid usage of tag &
> ./src/java/org/tanukisoftware/wrapper/WrapperListener.java:146: warning - invalid usage of tag &
> ./src/java/org/tanukisoftware/wrapper/WrapperListener.java:146: warning - invalid usage of tag &
> ./src/java/org/tanukisoftware/wrapper/WrapperListener.java:146: warning - invalid usage of tag &
> ./src/java/org/tanukisoftware/wrapper/WrapperListener.java:146: warning - invalid usage of tag &
> ./src/java/org/tanukisoftware/wrapper/WrapperListener.java:146: warning - invalid usage of tag &
> ./src/java/org/tanukisoftware/wrapper/WrapperListener.java:146: warning - invalid usage of tag &
> ./src/java/org/tanukisoftware/wrapper/WrapperListener.java:146: warning - invalid usage of tag &
> ./src/java/org/tanukisoftware/wrapper/WrapperListener.java:146: warning - invalid usage of tag &
> ./src/java/org/tanukisoftware/wrapper/WrapperListener.java:146: warning - invalid usage of tag &
> ./src/java/org/tanukisoftware/wrapper/WrapperListener.java:146: warning - invalid usage of tag &
> 16 warnings
> ant -f build.xml \
> -Dbits=$(dpkg-architecture -qDEB_HOST_ARCH_BITS) compile-c-unix
> Buildfile: /<<PKGBUILDDIR>>/build.xml
>
> init-setup:
>
> init-windows:
>
> init-unix:
>
> init-bits-warning:
>
> init-bits-mismatch-warning:
>
> init:
> [tstamp] Honouring environment variable SOURCE_DATE_EPOCH which has been set to 1482151244
>
> init:msg:
> [echo] **********************************************************************
> [echo] * About to build a 64-bit version of Java Service Wrapper Community 3.5.30.
> [echo] * The OS Name is "linux", resolved from "Linux".
> [echo] * The Architecture is "ppcle", resolved from "ppc64le".
> [echo] * The distribution name will be: wrapper-linux-ppcle-64-3.5.30
> [echo] **********************************************************************
>
> update-info-c:
> [copy] Copying 1 file to /<<PKGBUILDDIR>>/src/c
>
> compile-c-unix-check:
>
> compile-c-unix:
> [mkdir] Created dir: /<<PKGBUILDDIR>>/bin
> [mkdir] Created dir: /<<PKGBUILDDIR>>/lib
> [mkdir] Created dir: /<<PKGBUILDDIR>>/test
> [echo] Build native components using 'make' and Makefile: Makefile-linux-ppcle-64.make
> [exec] make[2]: Entering directory '/<<PKGBUILDDIR>>/src/c'
> [exec] if test ! -d .deps; then mkdir .deps; fi
> [exec] gcc -O3 -m64 -fPIC -Wall --pedantic -DLINUX -DJSW64 -D_FILE_OFFSET_BITS=64 -fpic -D_GNU_SOURCE -DUNICODE -D_UNICODE -lm -pthread wrapper.c wrapperinfo.c wrappereventloop.c wrapper_unix.c property.c logger.c logger_file.c wrapper_file.c wrapper_i18n.c wrapper_hashmap.c -o ../../bin/wrapper
> [exec] wrapper_i18n.c: In function ‘_texecve’:
> [exec] wrapper_i18n.c:902:28: warning: comparison between pointer and zero character constant [-Wpointer-compare]
> [exec] 902 | for (i = 0; env[i] != TEXT('\0'); i++) {
> [exec] | ^~
> [exec] wrapper_i18n.c:902:21: note: did you mean to dereference the pointer?
> [exec] 902 | for (i = 0; env[i] != TEXT('\0'); i++) {
> [exec] | ^
> [exec] make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/c'
> [exec] /usr/bin/ld: /tmp/ccoLXFEe.o: in function `wrapperGetPidSize':
> [exec] wrapper.c:(.text+0x3598): undefined reference to `pow'
> [exec] /usr/bin/ld: wrapper.c:(.text+0x35c4): undefined reference to `log10'
> [exec] collect2: error: ld returned 1 exit status
The full build log is available from:
http://qa-logs.debian.net/2020/12/09/service-wrapper-java_3.5.30-1_unstable.log
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 marking 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 me
so that we can identify if something relevant changed in the meantime.
About the archive rebuild: The rebuild was done on a Power8 cluster part of the
Grid'5000 testbed. Hardware specs: https://www.grid5000.fr/w/Grenoble:Hardware#drac
More information about the pkg-java-maintainers
mailing list