[Debian-med-packaging] Bug#831105: pbdagcon: FTBFS with GCC 6: cstdlib:75:25: fatal error: stdlib.h: No such file or directory

Afif Elghraoui afif at debian.org
Sat Jul 23 09:32:19 UTC 2016


Hi, team,

On Thu, 14 Jul 2016 09:19:57 +0200 Lucas Nussbaum <lucas at debian.org> wrote:
> 
> 
> Relevant part (hopefully):
> > g++ -isystem /usr/include -I/usr/src/gtest -g -Wall -Wextra -pthread -c /usr/src/gtest/src/gtest-all.cc
> > In file included from /usr/include/c++/6/ext/string_conversions.h:41:0,
> >                  from /usr/include/c++/6/bits/basic_string.h:5402,
> >                  from /usr/include/c++/6/string:52,
> >                  from /usr/include/c++/6/bits/locale_classes.h:40,
> >                  from /usr/include/c++/6/bits/ios_base.h:41,
> >                  from /usr/include/c++/6/ios:42,
> >                  from /usr/include/c++/6/ostream:38,
> >                  from /usr/include/gtest/gtest.h:55,
> >                  from /usr/src/gtest/src/gtest-all.cc:39:
> > /usr/include/c++/6/cstdlib:75:25: fatal error: stdlib.h: No such file or directory
> >  #include_next <stdlib.h>
> >                          ^
> > compilation terminated.
> > make[2]: *** [gtest-all.o] Error 1
> 

Just a quick note about this. I believe this problem can be resolved by
replacing all "-isystem" flags with "-I" in the build system. I haven't
implemented this change here yet because I was planning to update the
packages to a new upstream revision (upstream doesn't label releases...).

regards
Afif

-- 
Afif Elghraoui | عفيف الغراوي
http://afif.ghraoui.name



More information about the Debian-med-packaging mailing list