Bug#952269: nsis: FTBFS: dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 2

2020-02-24 Thread Didier 'OdyX' Raboud
Le dimanche, 23 février 2020, 14.24:13 h CET Lucas Nussbaum a écrit :
> Source: nsis
> Version: 3.05-1
> Severity: serious
> Justification: FTBFS on amd64
> (…)
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
> 
> Relevant part (hopefully):
> > make[1]: Entering directory '/<>'
> > scons -c  VERSION=3.05-1 VER_MAJOR=3 VER_MINOR=05 VER_REVISION=1
> > PREFIX=/usr PREFIX_CONF=/etc CHMDOCS=0 STRIP_CP=no  UNICODE=yes
> > SKIPUTILS=zip2exe 2>&1 scons: Reading SConscript files ...
> > Mkdir("build/urelease/config")
> > Delete("nsis-3.05-1")
> > Delete(".instdist")
> > Delete(".test")
> > Using GNU tools configuration
> > Checking for linker flag $MAP_FLAG... yes
> > Checking for linker flag $MAP_FLAG... yes
> > Checking for memcpy requirement... no
> > Checking for memset requirement... no
> > Checking for linker flag -pthread... yes
> > Checking for __BIG_ENDIAN__... no
> > i686-w64-mingw32-gcc --version
> > i686-w64-mingw32-gcc (GCC) 8.3-win32 20191201
> > Copyright (C) 2018 Free Software Foundation, Inc.
> > This is free software; see the source for copying conditions.  There is NO
> > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> > PURPOSE.
> > 
> > g++ --version
> > g++ (Debian 9.2.1-29) 9.2.1 20200220
> > Copyright (C) 2019 Free Software Foundation, Inc.
> > This is free software; see the source for copying conditions.  There is NO
> > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> > PURPOSE.
> > 
> > Checking for C library gdi32... no
> > Checking for C library user32... no
> > Checking for C library pthread... yes
> > Checking for C library iconv... no
> > Checking for C library shlwapi... no
> > Checking for C library oleaut32... no
> > Checking for C library dl... yes
> > Checking for C library gdi32... no
> > Checking for C library iconv... no
> > Checking for C library pthread... yes
> > Checking for C library user32... no
> > Checking for C library oleaut32... no
> > Checking for C++ library cppunit... yes
> > scons: done reading SConscript files.
> > scons: Cleaning targets ...
> > scons: done cleaning targets.
> > Removing autogenerated file .sconsign.dblite
> > Removing autogenerated directory .sconf_temp
> > rm -rf .sconf_temp .sconsign.dblite SCons/Tools/crossmingw.pyc build
> > config.log .test /<>/build/test rm -f Source/exehead/sconf.h
> > Source/version.h Source/defines.h config.log make[1]: Leaving directory
> > '/<>'
> > 
> >dh_clean
> >  
> >  dpkg-source -b .
> > 
> > dpkg-source: info: using source format '3.0 (quilt)'
> > dpkg-source: info: building nsis using existing ./nsis_3.05.orig.tar.gz
> > dpkg-source: info: using patch list from debian/patches/series
> > dpkg-source: error: cannot represent change to
> > SCons/Tools/__pycache__/crossmingw.cpython-37.pyc: binary file contents
> > changed dpkg-source: error: add
> > SCons/Tools/__pycache__/crossmingw.cpython-37.pyc in
> > debian/source/include-binaries if you want to store the modified binary
> > in the debian tarball dpkg-source: error: unrepresentable changes to
> > source
> > dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status
> > 2


Even after fixing this bug (pushed to the repo), I still can't manage to build 
NSIS:

scons: done reading SConscript files.
scons: Building targets ...
scons: *** Do not know how to make File target `install-utils' (/
<>/install-utils).  Stop.
scons: building terminated because of errors.
make[1]: *** [debian/rules:194: override_dh_auto_test-indep] Error 2

@Thomas: any idea?

OdyX

signature.asc
Description: This is a digitally signed message part.


Bug#952269: nsis: FTBFS: dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 2

2020-02-23 Thread Lucas Nussbaum
Source: nsis
Version: 3.05-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200222 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> make[1]: Entering directory '/<>'
> scons -c  VERSION=3.05-1 VER_MAJOR=3 VER_MINOR=05 VER_REVISION=1 PREFIX=/usr 
> PREFIX_CONF=/etc CHMDOCS=0 STRIP_CP=no  UNICODE=yes SKIPUTILS=zip2exe 2>&1
> scons: Reading SConscript files ...
> Mkdir("build/urelease/config")
> Delete("nsis-3.05-1")
> Delete(".instdist")
> Delete(".test")
> Using GNU tools configuration
> Checking for linker flag $MAP_FLAG... yes
> Checking for linker flag $MAP_FLAG... yes
> Checking for memcpy requirement... no
> Checking for memset requirement... no
> Checking for linker flag -pthread... yes
> Checking for __BIG_ENDIAN__... no
> i686-w64-mingw32-gcc --version
> i686-w64-mingw32-gcc (GCC) 8.3-win32 20191201
> Copyright (C) 2018 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> g++ --version
> g++ (Debian 9.2.1-29) 9.2.1 20200220
> Copyright (C) 2019 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> Checking for C library gdi32... no
> Checking for C library user32... no
> Checking for C library pthread... yes
> Checking for C library iconv... no
> Checking for C library shlwapi... no
> Checking for C library oleaut32... no
> Checking for C library dl... yes
> Checking for C library gdi32... no
> Checking for C library iconv... no
> Checking for C library pthread... yes
> Checking for C library user32... no
> Checking for C library oleaut32... no
> Checking for C++ library cppunit... yes
> scons: done reading SConscript files.
> scons: Cleaning targets ...
> scons: done cleaning targets.
> Removing autogenerated file .sconsign.dblite
> Removing autogenerated directory .sconf_temp
> rm -rf .sconf_temp .sconsign.dblite SCons/Tools/crossmingw.pyc build 
> config.log .test /<>/build/test
> rm -f Source/exehead/sconf.h Source/version.h Source/defines.h config.log
> make[1]: Leaving directory '/<>'
>dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building nsis using existing ./nsis_3.05.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: error: cannot represent change to 
> SCons/Tools/__pycache__/crossmingw.cpython-37.pyc: binary file contents 
> changed
> dpkg-source: error: add SCons/Tools/__pycache__/crossmingw.cpython-37.pyc in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: unrepresentable changes to source
> dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 2
> 
> Build finished at 2020-02-23T02:33:36Z

The full build log is available from:
   http://qa-logs.debian.net/2020/02/22/nsis_3.05-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.