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

Bug#837659: marked as done (hivex: 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 #837659,
regarding hivex: 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.)


-- 
837659: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=837659
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: hivex
Version: 1.3.13-2
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):
...
Making all in ocaml
make[4]: Entering directory '/<<PKGBUILDDIR>>/debian/build-default/ocaml'
gcc -I.. -I/usr/lib/ocaml -I../../../ocaml -I../../../lib   -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -fPIC -Wall -c ../../../ocaml/hivex_c.c
../../../ocaml/hivex_c.c:52:1: error: static declaration of
'caml_raise_with_args' follows non-static declaration
 caml_raise_with_args (value tag, int nargs, value args[])
 ^~~~~~~~~~~~~~~~~~~~
In file included from ../../../ocaml/hivex_c.c:39:0:
/usr/lib/ocaml/caml/fail.h:32:17: note: previous declaration of
'caml_raise_with_args' was here
 CAMLextern void caml_raise_with_args (value tag, int nargs, value arg[])
                 ^~~~~~~~~~~~~~~~~~~~
../../../ocaml/hivex_c.c: In function 'raise_error':
../../../ocaml/hivex_c.c:1057:1: warning: 'noreturn' function does return
 }
 ^
Makefile:1696: recipe for target 'hivex_c.o' failed
make[4]: *** [hivex_c.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/debian/build-default/ocaml'
Makefile:1276: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build-default'
Makefile:1183: recipe for target 'all' failed
make[2]: *** [all] Error 2
...

The full build log is available from:
 https://people.debian.org/~rbalint/build-logs/pie-bindnow-20160906/hivex_1.3.13-2_amd64.build.gz

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: