Hello Laszlo, try the attached patch as workaround until upstream manages to correctly handle the dependencies.
With that patch, po/ is compiled before anything else. It does not look good, but it should fix the problem. Regards Spiro Regards, Spiro. -- Spiro R. Trikaliotis http://www.trikaliotis.net/ * On Sun, Sep 28, 2014 at 01:39:39AM +0100 Steven Chamberlain wrote: > unarchive 725629 > reopen 725629 = > notfixed 725629 vice/2.4.dfsg+2.4.6-1 > retitle 725629 vice: sometimes FTBFS: error while opening > "src/arch/win32/res.rc.po.c" for reading: No such file or directory > retitle 756916 vice: sometimes FTBFS: error while opening > "src/arch/win32/res.rc.po.c" for reading: No such file or directory > forcemerge 756916 725629 > thanks > > Hi, > > This bug is the same as http://bugs.debian.org/725629, apparently > not really fixed. That was seen on s390, and this has happened > more recently on powerpc too: > https://buildd.debian.org/status/logs.php?pkg=vice&arch=powerpc > > I think it it is some kind of Makefile parallelism issue. Compare > successful case: > > https://buildd.debian.org/status/fetch.php?pkg=vice&arch=kfreebsd-amd64&ver=2.4.dfsg%2B2.4.6-2&stamp=1400020850 > | Making all in po > | make[2]: Entering directory '/«BUILDDIR»/vice-2.4.dfsg+2.4.6/po' > | gcc -I.. -I../intl -g -O3 -Wall -Wno-inline ./intl2po.c -o intl2po > | ( if test 'x.' != 'x.'; then \ > | posrcprefix='../'; \ > | else \ > | posrcprefix="../"; \ > | fi; \ > | rm -f POTFILES-t POTFILES \ > | && (sed -e '/^#/d' -e '/^[ ]*$/d' \ > | -e "s@.*@ $posrcprefix& \\\\@" < ./POTFILES.in \ > | | sed -e '$s/\\$//') > POTFILES-t \ > | && chmod a-w POTFILES-t \ > | && mv POTFILES-t POTFILES ) > | cd .. \ > | && CONFIG_FILES=po/Makefile.in CONFIG_HEADERS= \ > | /bin/sh ./config.status > | config.status: creating po/Makefile.in > | config.status: executing depfiles commands > | config.status: executing default-1 commands > | ./intl2po win32 ../src/arch/win32/res.rc ../src/arch/win32/res.rc.po.c .. .. > > with the failure case: > https://buildd.debian.org/status/fetch.php?pkg=vice&arch=kfreebsd-amd64&ver=2.4.dfsg%2B2.4.7-1&stamp=1406758769 > | Making all in po > | make[2]: Entering directory '/«BUILDDIR»/vice-2.4.dfsg+2.4.7/po' > | gcc -I.. -I../intl -g -O3 -Wall -Wno-inline ./intl2po.c -o intl2po > | ( if test 'x.' != 'x.'; then \ > | posrcprefix='../'; \ > | else \ > | posrcprefix="../"; \ > | fi; \ > | rm -f POTFILES-t POTFILES \ > | && (sed -e '/^#/d' -e '/^[ ]*$/d' \ > | -e "s@.*@ $posrcprefix& \\\\@" < ./POTFILES.in \ > | | sed -e '$s/\\$//') > POTFILES-t \ > | && chmod a-w POTFILES-t \ > | && mv POTFILES-t POTFILES ) > | PATH=../src:$PATH /usr/bin/xgettext --default-domain=vice --directory=.. > --directory=.. \ > | --add-comments --keyword=_ --keyword=N_ \ > | --files-from=./POTFILES.in \ > | -o ./vice.pot > | /usr/bin/xgettext: error while opening "src/arch/win32/res.rc.po.c" for > reading: No such file or directory > > so it seems intl2po must happen before xgettext? > > Regards, > -- > Steven Chamberlain > ste...@pyro.eu.org
vice-po-workaround.diff.gz
Description: Binary data