Source: swedish Version: 1.4.5-4 Severity: important Tags: ftbfs Justification: FTBFS X-Debbugs-Cc: niels@thykier.net User: niels@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`, swedish failed to rebuild. Log Summary: ------------------------------------------------------------------------------- [...] debian/rules binary dh_testdir /usr/bin/make make[1]: Entering directory '/<<PKGBUILDDIR>>' ispell -vv | grep LIBDIR > konfigfil cat affixfil/head.code affixfil/suffix.code > svenska.aff [ -f affixfil/suffix2.code ] && cat affixfil/suffix2.code >> svenska.aff make[1]: [Makefile:28: svenska.aff] Error 1 (ignored) [ -f affixfil/sammans.code ] && cat affixfil/sammans.code >> svenska.aff [ -f affixfil/prefix.code ] && cat affixfil/prefix.code >> svenska.aff make[1]: [Makefile:30: svenska.aff] Error 1 (ignored) [ -f affixfil/prefix2.code ] && cat affixfil/prefix2.code >> svenska.aff make[1]: [Makefile:31: svenska.aff] Error 1 (ignored)sed 's/compoundwords.*/compoundwords off/' < affixfil/head.code > diverse/gtmp.aff
cat affixfil/suffix.code affixfil/fakesammans.code >> diverse/gtmp.aff chmod a-w diverse/gtmp.aff touch Adjektiv.j/adjektiv.sync touch Diverse.J/efterled.sync touch Diverse.J/foerled.sync touch Diverse.J/verbsamman.sync touch Facksprak.j/data.sync touch Facksprak.j/djurochnatur.sync touch Facksprak.j/elektronik.sync touch Facksprak.j/mat.sync touch Facksprak.j/matematik1.sync touch Facksprak.j/militaer.sync touch Facksprak.j/musikochdans.sync touch Facksprak.j/naturvetenskap.sync touch Facksprak.j/religion.sync touch Facksprak.j/sport.sync touch Facksprak.j/verb.sport.sync touch Raekneord.j/raekneord.sync touch Substantiv.j/are.sync touch Substantiv.j/else.sync touch Substantiv.j/het.sync touch Substantiv.j/ing.sync touch Substantiv.j/ism.sync touch Substantiv.j/ist.sync touch Substantiv.j/sammansaettningar.sync touch Substantiv.j/substantiv.sync touch Substantiv.j/tion.synccat Adjektiv.j/adjektiv.data Diverse.J/efterled.data Diverse.J/foerled.data Diverse.J/verbsamman.data Facksprak.j/data.data Facksprak.j/djurochnatur.data Facksprak.j/elektronik.data Facksprak.j/mat.data Facksprak.j/matematik1.data Facksprak.j/militaer.data Facksprak.j/musikochdans.data Facksprak.j/naturvetenskap.data Facksprak.j/religion.data Facksprak.j/sport.data Facksprak.j/verb.sport.data Raekneord.j/raekneord.data Substantiv.j/are.data Substantiv.j/else.data Substantiv.j/het.data Substantiv.j/ing.data Substantiv.j/ism.data Substantiv.j/ist.data Substantiv.j/sammansaettningar.data Substantiv.j/substantiv.data Substantiv.j/tion.data | munchlist -l diverse/gtmp.aff -v > goranj.data
Collecting input. Word 'A-aktie' contains illegal characters Word 'A-aktien' contains illegal characters Word 'A-aktiens' contains illegal characters Word 'A-aktier' contains illegal characters Word 'A-aktierna' contains illegal characters Word 'A-aktiernas' contains illegal characters Word 'A-aktiers' contains illegal characters Word 'A-akties' contains illegal characters Word 'A-avdrag' contains illegal characters Word 'A-avdragen' contains illegal characters Word 'A-avdragens' contains illegal characters Word 'A-avdraget' contains illegal characters Word 'A-avdragets' contains illegal characters Word 'A-avdrags' contains illegal characters Word 'A-barn' contains illegal characters Word 'A-barnen' contains illegal characters Word 'A-barnens' contains illegal characters Word 'A-barnet' contains illegal characters Word 'A-barnets' contains illegal characters Word 'ABC-stridsmedel' contains illegal characters Word 'ABC-vapen' contains illegal characters Finding flag marker. Generating roots and affixes. Expanding dictionary into EXPANDEDPAIRS. Creating list of legal roots/flags. Creating list of flags that participate in cross-products. Eliminating non-optimal affixes. Generating output word list. touch Diverse.n/adverb.sync touch Diverse.n/fraemmande.sync touch Diverse.n/interjektioner.sync touch Diverse.n/konjunktioner.sync touch Diverse.n/nationaliteter.sync touch Diverse.n/prepositioner.sync touch Diverse.n/pronomen.sync touch Diverse.n/provinsiella.sync touch Diverse.n/suboptimala.sync touch Foerkortningar.N/foerkortningar.sync touch Namn.n/diverse.sync touch Namn.n/efternamn.sync touch Namn.n/flicknamn.sync touch Namn.n/geografi.sync touch Namn.n/laender.sync touch Namn.n/ortsnamn1.sync touch Namn.n/pojknamn.sync touch Namn.n/staeder.sync touch Verb.n/andra.sync touch Verb.n/deponens.sync touch Verb.n/foersta.sync touch Verb.n/konjunktiv.sync touch Verb.n/oregelbundna.sync touch Verb.n/tredje.synccat Diverse.n/adverb.data Diverse.n/fraemmande.data Diverse.n/interjektioner.data Diverse.n/konjunktioner.data Diverse.n/nationaliteter.data Diverse.n/prepositioner.data Diverse.n/pronomen.data Diverse.n/provinsiella.data Diverse.n/suboptimala.data Foerkortningar.N/foerkortningar.data Namn.n/diverse.data Namn.n/efternamn.data Namn.n/flicknamn.data Namn.n/geografi.data Namn.n/laender.data Namn.n/ortsnamn1.data Namn.n/pojknamn.data Namn.n/staeder.data Verb.n/andra.data Verb.n/deponens.data Verb.n/foersta.data Verb.n/konjunktiv.data Verb.n/oregelbundna.data Verb.n/tredje.data | munchlist -l diverse/gtmp.aff -v > gorann.data
Collecting input. Finding flag marker. Generating roots and affixes. Expanding dictionary into EXPANDEDPAIRS. Creating list of legal roots/flags. Creating list of flags that participate in cross-products. Eliminating non-optimal affixes. Generating output word list. < goranj.data sed 's/\/.*//' | sed 's/$/\/S/' > goranJ.data cat goran[jJ].data | LC_ALL=C sort -f | icombine svenska.aff > gorana.data cat gorana.data gorann.data | LC_ALL=C sort -f > svenska.datalista rm goran[aJ].data buildhash svenska.datalista svenska.aff svenska.hash Counting words in dictionary ...1000 2000 3000 4000 5000 6000 7000 8000 9000 10000 11000 12000 13000 14000 15000 16000 17000 18000 19000 20000 21000 22000 23000 24000 25000 26000 26013 words 0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000 11000 12000 13000 14000 15000 16000 17000 18000 19000 20000 21000 22000 23000 24000 25000 make[1]: Leaving directory '/<<PKGBUILDDIR>>'
/usr/bin/make svenska.ordlista make[1]: Entering directory '/<<PKGBUILDDIR>>' buildhash diverse/dummy.ord diverse/gtmp.aff diverse/gtmp.hash Counting words in dictionary ... 1 words 0 export LC_ALL=sv_SE ; \cat Adjektiv.j/adjektiv.data Diverse.n/adverb.data Diverse.n/alderdomliga.data.0 Diverse.n/fraemmande.data Diverse.n/interjektioner.data Diverse.n/konjunktioner.data Diverse.n/nationaliteter.data Diverse.n/prepositioner.data Diverse.n/pronomen.data Diverse.n/provinsiella.data Diverse.n/suboptimala.data Facksprak.j/data.data Facksprak.j/djurochnatur.data Facksprak.j/elektronik.data Facksprak.j/mat.data Facksprak.j/matematik1.data Facksprak.j/militaer.data Facksprak.j/musikochdans.data Facksprak.j/naturvetenskap.data Facksprak.j/religion.data Facksprak.j/sport.data Facksprak.j/verb.sport.data Namn.n/diverse.data Namn.n/efternamn.data Namn.n/flicknamn.data Namn.n/geografi.data Namn.n/laender.data Namn.n/ortsnamn1.data Namn.n/ortsnamn2.data.0 Namn.n/pojknamn.data Namn.n/staeder.data Raekneord.j/raekneord.data Substantiv.j/are.data Substantiv.j/else.data Substantiv.j/het.data Substantiv.j/ing.data Substantiv.j/ism.data Substantiv.j/ist.data Substantiv.j/sammansaettningar.data Substantiv.j/substantiv.data Substantiv.j/tion.data Verb.n/andra.data Verb.n/deponens.data Verb.n/foersta.data Verb.n/konjunktiv.data Verb.n/oregelbundna.data Verb.n/tredje.data | ispell -d diverse/gtmp -e | \
sed s/\ /$'\\\n'/g | grep -v zqx | \ perl -e 'use locale; print sort <>' | uniq > svenska.ordlista/bin/bash: line 1: warning: setlocale: LC_ALL: cannot change locale (sv_SE): No such file or directory
perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = "sv_SE", LC_CTYPE = (unset), LC_NUMERIC = (unset), LC_COLLATE = (unset), LC_TIME = (unset), LC_MESSAGES = (unset), LC_MONETARY = (unset), LC_ADDRESS = (unset), LC_IDENTIFICATION = (unset), LC_MEASUREMENT = (unset), LC_PAPER = (unset), LC_TELEPHONE = (unset), LC_NAME = (unset), LANG = "C.UTF-8" are supported and installed on your system. perl: warning: Falling back to a fallback locale ("C.UTF-8"). make[1]: Leaving directory '/<<PKGBUILDDIR>>' touch build-stamp dh_testdir dh_testroot dh_prep dh_installdirsdh_installdirs: warning: Compatibility levels before 10 are deprecated (level 9 in use)
/usr/bin/make install DESTDIR=/<<PKGBUILDDIR>>/debian/iswedish make[1]: Entering directory '/<<PKGBUILDDIR>>'install -o root -g root -m 0644 svenska.hash /<<PKGBUILDDIR>>/debian/iswedish/"/usr/lib/ispell"/svenska.hash install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/iswedish//usr/lib/ispell/svenska.hash': Operation not permitted
make[1]: *** [Makefile:80: install] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:34: install] Error 2dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
-------------------------------------------------------------------------------- Build finished at 2024-11-18T16:29:50Z ------------------------------------------------------------------------------- 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/1046879.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