[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#837669: lwt: FTBFS with bindnow and PIE enabled



Source: lwt
Version: 2.5.2-1
Severity: important
User: balint@balintreczey.hu
Usertags: pie-bindnow-20160906
Justification: FTBFS on amd64 with extra hardening

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64 with patched GCC and dpkg.

The rebuild tested if packages are ready for a transition
enabling PIE and bindnow for amd64.

For more information about the changes to sid's dpkg and GCC please
visit:
 https://wiki.debian.org/Hardening/PIEByDefaultTransition

Relevant part (hopefully):
...
make[1]: Entering directory '/<<PKGBUILDDIR>>'
ocaml setup.ml -configure --prefix /usr --destdir
'/<<PKGBUILDDIR>>/debian/tmp' --enable-all --docdir
/usr/share/doc/liblwt-ocaml-dev
testing for pkg-config: ........................ available
testing for libev: ............................. unavailable
testing for pthread: ........................... unavailable
testing for glib: .............................. unavailable

The following recquired C libraries are missing: glib, pthread, libev.
Please install them and retry. If they are installed in a non-standard
location
or need special flags, set the environment variables <LIB>_CFLAGS and
<LIB>_LIBS
accordingly and retry.

For example, if libev is installed in /opt/local, you can type:

export LIBEV_CFLAGS=-I/opt/local/include
export LIBEV_LIBS=-L/opt/local/lib

To compile without libev support, use ./configure --disable-libev ...
E: Failure("Command 'ocaml discover.ml -ext-obj .o -exec-name a.out
-use-libev true -os-type Unix -use-glib true -ccomp-type cc -use-pthread
true -use-unix true -android-target false -libev_default true'
terminated with error code 1")
...

The full build log is available from:
 https://people.debian.org/~rbalint/build-logs/pie-bindnow-20160906/lwt_2.5.2-1_amd64.build.gz

Thanks,
Balint


Reply to: