[EMAIL PROTECTED] wrote: > Package: heroes > Version: 0.21-6 > Severity: serious > > Hi,
Hi > building the package heroes in a clean sid build environment > (with pbuilder) on i386 results in: > > ========================================================================= > [...] > make[1]: *** No rule to make target `distclean'. Stop. > make[1]: Leaving directory `/tmp/buildd/heroes-0.21' > make: [clean] Error 2 (ignored) > # These files are changed by the build process but included > # in the upstream source. Remove them so they don't confuse diff. > rm -f po/*.gmo > # These are generated but not removed by "make distclean": > rm -f man/heroes.6 man/heroeslvl.6 > dh_clean > dpkg-source -b heroes-0.21 > dpkg-source: warning: no utmp entry available and LOGNAME not defined; using > uid of process (65534) > dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not > defined; using uid of process (65534) > debian: warning: no utmp entry available and LOGNAME not defined; using uid > of process (65534) > dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; > using uid of process (65534) > dpkg-source: building heroes using existing heroes_0.21.orig.tar.gz > dpkg-source: building heroes in heroes_0.21-6.diff.gz > dpkg-source: cannot represent change to doc/heroes.info: binary file contents > changed Here is the problem... > dpkg-source: warning: file debian/heroes-ggi.prerm has no final newline > (either original or modified version) > dpkg-source: warning: file debian/heroes-sdl.postinst has no final newline > (either original or modified version) > dpkg-source: warning: file debian/heroes-sdl.prerm has no final newline > (either original or modified version) > dpkg-source: warning: file debian/heroes-ggi.postinst has no final newline > (either original or modified version) > dpkg-source: warning: ignoring deletion of file po/pt_BR.gmo > dpkg-source: warning: ignoring deletion of file po/de.gmo > dpkg-source: warning: ignoring deletion of file po/fr.gmo > dpkg-source: warning: ignoring deletion of file po/it.gmo > dpkg-source: warning: ignoring deletion of file po/nl.gmo > dpkg-source: warning: ignoring deletion of file man/heroes.6 > dpkg-source: warning: ignoring deletion of file man/heroeslvl.6 > dpkg-source: building heroes in heroes_0.21-6.dsc > dpkg-source: unrepresentable changes to source > ========================================================================= > > As documented above, the *.gmo files are removed because they were changed by > the build process. Unfortunately, this leads to the problem now reported by > dpkg-source. No, that's not true... > A possible fix is having a backup of the orig.tar.gz shipped gmo files and > copying them back in "clean". Yes, an ugly fix, but for a broken design > (gettext generated gmo files) anyway. Repackaging the orig.tar.gz doesn't > seem to be reasonable here. This won't fix the problem and is not needed. The gettext generated gmo files are no broken design unless you think that binaries and libaries should also just be executed from source code! They shouldn't be in the upstream tarball though! I think the info file should be deleted in the clean target to solve the FTBFS. Cheers Luk -- Luk Claes - http://people.debian.org/~luk - GPG key 1024D/9B7C328D Fingerprint: D5AF 25FB 316B 53BB 08E7 F999 E544 DE07 9B7C 328D
signature.asc
Description: OpenPGP digital signature