pkgsrc-Bugs archive

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

Re: pkg/51383: sys/cdefs.h not found on ubuntu

The following reply was made to PR pkg/51383; it has been noted by GNATS.

From: Patrick Welche <>
Subject: Re: pkg/51383: sys/cdefs.h not found on ubuntu
Date: Fri, 5 Aug 2016 10:40:42 +0100

 I should have included the line just above the errors:
   -isystem /home/prlw1/pkg/gcc48/x86_64-debian-linux/include
   -isystem /home/prlw1/pkg/gcc48/x86_64-debian-linux/sys-include
   -g -O2
   -O2 -g -O2
   -W -Wall
   -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
   -isystem ./include
   -o _absvdi2.o
   -MT _absvdi2.o -MD -MP -MF _absvdi2.dep -DL_absvdi2
   -c ../../../gcc-4.8.4/libgcc/libgcc2.c
 $ tail -2 .work.log
 [*] /home/prlw1/pkgsrc/lang/gcc48/work/.wrapper/bin/cc /home/prlw1/pkgsrc/lang/gcc48/work/.wrapper/bin/cc --version
 <.> /home/prlw1/pkgsrc/lang/gcc48/work/.gcc/bin/gcc --version -m64 -I/home/prlw1/pkgsrc/lang/gcc48/work/.buildlink/include -L/home/prlw1/pkgsrc/lang/gcc48/work/.buildlink/lib 
 I wonder what "-fbuilding-libgcc" does...
 It doesn't look as though anything is switching off gcc version 5.4.0
 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.1)'s default search path...
 (BTW I'm only trying to do this because if you want to build anything involving
 fortran, it seems you need to PKGSRC_FORTRAN=gfortran, and that seems to insist
 on gcc48 even if gcc5 is installed - I haven't tried to build lang/gcc5 on linux
 yet, but that explains why not.)

Home | Main Index | Thread Index | Old Index