[MacPorts] #43939: gegl @0.2.0_12: error: token is not a valid binary operator in a preprocessor subexpression (was: gegl @0.2.0_12 - OSX 10.6.8 - build fails)

MacPorts noreply at macports.org
Sat Jun 7 13:12:51 PDT 2014


#43939: gegl @0.2.0_12: error: token is not a valid binary operator in a
preprocessor subexpression
-------------------------+----------------------
  Reporter:  macports@…  |      Owner:  devans@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.0
Resolution:              |   Keywords:
      Port:  gegl        |
-------------------------+----------------------
Changes (by ryandesign@…):

 * cc: devans@… (removed)
 * owner:  macports-tickets@… => devans@…
 * keywords:  gegl, 10.6.8, webkit_gtk_2.0 =>
 * port:  gegl @0.2.0_12 => gegl


Old description:

> I have been having problems with my Macports installation. Just today, I
> removed everything in an attempt to replace webkit-gtk with webkit-
> gtl-2.0 per instructions from a failed build. Reinstallation of
> everything had been going smoothly until I tried installing gimp2. One of
> its dependencies is gegl.
>
> I found no tickets for gegl problems with my local version @0.2.0_12.
>
> I receive four log file errors of the form:
> /opt/local/include/pngconf.h:366:52: error: token is not a valid binary
> operator in a preprocessor subexpression
> [[br]]"#                       if !defined(PNG_USE_RESULT) &&
> __has_attribute(__warn_unused_result__)"
>
> The other three tokens reported are PNG_NORETURN, PNG_ALLOCATED, and
> PNG_DEPRECATED with appropriate text in the
> __has_attribute( <VALUE> ) portion of the four lines. Each error also has
> a text pattern under the error with a circumflex pointing to the left-
> paren after the "__has_attribute" token.
>
> There are also numerous warnings generated that appear to be of a similar
> form.
>

> I run OSX 10.6.8 server on a several year old MacPro. Before I was
> instructed by a build error to replace webkit-gtk with webkit-gtk-2.0,
> gimp2 built cleanly.
> However, it had been some months since I had done a "selfupdate" on my
> macports installation.
> The errors could have crept in over the interval without weekly
> "selfupdate" executions.
>
> I did run a "port clean gegl gimp2" and tried the gimp2 install again,
> but the error is repeated.
>
> The log file generated will be attached to this ticket.

New description:

 I have been having problems with my Macports installation. Just today, I
 removed everything in an attempt to replace webkit-gtk with webkit-gtl-2.0
 per instructions from a failed build. Reinstallation of everything had
 been going smoothly until I tried installing gimp2. One of its
 dependencies is gegl.

 I found no tickets for gegl problems with my local version @0.2.0_12.

 I receive four log file errors of the form:

 {{{
 /opt/local/include/pngconf.h:366:52: error: token is not a valid binary
 operator in a preprocessor subexpression
 #                       if !defined(PNG_USE_RESULT) &&
 __has_attribute(__warn_unused_result__)
 }}}

 The other three tokens reported are `PNG_NORETURN`, `PNG_ALLOCATED`, and
 `PNG_DEPRECATED` with appropriate text in the
 `__has_attribute( <VALUE> )` portion of the four lines. Each error also
 has a text pattern under the error with a circumflex pointing to the left-
 paren after the "`__has_attribute`" token.

 There are also numerous warnings generated that appear to be of a similar
 form.


 I run OSX 10.6.8 server on a several year old MacPro. Before I was
 instructed by a build error to replace webkit-gtk with webkit-gtk-2.0,
 gimp2 built cleanly.
 However, it had been some months since I had done a "selfupdate" on my
 macports installation.
 The errors could have crept in over the interval without weekly
 "selfupdate" executions.

 I did run a "`port clean gegl gimp2`" and tried the gimp2 install again,
 but the error is repeated.

 The log file generated will be attached to this ticket.

--

-- 
Ticket URL: <https://trac.macports.org/ticket/43939#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list