[MacPorts] #68663: faad2 @2.11.0+universal: error: conflicting types for 'lrintf' (was: faad2 @2.11.0 - Unable to Upgrade on High Sierra - error: conflicting types for 'lrintf')

MacPorts noreply at macports.org
Thu Nov 9 00:08:11 UTC 2023


#68663: faad2 @2.11.0+universal: error: conflicting types for 'lrintf'
---------------------+--------------------
  Reporter:  RobK88  |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.8.1
Resolution:          |   Keywords:  i386
      Port:  faad2   |
---------------------+--------------------
Changes (by ryandesign):

 * keywords:  highsierra => i386


Comment:

 It's not specific to High Sierra, but it is specific to building for i386.
 We see the same problem on our Snow Leopard i386 builder but not on any of
 the x86_64 or arm64 builders.

 The code does this:

 {{{#!c
   #elif (defined(__i386__) && defined(__GNUC__) && \
         !defined(__CYGWIN__) && !defined(__MINGW32__))
     #ifndef HAVE_LRINTF
     #define HAS_LRINTF
     // from http://www.stereopsis.com/FPU.html
     static INLINE int lrintf(float f)
 }}}

 etc. Clearly your system has `lrintf` so something has gone wrong and
 `HAVE_LRINTF` hasn't been defined when it should have. Even on my Monterey
 x86_64 system, I do not see any occurrences of `HAVE_LRINTF` in the work
 directory, even after configuring, except in common.h.

 It's an upstream bug, of course. I don't see it reported yet. I'll file it
 in a moment.

-- 
Ticket URL: <https://trac.macports.org/ticket/68663#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list