Bug#791238: petsc: library transition may be needed when GCC 5 is the default
Control: user release.debian@packages.debian.org Control: usertag -1 - transition On Wed, 5 Aug 2015 16:17:54 +0200 Martin Pittwrote: > tag 791238 patch > user release.debian@packages.debian.org > usertag 791238 + transition > block 791238 by 790756 > > Hello, > > this is a debdiff which we uploaded to Ubuntu (aside from some formal > debian/changelog differences). As debian/rules is really complex and I > don't have a good way of testing this, I'd appreciate a second look > before uploading this. >From a RT POV, feel free to go ahead with this. I'm removing the transition tag for now, feel free to add that (and reassign) once this is uploaded. [ Note that I haven't actually reviewed the debdiff. ] Emilio -- debian-science-maintainers mailing list debian-science-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers
Bug#791238: petsc: library transition may be needed when GCC 5 is the default
tag 791238 patch user release.debian@packages.debian.org usertag 791238 + transition block 791238 by 790756 Hello, this is a debdiff which we uploaded to Ubuntu (aside from some formal debian/changelog differences). As debian/rules is really complex and I don't have a good way of testing this, I'd appreciate a second look before uploading this. Thanks, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) diff -Nru petsc-3.4.2.dfsg1/debian/changelog petsc-3.4.2.dfsg1/debian/changelog --- petsc-3.4.2.dfsg1/debian/changelog 2014-08-06 18:01:01.0 +0200 +++ petsc-3.4.2.dfsg1/debian/changelog 2015-08-05 14:57:42.0 +0200 @@ -1,3 +1,11 @@ +petsc (3.4.2.dfsg1-8.2) unstable; urgency=medium + + * Non-maintainer upload. + * Rename library packages for g++5 ABI transition. (Closes: #791238) + * debian/rules: Adjust paths for renamed library. + + -- Martin Pitt mp...@debian.org Wed, 05 Aug 2015 14:48:34 +0200 + petsc (3.4.2.dfsg1-8.1) unstable; urgency=low * Non-maintainer upload. diff -Nru petsc-3.4.2.dfsg1/debian/control petsc-3.4.2.dfsg1/debian/control --- petsc-3.4.2.dfsg1/debian/control2014-03-01 12:26:19.0 +0100 +++ petsc-3.4.2.dfsg1/debian/control2015-08-05 15:01:56.0 +0200 @@ -20,12 +20,12 @@ Package: libpetsc3.4.2-dev Architecture: linux-any hurd-any Section: libdevel -Depends: libpetsc3.4.2 (= ${binary:Version}), ${mpi-dev}, ${linear-algebra-dev}, ${petsc-compilers}, +Depends: libpetsc3.4.2v5 (= ${binary:Version}), ${mpi-dev}, ${linear-algebra-dev}, ${petsc-compilers}, ${petsc-extra-dev}, libx11-dev, libsuitesparse-dev, libsuperlu-dev, libspooles-dev, libhypre-dev (= 2.0.0.dfsg-7), libptscotch-dev, ${babel-dev}, ${misc:Depends}, ${hdf5-dev}, libblacs-mpi-dev, libscalapack-mpi-dev, libmumps-dev, libfftw3-dev, libfftw3-mpi-dev -Suggests: petsc-dev (= ${binary:Version}), libpetsc3.4.2-dbg (= ${binary:Version}), petsc3.4.2-doc (= ${binary:Version}), libluminate-dev +Suggests: petsc-dev (= ${binary:Version}), libpetsc3.4.2v5-dbg (= ${binary:Version}), petsc3.4.2-doc (= ${binary:Version}), libluminate-dev Provides: petsc3.4.2-dev Description: Static libraries, shared links, header files for PETSc PETSc is the Portable Extensible Toolkit for Scientific Computation, a suite @@ -39,15 +39,17 @@ Architecture: all Section: libdevel Depends: libpetsc3.4.2-dev, ${misc:Depends} -Suggests: libpetsc3.4.2-dbg +Suggests: libpetsc3.4.2v5-dbg Description: Virtual package depending on latest PETSc development package This metapackage will always depend on the most recent version of petscX-dev (X=version), so if you install it then you will get upgrades automatically. -Package: libpetsc3.4.2 +Package: libpetsc3.4.2v5 Architecture: linux-any hurd-any Section: libs Depends: ${shlibs:Depends}, ${mpi}, ${misc:Depends} +Conflicts: libpetsc3.4.2 +Replaces: libpetsc3.4.2 Description: Shared libraries for version 3.4.2 of PETSc PETSc is the Portable Extensible Toolkit for Scientific Computation, a suite of data structures and routines for the scalable (parallel) solution of @@ -56,11 +58,13 @@ scientific applications, as well as various papers and talks, demonstrate the features of the PETSc libraries. -Package: libpetsc3.4.2-dbg +Package: libpetsc3.4.2v5-dbg Architecture: linux-any hurd-any Section: debug Depends: libpetsc3.4.2-dev (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Provides: petsc3.4.2-dbg +Conflicts: libpetsc3.4.2-dbg +Replaces: libpetsc3.4.2-dbg Description: Static debugging libraries for PETSc PETSc is the Portable Extensible Toolkit for Scientific Computation, a suite of data structures and routines for the scalable (parallel) solution of diff -Nru petsc-3.4.2.dfsg1/debian/libpetsc3.4.2-dbg.overrides petsc-3.4.2.dfsg1/debian/libpetsc3.4.2-dbg.overrides --- petsc-3.4.2.dfsg1/debian/libpetsc3.4.2-dbg.overrides2013-12-10 20:23:59.0 +0100 +++ petsc-3.4.2.dfsg1/debian/libpetsc3.4.2-dbg.overrides1970-01-01 01:00:00.0 +0100 @@ -1,2 +0,0 @@ -# False positive: the copyright notice is somewhat buried in the upstream text -libpetsc3.4.2-dbg: copyright-without-copyright-notice diff -Nru petsc-3.4.2.dfsg1/debian/libpetsc3.4.2.overrides petsc-3.4.2.dfsg1/debian/libpetsc3.4.2.overrides --- petsc-3.4.2.dfsg1/debian/libpetsc3.4.2.overrides2013-12-10 20:23:59.0 +0100 +++ petsc-3.4.2.dfsg1/debian/libpetsc3.4.2.overrides1970-01-01 01:00:00.0 +0100 @@ -1,2 +0,0 @@ -# False positive: the copyright notice is somewhat buried in the upstream text -libpetsc3.4.2: copyright-without-copyright-notice diff -Nru petsc-3.4.2.dfsg1/debian/libpetsc3.4.2v5-dbg.lintian-overrides petsc-3.4.2.dfsg1/debian/libpetsc3.4.2v5-dbg.lintian-overrides --- petsc-3.4.2.dfsg1/debian/libpetsc3.4.2v5-dbg.lintian-overrides 1970-01-01 01:00:00.0 +0100 +++
Processed (with 5 errors): Re: Bug#791238: petsc: library transition may be needed when GCC 5 is the default
Processing commands for cont...@bugs.debian.org: tag 791238 patch Bug #791238 [src:petsc] petsc: library transition may be needed when GCC 5 is the default Added tag(s) patch. user release.debian@packages.debian.org Setting user to release.debian@packages.debian.org (was mp...@debian.org). usertag 791238 + transition There were no usertags set. Usertags are now: transition. block 791238 by 790756 Bug #791238 [src:petsc] petsc: library transition may be needed when GCC 5 is the default 791238 was not blocked by any bugs. 791238 was not blocking any bugs. Added blocking bug(s) of 791238: 790756 Hello, Unknown command or malformed arguments to command. this is a debdiff which we uploaded to Ubuntu (aside from some formal Unknown command or malformed arguments to command. debian/changelog differences). As debian/rules is really complex and I Unknown command or malformed arguments to command. don't have a good way of testing this, I'd appreciate a second look Unknown command or malformed arguments to command. before uploading this. Unknown command or malformed arguments to command. Too many unknown commands, stopping here. Please contact me if you need assistance. -- 791238: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=791238 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems -- debian-science-maintainers mailing list debian-science-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers
Bug#791238: petsc: library transition may be needed when GCC 5 is the default
Package: src:petsc Version: 3.4.2.dfsg1-8.1 Severity: important Tags: sid stretch User: debian-...@lists.debian.org Usertags: libstdc++-cxx11 Background [1]: libstdc++6 introduces a new ABI to conform to the C++11 standard, but keeps the old ABI to not break existing binaries. Packages which are built with g++-5 from experimental (not the one from testing/unstable) are using the new ABI. Libraries built from this source package export some of the new __cxx11 or B5cxx11 symbols, and dropping other symbols. If these symbols are part of the API of the library, then this rebuild with g++-5 will trigger a transition for the library. What is needed: - Rebuild the library using g++/g++-5 from experimental. Note that most likely all C++ libraries within the build dependencies need a rebuild too. You can find the log for a rebuild in https://people.debian.org/~doko/logs/gcc5-20150701/ Search for BEGIN GCC CXX11 in the log. - Decide if the symbols matching __cxx11 or B5cxx11 are part of the library API, and are used by the reverse dependencies of the library. - If there are no symbols matching __cxx11 or B5cxx11 in the symbols forming the library API, you should close this issue with a short explanation. - If there are no reverse dependencies, it should be the package maintainers decision if a transition is needed. However this might break software which is not in the Debian archive, and built against these packages. - If a library transition is needed, please prepare for the change. Rename the library package, append v5 to the name of the package (e.g. libfoo2 - libfoo2v5). Such a change can be avoided, if you have a soversion bump and you upload this version instead of the renamed package. Prepare a patch and attach it to this issue (mark this issue with patch), so that it is possible to NMU such a package. We'll probably have more than hundred transitions triggered. Then reassign the issue to release.debian.org and properly tag it as a transition issue, by sending an email to cont...@bugs.debian.org: user release.debian@packages.debian.org usertag this issue + transition block this issue by 790756 reassign this issue release.debian.org - If unsure if a transition is needed, please tag the issue with help to ask for feedback from other Debian developers. The libstdc++6 transition will be a large one, and it will come with a lot of pain. Please help it by preparing the follow-up transitions. [1] https://wiki.debian.org/GCC5#libstdc.2B-.2B-_ABI_transition -- debian-science-maintainers mailing list debian-science-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers