[Debichem-devel] Bug#1089281: abinit: Supporting rootless builds
Niels Thykier
niels at thykier.net
Sat Dec 7 18:39:19 GMT 2024
Source: abinit
Version: 9.10.4-3
Severity: important
Tags: ftbfs
Justification: FTBFS
X-Debbugs-Cc: niels at thykier.net
User: niels at thykier.net
Usertags: rrr-no-as-default-issue
Dear maintainer,
During a test rebuild for building packages with
`Rules-Requires-Root: no` as the default in `dpkg`,
abinit failed to rebuild.
Log Summary:
-------------------------------------------------------------------------------
[...]
mpifort -I../../shared/common/src/incs -I../../shared/common/src/incs
-I../../shared/common/src/mods -I../../shared/common/src/mods
-I../../src/incs -I../../src/incs -I../../src/mods -I../../src/mods
-I../../shared/libpaw/incs -I../../shared/libpaw/incs
-I../../shared/libpaw/mods -I../../shared/libpaw/mods -I/usr/include -g
-O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -mbranch-protection=standard
-ffree-line-length-none -fallow-argument-mismatch -o mrgscr
mrgscr-mrgscr.o ../../src/70_gw/lib70_gw.a
../../src/69_wfdesc/lib69_wfdesc.a ../../src/67_common/lib67_common.a
../../src/66_wfs/lib66_wfs.a ../../src/66_vdwxc/lib66_vdwxc.a
../../src/66_nonlocal/lib66_nonlocal.a ../../src/65_paw/lib65_paw.a
../../src/64_psp/lib64_psp.a ../../src/62_wvl_wfs/lib62_wvl_wfs.a
../../src/62_poisson/lib62_poisson.a
../../src/62_iowfdenpot/lib62_iowfdenpot.a
../../src/62_ctqmc/lib62_ctqmc.a
../../src/62_cg_noabirule/lib62_cg_noabirule.a
../../src/61_occeig/lib61_occeig.a ../../src/57_iovars/lib57_iovars.a
../../src/57_iopsp_parser/lib57_iopsp_parser.a
../../src/56_xc/lib56_xc.a ../../src/56_recipspace/lib56_recipspace.a
../../src/56_mixing/lib56_mixing.a ../../src/56_io_mpi/lib56_io_mpi.a
../../src/55_abiutil/lib55_abiutil.a
../../src/54_spacepar/lib54_spacepar.a ../../src/53_ffts/lib53_ffts.a
../../src/52_fft_mpi_noabirule/lib52_fft_mpi_noabirule.a
../../src/51_manage_mpi/lib51_manage_mpi.a
../../src/49_gw_toolbox_oop/lib49_gw_toolbox_oop.a
../../src/45_geomoptim/lib45_geomoptim.a
../../src/44_abitypes_defs/lib44_abitypes_defs.a
../../src/44_abitools/lib44_abitools.a
../../src/43_wvl_wrappers/lib43_wvl_wrappers.a
../../src/43_ptgroups/lib43_ptgroups.a
../../src/42_parser/lib42_parser.a
../../src/42_nlstrain/lib42_nlstrain.a
../../src/41_geometry/lib41_geometry.a
../../src/39_libpaw/lib39_libpaw.a
../../src/33_xc_lowlevel/lib33_xc_lowlevel.a
../../src/32_util/lib32_util.a ../../src/29_kpoints/lib29_kpoints.a
../../src/28_numeric_noabirule/lib28_numeric_noabirule.a
../../src/27_toolbox_oop/lib27_toolbox_oop.a
../../src/21_hashfuncs/lib21_hashfuncs.a
../../src/18_timing/lib18_timing.a
../../src/17_yaml_out/lib17_yaml_out.a
../../src/17_libtetra_ext/lib17_libtetra_ext.a
../../src/16_hideleave/lib16_hideleave.a
../../src/14_hidewrite/lib14_hidewrite.a
../../src/12_hide_mpi/lib12_hide_mpi.a
../../src/11_memory_mpi/lib11_memory_mpi.a
../../src/10_defs/lib10_defs.a ../../src/02_clib/lib02_clib.a -lxc
-llapack -lblas -lnetcdff -lnetcdf
-L/usr/lib/aarch64-linux-gnu/hdf5/serial -lhdf5_hl -lhdf5 -lcrypto
-lcurl -lpthread -lsz -lz -ldl -lm
-L/usr/lib/aarch64-linux-gnu/openmpi/lib
-L/usr/lib/gcc/aarch64-linux-gnu/14
-L/usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu
-L/usr/lib/gcc/aarch64-linux-gnu/14/../../../../lib
-L/lib/aarch64-linux-gnu -L/lib/../lib -L/usr/lib/aarch64-linux-gnu
-L/usr/lib/../lib -L/usr/lib/gcc/aarch64-linux-gnu/14/../../..
-lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm
-lxc -lnetcdff -lnetcdf -L/usr/lib/aarch64-linux-gnu/hdf5/serial
-lhdf5_hl -lhdf5 -lcrypto -lcurl -lpthread -lsz -lz -ldl -lm -lm
make[5]: Leaving directory '/<<PKGBUILDDIR>>/src/98_main'
make[5]: Entering directory '/<<PKGBUILDDIR>>/src'
make[5]: Nothing to be done for 'all-am'.
make[5]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src'
Making all in abichecks
make[4]: Entering directory '/<<PKGBUILDDIR>>/abichecks'
==============================================================================
Keywords to use with the make command for abichecks tests directory:
tests_abirules Launch the abirules tests
Warning: for some of the tests, the file make.log
must be present in the top directory. This means one has
to compile with the command: `make > make.log 2>&1`
tests_buildsys Launch the buildsys tests
tests_libpaw Launch the libpaw tests
==============================================================================
[This file can be found at doc/help_make/help_make_abichecks.txt]
make[4]: Leaving directory '/<<PKGBUILDDIR>>/abichecks'
Making all in doc
make[4]: Entering directory '/<<PKGBUILDDIR>>/doc'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/<<PKGBUILDDIR>>/doc'
Making all in tests
make[4]: Entering directory '/<<PKGBUILDDIR>>/tests'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/<<PKGBUILDDIR>>/tests'
make[4]: Entering directory '/<<PKGBUILDDIR>>'
make[4]: Leaving directory '/<<PKGBUILDDIR>>'
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build --sourcedirectory=doc
cd doc && make -j8 "INSTALL=install --strip-program=true"
make[2]: Entering directory '/<<PKGBUILDDIR>>/doc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc'
cd doc/theory/ELF && pdflatex -interaction=nonstopmode --shell-escape
wf_elecden_kinden_elf.tex
This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live
2025/dev/Debian) (preloaded format=pdflatex)
\write18 enabled.
kpathsea: Running mktexfmt pdflatex.fmt
mktexfmt: mktexfmt is using the following fmtutil.cnf files (in
precedence order):
mktexfmt: /usr/share/texmf/web2c/fmtutil.cnf
mktexfmt: /usr/share/texlive/texmf-dist/web2c/fmtutil.cnf
mktexfmt: mktexfmt is using the following fmtutil.cnf file for writing
changes:
mktexfmt: /nonexistent/.texlive2024/texmf-config/web2c/fmtutil.cnf
/usr/bin/mktexfmt: mkdir(/nonexistent/) failed for tree
/nonexistent/.texlive2024/texmf-var/web2c: Permission denied at
/usr/share/texlive/tlpkg/TeXLive/TLUtils.pm line 1247.
I can't find the format file `pdflatex.fmt'!
make[1]: *** [debian/rules:53: override_dh_auto_build-indep] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:20: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-15T18:14:53Z
-------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most
relevant part. If required, the full build log is available here:
https://people.debian.org/~nthykier/rrr-no-as-default/logs/972917.gz
You can find common solutions at
https://people.debian.org/~nthykier/rrr-no-as-default/docs/solutions.md
If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.
If this package is listed in
https://people.debian.org/~nthykier/rrr-no-as-default/docs/static-ownership.list,
then please just set `Rules-Requires-Root: binary-targets` to the source
stanza of `debian/control` as a fix to this bug.
If this package is listed in
https://people.debian.org/~nthykier/rrr-no-as-default/docs/maybe-misbuilds.list,
then the package was deemed at risk for misbuilding (having wrong
ownership) but had a FTBFS problem we tested it. Please test whether the
package works with `Rules-Requires-Root: no` validating that the
resulting deb has the correct ownership for all paths in the deb.
The goal is to have the default changed in `dpkg` either in `Trixie` or
`Forky`, depending on progress and feasibility with the release schedule
for Trixie.
Thanks,
PS: The builds were performed in mid-November. If you fixed the problem
between between then and this bug being filed, then please just close
the bug with the version it was fixed in.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debichem-devel/attachments/20241207/2f478610/attachment.sig>
More information about the Debichem-devel
mailing list