[MacPorts] #52438: lua-luabitop @1.0.2_1 cannot build without setting 'configure.sdkroot' on Sierra

MacPorts noreply at macports.org
Wed Sep 28 18:49:11 CEST 2016


#52438: lua-luabitop @1.0.2_1 cannot build without setting 'configure.sdkroot' on
Sierra
---------------------------------+--------------------------------
 Reporter:  leonardo.schenkel@…  |      Owner:  macports-tickets@…
     Type:  defect               |     Status:  new
 Priority:  Normal               |  Milestone:
Component:  ports                |    Version:  2.3.4
 Keywords:                       |       Port:  lua-luabitop
---------------------------------+--------------------------------
 I'm trying to install NeoVim and this package is one of the dependencies.
 After the upgrade to Sierra it started failing to build since it cannot
 find `<stdio.h>`. If I explicitly set
 `configure.sdkroot=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk`
 in the command line it build successfully.

 To be honest I don't think this is a problem which is specific to this
 port because I noticed the same in some other packages as well, however I
 rebuilt them successfully a while ago using the same workaround and I
 don't remember which ones they were anymore. I'm creating a ticket for
 `lua-luabitop` because it's the one I remember and because it's very small
 so it can work as a small test case to find out what exactly is going
 wrong.

 Naturally there could be something wrong with my MacPorts installation. I
 have both reinstalled MacPorts via the binary installer and rebuilt from
 source and the problem remains.
 If my set-up is indeed broken I was not able to figure out why.

 One possible reason is that I don't have the command-line tools installed
 but I didn't have them before the Sierra upgrade as well and that didn't
 prevent the package from building. I understand that not having the
 command line tools is unsupported and I don't want to waste anybody's time
 but I would appreciate if somebody could then elucidate why there is a
 difference in behavior between pre-Sierra and Sierra (I'm a developer as
 well and I maintain a few ports here, so additional knowledge could help
 me being a better maintainer).

 I'm attaching complete debug logs for a failed build (without
 `configure.sdkroot`) and a successful install (with `configure.sdkroot`).

-- 
Ticket URL: <https://trac.macports.org/ticket/52438>
MacPorts <https://www.macports.org/>
Ports system for the Mac operating system


More information about the macports-tickets mailing list