ftbfs - in maverick - linking issue

Bug #657947 reported by David Sugar
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
coinor-cbc (Debian)
Fix Released
Unknown
coinor-cbc (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

This is probably going to be simple to fix.

/bin/bash ../../libtool --tag=CXX --mode=link g++ -g -O2 -g -Wall -O2 -Wl,-Bsymbolic-functions -o cbc CoinSolve.o libCbcSolver.la libCbc.la /usr/lib/libCgl.la /usr/lib/libOsiClp.la /usr/lib/libOsi.la /usr/lib/libClp.la /usr/lib/libCoinUtils.la -lCgl -lOsiClp -lOsi -lCoinUtils -lpthread -lrt -lm -lClp
g++ -g -O2 -g -Wall -O2 -Wl,-Bsymbolic-functions -o .libs/cbc CoinSolve.o ./.libs/libCbcSolver.so ./.libs/libCbc.so /usr/lib/libCgl.so /usr/lib/libVol.so /usr/lib/libOsiClp.so /usr/lib/libOsi.so -lpthread -lrt -lm /usr/lib/libClp.so /usr/lib/libCoinUtils.so -llapack -lz -lbz2
/usr/bin/ld: cannot find -lz
/usr/bin/ld: cannot find -lbz2
collect2: ld returned 1 exit status
make[3]: *** [cbc] Error 1
make[3]: Leaving directory `/tmp/buildd/coinor-cbc-2.4.2/Cbc/src'
...

I think likely missing a dependency

Related branches

Revision history for this message
David Sugar (dyfet-deactivatedaccount) wrote :

There is a loosely related debian bug which asserts that this version fails to build there, but only on amd64. This failed for me on both i386 and amd64. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=595847

This to me looks MUCH simpler than the Debian issue, and anyway we cannot build 2.5.0 on Maverick as suggested in Debian, since other dependencies would have to be updated.

Changed in coinor-cbc (Ubuntu):
status: New → Confirmed
Emmet Hikory (persia)
Changed in coinor-cbc (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → Low
Changed in coinor-cbc (Debian):
status: Unknown → Fix Released
Revision history for this message
Alex Chiang (achiang) wrote :

This FTBFS affects Natty as well.

I have filed an upstream bug attached a patch there:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=601039

I am attaching a patch to fix Natty. I've verified that it allows the package to build in a Natty chroot.

Changed in coinor-cbc (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package coinor-cbc - 2.5.0-2ubuntu1

---------------
coinor-cbc (2.5.0-2ubuntu1) natty; urgency=low

  * Build depend on zlib1g-dev, libbz2-dev to fix FTBFS (LP: #657947)
 -- Alex Chiang <email address hidden> Sat, 23 Oct 2010 22:19:05 +0200

Changed in coinor-cbc (Ubuntu):
status: Fix Committed → 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.