Opened 12 years ago

Last modified 12 years ago

#35105 closed defect

openjpeg port erroneously tries to link against absent libpng15 — at Version 1

Reported by: trg818 (Thomas Ruedas) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc:
Port: openjpeg

Description (last modified by neverpanic (Clemens Lang))

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.

Change History (2)

Changed 12 years ago by trg818 (Thomas Ruedas)

Attachment: main.log added

Logfile for openjpeg compilation

comment:1 Changed 12 years ago by neverpanic (Clemens Lang)

Description: modified (diff)
Keywords: libpng openjpeg ffmpeg removed
Note: See TracTickets for help on using tickets.