pcx version 1.1.18-2 failed to build on i386

Bug #756001 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pcx (Debian)
Fix Released
Unknown
pcx (Ubuntu)
Fix Released
High
Unassigned
Oneiric
Fix Released
High
Unassigned

Bug Description

pcx version 1.1.18-2 failed to build on i386
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110329/+buildjob/2406784

Direct link to the build log: https://launchpad.net/ubuntu/+archive/test-rebuild-20110329/+buildjob/2406784/+files/buildlog_ubuntu-natty-i386.pcx_1.1.18-2_FAILEDTOBUILD.txt.gz

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

gfortran -O -g -W -Wno-uninitialized -I../F2C -O3 -c -o ./blkLVL.o blkLVL.f
cc -O -Dlinux -g -W -Wno-uninitialized -Wwrite-strings -Wpointer-arith -I../F2C -O3 -c -o ./Ng-Peyton.o Ng-Peyton.c
gfortran -O -g -W -Wno-uninitialized -I../F2C -O3 -c -o ./nullmain.o nullmain.f
gfortran -O main.o blkLVL.o Ng-Peyton.o ./libPCx.a \
   nullmain.o ../Ng-Peyton/cholesky.a -o ../PCx -lm
nullmain.o: In function `main':
/build/buildd/pcx-1.1.18/SRC/nullmain.f:1: multiple definition of `main'
main.o:/build/buildd/pcx-1.1.18/SRC/main.c:23: first defined here
collect2: ld returned 1 exit status
make[2]: *** [PCx_NgPeyton] Error 1
make[2]: Leaving directory `/build/buildd/pcx-1.1.18/SRC'
make[1]: *** [PCx] Error 2
make[1]: Leaving directory `/build/buildd/pcx-1.1.18'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110408-1814
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/pcx-1.1.18

Related branches

Matthias Klose (doko)
Changed in pcx (Ubuntu):
importance: Undecided → High
tags: added: oneiric
Changed in pcx (Ubuntu):
milestone: none → oneiric-alpha-1
Changed in pcx (Ubuntu Oneiric):
milestone: oneiric-alpha-1 → oneiric-alpha-2
Changed in pcx (Ubuntu Oneiric):
milestone: oneiric-alpha-2 → none
status: New → Confirmed
tags: added: multiverse
Changed in pcx (Debian):
status: Unknown → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pcx - 1.1.18-2ubuntu1

---------------
pcx (1.1.18-2ubuntu1) oneiric; urgency=low

  * MAKEARCH/linux.make: Don't link nullmain.o; it only serves to
    duplicate an existing main routine and thus breaks the build.
    Not linking it fixes the FTBFS. (LP: #756001)
 -- Daniel T Chen <email address hidden> Wed, 21 Sep 2011 13:24:39 -0400

Changed in pcx (Ubuntu Oneiric):
status: Confirmed → Fix Released
Changed in pcx (Debian):
status: New → 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.