[pkg-cryptsetup-devel] Bug#839352: cryptsetup: FTBFS: Option release requires an argument

Lucas Nussbaum lucas at debian.org
Sat Oct 1 08:55:36 UTC 2016


Source: cryptsetup
Version: 2:1.7.0-2
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20160930 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):
>  debian/rules build
> dh_testdir
> find -xtype f ! -name manifest >manifest
> autoreconf --force --install
> Copying file m4/codeset.m4
> Copying file m4/glibc2.m4
> Copying file m4/glibc21.m4
> Copying file m4/intdiv0.m4
> Copying file m4/intmax.m4
> Copying file m4/inttypes-h.m4
> Copying file m4/inttypes-pri.m4
> Copying file m4/inttypes_h.m4
> Copying file m4/lcmessage.m4
> Copying file m4/lock.m4
> Copying file m4/longdouble.m4
> Copying file m4/longlong.m4
> Copying file m4/printf-posix.m4
> Copying file m4/signed.m4
> Copying file m4/size_max.m4
> Copying file m4/stdint_h.m4
> Copying file m4/uintmax_t.m4
> Copying file m4/ulonglong.m4
> Copying file m4/visibility.m4
> Copying file m4/wchar_t.m4
> Copying file m4/wint_t.m4
> Copying file m4/xsize.m4
> Copying file po/Makevars.template
> libtoolize: putting auxiliary files in '.'.
> libtoolize: copying file './ltmain.sh'
> libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
> libtoolize: copying file 'm4/libtool.m4'
> libtoolize: copying file 'm4/ltoptions.m4'
> libtoolize: copying file 'm4/ltsugar.m4'
> libtoolize: copying file 'm4/ltversion.m4'
> libtoolize: copying file 'm4/lt~obsolete.m4'
> configure.ac:67: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and its use is discouraged.
> configure.ac:67: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead,
> configure.ac:67: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.
> configure.ac:27: installing './compile'
> configure.ac:19: installing './missing'
> lib/Makefile.am: installing './depcomp'
> src/Makefile.am:12: warning: source file '$(top_builddir)/lib/utils_crypt.c' is in a subdirectory,
> src/Makefile.am:12: but option 'subdir-objects' is disabled
> automake: warning: possible forward-incompatibility.
> automake: At least a source file is in a subdirectory, but the 'subdir-objects'
> automake: automake option hasn't been enabled.  For now, the corresponding output
> automake: object file(s) will be placed in the top-level directory.  However,
> automake: this behaviour will change in future Automake versions: they will
> automake: unconditionally cause object files to be placed in the same subdirectory
> automake: of the corresponding sources.
> automake: You are advised to start using 'subdir-objects' option throughout your
> automake: project, to avoid future incompatibilities.
> src/Makefile.am:12: warning: source file '$(top_builddir)/lib/utils_loop.c' is in a subdirectory,
> src/Makefile.am:12: but option 'subdir-objects' is disabled
> src/Makefile.am:74: warning: source file '$(top_builddir)/lib/utils_crypt.c' is in a subdirectory,
> src/Makefile.am:74: but option 'subdir-objects' is disabled
> src/Makefile.am:45: warning: source file '$(top_builddir)/lib/utils_crypt.c' is in a subdirectory,
> src/Makefile.am:45: but option 'subdir-objects' is disabled
> src/Makefile.am:45: warning: source file '$(top_builddir)/lib/utils_loop.c' is in a subdirectory,
> src/Makefile.am:45: but option 'subdir-objects' is disabled
> tests/Makefile.am:44: warning: source file '$(top_srcdir)/lib/utils_loop.c' is in a subdirectory,
> tests/Makefile.am:44: but option 'subdir-objects' is disabled
> ./configure --build x86_64-linux-gnu  \
> 	--prefix=/usr \
> 	--libdir=/lib \
> 	--sbindir=/sbin \
> 	--mandir=/usr/share/man \
> 	--enable-shared \
> 	--enable-cryptsetup-reencrypt
> checking whether make supports nested variables... yes
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... no
> checking for mawk... mawk
> checking whether make sets $(MAKE)... yes
> checking build system type... x86_64-pc-linux-gnu
> checking host system type... x86_64-pc-linux-gnu
> checking for style of include used by make... GNU
> checking for gcc... gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables... 
> checking whether we are cross compiling... no
> 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 whether gcc understands -c and -o together... yes
> checking dependency style of gcc... gcc3
> 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/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 minix/config.h usability... no
> checking minix/config.h presence... no
> checking for minix/config.h... no
> checking whether it is safe to define __EXTENSIONS__... yes
> 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 whether gcc understands -c and -o together... (cached) yes
> checking dependency style of gcc... (cached) gcc3
> checking how to run the C preprocessor... gcc -E
> checking whether make sets $(MAKE)... (cached) yes
> checking how to print strings... printf
> checking for a sed that does not truncate output... /bin/sed
> checking for fgrep... /bin/grep -F
> checking for ld used by gcc... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
> checking the name lister (/usr/bin/nm -B) interface... BSD nm
> checking whether ln -s works... yes
> checking the maximum length of command line arguments... 1572864
> checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
> checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
> checking for /usr/bin/ld option to reload object files... -r
> checking for objdump... objdump
> checking how to recognize dependent libraries... pass_all
> checking for dlltool... no
> checking how to associate runtime and link libraries... printf %s\n
> checking for ar... ar
> checking for archiver @FILE support... @
> checking for strip... strip
> checking for ranlib... ranlib
> checking command to parse /usr/bin/nm -B output from gcc object... ok
> checking for sysroot... no
> checking for a working dd... /bin/dd
> checking how to truncate binary pipes... /bin/dd bs=4096 count=1
> checking for mt... no
> checking if : is a manifest tool... no
> checking for dlfcn.h... yes
> checking for objdir... .libs
> checking if gcc supports -fno-rtti -fno-exceptions... no
> checking for gcc option to produce PIC... -fPIC -DPIC
> checking if gcc PIC flag -fPIC -DPIC works... yes
> checking if gcc static flag -static works... yes
> checking if gcc supports -c -o file.o... yes
> checking if gcc supports -c -o file.o... (cached) 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... no
> checking for pkg-config... /usr/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> checking for dirent.h that defines DIR... yes
> checking for library containing opendir... none required
> checking for ANSI C header files... (cached) yes
> checking fcntl.h usability... yes
> checking fcntl.h presence... yes
> checking for fcntl.h... yes
> checking malloc.h usability... yes
> checking malloc.h presence... yes
> checking for malloc.h... yes
> checking for inttypes.h... (cached) yes
> checking sys/ioctl.h usability... yes
> checking sys/ioctl.h presence... yes
> checking for sys/ioctl.h... yes
> checking sys/mman.h usability... yes
> checking sys/mman.h presence... yes
> checking for sys/mman.h... yes
> checking ctype.h usability... yes
> checking ctype.h presence... yes
> checking for ctype.h... yes
> checking for unistd.h... (cached) yes
> checking locale.h usability... yes
> checking locale.h presence... yes
> checking for locale.h... yes
> checking byteswap.h usability... yes
> checking byteswap.h presence... yes
> checking for byteswap.h... yes
> checking endian.h usability... yes
> checking endian.h presence... yes
> checking for endian.h... yes
> checking uuid/uuid.h usability... yes
> checking uuid/uuid.h presence... yes
> checking for uuid/uuid.h... yes
> checking libdevmapper.h usability... yes
> checking libdevmapper.h presence... yes
> checking for libdevmapper.h... yes
> checking for uuid_clear in -luuid... yes
> checking for library containing clock_gettime... none required
> checking for posix_memalign... yes
> checking for clock_gettime... yes
> checking for an ANSI C-conforming const... yes
> checking whether byte ordering is bigendian... no
> checking for off_t... yes
> checking for special C compiler options needed for large files... no
> checking for _FILE_OFFSET_BITS value needed for large files... no
> checking for _LARGEFILE_SOURCE value needed for large files... no
> checking whether gcc needs -traditional... no
> checking whether strerror_r is declared... yes
> checking for strerror_r... yes
> checking whether strerror_r returns char *... yes
> checking whether NLS is requested... 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 for CFPreferencesCopyAppValue... no
> checking for CFLocaleCopyCurrent... no
> checking for GNU gettext in libc... yes
> checking whether to use NLS... yes
> checking where the gettext function comes from... libc
> checking for poptConfigFileToString in -lpopt... yes
> checking for DEVMAPPER... yes
> checking whether dm_task_secure_data is declared... yes
> checking whether dm_task_retry_remove is declared... yes
> checking whether DM_UDEV_DISABLE_DISK_RULES_FLAG is declared... yes
> checking linux/if_alg.h usability... yes
> checking linux/if_alg.h presence... yes
> checking for linux/if_alg.h... yes
> checking for libgcrypt-config... /usr/bin/libgcrypt-config
> checking for LIBGCRYPT - version >= 1.6.1... yes (1.7.3-beta)
> checking for libgcrypt-config... (cached) /usr/bin/libgcrypt-config
> checking for LIBGCRYPT - version >= 1.1.42... yes (1.7.3-beta)
> checking if internal cryptsetup PBKDF2 is compiled-in... no
> checking that generated files are newer than configure... done
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating lib/Makefile
> config.status: creating lib/libcryptsetup.pc
> config.status: creating lib/crypto_backend/Makefile
> config.status: creating lib/luks1/Makefile
> config.status: creating lib/loopaes/Makefile
> config.status: creating lib/verity/Makefile
> config.status: creating lib/tcrypt/Makefile
> config.status: creating src/Makefile
> config.status: creating po/Makefile.in
> config.status: creating man/Makefile
> config.status: creating tests/Makefile
> config.status: creating python/Makefile
> config.status: creating config.h
> config.status: executing depfiles commands
> config.status: executing libtool commands
> config.status: executing po-directories commands
> config.status: creating po/POTFILES
> config.status: creating po/Makefile
> find -xtype f >manifest.new
> diff manifest manifest.new | grep '>' | cut -b3- >config.mess
> touch configure-stamp
> touch build-stamp
> dh_testdir
> # generate manpages
> sed 's/VERSION/2:1.7.0-2/;s/DATE/2016-01-10/' \
> 	debian/doc/variables.xml.in >debian/doc/variables.xml
> xsltproc --nonet --xinclude -o debian/doc/ \
> 	/usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl \
> 	debian/doc/manpages.xml
> Note: Writing cryptdisks_start.8
> Note: Writing cryptdisks_stop.8
> Note: Writing crypttab.5
> pod2man --section=8 --center="Administrative commands" --release="" debian/scripts/luksformat \
> 	debian/luksformat.8
> Option release requires an argument
> debian/rules:60: recipe for target 'build-indep' failed
> make: *** [build-indep] Error 1

If the failure looks somehow time/timezone related:
Note that this rebuild was performed without the 'tzdata' package
installed in the chroot. tzdata used be (transitively) part of
build-essential, but it no longer is. If this package requires it to
build, it should be added to build-depends. For the release team's
opinion on this, see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836940#185

The full build log is available from:
   http://aws-logs.debian.net/2016/09/30/cryptsetup_1.7.0-2_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.



More information about the pkg-cryptsetup-devel mailing list