Closed edigiacomo closed 2 years ago
Shapelib module (shapelib.mod
, kind of .h) is from fortrangis-dev, it looks like it is expected in /usr/lib/x86_64-linux-gnu/fortran/x86_64-linux-gnu-gfortran-10
. Maybe it is installed elsewhere!?
Continuing the thread:
I confirm that libemos and libcnf-deb are obsolete dependencies.
Default dependencies (without -enable-*
or --disable-*
) should be:
--disable-ngmath --disable-ncarg
If fortrangis is already there with gdal support, it may be worth to --enable-gdal
which adds some functionalities.
Shapelib module (
shapelib.mod
, kind of .h) is from fortrangis-dev, it looks like it is expected in/usr/lib/x86_64-linux-gnu/fortran/x86_64-linux-gnu-gfortran-10
. Maybe it is installed elsewhere!?
BTW we declare Fortran modules in autotools as nodist_include_HEADERS
so they go in /usr/include
and we move them in specfile after make install, if you can suggest a cleaner (but simple!) way to install them suddenly in the right place, it could be useful.
Shapelib module (
shapelib.mod
, kind of .h) is from fortrangis-dev, it looks like it is expected in/usr/lib/x86_64-linux-gnu/fortran/x86_64-linux-gnu-gfortran-10
. Maybe it is installed elsewhere!?
I think they're not installed:
$ monci ci -s jammy -b debian --debug
...
2022-09-28 15:20:00 INFO system.jammy stderr: dh_missing: warning: usr/include/fortranc.mod exists in debian/tmp but is not installed to anywhere
2022-09-28 15:20:00 INFO system.jammy stderr: dh_missing: warning: usr/include/gdal.mod exists in debian/tmp but is not installed to anywhere
2022-09-28 15:20:00 INFO system.jammy stderr: dh_missing: warning: usr/include/proj6.mod exists in debian/tmp but is not installed to anywhere
2022-09-28 15:20:00 INFO system.jammy stderr: dh_missing: warning: usr/include/shapelib.mod exists in debian/tmp but is not installed to anywhere
...
I have pushed a PR that should solve the issue in arpa-simc/fortrangis#20
There were other problems in fortrangis related to shlibs. I have fixed them in ARPA-SIMC/fortrangis#20 and pushed some fixes for libsim debian package in the debian
branch. Now fortrangis and libsim packages should compile successfully.
I confirm that they compile successfully here
I moved the debian dir to ubuntu/jammy, debian/bullseye and debian/sid branches in order to build the package with git-buildpackage.
It looks good, and .deb
s built fine with the current debian branches and the newer fortrangis
I have force-pushed my current attempt at debian packaging in the
debian
branch. Force push was necessary after rebasing the debian branch on current master.I have dropped dependencies on libemos and libcnf-deb, that are not available and it looks like they are not used by
configure.ac
.I have built and installed an updated
libfortrangis-dev
.Configure on
bullseye
currently fails:The relevant bit from
config.log
should be:Could you help me out figure out the right set of dependencies for libsim?