[Reproducible-builds] Bug#829550: ngetty: FTBFS: sig_action.h:16:7: error: '_NSIG_WORDS' undeclared (first use in this function)

Chris Lamb lamby at debian.org
Mon Jul 4 07:59:36 UTC 2016


Source: ngetty
Version: 1.1-3
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

ngetty fails to build from source in unstable/amd64:

  [..]

  
  **************************************************************************************
  ** Starting build                                                                   **
  **************************************************************************************
  
   Package:              ngetty
   Version:              1.1-3
   Build architecture:   amd64
   Date:                 Mon, 04 Jul 2016 08:32:16 +0200
   Hostname:             eae6b7eb52d2
   Uname:                Linux eae6b7eb52d2 4.6.0-1-amd64 #1 SMP Debian 4.6.2-2 (2016-06-25) x86_64 GNU/Linux
   /etc/timezone:        Africa/Johannesburg
  
  **************************************************************************************
  ** Installing build dependencies                                                    **
  **************************************************************************************
  
  dh_testdir
  dh_testroot
  dh_prep
  dh_testdir
  dh_testroot
  dh_install
  dh_installdocs
  dh_installchangelogs
  dh_compress
  dh_fixperms
  dh_installdeb
  dh_gencontrol
  dh_md5sums
  dh_builddeb
  dpkg-deb: building package 'ngetty-build-deps' in '../ngetty-build-deps_1.1-3_all.deb'.
  
  The package has been created.
  Attention, the package has been created in the current directory,
  not in ".." as indicated by the message above!
  Selecting previously unselected package ngetty-build-deps.
  (Reading database ... 23081 files and directories currently installed.)
  Preparing to unpack ngetty-build-deps_1.1-3_all.deb ...
  Unpacking ngetty-build-deps (1.1-3) ...
  Reading package lists...
  Building dependency tree...
  Reading state information...
  Correcting dependencies... Done
  The following additional packages will be installed:
    dietlibc-dev
  Suggested packages:
    dietlibc-doc
  The following NEW packages will be installed:
    dietlibc-dev
  0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  1 not fully installed or removed.
  Need to get 401 kB of archives.
  After this operation, 2859 kB of additional disk space will be used.
  Get:1 http://httpredir.debian.org/debian sid/main amd64 dietlibc-dev amd64 0.34~cvs20160606-1 [401 kB]
  Fetched 401 kB in 0s (549 kB/s)
  Selecting previously unselected package dietlibc-dev:amd64.
  (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 23085 files and directories currently installed.)
  Preparing to unpack .../dietlibc-dev_0.34~cvs20160606-1_amd64.deb ...
  Unpacking dietlibc-dev:amd64 (0.34~cvs20160606-1) ...
  Processing triggers for man-db (2.7.5-1) ...
  Setting up dietlibc-dev:amd64 (0.34~cvs20160606-1) ...
  update-alternatives: using /usr/lib/x86_64-linux-gnu/diet/lib-x86_64 to provide /usr/lib/diet/lib-x86_64 (dietlibc-libdir-x86_64) in auto mode
  update-alternatives: using /usr/lib/x86_64-linux-gnu/diet/bin/diet to provide /usr/bin/diet (diet) in auto mode
  Setting up ngetty-build-deps (1.1-3) ...
  
  **************************************************************************************
  ** Environment                                                                      **
  **************************************************************************************
  
  PATH=/home/lamby/git/projects/dotfiles/dotfiles/..//bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  HOSTNAME=eae6b7eb52d2
  TERM=xterm
  PAGER=more
  DISPLAY=:0
  DOCKER_IMAGE=lamby-debian-sid
  DEB_BUILD_OPTIONS=parallel=9
  PIP_DOWNLOAD_CACHE=/home/lamby/.cache/pip
  HOME=/home/lamby
  LOGNAME=lamby
  SHLVL=1
  PWD=/home/lamby/temp/cdt.20160704083214.WCvLSE9Tyn.ngetty/ngetty-1.1
  OLDPWD=/home/lamby/temp/cdt.20160704083214.WCvLSE9Tyn.ngetty
  GPG_TTY=/dev/console
  QUILT_PATCHES=debian/patches
  QUILT_NO_DIFF_INDEX=1
  QUILT_REFRESH_ARGS=-p ab --no-timestamps --no-index
  DEBEMAIL=lamby at debian.org
  DEBFULLNAME=Chris Lamb
  EDITOR=vim
  LESS=-cgiFx4M
  BLASTER=A220 I5 D1 H5 P330 T6
  _=/usr/bin/env
  
  **************************************************************************************
  ** Building ngetty 1.1-3 on amd64                                                   **
  **************************************************************************************
  
   dpkg-buildpackage -rfakeroot -D -us -uc -b
  dpkg-buildpackage: info: source package ngetty
  dpkg-buildpackage: info: source version 1.1-3
  dpkg-buildpackage: info: source distribution unstable
  dpkg-buildpackage: info: source changed by NIIBE Yutaka <gniibe at fsij.org>
   dpkg-source --before-build ngetty-1.1
  dpkg-buildpackage: info: host architecture amd64
   fakeroot debian/rules clean
  dh clean --with quilt
     dh_testdir
     dh_auto_clean
  	make -j1 distclean
  make[1]: Entering directory '/home/lamby/temp/cdt.20160704083214.WCvLSE9Tyn.ngetty/ngetty-1.1'
  make clean
  make[2]: Entering directory '/home/lamby/temp/cdt.20160704083214.WCvLSE9Tyn.ngetty/ngetty-1.1'
  rm -f ngetty ngetty.tiny ngetty.sortpfd ngetty-helper ngetty-helper.tiny ngetty-argv cleanutmp dumputmp nwho ngetty-helper.8 ngetty-argv.8 *.o *.a *.s *_defs.h *.hZ a.out tzmap_mmap.c \
   *.c.orig test-helper opts_make ngetty.x86_64 sstrip.* elf_print*
  rm -rf PACKAGE 
  make[2]: Leaving directory '/home/lamby/temp/cdt.20160704083214.WCvLSE9Tyn.ngetty/ngetty-1.1'
  rm -rf d dietlibc
  make[1]: Leaving directory '/home/lamby/temp/cdt.20160704083214.WCvLSE9Tyn.ngetty/ngetty-1.1'
     dh_quilt_unpatch
  Removing patch 01_no_gz_manual_install.diff
  Restoring Makefile
  
  No patches applied
     dh_clean
   debian/rules build
  dh build --with quilt
     dh_testdir
     dh_update_autotools_config
     dh_quilt_patch
  Applying patch 01_no_gz_manual_install.diff
  patching file Makefile
  
  Now at patch 01_no_gz_manual_install.diff
     dh_auto_configure
     debian/rules override_dh_auto_build
  make[1]: Entering directory '/home/lamby/temp/cdt.20160704083214.WCvLSE9Tyn.ngetty/ngetty-1.1'
  /usr/bin/make CC='diet -Os gcc -W'
  make[2]: Entering directory '/home/lamby/temp/cdt.20160704083214.WCvLSE9Tyn.ngetty/ngetty-1.1'
  gcc (Debian 5.4.0-6) 5.4.0 20160609
  Copyright (C) 2015 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.
  
  Linux eae6b7eb52d2 4.6.0-1-amd64 #1 SMP Debian 4.6.2-2 (2016-06-25) x86_64 GNU/Linux
  ARCH = x86_64
  CC = diet -Os gcc -W
  CFLAGS = -Wall -Os
  LDFLAGS = -s
  	CL ngetty.c	-> ngetty 
  	CL ngetty.c	-> ngetty.tiny 
  In file included from ngetty.c:37:0:
  ngetty.c: In function 'set_handler':
  sig_action.h:16:7: error: '_NSIG_WORDS' undeclared (first use in this function)
     if (_NSIG_WORDS>1) set->sig[1]=0; \
         ^
  ngetty.c:184:3: note: in expansion of macro 'sigemptyset'
     sigemptyset(mask);
     ^
  sig_action.h:16:7: note: each undeclared identifier is reported only once for each function it appears in
     if (_NSIG_WORDS>1) set->sig[1]=0; \
         ^
  ngetty.c:184:3: note: in expansion of macro 'sigemptyset'
     sigemptyset(mask);
     ^
  Makefile:128: recipe for target 'ngetty.tiny' failed
  make[2]: *** [ngetty.tiny] Error 1
  make[2]: Leaving directory '/home/lamby/temp/cdt.20160704083214.WCvLSE9Tyn.ngetty/ngetty-1.1'
  debian/rules:11: recipe for target 'override_dh_auto_build' failed
  make[1]: *** [override_dh_auto_build] Error 2
  make[1]: Leaving directory '/home/lamby/temp/cdt.20160704083214.WCvLSE9Tyn.ngetty/ngetty-1.1'
  debian/rules:8: recipe for target 'build' failed
  make: *** [build] Error 2

  [..]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ngetty.1.1-3.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 2533 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160704/aa1894de/attachment.obj>


More information about the Reproducible-builds mailing list