Hello, For now, I've just resorted to adding this python file into missing-sources and copying it to the required directory within rules. Kind regards, Shayan Doust On 23/06/2020 14:33, Shayan Doust wrote: > Hello, > > I have currently changed the code-base of libsonlib[1] to point to the > original (and higher-versioned) upstream repository. > > This "sonLib_daemonize.py" file is sort of baffling me, and I am not > sure why this file goes missing before the build starts. > > ... > dpkg-source: info: using source format '3.0 (quilt)' > dpkg-source: info: building libsonlib using existing > ./libsonlib_1.1+git20200429.1040ab0+dfsg.orig.tar.xz > dpkg-source: info: using patch list from debian/patches/series > dpkg-source: warning: ignoring deletion of file sonLib_daemonize.py, use > --include-removal to override > dpkg-source: info: building libsonlib in > libsonlib_1.1+git20200429.1040ab0+dfsg-1.debian.tar.xz > dpkg-source: info: building libsonlib in > libsonlib_1.1+git20200429.1040ab0+dfsg-1.dsc > debian/rules build > dh build --with python3 > dh_update_autotools_config > dh_autoreconf > dh_auto_configure > debian/rules override_dh_auto_build > make[1]: Entering directory '/libsonlib' > # Somehow Makefile does not deal with this ... > #mkdir -p bin > #cp -a src/sonLib/test/sonLib_daemonize.py . > dh_auto_build > make -j4 "INSTALL=install --strip-program=true" > make[2]: Entering directory '/libsonlib' > cd externalTools && make all > make[2]: *** No rule to make target 'sonLib_daemonize.py', needed by > 'bin/sonLib_daemonize.py'. Stop. > make[2]: *** Waiting for unfinished jobs.... > make[3]: Entering directory '/libsonlib/externalTools' > cd cutest && make all > make[4]: Entering directory '/libsonlib/externalTools/cutest' > gcc -std=c99 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 > -fdebug-prefix-map=/libsonlib=. -fstack-protector-strong -Wformat > -Werror=format-security -O3 -g -Wall --pedantic -funroll-loops -DNDEBUG > -c CuTest.c > ar rc cuTest.a *.o > ranlib cuTest.a > rm -f *.o > mv cuTest.a ../../lib/ > cp CuTest.h ../../lib/ > make[4]: Leaving directory '/libsonlib/externalTools/cutest' > make[3]: Leaving directory '/libsonlib/externalTools' > make[2]: Leaving directory '/libsonlib' > dh_auto_build: error: make -j4 "INSTALL=install --strip-program=true" > returned exit code 2 > make[1]: *** [debian/rules:17: override_dh_auto_build] Error 2 > make[1]: Leaving directory '/libsonlib' > make: *** [debian/rules:9: build] Error 2 > dpkg-buildpackage: error: debian/rules build subprocess returned exit > status 2 > ... > > Notice the "dpkg-source: warning: ignoring deletion of file > sonLib_daemonize.py, use --include-removal to override". This file is > also present in upstream branch. > > Any help is much appreciated. > > Kind regards, > Shayan Doust > > > [1]: https://salsa.debian.org/med-team/libsonlib >
Attachment:
0x6D7D441919D02395.asc
Description: application/pgp-keys
Attachment:
signature.asc
Description: OpenPGP digital signature