[pkg-cryptsetup-devel] Bug#583471: cryptsetup: FTBFS: configure: error: Your system requires SElinux libraries for static compilation.

Lucas Nussbaum lucas at lucas-nussbaum.net
Thu May 27 17:18:37 UTC 2010


Source: cryptsetup
Version: 2:1.1.0-2.1
Severity: serious
Tags: squeeze sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20100527 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part:
>  /usr/bin/fakeroot debian/rules clean
> QUILT_PATCHES=debian/patches \
> 		quilt --quiltrc /dev/null pop -a -R || test $? = 2
> No patch removed
> rm -rf .pc debian/stamp-patched
> dh_testdir
> dh_testroot
> if test -f Makefile; then /usr/bin/make clean; fi
> if test -f config.mess; then rm -f `cat config.mess`; fi
> rm -f debian/luksformat.8
> rm -f debian/doc/*.[0-9] debian/doc/variables.xml
> rm -f debian/scripts/passdev
> rm -f debian/askpass
> rm -f config.mess
> rm -rf autom4te.cache 
> rm -f src/cryptsetup.static
> dh_clean configure-stamp build-stamp install-stamp
>  dpkg-source -b cryptsetup-1.1.0
> 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 cryptsetup using existing cryptsetup_1.1.0.orig.tar.gz
> dpkg-source: info: building cryptsetup in cryptsetup_1.1.0-2.1.diff.gz
> dpkg-source: warning: the diff modifies the following upstream files: 
>  INSTALL
>  Makefile.in
>  aclocal.m4
>  compile
>  config.guess
>  config.sub
>  lib/Makefile.in
>  luks/Makefile.in
>  man/Makefile.in
>  src/Makefile.in
>  tests/Makefile.in
> 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 cryptsetup in cryptsetup_1.1.0-2.1.dsc
>  debian/rules build
> QUILT_PATCHES=debian/patches \
> 		quilt --quiltrc /dev/null push -a || test $? = 2
> Applying patch 02_manpage.patch
> patching file man/cryptsetup.8
> 
> Applying patch 03_luksAddKey.patch
> patching file ChangeLog
> patching file lib/setup.c
> 
> Applying patch 04_crypto_init.patch
> patching file ChangeLog
> patching file lib/setup.c
> patching file lib/gcrypt.c
> 
> Now at patch 04_crypto_init.patch
> touch debian/stamp-patched
> 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_DIR, `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'
> CFLAGS="-Wall -g -O2" ./configure --build x86_64-linux-gnu \
> 		--prefix=/usr \
> 		--sbindir=/sbin \
> 		--mandir=/usr/share/man \
> 		--enable-shared \
> 		--enable-static
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> 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 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 dependency style of gcc... (cached) gcc3
> checking whether gcc and cc understand -c and -o together... yes
> checking how to run the C preprocessor... gcc -E
> checking whether make sets $(MAKE)... (cached) yes
> 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... 3458764513820540925
> checking whether the shell understands some XSI constructs... yes
> checking whether the shell understands "+="... yes
> 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 ar... ar
> checking for strip... strip
> checking for ranlib... ranlib
> checking command to parse /usr/bin/nm -B output from gcc object... ok
> 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... 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 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 libgcrypt-config... /usr/bin/libgcrypt-config
> checking for LIBGCRYPT - version >= 1.1.42... yes (1.4.5)
> checking for setlocale,... no
> checking for posix_memalign... yes
> checking for an ANSI C-conforming const... yes
> checking whether byte ordering is bigendian... no
> checking for off_t... yes
> checking for struct stat.st_rdev... yes
> checking for special C compiler options needed for large files... no
> checking for _FILE_OFFSET_BITS value needed for large files... no
> checking whether gcc needs -traditional... no
> 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 dm_task_set_name in -ldevmapper... yes
> checking for dm_task_set_message in -ldevmapper... yes
> checking for sepol_bool_set in -lsepol... yes
> checking for is_selinux_enabled in -lselinux... yes
> checking for library containing pthread_mutex_lock... -lpthread
> checking for library containing dm_set_selinux_context... no
> configure: error: Your system requires SElinux libraries for static compilation.
> make: *** [configure-stamp] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2010/05/27/cryptsetup_2:1.1.0-2.1_lsid64.buildlog

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 about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |





More information about the pkg-cryptsetup-devel mailing list