Source: id-utils
Version: 4.6.28-20200521ss15dab
Severity: important
Tags: ftbfs
Justification: FTBFS
X-Debbugs-Cc: ni...@thykier.net
User: ni...@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`,
id-utils failed to rebuild.

Log Summary:
-------------------------------------------------------------------------------
[...]
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
touch build-stamp
dh_testdir
dh_testroot
dh_prep
dh_installdirs
/usr/bin/make DESTDIR=/<<PKGBUILDDIR>>/debian/id-utils install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make  install-recursive
make[2]: Entering directory '/<<PKGBUILDDIR>>'
Making install in lib
make[3]: Entering directory '/<<PKGBUILDDIR>>/lib'
/usr/bin/make  install-am
make[4]: Entering directory '/<<PKGBUILDDIR>>/lib'
make[5]: Entering directory '/<<PKGBUILDDIR>>/lib'
make[5]: Nothing to be done for 'install-exec-am'.
make[5]: Nothing to be done for 'install-data-am'.
make[5]: Leaving directory '/<<PKGBUILDDIR>>/lib'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/lib'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/lib'
Making install in libidu
make[3]: Entering directory '/<<PKGBUILDDIR>>/libidu'
make[4]: Entering directory '/<<PKGBUILDDIR>>/libidu'
make[4]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/id-utils/usr/share/misc'
/usr/bin/install -c -m 644 id-lang.map '/<<PKGBUILDDIR>>/debian/id-utils/usr/share/misc'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/libidu'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/libidu'
Making install in src
make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
make[4]: Entering directory '/<<PKGBUILDDIR>>/src'
 /usr/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/id-utils/usr/bin'
/usr/bin/install -c mkid lid fid fnid xtokid aid eid gid '/<<PKGBUILDDIR>>/debian/id-utils/usr/bin'
 /usr/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/id-utils/usr/bin'
 /usr/bin/install -c defid '/<<PKGBUILDDIR>>/debian/id-utils/usr/bin'
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
Making install in lisp
make[3]: Entering directory '/<<PKGBUILDDIR>>/lisp'
if test 'no' != no; then \
  am__dir=. am__subdir_includes=''; \
  case idutils.elc in */*) \
    am__dir=`echo 'idutils.elc' | sed 's,/[^/]*$,,'`; \
    am__subdir_includes="-L $am__dir -L ./$am__dir"; \
  esac; \
  test -d "$am__dir" || /usr/bin/mkdir -p "$am__dir" || exit 1; \
  no --batch \
      \
    $am__subdir_includes -L . -L . \
--eval '(setq byte-compile-dest-file-function (lambda (_) "idutils.elc"))' \
    -f batch-byte-compile 'idutils.el'; \
else :; fi
make[4]: Entering directory '/<<PKGBUILDDIR>>/lisp'
make[4]: Nothing to be done for 'install-exec-am'.
if test 'no' != no; then \
  am__dir=. am__subdir_includes=''; \
  case idutils.elc in */*) \
    am__dir=`echo 'idutils.elc' | sed 's,/[^/]*$,,'`; \
    am__subdir_includes="-L $am__dir -L ./$am__dir"; \
  esac; \
  test -d "$am__dir" || /usr/bin/mkdir -p "$am__dir" || exit 1; \
  no --batch \
      \
    $am__subdir_includes -L . -L . \
--eval '(setq byte-compile-dest-file-function (lambda (_) "idutils.elc"))' \
    -f batch-byte-compile 'idutils.el'; \
else :; fi
make[4]: Leaving directory '/<<PKGBUILDDIR>>/lisp'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/lisp'
Making install in doc
make[3]: Entering directory '/<<PKGBUILDDIR>>/doc'
make[4]: Entering directory '/<<PKGBUILDDIR>>/doc'
make[4]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/id-utils/usr/share/info'
/usr/bin/install -c -m 644 ./idutils.info '/<<PKGBUILDDIR>>/debian/id-utils/usr/share/info'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/doc'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/doc'
Making install in man
make[3]: Entering directory '/<<PKGBUILDDIR>>/man'
make[4]: Entering directory '/<<PKGBUILDDIR>>/man'
make[4]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/id-utils/usr/share/man/man1'
/usr/bin/install -c -m 644 mkid.1 lid.1 fid.1 fnid.1 xtokid.1 eid.1 aid.1 gid.1 defid.1 '/<<PKGBUILDDIR>>/debian/id-utils/usr/share/man/man1'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/man'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/man'
Making install in gnulib-tests
make[3]: Entering directory '/<<PKGBUILDDIR>>/gnulib-tests'
/usr/bin/make  install-recursive
make[4]: Entering directory '/<<PKGBUILDDIR>>/gnulib-tests'
Making install in .
make[5]: Entering directory '/<<PKGBUILDDIR>>/gnulib-tests'
make[6]: Entering directory '/<<PKGBUILDDIR>>/gnulib-tests'
make[6]: Nothing to be done for 'install-exec-am'.
make[6]: Nothing to be done for 'install-data-am'.
make[6]: Leaving directory '/<<PKGBUILDDIR>>/gnulib-tests'
make[5]: Leaving directory '/<<PKGBUILDDIR>>/gnulib-tests'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/gnulib-tests'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/gnulib-tests'
Making install in testsuite
make[3]: Entering directory '/<<PKGBUILDDIR>>/testsuite'
make[4]: Entering directory '/<<PKGBUILDDIR>>/testsuite'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/<<PKGBUILDDIR>>/testsuite'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/testsuite'
Making install in po
make[3]: Entering directory '/<<PKGBUILDDIR>>/po'
installing da.gmo as /<<PKGBUILDDIR>>/debian/id-utils/usr/share/locale/da/LC_MESSAGES/idutils.mo installing de.gmo as /<<PKGBUILDDIR>>/debian/id-utils/usr/share/locale/de/LC_MESSAGES/idutils.mo installing eo.gmo as /<<PKGBUILDDIR>>/debian/id-utils/usr/share/locale/eo/LC_MESSAGES/idutils.mo installing es.gmo as /<<PKGBUILDDIR>>/debian/id-utils/usr/share/locale/es/LC_MESSAGES/idutils.mo installing fi.gmo as /<<PKGBUILDDIR>>/debian/id-utils/usr/share/locale/fi/LC_MESSAGES/idutils.mo installing fr.gmo as /<<PKGBUILDDIR>>/debian/id-utils/usr/share/locale/fr/LC_MESSAGES/idutils.mo installing ga.gmo as /<<PKGBUILDDIR>>/debian/id-utils/usr/share/locale/ga/LC_MESSAGES/idutils.mo installing hu.gmo as /<<PKGBUILDDIR>>/debian/id-utils/usr/share/locale/hu/LC_MESSAGES/idutils.mo installing id.gmo as /<<PKGBUILDDIR>>/debian/id-utils/usr/share/locale/id/LC_MESSAGES/idutils.mo installing it.gmo as /<<PKGBUILDDIR>>/debian/id-utils/usr/share/locale/it/LC_MESSAGES/idutils.mo installing nb.gmo as /<<PKGBUILDDIR>>/debian/id-utils/usr/share/locale/nb/LC_MESSAGES/idutils.mo installing nl.gmo as /<<PKGBUILDDIR>>/debian/id-utils/usr/share/locale/nl/LC_MESSAGES/idutils.mo installing pl.gmo as /<<PKGBUILDDIR>>/debian/id-utils/usr/share/locale/pl/LC_MESSAGES/idutils.mo installing pt_BR.gmo as /<<PKGBUILDDIR>>/debian/id-utils/usr/share/locale/pt_BR/LC_MESSAGES/idutils.mo installing ro.gmo as /<<PKGBUILDDIR>>/debian/id-utils/usr/share/locale/ro/LC_MESSAGES/idutils.mo installing ru.gmo as /<<PKGBUILDDIR>>/debian/id-utils/usr/share/locale/ru/LC_MESSAGES/idutils.mo installing sr.gmo as /<<PKGBUILDDIR>>/debian/id-utils/usr/share/locale/sr/LC_MESSAGES/idutils.mo installing sv.gmo as /<<PKGBUILDDIR>>/debian/id-utils/usr/share/locale/sv/LC_MESSAGES/idutils.mo installing tr.gmo as /<<PKGBUILDDIR>>/debian/id-utils/usr/share/locale/tr/LC_MESSAGES/idutils.mo installing uk.gmo as /<<PKGBUILDDIR>>/debian/id-utils/usr/share/locale/uk/LC_MESSAGES/idutils.mo installing vi.gmo as /<<PKGBUILDDIR>>/debian/id-utils/usr/share/locale/vi/LC_MESSAGES/idutils.mo installing zh_CN.gmo as /<<PKGBUILDDIR>>/debian/id-utils/usr/share/locale/zh_CN/LC_MESSAGES/idutils.mo
if test "idutils" = "gettext-tools"; then \
/usr/bin/mkdir -p /<<PKGBUILDDIR>>/debian/id-utils/usr/share/misc/gettext/po; \ for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot Makevars.template; do \
    /usr/bin/install -c -m 644 ./$file \
                    
/<<PKGBUILDDIR>>/debian/id-utils/usr/share/misc/gettext/po/$file; \
  done; \
  for file in Makevars; do \
rm -f /<<PKGBUILDDIR>>/debian/id-utils/usr/share/misc/gettext/po/$file; \
  done; \
else \
  : ; \
fi
make[3]: Leaving directory '/<<PKGBUILDDIR>>/po'
make[3]: Entering directory '/<<PKGBUILDDIR>>'
make[4]: Entering directory '/<<PKGBUILDDIR>>'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/<<PKGBUILDDIR>>'
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
find /<<PKGBUILDDIR>>/debian/id-utils -type d -empty -delete
dh_testdir
dh_testroot
dh_installchangelogs ChangeLog
dh_installdocs
install -D -g root -m 644 -o root lisp/idutils.el /<<PKGBUILDDIR>>/debian/id-utils/usr/share/emacs/site-lisp/id-utils.el install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/id-utils/usr/share/emacs/site-lisp/id-utils.el': Operation not permitted
make: *** [debian/rules:81: binary-arch] Error 1
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-16T18:45:58Z

-------------------------------------------------------------------------------


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/997953.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.

For more information on this bug filing, please see:
https://lists.debian.org/debian-dpkg/2024/11/msg00016.html

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.

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to