cdpr version 2.4-1 failed to build on i386

Bug #803174 reported by Stefano Rivera on 2011-06-28
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cdpr (Debian)
New
Unknown
cdpr (Ubuntu)
Medium
Unassigned

Bug Description

cdpr version 2.4-1 failed to build on i386
Link to failed build: https://launchpad.net/ubuntu/+source/cdpr/2.4-1/+build/2501746

Direct link to the build log: https://launchpad.net/ubuntu/+source/cdpr/2.4-1/+build/2501746/+files/buildlog_ubuntu-oneiric-i386.cdpr_2.4-1_FAILEDTOBUILD.txt.gz

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

cdpr.c:(.text.startup+0x496): undefined reference to `pcap_freecode'
cdpr.c:(.text.startup+0x4b1): undefined reference to `pcap_setnonblock'
cdpr.c:(.text.startup+0x4f8): undefined reference to `pcap_next'
cdpr.c:(.text.startup+0x541): undefined reference to `pcap_close'
cdpr.c:(.text.startup+0x592): undefined reference to `pcap_lookupnet'
cdpr.c:(.text.startup+0x5dd): undefined reference to `pcap_open_live'
cdpr.c:(.text.startup+0x70f): undefined reference to `pcap_perror'
cdpr.c:(.text.startup+0x7a1): undefined reference to `pcap_close'
cdpr.c:(.text.startup+0x866): undefined reference to `pcap_freealldevs'
collect2: ld returned 1 exit status
make[1]: *** [cdpr] Error 1
make[1]: Leaving directory `/build/buildd/cdpr-2.4'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110513-0653
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/cdpr-2.4

Related branches

Changed in cdpr (Ubuntu):
importance: Undecided → Medium
Julian Taylor (jtaylor) wrote :

patch available in the debian bug

tags: added: patch-forwarded-debian
Changed in cdpr (Ubuntu):
status: New → Triaged
Changed in cdpr (Debian):
status: Unknown → New
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cdpr - 2.4-1ubuntu1

---------------
cdpr (2.4-1ubuntu1) oneiric; urgency=low

  * debian/patches/0003-fix-as-needed-build.patch:
    - fix build with ld --as-needed (LP: #803174)
 -- Julian Taylor <email address hidden> Sun, 21 Aug 2011 16:25:51 +0200

Changed in cdpr (Ubuntu):
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.