fcoe-utils version 1.0.9-0ubuntu3 failed to build on amd64 with GCC-4.6/oneiric

Bug #770838 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
fcoe-utils (Ubuntu)
Fix Released
High
Daniel T Chen
Oneiric
Fix Released
High
Daniel T Chen

Bug Description

fcoe-utils version 1.0.9-0ubuntu2 failed to build on amd64 with GCC-4.6/oneiric
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110413/+buildjob/2449783

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/2449783/+files/buildlog_ubuntu-natty-amd64.fcoe-utils_1.0.9-0ubuntu2_FAILEDTOBUILD.txt.gz

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

/build/buildd/fcoe-utils-1.0.9/fcoeadm_display.c:1293: undefined reference to `HBA_GetAdapterPortAttributes'
/build/buildd/fcoe-utils-1.0.9/fcoeadm_display.c:1311: undefined reference to `HBA_GetDiscoveredPortAttributes'
fcoeadm-fcoeadm_display.o: In function `get_device_map':
/build/buildd/fcoe-utils-1.0.9/fcoeadm_display.c:835: undefined reference to `HBA_GetFcpTargetMappingV2'
fcoeadm-fcoeadm_display.o: In function `get_inquiry_data_v2':
/build/buildd/fcoe-utils-1.0.9/fcoeadm_display.c:369: undefined reference to `HBA_ScsiInquiryV2'
fcoeadm-fcoeadm_display.o: In function `display_target_info':
/build/buildd/fcoe-utils-1.0.9/fcoeadm_display.c:1341: undefined reference to `HBA_CloseAdapter'
fcoeadm-fcoeadm_display.o: In function `get_device_capacity_v2':
/build/buildd/fcoe-utils-1.0.9/fcoeadm_display.c:453: undefined reference to `HBA_ScsiReadCapacityV2'
collect2: ld returned 1 exit status
make[1]: *** [fcoeadm] Error 1
make[1]: Leaving directory `/build/buildd/fcoe-utils-1.0.9'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110422-1345
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/fcoe-utils-1.0.9

Related branches

Matthias Klose (doko)
Changed in fcoe-utils (Ubuntu):
importance: Undecided → High
Changed in fcoe-utils (Ubuntu):
milestone: none → oneiric-alpha-3
Changed in fcoe-utils (Ubuntu Oneiric):
milestone: oneiric-alpha-3 → none
status: New → Confirmed
tags: added: universe
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package fcoe-utils - 1.0.9-0ubuntu3

---------------
fcoe-utils (1.0.9-0ubuntu3) oneiric; urgency=low

  * Add lib-link-order-ftbfs-gcc4.6.patch to fix incorrect use of
    LDFLAGS. Fixes FTBFS. (LP: #770838)
 -- Daniel T Chen <email address hidden> Wed, 14 Sep 2011 08:30:53 -0400

Changed in fcoe-utils (Ubuntu Oneiric):
status: Confirmed → Fix Released
Revision history for this message
Daniel T Chen (crimsun) wrote :
Download full text (56.9 KiB)

Hmm, it FTBFS on amd64 buildd *again*, despite it building successfully w/ pbuilder:

~/pbuilder-oneiric build fcoe-utils_1.0.9-0ubuntu3.dsc
W: /home/crimsun/.pbuilderrc does not exist
I: using fakeroot in build.
I: Current time: Wed Sep 14 08:40:46 EDT 2011
I: pbuilder-time-stamp: 1316004046
I: Building the build Environment
I: extracting base tarball [/home/crimsun/pbuilder/oneiric-base.tgz]
I: creating local configuration
I: copying local configuration
W: --override-config is not set; not updating apt.conf Read the manpage for details.
ccache: failed to create /tmp/buildd/.ccache (No such file or directory)
dpkg-architecture: warning: Couldn't determine gcc system type, falling back to default (native compilation)
I: mounting /proc filesystem
I: mounting /dev/pts filesystem
I: Mounting /var/cache/pbuilder/ccache
I: policy-rc.d already exists
I: Obtaining the cached apt archive contents
I: Setting up ccache
I: Installing the build-deps
 -> Attempting to satisfy build-dependencies
 -> Creating pbuilder-satisfydepends-dummy package
Package: pbuilder-satisfydepends-dummy
Version: 0.invalid.0
Architecture: amd64
Maintainer: Debian Pbuilder Team <email address hidden>
Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder
 This package was created automatically by pbuilder to satisfy the
 build-dependencies of the package being currently built.
Depends: cdbs, debhelper (>= 7), autotools-dev, libhaapi-dev, dcbd, pkg-config
dpkg-deb: building package `pbuilder-satisfydepends-dummy' in `/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Selecting previously deselected package pbuilder-satisfydepends-dummy.
(Reading database ... 13979 files and directories currently installed.)
Unpacking pbuilder-satisfydepends-dummy (from .../pbuilder-satisfydepends-dummy.deb) ...
dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested:
 pbuilder-satisfydepends-dummy depends on cdbs; however:
  Package cdbs is not installed.
 pbuilder-satisfydepends-dummy depends on debhelper (>= 7); however:
  Package debhelper is not installed.
 pbuilder-satisfydepends-dummy depends on autotools-dev; however:
  Package autotools-dev is not installed.
 pbuilder-satisfydepends-dummy depends on libhaapi-dev; however:
  Package libhaapi-dev is not installed.
 pbuilder-satisfydepends-dummy depends on dcbd; however:
  Package dcbd is not installed.
 pbuilder-satisfydepends-dummy depends on pkg-config; however:
  Package pkg-config is not installed.
Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ...
The following NEW packages will be installed:
  autoconf{a} automake{a} autotools-dev{a} bsdmainutils{a} ca-certificates{a} cdbs{a} dcbd{a}
  debhelper{a} dh-translations{a} gettext{a} gettext-base{a} groff-base{a} html2text{a}
  intltool{a} intltool-debian{a} libcroco3{a} libencode-locale-perl{a} libfile-listing-perl{a}
  libhaapi-dev{a} libhaapi1{a} libhtml-parser-perl{a} libhtml-tagset-perl{a}
  libhtml-tree-perl{a} libhttp-cookies-perl{a} libhttp-date-perl{a} libhttp-message-perl{a}
  libhttp-negotiate-perl{a} libio-socket-ssl-perl{a} liblwp-mediatypes-perl{a}
  liblwp...

Changed in fcoe-utils (Ubuntu Oneiric):
status: Fix Released → In Progress
summary: - fcoe-utils version 1.0.9-0ubuntu2 failed to build on amd64 with
+ fcoe-utils version 1.0.9-0ubuntu3 failed to build on amd64 with
GCC-4.6/oneiric
Changed in fcoe-utils (Ubuntu Oneiric):
assignee: nobody → Daniel T Chen (crimsun)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package fcoe-utils - 1.0.9-0ubuntu4

---------------
fcoe-utils (1.0.9-0ubuntu4) oneiric; urgency=low

  * Add post-autoreconf.patch: Force a refresh of the build
    infrastructure; it seems that lib-link-order-ftbfs-gcc4.6.patch was
    not being used correctly on the buildds, which *still* resulted in
    FTBFS on amd64. (LP: #770838)
 -- Daniel T Chen <email address hidden> Wed, 14 Sep 2011 11:23:39 -0400

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

Other bug subscribers

Remote bug watches

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