[MacPorts] #59627: yara at 3.11.0: build failed
MacPorts
noreply at macports.org
Fri Nov 8 02:53:25 UTC 2019
#59627: yara at 3.11.0: build failed
---------------------+--------------------
Reporter: sierkb | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Resolution: | Keywords:
Port: yara |
---------------------+--------------------
Comment (by reneeotten):
It indeed builds for me locally and also on the
[https://ports.macports.org/port/yara/summary buildbots] all the way down
to 10.7. The only thing I noticed is that the macOS 10.13 buildbot has
Xcode 9.4.1, whereas @sierkb has Xcode 10.1 - unfortunately I don't know
whether there is something here that would make an obvious difference.
@sierkb did you do a new installation or an upgraded from a previous
version? I suspect the latter and looking at the Portfile now again I
realize there is the following statement that I initially missed:
{{{
# If previous yara is installed, this build will fail since
# /opt/local/include is before ./libyara/include
# so swap CPPFLAGS and CFLAGS
# Remove this upon the next release after verifying it is not needed.
}}}
So it's possible that upstream has corrected it in this newer versions and
we (read: I) am effectively causing the problem now again. On the other
hand, I just installed the previous version and did an upgrade myself,
which worked perfectly fine. @sierkb, if you want you can try to remove
the {{{post-configure}}} phase and see if that helps.
I don't think I can be of more help at the moment - sorry...
--
Ticket URL: <https://trac.macports.org/ticket/59627#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list