[MacPorts] #50894: Perl packages needing compilation do not install

MacPorts noreply at macports.org
Sat Mar 19 01:13:57 PDT 2016


#50894: Perl packages needing compilation do not install
---------------------------------+---------------------
  Reporter:  matthew-macports@…  |      Owner:  mojca@…
      Type:  defect              |     Status:  new
  Priority:  Normal              |  Milestone:
 Component:  ports               |    Version:  2.3.4
Resolution:                      |   Keywords:
      Port:  perl5.22            |
---------------------------------+---------------------

Comment (by mojca@…):

 Citation from https://reviews.freebsd.org/D3924:

 > Only use -fstack-protector-strong with supported compilers. This
 includes clang 3.5.0+, gcc 4.2.1, gcc 4.8.0+

 After looking at [[XcodeVersionInfo]] I might have an explanation for
 that.

 You said you were using Xcode 6.1 which is the oldest Xcode version ever
 released for 10.10. It officially ships clang "3.5svn", but that might be
 a version that doesn't support that flag yet. The latest version of Xcode
 supported on 10.10. seems to be 7.2.1 which ships a much later version of
 clang that most likely supports that flag.

 But most likely you got your Perl as a binary package from the buildbot
 where the default system compiler supported this flag.

 I guess that the problem would be solved if you upgrade your Xcode. I
 would need to bring this up to the developer mailing list to determine
 whether we should officially address issues like this one. I could imagine
 that you might run into similar problems elsewhere and the code to handle
 this special case would be pretty weird.

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


More information about the macports-tickets mailing list