Source: dsh
Version: 0.25.10-1.3
Severity: normal
Tags: patch

Hi,

When I build dsh with "dpkg-buildpackage -j8", target "build-stamp" is run before "configure-stamp" and fails. I think this can be fixed by let build-stamp depend on configure.
I attached log file and patch.

Trung

-- System Information:
Kernel: Linux 3.16.0-4-amd64 (SMP w/16 CPU cores)
Shell: /bin/sh linked to /bin/dash
--- dsh-0.25.10/debian/rules	2017-06-29 13:23:29.643696959 +0700
+++ dsh-0.25.10/debian/rules	2017-06-29 13:51:59.519678786 +0700
@@ -31,7 +31,7 @@
 	touch configure-stamp
 
 build: configure-stamp build-stamp
-build-stamp:
+build-stamp: configure
 	dh_testdir
 	$(MAKE)
 	$(MAKE) check
dpkg-buildpackage: info: source package dsh
dpkg-buildpackage: info: source version 0.25.10-1.3
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Ivo De Decker <iv...@debian.org>
 dpkg-source --before-build dsh-0.25.10
dpkg-buildpackage: info: host architecture amd64
 fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
/usr/bin/make clean
make[1]: Entering directory '/home/trungdt/cross-build/src/dsh-0.25.10'
Making clean in po
make[2]: Entering directory '/home/trungdt/cross-build/src/dsh-0.25.10/po'
rm -f remove-potcdate.sed
rm -f core core.* dsh.po dsh.1po dsh.2po *.new.po
rm -fr *.o
make[2]: Leaving directory '/home/trungdt/cross-build/src/dsh-0.25.10/po'
Making clean in m4
make[2]: Entering directory '/home/trungdt/cross-build/src/dsh-0.25.10/m4'
rm -rf .libs _libs
rm -f *.lo
make[2]: Leaving directory '/home/trungdt/cross-build/src/dsh-0.25.10/m4'
Making clean in .
make[2]: Entering directory '/home/trungdt/cross-build/src/dsh-0.25.10'
rm -rf .libs _libs
rm -f build-man/dsh.1 build-man/dsh.conf.5
rm -f *.o
rm -f *.lo
 rm -f dsh dsh
rmdir build-man
 rm -f dsh dsh
rm -r doc
rm: cannot remove 'doc': No such file or directory
Makefile:1050: recipe for target 'clean-local' failed
make[2]: [clean-local] Error 1 (ignored)
make[2]: Leaving directory '/home/trungdt/cross-build/src/dsh-0.25.10'
make[1]: Leaving directory '/home/trungdt/cross-build/src/dsh-0.25.10'
/usr/bin/make distclean
make[1]: Entering directory '/home/trungdt/cross-build/src/dsh-0.25.10'
Making distclean in po
make[2]: Entering directory '/home/trungdt/cross-build/src/dsh-0.25.10/po'
rm -f remove-potcdate.sed
rm -f core core.* dsh.po dsh.1po dsh.2po *.new.po
rm -fr *.o
rm -f Makefile Makefile.in POTFILES *.mo
make[2]: Leaving directory '/home/trungdt/cross-build/src/dsh-0.25.10/po'
Making distclean in m4
make[2]: Entering directory '/home/trungdt/cross-build/src/dsh-0.25.10/m4'
rm -rf .libs _libs
rm -f *.lo
test -z "" || rm -f 
rm -f libtool
rm -f Makefile
make[2]: Leaving directory '/home/trungdt/cross-build/src/dsh-0.25.10/m4'
Making distclean in .
make[2]: Entering directory '/home/trungdt/cross-build/src/dsh-0.25.10'
rm -rf .libs _libs
rm -f build-man/dsh.1 build-man/dsh.conf.5
rm -f *.o
rm -f *.lo
rm -f *.tab.c
test -z "" || rm -f 
rm -f config.h stamp-h1
 rm -f dsh dsh
rm -f libtool
 rm -f dsh dsh
rmdir build-man
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rmdir: failed to remove 'build-man': No such file or directory
Makefile:1050: recipe for target 'clean-local' failed
make[2]: [clean-local] Error 1 (ignored)
rm -r doc
rm: cannot remove 'doc': No such file or directory
Makefile:1050: recipe for target 'clean-local' failed
make[2]: [clean-local] Error 1 (ignored)
make[2]: Leaving directory '/home/trungdt/cross-build/src/dsh-0.25.10'
rm -f config.status config.cache config.log configure.lineno configure.status.lineno
rm -rf ./.deps
rm -f Makefile
make[1]: Leaving directory '/home/trungdt/cross-build/src/dsh-0.25.10'
dh_autotools-dev_restoreconfig
dh_clean
 dpkg-source -b dsh-0.25.10
dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1)
dpkg-source: info: using source format '1.0'
dpkg-source: info: building dsh using existing dsh_0.25.10.orig.tar.gz
dpkg-source: info: building dsh in dsh_0.25.10-1.3.diff.gz
dpkg-source: warning: file dsh-0.25.10/dcp.sh has no final newline (either original or modified version)
dpkg-source: warning: the diff modifies the following upstream files: 
 ChangeLog.OLD
 dcp.sh
 drshd.c
 dsh.1.ja.po
 dsh_parallel_failed.log
 po/insert-header.sin
dpkg-source: info: use the '3.0 (quilt)' format to have separate and documented changes to upstream files, see dpkg-source(1)
dpkg-source: info: building dsh in dsh_0.25.10-1.3.dsc
 debian/rules build
dh_testdir
dh_testdir
/usr/bin/make
make[1]: Entering directory '/home/trungdt/cross-build/src/dsh-0.25.10'
make[1]: *** No targets specified and no makefile found.  Stop.
make[1]: Leaving directory '/home/trungdt/cross-build/src/dsh-0.25.10'
debian/rules:35: recipe for target 'build-stamp' failed
make: *** [build-stamp] Error 2
make: *** Waiting for unfinished jobs....
dh_autotools-dev_updateconfig
INSTALL_PROGRAM='install -p    -o root -g root  -m  755 -s' CFLAGS='-Wall -g -O2' \
 ./configure --prefix=/usr --sysconfdir=/etc/dsh --mandir=/usr/share/man
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for strerror in -lcposix... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether make sets $(MAKE)... (cached) yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for an ANSI C-conforming const... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking whether NLS is requested... yes
checking for GNU gettext in libc... yes
checking for gettext... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for stdlib.h... (cached) yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking netgroup.h usability... no
checking netgroup.h presence... no
checking for netgroup.h... no
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for libdshconfig.h ... yes
checking for asprintf... yes
checking for strdup... yes
checking for getopt_long... yes
checking for getline... yes
checking for dup2... yes
checking for setlocale... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for setnetgrent... yes
checking for getnetgrent... yes
checking for endnetgrent... yes
checking for open_dshconfig in -ldshconfig... yes
checking netdb.h has setnetgrent that returns void... no
checking getopt with a GNU option reordering extention... yes, disabling
configure: creating ./config.status
config.status: creating po/Makefile.in
config.status: WARNING:  po/Makefile.in.in seems to ignore the --datarootdir setting
config.status: creating m4/Makefile
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
touch configure-stamp
dpkg-buildpackage: error: debian/rules build gave error exit status 2
-- 
This mail was scanned by BitDefender
For more information please visit http://www.bitdefender.com

Reply via email to