[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gpsd-dev
Subject:    Re: [gpsd-dev] Weird build quirk
From:       Fred Wright <fw () fwright ! net>
Date:       2016-07-25 22:15:48
Message-ID: Pine.LNX.4.58L1X.1607251508470.27651 () bolt ! sonic ! net
[Download RAW message or body]


On Sun, 24 Jul 2016, Hal Murray wrote:

> Anybody understand this one?
>
> gcc -pthread -o gpsclient-py_2_7_11_final_0.so -c -fno-strict-aliasing
> -Wmissing-declarations -O2 -pthread -fPIC -DNDEBUG -O2 -g -pipe -Wall
> -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
> -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic
> -D_GNU_SOURCE -fPIC -fwrapv -DHAVE_SYS_TIMEPPS_H=1 -I/usr/include/python2.7
> gpsclient.c
> gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory
> scons: *** [gpsclient-py_2_7_11_final_0.so] Error 1
>
> It has already compiled lots of stuff.
>
> Google says I have to install redhat-rpm-config
> That fixed it.
>
> That was on a Fedora 23 box that was recently updated from Fedora 22.

I suggest investigating where the "/usr/lib/rpm/redhat/redhat-hardened-cc1"
came from.  Maybe from pkg-config?

If necessary, you can debug with --debug=pdb, but since that's intended
primarily for debugging scons itself, it doesn't add the script directory
to sys.path, so you need to specify the full absolute path to SConstruct
to set breakpoints.

Fred Wright

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic