collectd version 4.10.1-2.1ubuntu7 FTBFS on armhf in precise

Bug #935059 reported by Andreas Moog on 2012-02-18
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
collectd (Ubuntu)
High
Unassigned
Precise
High
Unassigned

Bug Description

This is a semi-automatic report based on the latest archive rebuild results [1].
Apologies if it reaches you in error.

Excerpt from the buildlog:

#define HAVE_PLUGIN_TABLE 1
#define HAVE_PLUGIN_TAIL 1
#define HAVE_PLUGIN_TARGET_NOTIFICATION 1
#define HAVE_PLUGIN_TARGET_REPLACE 1
#define HAVE_PLUGIN_TARGET_SCALE 1
#define HAVE_PLUGIN_TARGET_SET 1
#define HAVE_PLUGIN_TCPCONNS 1
#define HAVE_PLUGIN_TEAMSPEAK2 1
#define HAVE_PLUGIN_TED 1
#define HAVE_PLUGIN_THERMAL 1
#define HAVE_PLUGIN_TOKYOTYRANT 1
#define HAVE_PLUGIN_UNIXSOCK 1
#define HAVE_PLUGIN_UPTIME 1
#define HAVE_PLUGIN_USERS 1
#define HAVE_PLUGIN_UUID 1
#define HAVE_PLUGIN_VMEM 1
#define HAVE_PLUGIN_VSERVER 1
#define HAVE_PLUGIN_WIRELESS 1
#define HAVE_PLUGIN_WRITE_HTTP 1

configure: exit 1
make: *** [config.status] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20120206-2055
FAILED [dpkg-buildpackage died]

The full buidlog can be found at https://launchpad.net/ubuntu/+archive/test-rebuild-20120201/+build/3142130/+files/buildlog_ubuntu-precise-armhf.collectd_4.10.1-2.1ubuntu7_FAILEDTOBUILD.txt.gz.

[1] http://people.ubuntuwire.org/~wgrant/rebuild-ftbfs-test/test-rebuild-20120201-precise.html

Andreas Moog (ampelbein) on 2012-02-18
Changed in collectd (Ubuntu):
importance: Undecided → High
tags: added: arm-porting-queue
Changed in collectd (Ubuntu Precise):
status: New → Confirmed
Marcin Juszkiewicz (hrw) wrote :

It does not finds libjvm and libperl at least.

Marcin Juszkiewicz (hrw) wrote :

configure:19125: checking for JNI_CreateJavaVM in -ljvm
configure:19150: arm-linux-gnueabihf-gcc -o conftest -Wall -g -O2 -I/home/hrw/porting/collectd-4.10.1/debian/include -DLT_LAZY_OR_NOW='RTLD_LAZY|RTLD_GLOBAL' -UCONFIGFILE -DCONFIGFILE='"/etc/collectd/collectd.conf"' -I/usr/lib/jvm/java-6-openjdk-armhf/include -Wl,-Bsymbolic-functions -Wl,-z,relro -L/usr/lib/jvm/java-6-openjdk-armhf/jre/lib/armhf/server -Wl,-rpath -Wl,/usr/lib/jvm/java-6-openjdk-armhf/jre/lib/armhf/server conftest.c -ljvm -ldl >&5
/usr/bin/ld: cannot find -ljvm

configure:20703: checking for libperl
configure:20729: arm-linux-gnueabihf-gcc -o conftest -Wall -g -O2 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.14/CORE -I/home/hrw/porting/collectd-4.10.1/debian/include -DLT_LAZY_OR_NOW='RTLD_LAZY|RTLD_GLOBAL' -UCONFIGFILE -DCONFIGFILE='"/etc/collectd/collectd.conf"' -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-E -fstack-protector -L/usr/local/lib -L/usr/lib/perl/5.14/CORE -lperl -ldl -lm -lpthread -lc -lcrypt conftest.c -ldl >&5
/tmp/ccmJPpmP.o: In function `main':
/home/hrw/porting/collectd-4.10.1/conftest.c:207: undefined reference to `PL_thr_key'
/home/hrw/porting/collectd-4.10.1/conftest.c:207: undefined reference to `PL_thr_key'
/home/hrw/porting/collectd-4.10.1/conftest.c:207: undefined reference to `pthread_getspecific'
/home/hrw/porting/collectd-4.10.1/conftest.c:208: undefined reference to `Perl_newSVpv'
/home/hrw/porting/collectd-4.10.1/conftest.c:208: undefined reference to `Perl_load_module_nocontext'
collect2: ld returned 1 exit status

YunQiang Su (wzssyqa) wrote :

It can be build with this patch

--- a/configure
+++ b/configure
@@ -21396,11 +21396,7 @@
 # Check whether --with-libperl was given.
 if test "${with_libperl+set}" = set; then :
   withval=$with_libperl;
- if test -x "$withval"
- then
- perl_interpreter="$withval"
- with_libperl="yes"
- else if test "x$withval" != "xno" && test "x$withval" != "xyes"
+ if test "x$withval" != "xno" && test "x$withval" != "xyes"
  then
   LDFLAGS="$LDFLAGS -L$withval/lib"
   CPPFLAGS="$CPPFLAGS -I$withval/include"
@@ -21408,7 +21404,7 @@
   with_libperl="yes"
  else
   with_libperl="$withval"
- fi; fi
+ fi

 else

and in debian/rules

confflags = --host=$(DEB_HOST_GNU_TYPE) \
   --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr \
   --mandir=\$${prefix}/share/man \
   --localstatedir=/var --sysconfdir=/etc \
+ --with-libperl=/usr \
   --with-perl-bindings="INSTALLDIRS=vendor" \
   --without-libstatgrab \
   --without-included-ltdl \
   --disable-static \
   --enable-all-plugins

At least, the one in wheey (5.1.0-3) can be build on precise

Jackson Doak (noskcaj) wrote :

Builds in utopic

Changed in collectd (Ubuntu):
status: Confirmed → Fix Released
Andreas Moog (ampelbein) wrote :

Precise is EoL, setting task to Won't Fix.

Changed in collectd (Ubuntu Precise):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers