[MacPorts] #35105: openjpeg port erroneously tries to link against absent libpng15
MacPorts
noreply at macports.org
Fri Jul 6 09:21:29 PDT 2012
#35105: openjpeg port erroneously tries to link against absent libpng15
------------------------------+---------------------------------------------
Reporter: trg818@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.1
Keywords: | Port: openjpeg
------------------------------+---------------------------------------------
Changes (by cal@…):
* keywords: libpng, openjpeg, ffmpeg =>
Old description:
> In the course of a more comprehensive upgrade involving ffmpeg and gtk2,
> I have to rebuild openjpeg, on which ffmpeg depends. This build fails,
> because it tries to link against libpng15, which is absent from my
> system, instead of linking against libpng14, which is installed and
> active.
> The screen output is:
> ~> sudo port clean openjpeg ffmpeg gtk2
> ---> Cleaning openjpeg
> ---> Cleaning ffmpeg
> ---> Cleaning gtk2
> ~> sudo port rev-upgrade
> ---> Updating database of binaries: 100.0%
> ---> Scanning binaries for linking errors: 100.0%
> ---> Found 92 broken file(s), matching files to ports
> ---> Found 4 broken port(s), determining rebuild order
> ---> Rebuilding in order
> ffmpeg @0.7.11
> gdk-pixbuf2 @2.26.1
> gtk2 @2.24.8 +x11
> poppler @0.18.4 +qt4+quartz
> ---> Computing dependencies for ffmpeg
> ---> Dependencies to be installed: openjpeg
> ---> Fetching archive for openjpeg
> ---> Attempting to fetch openjpeg-1.5.0_2.darwin_9.i386.tbz2 from
> http://packages.macports.org/openjpeg
> ---> Fetching distfiles for openjpeg
> ---> Verifying checksum(s) for openjpeg
> ---> Extracting openjpeg
> ---> Applying patches to openjpeg
> ---> Configuring openjpeg
> ---> Building openjpeg
> Error: org.macports.build for port openjpeg returned: command execution
> failed
> Error: Failed to install openjpeg
> Please see the log file for port openjpeg for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_openjpeg/openjpeg/main.log
> Error: The following dependencies were not installed: openjpeg
> Error: Unable to upgrade port: 1
> Error rebuilding ffmpeg
> while executing
> "error "Error rebuilding $portname""
> (procedure "revupgrade_scanandrebuild" line 370)
> invoked from within
> "revupgrade_scanandrebuild broken_port_counts $opts"
> (procedure "macports::revupgrade" line 5)
> invoked from within
> "macports::revupgrade $opts"
> (procedure "action_revupgrade" line 2)
> invoked from within
> "$action_proc $action $portlist [array get global_options]"
> (procedure "process_cmd" line 95)
> invoked from within
> "process_cmd $remaining_args"
> invoked from within
> "if { [llength $remaining_args] > 0 } {
>
> # If there are remaining arguments, process those as a command
> set exit_status [process_cmd $remaining..."
> (file "/opt/local/bin/port" line 4784)
>
> The logfile is attached.
New description:
In the course of a more comprehensive upgrade involving ffmpeg and gtk2, I
have to rebuild openjpeg, on which ffmpeg depends. This build fails,
because it tries to link against libpng15, which is absent from my system,
instead of linking against libpng14, which is installed and active.
The screen output is:
{{{
~> sudo port clean openjpeg ffmpeg gtk2
---> Cleaning openjpeg
---> Cleaning ffmpeg
---> Cleaning gtk2
~> sudo port rev-upgrade
---> Updating database of binaries: 100.0%
---> Scanning binaries for linking errors: 100.0%
---> Found 92 broken file(s), matching files to ports
---> Found 4 broken port(s), determining rebuild order
---> Rebuilding in order
ffmpeg @0.7.11
gdk-pixbuf2 @2.26.1
gtk2 @2.24.8 +x11
poppler @0.18.4 +qt4+quartz
---> Computing dependencies for ffmpeg
---> Dependencies to be installed: openjpeg
---> Fetching archive for openjpeg
---> Attempting to fetch openjpeg-1.5.0_2.darwin_9.i386.tbz2 from
http://packages.macports.org/openjpeg
---> Fetching distfiles for openjpeg
---> Verifying checksum(s) for openjpeg
---> Extracting openjpeg
---> Applying patches to openjpeg
---> Configuring openjpeg
---> Building openjpeg
Error: org.macports.build for port openjpeg returned: command execution
failed
Error: Failed to install openjpeg
Please see the log file for port openjpeg for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_openjpeg/openjpeg/main.log
Error: The following dependencies were not installed: openjpeg
Error: Unable to upgrade port: 1
Error rebuilding ffmpeg
while executing
"error "Error rebuilding $portname""
(procedure "revupgrade_scanandrebuild" line 370)
invoked from within
"revupgrade_scanandrebuild broken_port_counts $opts"
(procedure "macports::revupgrade" line 5)
invoked from within
"macports::revupgrade $opts"
(procedure "action_revupgrade" line 2)
invoked from within
"$action_proc $action $portlist [array get global_options]"
(procedure "process_cmd" line 95)
invoked from within
"process_cmd $remaining_args"
invoked from within
"if { [llength $remaining_args] > 0 } {
# If there are remaining arguments, process those as a command
set exit_status [process_cmd $remaining..."
(file "/opt/local/bin/port" line 4784)
}}}
The logfile is attached.
--
--
Ticket URL: <https://trac.macports.org/ticket/35105#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list