Quantcast

[MacPorts] #52365: phantomjs: failing to build in OSX Sierra

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[MacPorts] #52365: phantomjs: failing to build in OSX Sierra

MacPorts
#52365: phantomjs: failing to build in OSX Sierra
---------------------------+--------------------------------
 Reporter:  andre.david@…  |      Owner:  macports-tickets@…
     Type:  defect         |     Status:  new
 Priority:  Normal         |  Milestone:
Component:  ports          |    Version:  2.3.4
 Keywords:  sierra         |       Port:
---------------------------+--------------------------------
 `phantomjs @2.0.0_1` is failing to build with Mac OSX Sierra (10.12):
 ```
 :info:build System architecture... (Darwin 16.0.0 x86_64)
 :info:build    Xcode not set up properly. You may need to confirm the
 license
 :info:build    agreement by running /usr/bin/xcodebuild without arguments.
 ```

 Of course this is not the source of the problem, since the build system is
 working for all other ports.

--
Ticket URL: <https://trac.macports.org/ticket/52365>
MacPorts <https://www.macports.org/>
Ports system for macOS
_______________________________________________
macports-tickets mailing list
[hidden email]
https://lists.macosforge.org/mailman/listinfo/macports-tickets
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #52365: phantomjs: failing to build in OSX Sierra

MacPorts
#52365: phantomjs: failing to build in OSX Sierra
----------------------------+--------------------------------
  Reporter:  andre.david@…  |      Owner:  macports-tickets@…
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.3.4
Resolution:                 |   Keywords:  sierra
      Port:                 |
----------------------------+--------------------------------

Comment (by andre.david@…):

 Sorry for the bad formatting in the description as well as the missing
 port information.

--
Ticket URL: <https://trac.macports.org/ticket/52365#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
_______________________________________________
macports-tickets mailing list
[hidden email]
https://lists.macosforge.org/mailman/listinfo/macports-tickets
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #52365: phantomjs: failing to build in OSX Sierra

MacPorts
In reply to this post by MacPorts
#52365: phantomjs: failing to build in OSX Sierra
----------------------------+------------------------
  Reporter:  andre.david@…  |      Owner:  stromnov@…
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.3.4
Resolution:                 |   Keywords:  sierra
      Port:  phantomjs      |
----------------------------+------------------------
Changes (by larryv@…):

 * cc: stromnov@… (removed)
 * owner:  macports-tickets@… => stromnov@…
 * port:   => phantomjs


Old description:

> `phantomjs @2.0.0_1` is failing to build with Mac OSX Sierra (10.12):
> ```
> :info:build System architecture... (Darwin 16.0.0 x86_64)
> :info:build    Xcode not set up properly. You may need to confirm the
> license
> :info:build    agreement by running /usr/bin/xcodebuild without
> arguments.
> ```
>
> Of course this is not the source of the problem, since the build system
> is working for all other ports.

New description:

 `phantomjs @2.0.0_1` is failing to build with Mac OSX Sierra (10.12):
 {{{
 :info:build System architecture... (Darwin 16.0.0 x86_64)
 :info:build    Xcode not set up properly. You may need to confirm the
 license
 :info:build    agreement by running /usr/bin/xcodebuild without arguments.
 }}}

 Of course this is not the source of the problem, since the build system is
 working for all other ports.

--

--
Ticket URL: <https://trac.macports.org/ticket/52365#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
_______________________________________________
macports-tickets mailing list
[hidden email]
https://lists.macosforge.org/mailman/listinfo/macports-tickets
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #52365: phantomjs: failing to build in OSX Sierra

MacPorts
In reply to this post by MacPorts
#52365: phantomjs: failing to build in OSX Sierra
----------------------------+----------------------
  Reporter:  andre.david@…  |      Owner:  stromnov
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.3.4
Resolution:                 |   Keywords:  sierra
      Port:  phantomjs      |
----------------------------+----------------------

Comment (by ioquatix):

 I'm also having this problem.

--
Ticket URL: <https://trac.macports.org/ticket/52365#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #52365: phantomjs: failing to build in OSX Sierra

MacPorts
In reply to this post by MacPorts
#52365: phantomjs: failing to build in OSX Sierra
----------------------------+----------------------
  Reporter:  andre.david@…  |      Owner:  stromnov
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.3.4
Resolution:                 |   Keywords:  sierra
      Port:  phantomjs      |
----------------------------+----------------------

Comment (by ioquatix):

 It looks like because of this

 {{{
     if ! /usr/bin/xcrun -find xcrun >/dev/null 2>&1; then
         echo >&2
         echo "   Xcode not set up properly. You may need to confirm the
 license" >&2
         echo "   agreement by running /usr/bin/xcodebuild without
 arguments." >&2
         echo >&2
         exit 2
     fi
 }}}

 in src/qt/qtbase/configure

 I could fix it by changing to

 {{{
     if ! /usr/bin/xcrun -find xcodebuild >/dev/null 2>&1; then
         echo >&2
         echo "   Xcode not set up properly. You may need to confirm the
 license" >&2
         echo "   agreement by running /usr/bin/xcodebuild without
 arguments." >&2
         echo >&2
         exit 2
     fi
 }}}

 and in src/qt/qtbase/mkspecs/features/mac/default_pre.prf

 {{{
     # Make sure Xcode is set up properly
     isEmpty($$list($$system("/usr/bin/xcrun -find xcodebuild
 2>/dev/null"))): \
         error("Xcode not set up properly. You may need to confirm the
 license agreement by running /usr/bin/xcodebuild.")
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/52365#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #52365: phantomjs: failing to build in OSX Sierra

MacPorts
In reply to this post by MacPorts
#52365: phantomjs: failing to build in OSX Sierra
----------------------------+----------------------
  Reporter:  andre.david@…  |      Owner:  stromnov
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.3.4
Resolution:                 |   Keywords:  sierra
      Port:  phantomjs      |
----------------------------+----------------------

Comment (by ioquatix):

 I think the solution here is to simply update the Portfile to version 2.1
 which doesn't appear to have this problem.

--
Ticket URL: <https://trac.macports.org/ticket/52365#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #52365: phantomjs: failing to build in OSX Sierra

MacPorts
In reply to this post by MacPorts
#52365: phantomjs: failing to build in OSX Sierra
----------------------------+----------------------
  Reporter:  andre.david@…  |      Owner:  stromnov
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.3.4
Resolution:                 |   Keywords:  sierra
      Port:  phantomjs      |
----------------------------+----------------------

Comment (by ioquatix):

 Actually, apparently 2.1.1 is the latest stable release, so that would be
 great!

--
Ticket URL: <https://trac.macports.org/ticket/52365#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #52365: phantomjs: failing to build in OSX Sierra

MacPorts
In reply to this post by MacPorts
#52365: phantomjs: failing to build in OSX Sierra
----------------------------+----------------------
  Reporter:  andre.david@…  |      Owner:  stromnov
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.3.4
Resolution:                 |   Keywords:  sierra
      Port:  phantomjs      |
----------------------------+----------------------

Comment (by ioquatix):

 Here is the correct release to use:

 https://github.com/ariya/phantomjs/releases/tag/2.1.1

--
Ticket URL: <https://trac.macports.org/ticket/52365#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #52365: phantomjs: failing to build in OSX Sierra

MacPorts
In reply to this post by MacPorts
#52365: phantomjs: failing to build in OSX Sierra
----------------------------+----------------------
  Reporter:  andre.david@…  |      Owner:  stromnov
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.3.4
Resolution:                 |   Keywords:  sierra
      Port:  phantomjs      |
----------------------------+----------------------

Comment (by ioquatix):

 I tried my best to make an updated Portfile but ultimately couldn't get it
 to work

 https://github.com/ariya/phantomjs/issues/14843

 It would require a significant amount of fixing on our end which I don't
 think is the right approach.

--
Ticket URL: <https://trac.macports.org/ticket/52365#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #52365: phantomjs @2.0.0: failing to build in macOS Sierra (was: phantomjs: failing to build in OSX Sierra)

MacPorts
In reply to this post by MacPorts
#52365: phantomjs @2.0.0: failing to build in macOS Sierra
----------------------------+----------------------
  Reporter:  andre.david@…  |      Owner:  stromnov
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.3.4
Resolution:                 |   Keywords:  sierra
      Port:  phantomjs      |
----------------------------+----------------------
Changes (by ryandesign):

 * cc: inkydaddy0923, ryandesign (added)


Comment:

 Has duplicate #53919.

 Replying to [comment:6 ioquatix]:
 > I think the solution here is to simply update the Portfile to version
 2.1 which doesn't appear to have this problem.

 This ticket is about the build failure on Sierra. Updating to 2.1.1 is
 tracked separately, in #51965.

 Replying to [comment:5 ioquatix]:
 > It looks like because of this
 >
 > {{{
 >     if ! /usr/bin/xcrun -find xcrun >/dev/null 2>&1; then
 >         echo >&2
 >         echo "   Xcode not set up properly. You may need to confirm the
 license" >&2
 >         echo "   agreement by running /usr/bin/xcodebuild without
 arguments." >&2
 >         echo >&2
 >         exit 2
 >     fi
 > }}}
 >
 > in src/qt/qtbase/configure
 >
 > I could fix it by changing to
 >
 > {{{
 >     if ! /usr/bin/xcrun -find xcodebuild >/dev/null 2>&1; then
 >         echo >&2
 >         echo "   Xcode not set up properly. You may need to confirm the
 license" >&2
 >         echo "   agreement by running /usr/bin/xcodebuild without
 arguments." >&2
 >         echo >&2
 >         exit 2
 >     fi
 > }}}
 >
 > and in src/qt/qtbase/mkspecs/features/mac/default_pre.prf
 >
 > {{{
 >     # Make sure Xcode is set up properly
 >     isEmpty($$list($$system("/usr/bin/xcrun -find xcodebuild
 2>/dev/null"))): \
 >         error("Xcode not set up properly. You may need to confirm the
 license agreement by running /usr/bin/xcodebuild.")
 > }}}

 This is what the developers of Qt appear to have done in the current
 version of Qt, so I feel fine with making that change in phantomjs, to
 hold us over until we can figure out how to update to a newer version.

--
Ticket URL: <https://trac.macports.org/ticket/52365#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #52365: phantomjs @2.0.0: failing to build in macOS Sierra

MacPorts
In reply to this post by MacPorts
#52365: phantomjs @2.0.0: failing to build in macOS Sierra
----------------------------+----------------------
  Reporter:  andre.david@…  |      Owner:  stromnov
      Type:  defect         |     Status:  closed
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.3.4
Resolution:  fixed          |   Keywords:  sierra
      Port:  phantomjs      |
----------------------------+----------------------
Changes (by ryandesign):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"e7365db3a7b3164c64fa1e931a4d2945a1ed8693/macports-ports"
 e7365db3a7b3164c64fa1e931a4d2945a1ed8693/macports-ports]:
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="e7365db3a7b3164c64fa1e931a4d2945a1ed8693"
 phantomjs: Fix build on Sierra

 Closes: https://trac.macports.org/ticket/52365
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/52365#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #52365: phantomjs @2.0.0: failing to build in macOS Sierra

MacPorts
In reply to this post by MacPorts
#52365: phantomjs @2.0.0: failing to build in macOS Sierra
----------------------------+----------------------
  Reporter:  andre.david@…  |      Owner:  stromnov
      Type:  defect         |     Status:  closed
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.3.4
Resolution:  fixed          |   Keywords:  sierra
      Port:  phantomjs      |
----------------------------+----------------------

Comment (by erickzeto):

 if ! /usr/bin/xcrun -find xcrun >/dev/null 2>&1; then
         echo >&2
         echo "   Xcode not set up properly. You may need to confirm the
 license" >&2
         echo "   agreement by running /usr/bin/xcodebuild without
 arguments." >&2
         echo >&2
         exit 2
     fi

 https://vehiclepad.com/favicon.png

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