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

Bug#837670: marked as done (ocaml-ctypes: FTBFS with bindnow and PIE enabled)



Your message dated Sun, 6 Nov 2016 12:30:59 +0100
with message-id <79a98b17-a32f-8497-d2ba-46d82f621f37@dogguy.org>
and subject line Issues fixed in ocaml/4.02.3-7+b1
has caused the Debian Bug report #837670,
regarding ocaml-ctypes: FTBFS with bindnow and PIE enabled
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
837670: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=837670
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: ocaml-ctypes
Version: 0.7.0-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):
...
ocamlfind opt -shared -linkall -principal -short-paths  -package
compiler-libs   -o _build/ctypes-top.cmxs
_build/src/ctypes-top/ctypes_printers.cmx
_build/src/ctypes-top/install_ctypes_printers.cmx  -cclib -Wl,--no-as-needed
findlib: [WARNING] Interface topdirs.cmi occurs in several directories:
/usr/lib/ocaml, /usr/lib/ocaml/compiler-libs
The following required C libraries are missing: libffi.
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 libffi is installed in /opt/local, you can type:

   export LIBFFI_CFLAGS=-I/opt/local/include
   export LIBFFI_LIBS=-L/opt/local/lib
Makefile:193: recipe for target 'test-libffi' failed
make[1]: *** [test-libffi] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
...

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

Linking with libffi_pic.a would probably fix the problem.

Thanks,
Balint

--- End Message ---
--- Begin Message ---
notfound 837659 ocaml/4.02.3-7
notfound 837669 ocaml/4.02.3-7
thanks

OCaml has been binNMUed since then. So, those issues are now resolved and
packages are buildable again. The only issue left is to do PIC on ARM archs
and is tracked in #837359 [1]. It should be fixed in ocaml/4.02.3-8 which
was uploaded a few minutes ago. Once ocaml/4.02.3-8 is available, packages
which failed to build on armhf will be given back for rebuild.

[1] https://bugs.debian.org/837359

If you are still experiencing FTBFSes caused by OCaml, do not hesitate to
re-open the bugreport and we will have a deeper look at the issue.

Regards,

-- 
Mehdi

--- End Message ---

Reply to: