Bug#905824: med-fichier: missing files due to non-CMake build

2018-09-03 Thread Kurt Kremitzki
By the way, do you happen to know the story with the shared library
version numbers for med-fichier? Instead of using the version number
3.3.1, we have 1.9.1 for libmed.so and libmedc.so, and 0.3.0 for
libmedimport.so.

Producing a CMake build wants to use the version number 3.3.1 which
would suggest the need for a package rename from libmed{,c}1v5 and
libmedimport0v5, but I can't really find anything on why the version
numbers are what they are now or what's up with the strange package names.

On Sat, 11 Aug 2018 23:43:13 +0200 Gilles Filippini  wrote:

> Control: tags -1 + moreinfo
>
> Hi,
>
> On Fri, 10 Aug 2018 04:59:38 -0500 Kurt Kremitzki 
> wrote:
> > Source: med-fichier
> > Severity: normal
> >
> > Dear Maintainer,
> >
> > Med-fichier supports CMake builds, and if CMake is used there are
> > several .cmake helper files generated which are currently missing from
> > the package. Downstream projects then expect those .cmake files to be
> > available, and it causes difficulty when they are not.
> >
> > Please update the package to use the CMake buildsystem and include all
> > missing files.
>
> Patches welcome :)
>
> I gave a try using the CMake build system, but it failed. Firstly, there
> is no CMakeList.txt to build the doc. Secondly the test suite fails:
> > Start 37: Testtest13f
> > 37/70 Test #37: Testtest13f ..***Failed 0.01 sec
> > 0
> > Maillage de nom : maa1 et de dimension : 3
> > 0
> > Nombre d'equivalence : 1
> > Equivalence numero : 1
> >
/build/med-fichier-VMwX2G/med-fichier-3.3.1+repack/src/hdfi/MEDfichierNo.c
[39] : Impossible d'identifier un numéro de fichier correct à partir de
l'identifiant :
> >
/build/med-fichier-VMwX2G/med-fichier-3.3.1+repack/src/hdfi/MEDfichierNo.c
[40] : id = 4294967296
> >
/build/med-fichier-VMwX2G/med-fichier-3.3.1+repack/src/misc/MEDversionedApi3C.c
[42] : Cette bibliothèque MED n'est pas capable de lire un fichier MED
de version < 2.2.0
> >
/build/med-fichier-VMwX2G/med-fichier-3.3.1+repack/src/misc/MEDversionedApi3C.c
[43] : La version demandée est :
> >
/build/med-fichier-VMwX2G/med-fichier-3.3.1+repack/src/misc/MEDversionedApi3C.c
[44] : _fversionMMR = 0
> >
/build/med-fichier-VMwX2G/med-fichier-3.3.1+repack/src/misc/MEDversionedApi3C.c
[116] : Impossible d'obtenir une implémentation de :
> >
/build/med-fichier-VMwX2G/med-fichier-3.3.1+repack/src/misc/MEDversionedApi3C.c
[117] : key = "_MEDequivalenceInfo"
> >
/build/med-fichier-VMwX2G/med-fichier-3.3.1+repack/src/misc/MEDversionedApi3C.c
[118] : en version :
> >
/build/med-fichier-VMwX2G/med-fichier-3.3.1+repack/src/misc/MEDversionedApi3C.c
[119] : _fversionMMR = 0
> >
/build/med-fichier-VMwX2G/med-fichier-3.3.1+repack/src/misc/MEDversionedApi3C.c
[120] : Vérifiez votre fichier .med et votre version de bibliothèque.
>
> Thanks,
>
> _g.
>

-- 
debian-science-maintainers mailing list
debian-science-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Bug#905824: med-fichier: missing files due to non-CMake build

2018-08-11 Thread Kurt Kremitzki
Hello Gilles,

On 08/11/2018 04:43 PM, Gilles Filippini wrote:
> Control: tags -1 + moreinfo
> 
> Hi,
> 
-snip-
> 
> Patches welcome :)
> 
> I gave a try using the CMake build system, but it failed. Firstly, there
> is no CMakeList.txt to build the doc. Secondly the test suite fails:
-snip-
> 
> Thanks,
> 
> _g.
> 

Indeed, I should have mentioned that I am working on this myself! (Still
a bit new so please bear with me.) I created a bug since I'm a bit stuck
and wanted to try to get other people involved, and to track the work.

I don't have a build log handy to provide specifics just now, but at
this point, I've got a successful build (sans the docs) although the
main problem at this point is that the shared libraries are all coming
out unversioned, i.e. `usr/lib/*.so` instead of `usr/lib/*.so.x.y.z`.

I've already made a patch for CMakeLists.txt which adds multi-arch
support, and I presume I'll have to do the same for the versioning and
the docs.

I was hoping to find a package I could refer to which had a similar
unversioned shared library problem but was fixed with a patch--do you
happen to know of any? I am having the exact same unversioned shared
library problem trying to package SMESH, which depends on med-fichier,
and it's the reason I started investigating this issue. So, there's a
nice 2-birds-with-1-stone opportunity here.

Thanks for your quick response to the bug by the way!

P.S. By later today I'll have a buildlog + my changes up on salsa.d.o
and I'll update the bug with that info.

-- 
debian-science-maintainers mailing list
debian-science-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Bug#905824: med-fichier: missing files due to non-CMake build

2018-08-11 Thread Gilles Filippini
Control: tags -1 + moreinfo

Hi,

On Fri, 10 Aug 2018 04:59:38 -0500 Kurt Kremitzki 
wrote:
> Source: med-fichier
> Severity: normal
> 
> Dear Maintainer,
> 
> Med-fichier supports CMake builds, and if CMake is used there are
> several .cmake helper files generated which are currently missing from
> the package. Downstream projects then expect those .cmake files to be
> available, and it causes difficulty when they are not.
> 
> Please update the package to use the CMake buildsystem and include all
> missing files.

Patches welcome :)

I gave a try using the CMake build system, but it failed. Firstly, there
is no CMakeList.txt to build the doc. Secondly the test suite fails:
>   Start 37: Testtest13f   
>   
> 37/70 Test #37: Testtest13f ..***Failed0.01 sec   
>   
>
>0  
> 
>  Maillage de nom : maa1   
>   et de dimension :3
>0  
> 
>  Nombre d'equivalence :1  
>  
>  Equivalence numero :1
>   
>   
> /build/med-fichier-VMwX2G/med-fichier-3.3.1+repack/src/hdfi/MEDfichierNo.c 
> [39] : Impossible d'identifier un numéro de fichier correct à partir de 
> l'identifiant : 
> /build/med-fichier-VMwX2G/med-fichier-3.3.1+repack/src/hdfi/MEDfichierNo.c 
> [40] : id = 4294967296
> 
> /build/med-fichier-VMwX2G/med-fichier-3.3.1+repack/src/misc/MEDversionedApi3C.c
>  [42] : Cette bibliothèque MED n'est pas capable de lire un fichier MED de 
> version < 2.2.0
> /build/med-fichier-VMwX2G/med-fichier-3.3.1+repack/src/misc/MEDversionedApi3C.c
>  [43] : La version demandée est :
> /build/med-fichier-VMwX2G/med-fichier-3.3.1+repack/src/misc/MEDversionedApi3C.c
>  [44] : _fversionMMR = 0
> /build/med-fichier-VMwX2G/med-fichier-3.3.1+repack/src/misc/MEDversionedApi3C.c
>  [116] : Impossible d'obtenir une implémentation de :
> /build/med-fichier-VMwX2G/med-fichier-3.3.1+repack/src/misc/MEDversionedApi3C.c
>  [117] : key = "_MEDequivalenceInfo"  
>  
> /build/med-fichier-VMwX2G/med-fichier-3.3.1+repack/src/misc/MEDversionedApi3C.c
>  [118] : en version :  
> /build/med-fichier-VMwX2G/med-fichier-3.3.1+repack/src/misc/MEDversionedApi3C.c
>  [119] : _fversionMMR = 0 
> 
> /build/med-fichier-VMwX2G/med-fichier-3.3.1+repack/src/misc/MEDversionedApi3C.c
>  [120] : Vérifiez votre fichier .med et votre version de bibliothèque.

Thanks,

_g.



signature.asc
Description: OpenPGP digital signature
-- 
debian-science-maintainers mailing list
debian-science-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Bug#905824: med-fichier: missing files due to non-CMake build

2018-08-10 Thread Kurt Kremitzki
Source: med-fichier
Severity: normal

Dear Maintainer,

Med-fichier supports CMake builds, and if CMake is used there are
several .cmake helper files generated which are currently missing from
the package. Downstream projects then expect those .cmake files to be
available, and it causes difficulty when they are not.

Please update the package to use the CMake buildsystem and include all
missing files.


-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 
'unstable'), (500, 'testing'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.17.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:de:ru:es:ar:fr:zh_CN (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- 
debian-science-maintainers mailing list
debian-science-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers