Bug#775107: code-saturne-data (arch=all) ships an arch-dependant script: cs_config.py

Gilles Filippini pini at debian.org
Sun Jan 11 14:36:00 UTC 2015


Source: code-saturne
Version: 3.3.2-2
Severity: serious
Justification: Policy 5.6.8

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

Yvan Fournier a écrit le 10/01/2015 17:40 :> Hello,
> 
> There is a bug in the Debian packaging for Code_Saturne in Debian-sid,
> but I was not able to find where in the Debian build this occurs.
> 
> The problem is due
> to /usr/lib/python2.7/dist-packages/code_saturne/cs_package.py
> 
> where self.libs['hdf5'] contains a reference to /usr/lib/i386-linux-gnu/
> on (x86_64) 64-bit platform. In addition, -lhdf5 should be replaced by
> -lhdf5-openmpi.

Actually this is due to
/usr/lib/python2.7/dist-packages/code_saturne/cs_config.py
defining arch-dependant paths while beeing shipped with code-saturne-data
which is arch=all.

> This makes the usage of user subroutines impossible.
> To check, simply try "code_saturne compile -f -t"
> which will fail.
> 
> I can try to adapt the code's detection for HDF5 in the m4/cs_hdf5.m4
> file in the upstream Code_Saturne source, but it is not clear to me if
> renaming libhdf5 to libhdf5-openmpi, libhdf5-serial, ... is Debian
> specific or provided by HDF5 (the Debian changelog message
> " * Support hdf5 1.8.13 new packaging layout (closes: #756661)."
> makes it look like the change is in HDF5, but I found no option in
> HDF5's configure to change this. Maybe in CMake ?).
> 
> Best regards,
> 
> 	Yvan Fournier
> 
> 	(Code_Saturne development team)


- -- System Information:
Debian Release: 8.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBCAAGBQJUsopQAAoJEO/obGx//s+DMdAH/2jQLviTVJiCGlwNgS1r5ZAK
aHkU9Gz3sWZEgsYhZBKLyLlGVyLfsWDzUBJppeTw8N3x4GHXZIwNda9UYLOosXVx
Thlb/L3q1+412BmI3fgHQ/Z5BaRLo4Mr5RWI2TwOsqr9m32CkuUPnI9JGsAjcDlC
2fMOACUUY1HnNO4Snjivvw3Y8nyV4QBO0MxyNm+oGMJHZkvA9lqwQwtIewqlV4pN
Sz+26jhscTapwk1lsOmZ3pz01S1LrS/EckrMLxLRD3kl0/wKlKFD6O6Sy+1tjqIl
bbnLzoxx2LgeKCc/HmOtriFxAhr3HqCJ+ciRvCsGqhFSwpELzTjDBsBy9tD+DMM=
=5nCB
-----END PGP SIGNATURE-----



More information about the debian-science-maintainers mailing list