pacemaker-mgmt version 2.0.0+hg1141-2ubuntu1 failed to build on amd64 with GCC-4.6/oneiric

Bug #770743 reported by Matthias Klose on 2011-04-26
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Heartbeat
Confirmed
Medium
heartbeat (Ubuntu)
High
Andres Rodriguez
Oneiric
High
Andres Rodriguez
pacemaker-mgmt (Ubuntu)
High
Andres Rodriguez
Oneiric
High
Andres Rodriguez

Bug Description

pacemaker-mgmt version 2.0.0+hg1141-2ubuntu1 failed to build on amd64 with GCC-4.6/oneiric
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110413/+buildjob/2464315

Details about the rebuild:
https://lists.ubuntu.com/archives/ubuntu-devel/2011-April/033042.html

Direct link to the build log: https://launchpad.net/ubuntu/+archive/test-rebuild-20110413/+buildjob/2464315/+files/buildlog_ubuntu-natty-amd64.pacemaker-mgmt_2.0.0%2Bhg1141-2ubuntu1_FAILEDTOBUILD.txt.gz

This log snippet might be of interest, since it triggered the matcher 'Purging chroot-autobuild'.
Excerpt 1640 lines into the build log:

libtool: link: gcc -std=gnu99 -Wall -g -O2 -I/usr/include/heartbeat -I/usr/include/pacemaker -fgnu89-inline -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -ansi -D_GNU_SOURCE -DANSI_ONLY -ggdb3 -funsigned-char -Wall -g -O2 -I/usr/include/heartbeat -I/usr/include/pacemaker -fgnu89-inline -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -ansi -D_GNU_SOURCE -DANSI_ONLY -ggdb3 -funsigned-char -Wl,-Bsymbolic-functions -Wl,-E -Wl,-Bsymbolic-functions -o hbagent hbagent.o hbagentv2.o LHANodeTable.o LHAClusterInfo.o LHAIFStatusTable.o LHAMembershipTable.o LHAHeartbeatConfigInfo.o LHAResourceGroupTable.o LHAResourceTable.o LHAResourceStatusUpdate.o -L/usr/lib /usr/lib/libnetsnmpagent.so /usr/lib/libnetsnmphelpers.so /usr/lib/libnetsnmpmibs.so /usr/lib/libnetsnmp.so -lwrap /usr/lib/libcrmcommon.so /usr/lib/libcib.so /usr/lib/libpe_status.so /usr/lib/libhbclient.so /usr/lib/libccmclient.so /usr/lib/libclm.so -lncurses -L/usr/lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/libglib-2.0.so /usr/lib/x86_64-linux-gnu/libgnutls.so -lbz2 /usr/lib/libplumb.so /usr/lib/libpils.so /usr/lib/libxml2.so -lc -lpam -lrt -ldl /usr/lib/libltdl.so
/usr/lib/libclm.so: undefined reference to `oc_ev_activate'
/usr/lib/libclm.so: undefined reference to `oc_ev_set_callback'
/usr/lib/libclm.so: undefined reference to `oc_ev_callback_done'
/usr/lib/libclm.so: undefined reference to `oc_ev_special'
/usr/lib/libclm.so: undefined reference to `oc_ev_handle_event'
/usr/lib/libclm.so: undefined reference to `oc_ev_unregister'
/usr/lib/libclm.so: undefined reference to `oc_ev_register'
collect2: ld returned 1 exit status
make[2]: *** [hbagent] Error 1
make[2]: Leaving directory `/build/buildd/pacemaker-mgmt-2.0.0+hg1141/snmp_subagent'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/buildd/pacemaker-mgmt-2.0.0+hg1141'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110425-0910
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/pacemaker-mgmt-2.0.0+hg1141

Related branches

Matthias Klose (doko) on 2011-04-26
Changed in pacemaker-mgmt (Ubuntu):
importance: Undecided → High
Changed in pacemaker-mgmt (Ubuntu):
milestone: none → oneiric-alpha-3
Andreas Moog (ampelbein) wrote :
Changed in pacemaker-mgmt (Ubuntu Oneiric):
status: New → Triaged
Changed in heartbeat (Ubuntu Oneiric):
importance: Undecided → High
status: New → Triaged
Andreas Moog (ampelbein) wrote :

Linked branch fixes the issue in heartbeat.

Changed in heartbeat:
importance: Unknown → Medium
status: Unknown → Confirmed
Changed in pacemaker-mgmt (Ubuntu Oneiric):
assignee: nobody → Andres Rodriguez (andreserl)
Changed in heartbeat (Ubuntu Oneiric):
assignee: nobody → Andres Rodriguez (andreserl)
Changed in heartbeat (Ubuntu Oneiric):
status: Triaged → In Progress
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package heartbeat - 1:3.0.5-0ubuntu2

---------------
heartbeat (1:3.0.5-0ubuntu2) oneiric; urgency=low

  * debian/patches/fix-shlibdeps.patch: Explicitly link against all
    needed libraries, the error causes other packages to FTBFS. (LP: #770743)
 -- Andreas Moog <email address hidden> Sat, 25 Jun 2011 07:17:59 +0000

Changed in heartbeat (Ubuntu Oneiric):
status: In Progress → Fix Released
Changed in pacemaker-mgmt (Ubuntu Oneiric):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.