#56259 closed defect (invalid)
gpac @0.6.1_1 fails to build on Mavericks
Reported by: | tehcog (tehcog) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.2 |
Keywords: | mavericks | Cc: | iEFdev |
Port: | gpac |
Description
Requests deactivation, see attached log.
somebody::somewhere { ~ }-> sudo sudo port -f deactivate gpac Password: ---> Deactivating gpac @0.6.1_1 ---> Cleaning gpac somebody::somewhere { ~ }-> sudo port install gpac ---> Computing dependencies for gpac ---> Activating gpac @0.6.1_1 ---> Cleaning gpac ---> Scanning binaries for linking errors ---> Found 1 broken file, matching files to ports ---> Found 1 broken port, determining rebuild order You can always run 'port rev-upgrade' again to fix errors. The following ports will be rebuilt: gpac @0.6.1 Continue? [Y/n]: ---> Computing dependencies for gpac ---> Cleaning gpac ---> Scanning binaries for linking errors ---> Found 1 broken file, matching files to ports ---> Found 1 broken port, determining rebuild order ---> Rebuilding in order gpac @0.6.1 ---> Computing dependencies for gpac ---> Fetching distfiles for 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: rev-upgrade failed: Error rebuilding gpac Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Attachments (3)
Change History (15)
Changed 7 years ago by tehcog (tehcog)
comment:1 follow-ups: 3 4 7 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | mavericks added; Mavericks removed |
---|
Hard to tell what's going wrong here. So far, all we know is that gpac is broken for some reason, and it needs to be rebuilt, but it can't be active while being rebuilt. So, to rebuild it, please run:
sudo port -f deactivate gpac sudo port -n upgrade --force gpac
After doing that, is it still reported as broken?
comment:2 Changed 7 years ago by tehcog (tehcog)
comment:3 Changed 7 years ago by tehcog (tehcog)
Replying to ryandesign:
After doing that, is it still reported as broken?
It is virtually the same:
someone::somewhere { ~ }-> sudo port -f deactivate gpac && sudo port -n upgrade --force gpac Password: ---> Deactivating gpac @0.6.1_1 ---> Cleaning gpac ---> Fetching archive for gpac ---> Attempting to fetch gpac-0.6.1_1.darwin_13.x86_64.tbz2 from https://packages.macports.org/gpac ---> Attempting to fetch gpac-0.6.1_1.darwin_13.x86_64.tbz2.rmd160 from https://packages.macports.org/gpac ---> Computing dependencies for gpac ---> Uninstalling gpac @0.6.1_1 ---> Cleaning gpac ---> Computing dependencies for gpac ---> Installing gpac @0.6.1_1 ---> Activating gpac @0.6.1_1 ---> Cleaning gpac ---> Updating database of binaries ---> Scanning binaries for linking errors ---> Found 1 broken file, matching files to ports ---> Found 1 broken port, determining rebuild order You can always run 'port rev-upgrade' again to fix errors. The following ports will be rebuilt: gpac @0.6.1 Continue? [Y/n]: ---> Computing dependencies for gpac ---> Cleaning gpac ---> Scanning binaries for linking errors ---> Found 1 broken file, matching files to ports ---> Found 1 broken port, determining rebuild order ---> Rebuilding in order gpac @0.6.1 ---> Computing dependencies for gpac ---> Fetching distfiles for 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: rev-upgrade failed: Error rebuilding gpac Error: Follow https://guide.macports.org/#project.tickets to report a bug.
comment:4 Changed 7 years ago by tehcog (tehcog)
Replying to ryandesign:
It was an update to another port that forced the rebuild. 3 ports were rebuilt. 2 succeeded, gpac failed. Can't remember which port upgrade triggered it. :(
comment:6 Changed 7 years ago by tehcog (tehcog)
I cleaned up by removing all leaves (there was quite a few). after that I re-ran:
sudo port -f deactivate gpac sudo port -n upgrade --force gpac
It built successfully:
somebody::somewhere { ~ }-> sudo port -f deactivate gpac ---> Deactivating gpac @0.6.1_1 ---> Cleaning gpac somebody::somewhere { ~ }-> sudo port -n upgrade --force gpac ---> Computing dependencies for gpac ---> Configuring gpac ---> Building gpac ---> Staging gpac into destroot ---> Uninstalling gpac @0.6.1_1 ---> Cleaning gpac ---> Computing dependencies for gpac ---> Installing gpac @0.6.1_1 ---> Activating gpac @0.6.1_1 ---> Cleaning gpac ---> Updating database of binaries ---> Scanning binaries for linking errors ---> No broken files found.
Not sure why.
comment:7 Changed 7 years ago by tehcog (tehcog)
Replying to ryandesign:
Hard to tell what's going wrong here.
@ryandesign, thanks for your help. I think you can close this one. Not sure what happened but removing leaves seemed to solve it. The only reason I mentioned octave is because I had an error in my system log that was dated around the same time that ports was upgraded.
Is there a general way to log all ports activities? Can you point me to something in the ports documentation, or is this a fundamental OS question?
Thanks again
Changed 7 years ago by iEFdev
Attachment: | gpac.tar.xz added |
---|
comment:8 Changed 7 years ago by iEFdev
It fails to build on Lion as well…
---> 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.
Deactivating:
$ 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…
comment:9 Changed 7 years ago by iEFdev
Cc: | iEFdev added |
---|
comment:10 follow-up: 12 Changed 7 years ago by pmetzger (Perry E. Metzger)
iEFdev: this is a distinct problem. Can you please open a different report about it? I'm going to close this report because the initial problem (which is quite different) is gone and the submitter asked to close it.
comment:11 Changed 7 years ago by pmetzger (Perry E. Metzger)
Resolution: | → invalid |
---|---|
Status: | new → closed |
log