[Debian-ha-maintainers] Bug#795127: redhat-cluster: FTBFS with gcc5: get_time/_diff_tv have incorrect "inline"

Chris West (Faux) solo-debianbugs at goeswhere.com
Mon Aug 10 20:39:40 BST 2015


Source: redhat-cluster
Version: 3.1.8-1.3
Severity: serious
Justification: fails to build from source
Tags: sid
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-CC: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

The package fails to build.  I believe the issue is that gcc5 is
defaulting to c99, which treats "inline" more like "static", causing
these methods not to be available from other translation units:

gcc -o qdiskd disk.o disk_util.o proc.o scandisk.o iostate.o main.o score.o bitmap.o daemon_init.o -L/redhat-cluster-3.1.8/cman/lib -L/redhat-cluster-3.1.8/config/libs/libccsconfdb -lcman -lccs -Wl,-z,relro    -L/redhat-cluster-3.1.8/common/liblogthread -llogthread -lpthread -L/usr/lib -lz -lrt -L/usr/lib
main.o: In function `quorum_loop':
/redhat-cluster-3.1.8/cman/qdisk/main.c:978: undefined reference to `get_time'
/redhat-cluster-3.1.8/cman/qdisk/main.c:982: undefined reference to `get_time'
/redhat-cluster-3.1.8/cman/qdisk/main.c:1172: undefined reference to `get_time'
/redhat-cluster-3.1.8/cman/qdisk/main.c:1177: undefined reference to `_diff_tv'
/redhat-cluster-3.1.8/cman/qdisk/main.c:1193: undefined reference to `_diff_tv'
/redhat-cluster-3.1.8/cman/qdisk/main.c:1210: undefined reference to `_diff_tv'
/redhat-cluster-3.1.8/cman/qdisk/main.c:1164: undefined reference to `get_time'
/redhat-cluster-3.1.8/cman/qdisk/main.c:1230: undefined reference to `_diff_tv'
collect2: error: ld returned 1 exit status
Makefile:40: recipe for target 'qdiskd' failed
make[4]: *** [qdiskd] Error 1
make[4]: Leaving directory '/redhat-cluster-3.1.8/cman/qdisk'
/redhat-cluster-3.1.8/make/passthrough.mk:4: recipe for target 'all' failed

Full build log:
https://reproducible.debian.net/rb-pkg/unstable/amd64/redhat-cluster.html

-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.19.0-23-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)



More information about the Debian-ha-maintainers mailing list