[GRASS-dev] [GRASS GIS] #2916: configure bug (?): FORTIFY_SOURCE in CPPFLAGS breaks configure on Arch Linux

GRASS GIS trac at osgeo.org
Wed Feb 17 09:06:02 PST 2016


#2916: configure bug (?): FORTIFY_SOURCE in CPPFLAGS breaks configure on Arch
Linux
------------------------+-------------------------
  Reporter:  msieczka   |      Owner:  grass-dev@…
      Type:  defect     |     Status:  new
  Priority:  normal     |  Milestone:  7.0.4
 Component:  Compiling  |    Version:  7.0.3
Resolution:             |   Keywords:
       CPU:  All        |   Platform:  Linux
------------------------+-------------------------

Comment (by msieczka):

 Replying to [comment:6 neteler]:
 > Replying to [comment:3 msieczka]:
 > > Replying to [comment:2 neteler]:
 > > > Replying to [ticket:2916 msieczka]:
 > > > > gcc 5.3.0, make 4.1, autoconf 2.69
 > > >
 > > > You would need to use autoconf-2.13 if you want to regenerate the
 configure script. But I guess you don't do that anyway.
 > >
 > > I'd rather rely on an upstream-provided configure script, if possible.
 >
 > ?
 > SVN-grass is upstream.

 I'm talking from Arch Linux package perspective. In that case "upstream"
 is GRASS 7.0.3 source code tarball.

 > > There is no CPP package as such on Arch Linux. cpp, gcc and g++
 executables come in a single GCC package here.
 >
 > I see.
 >
 > > It doesn't provide this `/lib/cpp' link.
 >
 > Seems to be a known issue in Archlinux, e.g.:
 > https://bbs.archlinux.org/viewtopic.php?id=147199
 >
 > Suggestion: Try to set CPP, then configure (guessing here):
 >
 > {{{
 > export CPP=/usr/bin/cpp
 > configure ...
 > }}}

 Thanks. This doesn't change anything though.

 I think Glynn nailed it. I'm going to have a closer look at his comments
 now.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2916#comment:9>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list