Source: debmake-doc
Version: 1.6-1
Severity: serious
Tags: stretch sid
User: [email protected]
Usertags: qa-ftbfs-20161202 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part (hopefully):
> make[3]: Entering directory '/<<PKGBUILDDIR>>/debhello-0.0-pkg1'
> mkdir -p /<<PKGBUILDDIR>>/debhello-0.0-pkg1/test
> echo /<<PKGBUILDDIR>>/debhello-0.0-pkg1 > 
> /<<PKGBUILDDIR>>/debhello-0.0-pkg1/next.dir
> echo debhello-0.0 > /<<PKGBUILDDIR>>/debhello-0.0-pkg1/project
> for i in  step000  step101  step102  step200  step201  step202  step203  
> step204  step299  step301  step302  step303  step400  step499  step500  
> step600  step700  step701  step702 ; do \
> cd $(cat /<<PKGBUILDDIR>>/debhello-0.0-pkg1/next.dir) >/dev/null ; \
> script -e -q -c /<<PKGBUILDDIR>>/debhello-0.0-pkg1/$i.cmd 
> /<<PKGBUILDDIR>>/debhello-0.0-pkg1/$i.log ; \
> ERR=$? ; \
> cat /<<PKGBUILDDIR>>/debhello-0.0-pkg1/$i.log | col -b -x | \
> grep -v -e '^Script started on' | \
> sed -r 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' | \
> sed -e 's#/<<PKGBUILDDIR>>/debhello-0.0-pkg1/test#/path/to#g' | \
> sed -e 
> 's/\(^.............................................................................\).*$/\1.../'
>  > /<<PKGBUILDDIR>>/debhello-0.0-pkg1/$i.slog ; \
> if [ x$ERR != x0 ]; then exit 1 ; fi ; \
> done
>  $ wget http://www.example.org/download/debhello-0.0.tar.gz
> 
>  ...
> 
>  $ tar -xzmf debhello-0.0.tar.gz
> 
>  $ tree
> 
> .
> 
> ├── debhello-0.0
> 
> │   ├── LICENSE
> 
> │   ├── Makefile
> 
> │   └── src
> 
> │       └── hello.c
> 
> └── debhello-0.0.tar.gz
> 
> 
> 
> 2 directories, 4 files
> 
>  $ cat debhello-0.0/src/hello.c
> 
> #include <stdio.h>
> 
> int
> 
> main()
> 
> {
> 
>         printf("Hello, world!\n");
> 
>         return 0;
> 
> }
> 
>  $ cat debhello-0.0/Makefile
> 
> prefix = /usr/local
> 
> 
> 
> all: src/hello
> 
> 
> 
> src/hello: src/hello.c
> 
>       @echo "CFLAGS=$(CFLAGS)" | \
> 
>               fold -s -w 70 | \
> 
>               sed -e 's/^/# /'
> 
>       $(CC) $(CPPFLAGS) $(CFLAGS) $(LDCFLAGS) -o $@ $^
> 
> 
> 
> install: src/hello
> 
>       install -D src/hello \
> 
>               $(DESTDIR)$(prefix)/bin/hello
> 
> 
> 
> clean:
> 
>       -rm -f src/hello
> 
> 
> 
> distclean: clean
> 
> 
> 
> uninstall:
> 
>       -rm -f $(DESTDIR)$(prefix)/bin/hello
> 
> 
> 
> .PHONY: all install clean distclean uninstall
> 
>  $ cd debhello-0.0
> 
>  $ debmake
> 
> I: set parameters
> 
> I: sanity check of parameters
> 
> I: pkg="debhello", ver="0.0", rev="1"
> 
> I: *** start packaging in "debhello-0.0". ***
> 
> I: provide debhello_0.0.orig.tar.gz for non-native Debian package
> 
> I: pwd = "/<<PKGBUILDDIR>>/debhello-0.0-pkg1/test"
> 
> I: $ ln -sf debhello-0.0.tar.gz debhello_0.0.orig.tar.gz
> 
> I: pwd = "/<<PKGBUILDDIR>>/debhello-0.0-pkg1/test/debhello-0.0"
> 
> I: parse binary package settings: 
> 
> I: binary package=debhello Type=bin / Arch=any M-A=foreign
> 
> I: analyze the source tree
> 
> I: build_type = make
> 
> I: scan source for copyright+license text and file extensions
> 
> I: 100 %, ext = c
> 
> I: check_all_licenses
> 
> I: ..
> 
> I: check_all_licenses completed for 2 files.
> 
> I: bunch_all_licenses
> 
> I: format_all_licenses
> 
> I: make debian/* template files
> 
> I: single binary package
> 
> I: debmake -x "1" ...
> 
> I: creating => debian/control
> 
> I: creating => debian/copyright
> 
> I: substituting => /usr/share/debmake/extra0/rules
> 
> I: creating => debian/rules
> 
> I: substituting => /usr/share/debmake/extra0/changelog
> 
> I: creating => debian/changelog
> 
> I: substituting => /usr/share/debmake/extra1/compat
> 
> I: creating => debian/compat
> 
> I: substituting => /usr/share/debmake/extra1/watch
> 
> I: creating => debian/watch
> 
> I: substituting => /usr/share/debmake/extra1/README.Debian
> 
> I: creating => debian/README.Debian
> 
> I: substituting => /usr/share/debmake/extra1source/local-options
> 
> I: creating => debian/source/local-options
> 
> I: substituting => /usr/share/debmake/extra1source/format
> 
> I: creating => debian/source/format
> 
> I: substituting => /usr/share/debmake/extra1patches/series
> 
> I: creating => debian/patches/series
> 
> I: run "debmake -x2" to get more template files
> 
> I: $ wrap-and-sort
> 
>  $ cd ..
> 
>  $ tree
> 
> .
> 
> ├── debhello-0.0
> 
> │   ├── LICENSE
> 
> │   ├── Makefile
> 
> │   ├── debian
> 
> │   │   ├── README.Debian
> 
> │   │   ├── changelog
> 
> │   │   ├── compat
> 
> │   │   ├── control
> 
> │   │   ├── copyright
> 
> │   │   ├── patches
> 
> │   │   │   └── series
> 
> │   │   ├── rules
> 
> │   │   ├── source
> 
> │   │   │   ├── format
> 
> │   │   │   └── local-options
> 
> │   │   └── watch
> 
> │   └── src
> 
> │       └── hello.c
> 
> ├── debhello-0.0.tar.gz
> 
> └── debhello_0.0.orig.tar.gz -> debhello-0.0.tar.gz
> 
> 
> 
> 5 directories, 15 files
> 
>  $ cat debhello-0.0/debian/rules
> 
> #!/usr/bin/make -f
> 
> # You must remove unused comment lines for the released package.
> 
> #export DH_VERBOSE = 1
> 
> #export DEB_BUILD_MAINT_OPTIONS = hardening=+all
> 
> #export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
> 
> #export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
> 
> 
> 
> %:
> 
>       dh $@  
> 
> 
> 
> #override_dh_auto_install:
> 
> #     dh_auto_install -- prefix=/usr
> 
> 
> 
> #override_dh_install:
> 
> #     dh_install --list-missing -X.pyc -X.pyo
> 
>  $ cat debhello-0.0/debian/control
> 
> Source: debhello
> 
> Section: unknown
> 
> Priority: extra
> 
> Maintainer: "Firstname Lastname" <[email protected]>
> 
> Build-Depends: debhelper (>=9)
> 
> Standards-Version: 3.9.7
> 
> Homepage: <insert the upstream URL, if relevant>
> 
> 
> 
> Package: debhello
> 
> Architecture: any
> 
> Multi-Arch: foreign
> 
> Depends: ${misc:Depends}, ${shlibs:Depends}
> 
> Description: auto-generated package by debmake
> 
>  This Debian binary package was auto-generated by the
> 
>  debmake(1) command provided by the debmake package.
> 
>  $ cat debhello-0.0/debian/copyright
> 
> Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
> 
> Upstream-Name: debhello
> 
> Source: <url://example.com>
> 
> #
> 
> # Please double check copyright with the licensecheck(1) command.
> 
> 
> 
> Files:     Makefile
> 
>            src/hello.c
> 
> Copyright: __NO_COPYRIGHT_NOR_LICENSE__
> 
> License:   __NO_COPYRIGHT_NOR_LICENSE__
> 
> 
> 
> #----------------------------------------------------------------------------
> 
> # Files marked as NO_LICENSE_TEXT_FOUND may be covered by the following
> 
> # license/copyright files.
> 
> 
> 
> #----------------------------------------------------------------------------
> 
> # License file: LICENSE
> 
>  License:
> 
>  .
> 
>  All files in this archive are licensed under the MIT License as below.
> 
>  .
> 
>  Copyright 2015 Osamu Aoki <[email protected]>
> 
>  .
> 
>  Permission is hereby granted, free of charge, to any person obtaining a
> 
>  copy of this software and associated documentation files (the "Software"),
> 
>  to deal in the Software without restriction, including without limitation
> 
>  the rights to use, copy, modify, merge, publish, distribute, sublicense,
> 
>  and/or sell copies of the Software, and to permit persons to whom the
> 
>  Software is furnished to do so, subject to the following conditions:
> 
>  .
> 
>  The above copyright notice and this permission notice shall be included
> 
>  in all copies or substantial portions of the Software.
> 
>  .
> 
>  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
> 
>  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
> 
>  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
> 
>  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
> 
>  CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
> 
>  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
> 
>  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
> 
>  $ cd ..
> 
>  $ cp -a /<<PKGBUILDDIR>>/debhello-0.0-pkg1/test debmake
> 
>  $ cd /<<PKGBUILDDIR>>/debhello-0.0-pkg1/test
> 
>  $ vim debhello-0.0/debian/rules
> 
>  ... hack, hack, hack, ...
> 
>  $ cat debhello-0.0/debian/rules
> 
> #!/usr/bin/make -f
> 
> export DH_VERBOSE = 1
> 
> export DEB_BUILD_MAINT_OPTIONS = hardening=+all
> 
> export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
> 
> export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
> 
> 
> 
> %:
> 
>       dh $@
> 
> 
> 
> override_dh_auto_install:
> 
>       dh_auto_install -- prefix=/usr
> 
>  $ vim debhello-0.0/debian/control
> 
>  ... hack, hack, hack, ...
> 
>  $ cat debhello-0.0/debian/control
> 
> Source: debhello
> 
> Section: devel
> 
> Priority: extra
> 
> Maintainer: Osamu Aoki <[email protected]>
> 
> Build-Depends: debhelper (>=9)
> 
> Standards-Version: 3.9.6
> 
> Homepage: http://anonscm.debian.org/cgit/collab-maint/debmake-doc.git/
> 
> 
> 
> Package: debhello
> 
> Architecture: any
> 
> Multi-Arch: foreign
> 
> Depends: ${misc:Depends}, ${shlibs:Depends}
> 
> Description: example package in the debmake-doc package
> 
>  This is an example package to demonstrate the Debian packaging using
> 
>  the debmake command.
> 
>  .
> 
>  The generated Debian package uses the dh command offered by the
> 
>  debhelper package and the dpkg source format `3.0 (quilt)'.
> 
>  $ vim debhello-0.0/debian/copyright
> 
>  ... hack, hack, hack, ...
> 
>  $ cat debhello-0.0/debian/copyright
> 
> Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
> 
> Upstream-Name: debhello
> 
> Source: http://anonscm.debian.org/cgit/collab-maint/debmake-doc.git/tree/base
> 
> 
> 
> Files:     *
> 
> Copyright: 2015 Osamu Aoki <[email protected]>
> 
> License:   MIT
> 
>  Permission is hereby granted, free of charge, to any person obtaining a
> 
>  copy of this software and associated documentation files (the "Software"),
> 
>  to deal in the Software without restriction, including without limitation
> 
>  the rights to use, copy, modify, merge, publish, distribute, sublicense,
> 
>  and/or sell copies of the Software, and to permit persons to whom the
> 
>  Software is furnished to do so, subject to the following conditions:
> 
>  .
> 
>  The above copyright notice and this permission notice shall be included
> 
>  in all copies or substantial portions of the Software.
> 
>  .
> 
>  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
> 
>  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
> 
>  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
> 
>  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
> 
>  CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
> 
>  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
> 
>  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
> 
>  $ tree debhello-0.0/debian
> 
> debhello-0.0/debian
> 
> ├── README.Debian
> 
> ├── changelog
> 
> ├── compat
> 
> ├── control
> 
> ├── copyright
> 
> ├── patches
> 
> │   └── series
> 
> ├── rules
> 
> ├── source
> 
> │   ├── format
> 
> │   └── local-options
> 
> └── watch
> 
> 
> 
> 2 directories, 10 files
> 
>  $ cd ..
> 
>  $ cp -a /<<PKGBUILDDIR>>/debhello-0.0-pkg1/test package
> 
>  $ cd /<<PKGBUILDDIR>>/debhello-0.0-pkg1/test
> 
>  $ cd debhello-0.0
> 
>  $ debuild
> 
>  dpkg-buildpackage -rfakeroot -us -uc --hook-check=cd ..;  -i 
> --check-command=lintian
> 
> dpkg-buildpackage: error: check-commmand 'lintian' not found
> 
> debuild: fatal error at line 1100:
> 
> dpkg-buildpackage -rfakeroot -us -uc --hook-check=cd ..;  -i 
> --check-command=lintian failed
> 
> Makefile:24: recipe for target 'all' failed
> make[3]: *** [all] Error 1

The full build log is available from:
   http://aws-logs.debian.net/2016/12/02/debmake-doc_1.6-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.

Reply via email to