[MacPorts] #56277: libvpx @1.7.0: Failed to configure libvpx: configure failure

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[MacPorts] #56277: libvpx @1.7.0: Failed to configure libvpx: configure failure

MacPorts
#56277: libvpx @1.7.0: Failed to configure libvpx: configure failure
--------------------------------+--------------------
 Reporter:  fairytalk           |      Owner:  (none)
     Type:  defect              |     Status:  new
 Priority:  Normal              |  Milestone:
Component:  ports               |    Version:  2.4.2
 Keywords:  highsierra, x86_64  |       Port:  libvpx
--------------------------------+--------------------
 Hi guys,

 libvpx had been failing to configure for approximately a week. port is up
 to date (2.4.2), I'm running 10.13.4 on an encrypted, journaled, case-
 sensitive APFS share. Xcode is @9.3 (9E145). MacPorts is located in
 /opt/macports, next to homebrew (/opt/homebrew). port is ahead in the
 $PATH and hb has only ever been used for casks.

 I get the following message when trying to build libvpx:
 {{{
 Error: Failed to configure libvpx, consult
 /opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libvpx/libvpx/work/libvpx-1.7.0/config.log
 Error: Failed to configure libvpx: configure failure: command execution
 failed
 Error: See
 /opt/macports/var/macports/logs/_opt_macports_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libvpx/libvpx/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port libvpx failed
 }}}

 I checked https://trac.macports.org/ticket/56113 and it seemed to
 configure fine using this:

 {{{
 ./configure --prefix=/opt/macports --enable-vp8 --enable-vp9 --enable-
 internal-stats --enable-pic --enable-postproc --enable-multithread
 --enable-runtime-cpu-detect --enable-experimental --enable-spatial-svc
 --enable-shared --disable-install-docs --disable-debug-libs --disable-
 examples --disable-unit-tests --target=x86_64-darwin-gcc
 }}}

 However I was unable to install it with {{{make install}}}, it returns
 {{{make[1]: Nothing to be done for `install'}}}. I guess I was overlooking
 something there.

 Finally I ran {{{sudo port -v install ld64 +ld64_xcode}}} like kencu
 suggested, cleaned once more, and the install was successful. I'm not sure
 what was wrong but I'm submitting the ticket in hope that it might help
 other or dbevans. The suggested main.log and config.log are attached.
 Didn't find an install log for the eventual success, the screen messages
 were the usual though. Thanks guys.

--
Ticket URL: <https://trac.macports.org/ticket/56277>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56277: libvpx @1.7.0: Failed to configure libvpx: configure failure

MacPorts
#56277: libvpx @1.7.0: Failed to configure libvpx: configure failure
------------------------+--------------------------------
  Reporter:  fairytalk  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.4.2
Resolution:             |   Keywords:  highsierra, x86_64
      Port:  libvpx     |
------------------------+--------------------------------
Changes (by fairytalk):

 * Attachment "main.log" added.


--
Ticket URL: <https://trac.macports.org/ticket/56277>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56277: libvpx @1.7.0: Failed to configure libvpx: configure failure

MacPorts
In reply to this post by MacPorts
#56277: libvpx @1.7.0: Failed to configure libvpx: configure failure
------------------------+--------------------------------
  Reporter:  fairytalk  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.4.2
Resolution:             |   Keywords:  highsierra, x86_64
      Port:  libvpx     |
------------------------+--------------------------------
Changes (by fairytalk):

 * Attachment "config.log" added.


--
Ticket URL: <https://trac.macports.org/ticket/56277>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56277: libvpx @1.7.0: Failed to configure libvpx: configure failure

MacPorts
In reply to this post by MacPorts
#56277: libvpx @1.7.0: Failed to configure libvpx: configure failure
------------------------+----------------------
  Reporter:  fairytalk  |      Owner:  dbevans
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.4.2
Resolution:             |   Keywords:
      Port:  libvpx     |
------------------------+----------------------
Changes (by mf2k):

 * owner:  (none) => dbevans
 * cc: dbevans (removed)
 * status:  new => assigned
 * keywords:  highsierra, x86_64 =>


Old description:

> Hi guys,
>
> libvpx had been failing to configure for approximately a week. port is up
> to date (2.4.2), I'm running 10.13.4 on an encrypted, journaled, case-
> sensitive APFS share. Xcode is @9.3 (9E145). MacPorts is located in
> /opt/macports, next to homebrew (/opt/homebrew). port is ahead in the
> $PATH and hb has only ever been used for casks.
>
> I get the following message when trying to build libvpx:
> {{{
> Error: Failed to configure libvpx, consult
> /opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libvpx/libvpx/work/libvpx-1.7.0/config.log
> Error: Failed to configure libvpx: configure failure: command execution
> failed
> Error: See
> /opt/macports/var/macports/logs/_opt_macports_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libvpx/libvpx/main.log
> for details.
> Error: Follow https://guide.macports.org/#project.tickets to report a
> bug.
> Error: Processing of port libvpx failed
> }}}
>
> I checked https://trac.macports.org/ticket/56113 and it seemed to
> configure fine using this:
>
> {{{
> ./configure --prefix=/opt/macports --enable-vp8 --enable-vp9 --enable-
> internal-stats --enable-pic --enable-postproc --enable-multithread
> --enable-runtime-cpu-detect --enable-experimental --enable-spatial-svc
> --enable-shared --disable-install-docs --disable-debug-libs --disable-
> examples --disable-unit-tests --target=x86_64-darwin-gcc
> }}}
>
> However I was unable to install it with {{{make install}}}, it returns
> {{{make[1]: Nothing to be done for `install'}}}. I guess I was
> overlooking something there.
>
> Finally I ran {{{sudo port -v install ld64 +ld64_xcode}}} like kencu
> suggested, cleaned once more, and the install was successful. I'm not
> sure what was wrong but I'm submitting the ticket in hope that it might
> help other or dbevans. The suggested main.log and config.log are
> attached. Didn't find an install log for the eventual success, the screen
> messages were the usual though. Thanks guys.
New description:

 Hi guys,

 libvpx had been failing to configure for approximately a week. port is up
 to date (2.4.2), I'm running 10.13.4 on an encrypted, journaled, case-
 sensitive APFS share. Xcode is @9.3 (9E145). MacPorts is located in
 /opt/macports, next to homebrew (/opt/homebrew). port is ahead in the
 $PATH and hb has only ever been used for casks.

 I get the following message when trying to build libvpx:
 {{{
 Error: Failed to configure libvpx, consult
 /opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libvpx/libvpx/work/libvpx-1.7.0/config.log
 Error: Failed to configure libvpx: configure failure: command execution
 failed
 Error: See
 /opt/macports/var/macports/logs/_opt_macports_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libvpx/libvpx/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port libvpx failed
 }}}

 I checked ticket:56113 and it seemed to configure fine using this:

 {{{
 ./configure --prefix=/opt/macports --enable-vp8 --enable-vp9 --enable-
 internal-stats --enable-pic --enable-postproc --enable-multithread
 --enable-runtime-cpu-detect --enable-experimental --enable-spatial-svc
 --enable-shared --disable-install-docs --disable-debug-libs --disable-
 examples --disable-unit-tests --target=x86_64-darwin-gcc
 }}}

 However I was unable to install it with {{{make install}}}, it returns
 {{{make[1]: Nothing to be done for `install'}}}. I guess I was overlooking
 something there.

 Finally I ran {{{sudo port -v install ld64 +ld64_xcode}}} like kencu
 suggested, cleaned once more, and the install was successful. I'm not sure
 what was wrong but I'm submitting the ticket in hope that it might help
 other or dbevans. The suggested main.log and config.log are attached.
 Didn't find an install log for the eventual success, the screen messages
 were the usual though. Thanks guys.

--

--
Ticket URL: <https://trac.macports.org/ticket/56277#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56277: libvpx @1.7.0: Failed to configure libvpx: configure failure

MacPorts
In reply to this post by MacPorts
#56277: libvpx @1.7.0: Failed to configure libvpx: configure failure
------------------------+----------------------
  Reporter:  fairytalk  |      Owner:  dbevans
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.4.2
Resolution:             |   Keywords:
      Port:  libvpx     |
------------------------+----------------------
Changes (by ryandesign):

 * cc: jeremyhu (added)


Comment:

 I guess this is to be expected, since the version of clang in the version
 of Xcode you have installed produces newer files than the version of ld64
 in MacPorts is able to understand. I guess ld64 in MacPorts needs to be
 updated to Xcode 9.3's version thereof. (Currently, it provides Xcode
 8.2.1's version.)

--
Ticket URL: <https://trac.macports.org/ticket/56277#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56277: libvpx @1.7.0: Failed to configure libvpx: configure failure

MacPorts
In reply to this post by MacPorts
#56277: libvpx @1.7.0: Failed to configure libvpx: configure failure
------------------------+----------------------
  Reporter:  fairytalk  |      Owner:  dbevans
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.4.2
Resolution:             |   Keywords:
      Port:  libvpx     |
------------------------+----------------------

Comment (by ryandesign):

 {{{
 ld: unexpected token: !tapi-tbd-v3 file
 '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/lib/libpthread.tbd'
 for architecture x86_64
 }}}

 Or rather, macOS 10.13 and its SDK contain newer files than Xcode 8.2.1's
 ld is able to understand.

--
Ticket URL: <https://trac.macports.org/ticket/56277#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56277: libvpx @1.7.0: Failed to configure libvpx: configure failure

MacPorts
In reply to this post by MacPorts
#56277: libvpx @1.7.0: Failed to configure libvpx: configure failure
------------------------+----------------------
  Reporter:  fairytalk  |      Owner:  dbevans
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.4.2
Resolution:             |   Keywords:
      Port:  libvpx     |
------------------------+----------------------

Comment (by jeremyhu):

 Use the +ld64_variant of ld64 as a workaround for now.

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