Please sync cgal 3.3.1-4 (multiverse) from Debian testing (main)

Bug #238021 reported by Nathan Handler
8
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Celso Providelo
cgal (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Here is the most recent Ubuntu entry in debian/changelog:

cgal (3.3.1-2ubuntu1) hardy; urgency=low

  * Update build-depends in debian/control for gfortran transition
    (patch from Kumar Appaiah, see Debian #470359), LP: #201962.
  * Add debian/patches/gfortran_transition.dpatch (other hunks from above
    patch) for g77 to gfortran transition. Add it to debian/patches/00list.
  * debian/control: update maintainer field as per spec.

 -- Stefan Potyra <email address hidden> Wed, 26 Mar 2008 21:56:15 +0100

All of the build depends present in Ubuntu are also present in Debian. debian/patches/gfortran_transition.dpatch has been added in Debian as debian/patches/fortran_transition.dpatch. This can be seen by this Debian changelog entry:

 cgal (3.3.1-4) unstable; urgency=low

   * Remove fortran-transition.dpatch, update build-library.dpatch:
     Do not link with -lg2c in configuration tests (Closes: #475721).
   * Update cgal_create_makefile.dpatch to remove bashisms (Closes: #486045).
   * Update debian/tests/rounding_modes2.cpp to stop constant propagation.
   * Update Standards-Version to 3.8.0 (explain in debian/copyright why package
     is in non-free).

 -- Joachim Reichel <email address hidden> Sun, 15 Jun 2008 22:11:14 +0200
cgal (3.3.1-3) unstable; urgency=low

   * Add patch fortran-transition.dpatch (Closes: #470359), thanks to Kumar
     Appaiah for the patch.
   * debian/rules: s/lapack3-dev/liblapack-dev/,
     s/atlas3-base-dev/libatlas-base-dev/, s/libatlas-3.so/libatlas.so.3gf/ .
   * Fix manpage w.r.t. makefile vs. cgal.mk (Closes: #466430).
   * Add second test for FPU rounding modes.

 -- Joachim Reichel <email address hidden> Wed, 19 Mar 2008 20:27:34 +0100

The change to the maintainer field can be dropped. This allows us to safely perform a sync.

Revision history for this message
Daniel Holbach (dholbach) wrote :

This fails to build for some reason:

  Testing for OPENGL (for Unix) ... ok.
  Testing for LAPACK (Unix default) ... linking or execution failed.

Linker call:
--------------
g++ -o ./tmp_test ./tmp_test.o -llapack -llapack -lf77blas -lcblas -latlas -lgfortran -Wl,-Bsymbolic-functions -lm

Got the following error messages:
---------------------------------
/usr/bin/ld: warning: libgfortran.so.2, needed by /usr/lib/gcc/x86_64-linux-gnu/4.3.1/../../../../lib/liblapack.so, may conflict with
libgfortran.so.3
Run program tmp_test:
----------------------

Got the following output:
---------------------------------
./tmp_test: symbol lookup error: /usr/lib/atlas/liblapack.so.3gf: undefined symbol: _gfortran_pow_r8_i4
--------------------------------------------------------

  Testing for QT (Unix (multi-threaded)) ... compilation failed.

Compiler call:
--------------
g++ -Wall -frounding-math -I/tmp/buildd/cgal-3.3.1/include/CGAL/config/x86-64_Linux-2.6_g++-4.3.1 -g -O2 -c './tmp_test.cpp'

Got the following error messages:
---------------------------------
./tmp_test.cpp:27:21: error: qglobal.h: No such file or directory
./tmp_test.cpp:28:23: error: qmemarray.h: No such file or directory
./tmp_test.cpp:30: error: expected constructor, destructor, or type conversion before '<' token
./tmp_test.cpp: In function 'int main()':
./tmp_test.cpp:44: error: 'QT_VERSION_STR' was not declared in this scope
./tmp_test.cpp:46: error: 'QArray' was not declared in this scope
./tmp_test.cpp:46: error: expected primary-expression before 'int'
./tmp_test.cpp:46: error: expected `;' before 'int'
./tmp_test.cpp:48: error: 'a' was not declared in this scope
--------------------------------------------------------

  Testing for QT (Unix (multi-threaded)) with include /usr/include/qt3 ... ok.
  Linking QT3MT without extra libdir ... ok.

  Error: Setup tests failed.
    Please correct your setup.

  ****************************************************************
  ** D O N E **
  ****************************************************************
make: *** [build-stamp] Error 1
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
pbuilder: Failed autobuilding of package
 -> Aborting with an error
 -> unmounting dev/pts filesystem
 -> unmounting proc filesystem
 -> cleaning the build env
    -> removing directory /var/cache/pbuilder/build//8860 and its subdirectories

Revision history for this message
StefanPotyra (sistpoty) wrote :

hm... this might have been a problem with blas/atlas. Just retrying a build, now that we have newer versions in the archive (thanks very much to Matthias!).

Revision history for this message
StefanPotyra (sistpoty) wrote :

hrmpf. still bails out. However my pbuilder (due to using a mirror) doesn't know about the new atlas binaries yet. I'll retry tomorrow.

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

It still FTBFS on a up-to-date Intrepid pbuilder.

Changed in cgal:
importance: Undecided → Wishlist
status: New → Incomplete
Revision history for this message
Siegfried Gevatter (rainct) wrote :

Unsubscribing ubuntu-universe-sponsors for now. Please subscribe the team again once the package builds correctly.

Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

I've been able to successfully build cgal 3.3.1-4 in a jaunty pbuilder, so please sync cgal 3.3.1-4 from testing.
I'll update the title and the content of this bug report to match versions

Changed in cgal:
status: Incomplete → New
description: updated
Revision history for this message
Lionel Porcheron (lionel.porcheron) wrote :

Sync request ACKed

Thanks for tracking this Fabrice.

Changed in cgal:
status: New → Confirmed
Revision history for this message
Steve Langasek (vorlon) wrote :

syncing from non-free to multiverse appears to fail:

$ sync-source.py -c multiverse -b nhandler cgal
Traceback (most recent call last):
  File "/srv/launchpad.net/codelines/current/scripts/ftpmaster-tools/sync-source.py", line 908, in ?
    main()
  File "/srv/launchpad.net/codelines/current/scripts/ftpmaster-tools/sync-source.py", line 901, in main
    Suite = read_current_source(
  File "/srv/launchpad.net/codelines/current/scripts/ftpmaster-tools/sync-source.py", line 422, in read_current_source
    valid_components = dak_utils.split_args(valid_components)
  File "/srv/launchpad.net/codelines/soyuz-production-rev-7322/scripts/ftpmaster-tools/dak_utils.py", line 221, in split_args
    if s.find(",") == -1:
zope.security.interfaces.ForbiddenAttribute: ('find', <Component at 0x48fa590>)
$

Celso Providelo (cprov)
Changed in soyuz:
importance: Undecided → High
milestone: none → pending
status: New → Triaged
Celso Providelo (cprov)
Changed in soyuz:
milestone: pending → 2.2.1
Changed in soyuz:
assignee: nobody → cprov
Celso Providelo (cprov)
Changed in soyuz:
status: Triaged → In Progress
Revision history for this message
Celso Providelo (cprov) wrote :

Steve, fix applied in cocoplum. The mentioned command-line now fails because the source is no longer available:

{{{
lp_archive@cocoplum:~/syncs$ sync-source.py -c multiverse -b nhandler cgal
Getting binaries for jaunty...
E: cgal: not found
}}}

Let me know if it's correct.

Revision history for this message
Steve Langasek (vorlon) wrote :

[Updating] cgal (3.3.1-2ubuntu1 [Ubuntu] < 3.3.1-4 [Debian])
 * Trying to add cgal...
  - <cgal_3.3.1-4.diff.gz: downloading from http://ftp.debian.org/debian/>
  - <cgal_3.3.1.orig.tar.gz: already in distro - downloading from librarian>
  - <cgal_3.3.1-4.dsc: downloading from http://ftp.debian.org/debian/>
I: cgal [multiverse] -> libcgal2_3.3.1-2ubuntu1 [multiverse].
I: cgal [multiverse] -> libcgal-dev_3.3.1-2ubuntu1 [multiverse].
I: cgal [multiverse] -> libcgal-demo_3.3.1-2ubuntu1 [multiverse].

Changed in cgal:
status: Confirmed → Fix Released
Revision history for this message
Celso Providelo (cprov) wrote :

RF 7561

Changed in soyuz:
status: In Progress → Fix Committed
Celso Providelo (cprov)
Changed in soyuz:
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.