[MacPorts] #56408: gpac @0.7.1: 'VideoToolbox/VideoToolbox.h' file not found

MacPorts noreply at macports.org
Wed May 1 04:36:10 UTC 2024


#56408: gpac @0.7.1: 'VideoToolbox/VideoToolbox.h' file not found
---------------------+------------------------
  Reporter:  iefdev  |      Owner:  ctreleaven
      Type:  defect  |     Status:  closed
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.4.3
Resolution:  fixed   |   Keywords:
      Port:  gpac    |
---------------------+------------------------
Description changed by ryandesign:

Old description:

> // as I posted here: #56259#comment:8
>
> It fails to build...
>
> {{{
> --->  Computing dependencies for gpac
> --->  Fetching distfiles for gpac
> --->  Attempting to fetch gpac-0.7.1.tar.gz from
> http://lil.fr.distfiles.macports.org/gpac
> --->  Verifying checksums for gpac
> --->  Extracting gpac
> --->  Applying patches to gpac
> --->  Configuring gpac
> Error: gpac cannot be built while another version of gpac is active.
> Error: Please forcibly deactivate the existing copy of gpac, e.g. by
> running:
> Error:
> Error:     sudo port -f deactivate gpac
> Error:
> Error: Then try again.
> Error: Failed to configure gpac: gpac is active
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_gpac/gpac/main.log
> for details.
> Error: Follow https://guide.macports.org/#project.tickets to report a
> bug.
> }}}
>
> // Deactiavting:
> {{{
> $ sudo port -f deactivate gpac
> --->  Unable to deactivate gpac @0.6.1_1, the following ports depend on
> it:
> --->    MP4Joiner @2.2_1
> Warning: Deactivate forced.  Proceeding despite dependencies.
> --->  Deactivating gpac @0.6.1_1
> --->  Cleaning gpac
> }}}
>
> // Upgrading:
> {{{
> --->  Computing dependencies for gpac
> --->  Configuring gpac
> --->  Building gpac
> Error: Failed to build gpac: command execution failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_gpac/gpac/main.log
> for details.
> Error: Follow https://guide.macports.org/#project.tickets to report a
> bug.
> }}}
>
> -----
>
> The log complains about a missing header.
> {{{
> :info:build vtb_decode.c:31:10: fatal error:
> 'VideoToolbox/VideoToolbox.h' file not found
> :info:build #include <VideoToolbox/VideoToolbox.h>
> :info:build          ^
> :info:build 1 error generated.
> :info:build make[2]: *** [vtb_decode.o] Error 1
> :info:build make[2]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_gpac/gpac/work/gpac-0.7.1/modules/vtb_decode'
> :info:build make[1]: *** [plugs] Error 2
> :info:build make[1]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_gpac/gpac/work/gpac-0.7.1/modules'
> :info:build make: *** [all] Error 2
> :info:build make: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_gpac/gpac/work/gpac-0.7.1'
> :info:build Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_gpac/gpac/work/gpac-0.7.1"
> && /usr/bin/make -w all
> :info:build Exit code: 2
> :error:build Failed to build gpac: command execution failed
> }}}
>
> // Attaching my log…

New description:

 // as I posted here: comment:ticket:56259:8

 It fails to build...

 {{{
 --->  Computing dependencies for gpac
 --->  Fetching distfiles for gpac
 --->  Attempting to fetch gpac-0.7.1.tar.gz from
 http://lil.fr.distfiles.macports.org/gpac
 --->  Verifying checksums for gpac
 --->  Extracting gpac
 --->  Applying patches to gpac
 --->  Configuring gpac
 Error: gpac cannot be built while another version of gpac is active.
 Error: Please forcibly deactivate the existing copy of gpac, e.g. by
 running:
 Error:
 Error:     sudo port -f deactivate gpac
 Error:
 Error: Then try again.
 Error: Failed to configure gpac: gpac is active
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_gpac/gpac/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 }}}

 // Deactiavting:
 {{{
 $ sudo port -f deactivate gpac
 --->  Unable to deactivate gpac @0.6.1_1, the following ports depend on
 it:
 --->    MP4Joiner @2.2_1
 Warning: Deactivate forced.  Proceeding despite dependencies.
 --->  Deactivating gpac @0.6.1_1
 --->  Cleaning gpac
 }}}

 // Upgrading:
 {{{
 --->  Computing dependencies for gpac
 --->  Configuring gpac
 --->  Building gpac
 Error: Failed to build gpac: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_gpac/gpac/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 }}}

 -----

 The log complains about a missing header.
 {{{
 :info:build vtb_decode.c:31:10: fatal error: 'VideoToolbox/VideoToolbox.h'
 file not found
 :info:build #include <VideoToolbox/VideoToolbox.h>
 :info:build          ^
 :info:build 1 error generated.
 :info:build make[2]: *** [vtb_decode.o] Error 1
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_gpac/gpac/work/gpac-0.7.1/modules/vtb_decode'
 :info:build make[1]: *** [plugs] Error 2
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_gpac/gpac/work/gpac-0.7.1/modules'
 :info:build make: *** [all] Error 2
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_gpac/gpac/work/gpac-0.7.1'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_gpac/gpac/work/gpac-0.7.1"
 && /usr/bin/make -w all
 :info:build Exit code: 2
 :error:build Failed to build gpac: command execution failed
 }}}

 // Attaching my log…

--

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


More information about the macports-tickets mailing list