[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Fwd: Re: gfortran and netcdf transitions



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

It is about time to start the gfortran transition (in fact the simplest
parts have started;  I've done a rebuild of grib-api for gfortran, and
flexpart, flextra which depend on just it).

The big hurdle is the netcdf/gfortran transition: a number of packages
depend on netcdf.mod.
As Matthias points out below, this would involve a package rename
anyway: do we wish to combine the two, given that the netcdf transition
has been tested in experimental?

regards
Alastair


On 08/10/2015 08:10 AM, Alastair McKinstry wrote:
> 
> Hi,
>
>
> I can, but I am on vacation until Thursday/Friday.
>
> The first complication is that this intersects with the upcoming netcdf
> transition,
> so we need to agree to rebuild netcdf for gfortran first.

I don't mind, if you want to go on with this. Do you expect issues with
this?

Also you probably need to rename the c++ package as well, see
https://people.debian.org/~doko/logs/gcc5-20150701/

attaching a patch here.

> 
> regards
> Alastair
>
>
> On 09/08/2015 22:45, Matthias Klose wrote:
>> Hi,
>
>> would it be possible if you could take care about #790757 ?
>
>> thanks, Matthias
>
>




-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJVyEiiAAoJEMvmu05dmtOlhSYP/jNsfU6udVf6L0BGruUu1ap7
WJE+H9ria242dI3Chsv1U66M/zMQtuss4eLq5gZpWbbDljnLwHQ4+KXFyieq5Kta
Gl7HTImunYIXwDSRsR8p/AP0zXv0NN2wiaiJ4fEo2zTj3a7WHMdGPmI8/OqarVRS
07ZDjX7O6X6g2CikxBeKyfAMYmZwkja1GEmB2k2cupJccbyfL7zWqGIzOntlrwRk
3FOa5MovgR+2NvEvm5dagJ6fKFsN+QtlM9dlAp7QcBj96Jl17amnKGmIwEcQmlX4
owCFr54rb58yQxqF6zsrXiJVrFkyqQnXQuc0/3mB8rjngu17mia02Onqj0rCzJym
fzrri7ZWmUfCvr9ZsoSrb+/V/oEkkT0rAPBprt7EGisvHOOMU1FM10fie2svLLph
GvJnr4fFc9bLdxKXuAnjX8YNQjyddO1cWxD6pDZyUbvg4OBmw8TxmdrdreRccUqu
uFICZJcB3HOSV+2IoZbBOzaiYBLnhYPqaVZNnz4SSHxkV+ntkst5RBEg2mCawYfh
7puJs2MxACsUIR/JhpjltdYP+3Ua2coQkBLDFDpxdw0hdWoXVgvRCO9j4jfaMAiS
1/WuS4Kg7mv61EZ6UQ7ieg5L9iDKYW8I1bOZYPYsvHRSpGsAun3kFLpxp+8H6CRP
33NAAgUeAzKTYQ3pXBWj
=GU1H
-----END PGP SIGNATURE-----

  * Rename library packages for g++5 ABI transition.

diff -Nru netcdf-4.1.3/debian/control netcdf-4.1.3/debian/control
--- netcdf-4.1.3/debian/control	2014-10-03 12:19:47.000000000 +0000
+++ netcdf-4.1.3/debian/control	2015-08-04 10:31:49.000000000 +0000
@@ -59,12 +60,13 @@
  This package contains the Fortran77/90 run-time shared libraries
  required by programs.
 
-Package: libnetcdfc++4
+Package: libnetcdfc++4v5
 Section: libs
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Replaces: libnetcdf6 (<< 1:4.1.1-7~), libnetcdf4, libnetcdfc++5 (<= 1:4.1.3-4)
+Replaces: libnetcdfc++4, libnetcdf6 (<< 1:4.1.1-7~), libnetcdf4, libnetcdfc++5 (<= 1:4.1.3-4)
 Breaks: libnetcdf6 (<< 1:4.1.1-7~), libnetcdf4, libnetcdfc++5 (<= 1:4.1.3-4)
+Conflicts: libnetcdfc++4
 Description: Interface for scientific data access to large binary data
  NetCDF (network Common Data Form) is an interface for scientific
  data access and a freely-distributed software library that provides an
@@ -100,7 +102,7 @@
 Priority: extra
 Architecture: any
 Depends: libnetcdfc7 (= ${binary:Version}), libnetcdff5 (= ${binary:Version}),
- libnetcdfc++4 (= ${binary:Version}), libcf0 (= ${binary:Version}), ${misc:Depends}
+ libnetcdfc++4v5 (= ${binary:Version}), libcf0 (= ${binary:Version}), ${misc:Depends}
 Suggests: gdb
 Description: debugging symbols for NetCDF
  This package contains the files that make it possible to debug the
@@ -111,7 +113,7 @@
 Section: libdevel
 Architecture: any
 Depends: libnetcdfc7 (= ${binary:Version}), libnetcdff5 (= ${binary:Version}), 
- libnetcdfc++4 (= ${binary:Version}), libcf0 (= ${binary:Version}), ${misc:Depends}
+ libnetcdfc++4v5 (= ${binary:Version}), libcf0 (= ${binary:Version}), ${misc:Depends}
 Suggests: netcdf-bin, netcdf-doc
 Recommends: pkg-config
 Description: Development kit for NetCDF
diff -Nru netcdf-4.1.3/debian/libnetcdfc++4.dirs netcdf-4.1.3/debian/libnetcdfc++4.dirs
--- netcdf-4.1.3/debian/libnetcdfc++4.dirs	2013-10-09 12:35:06.000000000 +0000
+++ netcdf-4.1.3/debian/libnetcdfc++4.dirs	1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-usr/lib
diff -Nru netcdf-4.1.3/debian/libnetcdfc++4v5.dirs netcdf-4.1.3/debian/libnetcdfc++4v5.dirs
--- netcdf-4.1.3/debian/libnetcdfc++4v5.dirs	1970-01-01 00:00:00.000000000 +0000
+++ netcdf-4.1.3/debian/libnetcdfc++4v5.dirs	2015-08-04 10:31:49.000000000 +0000
@@ -0,0 +1 @@
+usr/lib
diff -Nru netcdf-4.1.3/debian/libnetcdfc++4v5.lintian-overrides netcdf-4.1.3/debian/libnetcdfc++4v5.lintian-overrides
--- netcdf-4.1.3/debian/libnetcdfc++4v5.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
+++ netcdf-4.1.3/debian/libnetcdfc++4v5.lintian-overrides	2015-08-06 04:44:32.000000000 +0000
@@ -0,0 +1,2 @@
+# G++5 ABI transition
+libnetcdfc++4v5: package-name-doesnt-match-sonames libnetcdf-c++4
diff -Nru netcdf-4.1.3/debian/rules netcdf-4.1.3/debian/rules
--- netcdf-4.1.3/debian/rules	2014-10-03 12:19:47.000000000 +0000
+++ netcdf-4.1.3/debian/rules	2015-08-06 01:52:41.000000000 +0000
@@ -47,10 +47,10 @@
 		-a ! -name '*.so' -a ! -name '*.a' -a ! -name '*.la' -a ! -name '*.pc' \
 		-exec cp -d {} debian/libnetcdff5/usr/lib/ \;
 
-install/libnetcdfc++4::
+install/libnetcdfc++4v5::
 	find debian/tmp/usr/lib/ -name 'libnetcdf_c++.*' -a ! -type d \
 		-a ! -name '*.so' -a ! -name '*.a' -a ! -name '*.la' -a ! -name '*.pc' \
-		-exec cp -d {} debian/libnetcdfc++4/usr/lib/ \;
+		-exec cp -d {} debian/libnetcdfc++4v5/usr/lib/ \;
 
 install/libcf0::
 	find debian/tmp/usr/lib/ -name 'libcf.*' -a ! -type d \

Reply to: