coinor-ipopt version 3.8.3-2 failed to build on i386

Bug #749064 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
coinor-ipopt (Debian)
Fix Released
Unknown
coinor-ipopt (Ubuntu)
Fix Released
Undecided
Unassigned
Oneiric
Fix Released
Undecided
Unassigned

Bug Description

coinor-ipopt version 3.8.3-2 failed to build on i386
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110329/+buildjob/2390173

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

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

 g++ -DHAVE_CONFIG_H -I. -I. -I../../../inc -I./../../Common -I./../../LinAlg -I./../../LinAlg/TMatrices -I./.. -I./../../Interfaces -I./../../contrib/CGPenalty -I/usr/include -g -O2 -g -O2 -c IpMc19TSymScalingMethod.cpp -fPIC -DPIC -o .libs/IpMc19TSymScalingMethod.o
 g++ -DHAVE_CONFIG_H -I. -I. -I../../../inc -I./../../Common -I./../../LinAlg -I./../../LinAlg/TMatrices -I./.. -I./../../Interfaces -I./../../contrib/CGPenalty -I/usr/include -g -O2 -g -O2 -c IpMc19TSymScalingMethod.cpp -o IpMc19TSymScalingMethod.o >/dev/null 2>&1
/bin/bash ../../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I`echo .` -I../../../inc -I`echo ./../../Common` -I`echo ./../../LinAlg` -I`echo ./../../LinAlg/TMatrices` -I`echo ./..` -I`echo ./../../Interfaces` -I`echo ./../../contrib/CGPenalty` -I`echo /usr/include` -g -O2 -g -O2 -c -o IpPardisoSolverInterface.lo IpPardisoSolverInterface.cpp
 g++ -DHAVE_CONFIG_H -I. -I. -I../../../inc -I./../../Common -I./../../LinAlg -I./../../LinAlg/TMatrices -I./.. -I./../../Interfaces -I./../../contrib/CGPenalty -I/usr/include -g -O2 -g -O2 -c IpPardisoSolverInterface.cpp -fPIC -DPIC -o .libs/IpPardisoSolverInterface.o
 g++ -DHAVE_CONFIG_H -I. -I. -I../../../inc -I./../../Common -I./../../LinAlg -I./../../LinAlg/TMatrices -I./.. -I./../../Interfaces -I./../../contrib/CGPenalty -I/usr/include -g -O2 -g -O2 -c IpPardisoSolverInterface.cpp -o IpPardisoSolverInterface.o >/dev/null 2>&1
/bin/bash ../../../../libtool --tag=F77 --mode=compile gfortran -g -O2 -c -o IpMa28Partition.lo IpMa28Partition.f
 gfortran -g -O2 -c IpMa28Partition.f -fPIC -o .libs/IpMa28Partition.o
 gfortran -g -O2 -c IpMa28Partition.f -o IpMa28Partition.o >/dev/null 2>&1
/bin/bash ../../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I`echo .` -I../../../inc -I`echo ./../../Common` -I`echo ./../../LinAlg` -I`echo ./../../LinAlg/TMatrices` -I`echo ./..` -I`echo ./../../Interfaces` -I`echo ./../../contrib/CGPenalty` -I`echo /usr/include` -g -O2 -g -O2 -c -o IpMa28TDependencyDetector.lo IpMa28TDependencyDetector.cpp
 g++ -DHAVE_CONFIG_H -I. -I. -I../../../inc -I./../../Common -I./../../LinAlg -I./../../LinAlg/TMatrices -I./.. -I./../../Interfaces -I./../../contrib/CGPenalty -I/usr/include -g -O2 -g -O2 -c IpMa28TDependencyDetector.cpp -fPIC -DPIC -o .libs/IpMa28TDependencyDetector.o
 g++ -DHAVE_CONFIG_H -I. -I. -I../../../inc -I./../../Common -I./../../LinAlg -I./../../LinAlg/TMatrices -I./.. -I./../../Interfaces -I./../../contrib/CGPenalty -I/usr/include -g -O2 -g -O2 -c IpMa28TDependencyDetector.cpp -o IpMa28TDependencyDetector.o >/dev/null 2>&1
/bin/bash ../../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I`echo .` -I../../../inc -I`echo ./../../Common` -I`echo ./../../LinAlg` -I`echo ./../../LinAlg/TMatrices` -I`echo ./..` -I`echo ./../../Interfaces` -I`echo ./../../contrib/CGPenalty` -I`echo /usr/include` -g -O2 -g -O2 -c -o IpMumpsSolverInterface.lo IpMumpsSolverInterface.cpp
 g++ -DHAVE_CONFIG_H -I. -I. -I../../../inc -I./../../Common -I./../../LinAlg -I./../../LinAlg/TMatrices -I./.. -I./../../Interfaces -I./../../contrib/CGPenalty -I/usr/include -g -O2 -g -O2 -c IpMumpsSolverInterface.cpp -fPIC -DPIC -o .libs/IpMumpsSolverInterface.o
IpMumpsSolverInterface.cpp:20:18: fatal error: mpi.h: No such file or directory
compilation terminated.
make[4]: *** [IpMumpsSolverInterface.lo] Error 1
make[4]: Leaving directory `/build/buildd/coinor-ipopt-3.8.3/Ipopt/src/Algorithm/LinearSolvers'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/build/buildd/coinor-ipopt-3.8.3/Ipopt/src/Algorithm'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/buildd/coinor-ipopt-3.8.3/Ipopt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/buildd/coinor-ipopt-3.8.3'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110403-1114
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/coinor-ipopt-3.8.3

tags: added: oneiric
Changed in coinor-ipopt (Ubuntu):
milestone: none → oneiric-alpha-1
Changed in coinor-ipopt (Ubuntu Oneiric):
milestone: oneiric-alpha-1 → oneiric-alpha-2
Changed in coinor-ipopt (Ubuntu Oneiric):
milestone: oneiric-alpha-2 → none
status: New → Confirmed
tags: added: universe
Revision history for this message
Ilya Barygin (randomaction) wrote :

Another problem in 3.9.2-1:

 g++ -DHAVE_CONFIG_H -I. -I. -I../../inc -I/usr/include/mumps_seq -g -O2 -g -O2 -Wall -c IpDebug.cpp -fPIC -DPIC -o .libs/IpDebug.o
In file included from IpJournalist.hpp:15:0,
                 from IpDebug.cpp:12:
IpSmartPtr.hpp: In constructor 'Ipopt::SmartPtr<T>::SmartPtr()':
IpSmartPtr.hpp:340:12: error: 'NULL' was not declared in this scope
IpSmartPtr.hpp: In copy constructor 'Ipopt::SmartPtr<T>::SmartPtr(const Ipopt::SmartPtr<T>&)':
IpSmartPtr.hpp:359:12: error: 'NULL' was not declared in this scope
IpSmartPtr.hpp: In constructor 'Ipopt::SmartPtr<T>::SmartPtr(T*)':
IpSmartPtr.hpp:379:12: error: 'NULL' was not declared in this scope
IpSmartPtr.hpp: In member function 'Ipopt::SmartPtr<U>& Ipopt::SmartPtr<T>::SetFromRawPtr_(T*)':
IpSmartPtr.hpp:475:16: error: 'NULL' was not declared in this scope
IpSmartPtr.hpp: In member function 'void Ipopt::SmartPtr<T>::ReleasePointer_()':
IpSmartPtr.hpp:518:14: error: 'NULL' was not declared in this scope
IpSmartPtr.hpp: In function 'bool Ipopt::IsNull(const Ipopt::SmartPtr<U>&)':
IpSmartPtr.hpp:557:31: error: 'NULL' was not declared in this scope
make[3]: *** [IpDebug.lo] Error 1
make[3]: Leaving directory `/build/buildd/coinor-ipopt-3.9.2/Ipopt/src/Common'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/buildd/coinor-ipopt-3.9.2/Ipopt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/buildd/coinor-ipopt-3.9.2'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Changed in coinor-ipopt (Debian):
status: Unknown → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package coinor-ipopt - 3.9.2-1ubuntu1

---------------
coinor-ipopt (3.9.2-1ubuntu1) oneiric; urgency=low

  * NULL.patch: fixes FTBFS with gcc 4.6 (LP: #749064). Thanks to
    <email address hidden> .
 -- Ilya Barygin <email address hidden> Fri, 12 Aug 2011 22:58:44 +0400

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