[Debian-med-packaging] Bug#778165: vxl: ftbfs with GCC-5

Andreas Tille andreas at an3as.eu
Wed Jul 15 08:15:06 UTC 2015


Hi Brett,

thanks for the patch which is for sure helpful.  However, the strange
build problem with missing libc.h was reported at
debian-mentors at .l.d.o[1] but no answer so far. I have no idea how to
cope with this unfortunately. :-(

Thanks for your help in any case

    Andreas.

[1] https://lists.debian.org/debian-mentors/2015/06/msg00275.html

On Tue, Jul 14, 2015 at 05:01:41PM -0600, Brett Johnson wrote:
> tags 778165 +patch
> thanks
> 
> This patch (swiped from fedora) fixes the original error, but either
> causes or exposes a cmake error that I'm not smart enough to figure
> out.  New error is that configure decides there's a header called
> "libc.h", which doesn't exist:
> 
> cd /home/brett/src/vxl-1.17.0.dfsg/obj-x86_64-linux-gnu/v3p/dcmtk && /usr/bin/c++   -DVXL_LEGACY_ERROR_REPORTING -DVXL_WARN_DEPRECATED -DVXL_WARN_DEPRECATED_ONCE -Ddcmtk_EXPORTS -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2   -Wno-cast-qual -Wno-unused-variable -fPIC -I/home/brett/src/vxl-1.17.0.dfsg/obj-x86_64-linux-gnu/vcl -I/home/brett/src/vxl-1.17.0.dfsg/vcl -I/home/brett/src/vxl-1.17.0.dfsg/obj-x86_64-linux-gnu/core -I/home/brett/src/vxl-1.17.0.dfsg/core -I/home/brett/src/vxl-1.17.0.dfsg/obj-x86_64-linux-gnu/v3p/dcmtk -I/home/brett/src/vxl-1.17.0.dfsg/v3p/dcmtk/ofstd/include -I/home/brett/src/vxl-1.17.0.dfsg/v3p/dcmtk/dcmdata/include -I/home/brett/src/vxl-1.17.0.dfsg/v3p/dcmtk/dcmimgle/include    -o CMakeFiles/dcmtk.dir/ofstd/libsrc/ofcond.o -c /home/brett/src/vxl-1.17.0.dfsg/v3p/dcmtk/ofstd/libsrc/ofcond.cxx
> In file included from /home/brett/src/vxl-1.17.0.dfsg/v3p/dcmtk/ofstd/include/ofcond.h:32:0,
>                  from /home/brett/src/vxl-1.17.0.dfsg/v3p/dcmtk/ofstd/libsrc/ofcond.cxx:27:
> /home/brett/src/vxl-1.17.0.dfsg/v3p/dcmtk/ofstd/include/ofstring.h:57:18: fatal error: libc.h: No such file or directory
> compilation terminated.
> ...
> 
> Full build log at http://people.linux.hp.com/~brett/logs/vxl-1.17.0.dfsg/buildlog.txt
> 
> --- vxl-1.17.0.dfsg.orig/vcl/vcl_compiler.h
> +++ vxl-1.17.0.dfsg/vcl/vcl_compiler.h
> @@ -119,6 +119,10 @@
>  #  else
>  #   define VCL_GCC_40
>  #  endif
> +# elif (__GNUC__==5)
> +// pretend to be GCC 4 until upstream fixes this..
> +#  define VCL_GCC_4
> +#  define VCL_GCC_41
>  # else
>  #  error "Dunno about this gcc"
>  # endif
> 
> -- 
> Brett Johnson <brett at hp.com>
> 
> _______________________________________________
> Debian-med-packaging mailing list
> Debian-med-packaging at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging
> 

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list