Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#16931 closed defect (fixed)

Openjpeg won't upgrade

Reported by: dershow Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), dershow, dbevans (David B. Evans)
Port: openjpeg

Description

When I try to upgrade openjpeg from 1.3_0 to 1.3_1 I get the following errors:

--->  Building openjpeg with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_openjpeg/work/OpenJPEG_v1_3" && make all -f Makefile.osx PREFIX=/opt/local " returned error 2
Command output: /usr/bin/gcc-4.0 -O3 -fPIC -Ilibopenjpeg -c libopenjpeg/bio.c -o libopenjpeg/bio.o
/usr/bin/gcc-4.0 -O3 -fPIC -Ilibopenjpeg -c libopenjpeg/cio.c -o libopenjpeg/cio.o
/usr/bin/gcc-4.0 -O3 -fPIC -Ilibopenjpeg -c libopenjpeg/dwt.c -o libopenjpeg/dwt.o
/usr/bin/gcc-4.0 -O3 -fPIC -Ilibopenjpeg -c libopenjpeg/event.c -o libopenjpeg/event.o
/usr/bin/gcc-4.0 -O3 -fPIC -Ilibopenjpeg -c libopenjpeg/image.c -o libopenjpeg/image.o
/usr/bin/gcc-4.0 -O3 -fPIC -Ilibopenjpeg -c libopenjpeg/j2k.c -o libopenjpeg/j2k.o
/usr/bin/gcc-4.0 -O3 -fPIC -Ilibopenjpeg -c libopenjpeg/j2k_lib.c -o libopenjpeg/j2k_lib.o
/usr/bin/gcc-4.0 -O3 -fPIC -Ilibopenjpeg -c libopenjpeg/jp2.c -o libopenjpeg/jp2.o
/usr/bin/gcc-4.0 -O3 -fPIC -Ilibopenjpeg -c libopenjpeg/jpt.c -o libopenjpeg/jpt.o
/usr/bin/gcc-4.0 -O3 -fPIC -Ilibopenjpeg -c libopenjpeg/mct.c -o libopenjpeg/mct.o
/usr/bin/gcc-4.0 -O3 -fPIC -Ilibopenjpeg -c libopenjpeg/mqc.c -o libopenjpeg/mqc.o
/usr/bin/gcc-4.0 -O3 -fPIC -Ilibopenjpeg -c libopenjpeg/openjpeg.c -o libopenjpeg/openjpeg.o
/usr/bin/gcc-4.0 -O3 -fPIC -Ilibopenjpeg -c libopenjpeg/pi.c -o libopenjpeg/pi.o
/usr/bin/gcc-4.0 -O3 -fPIC -Ilibopenjpeg -c libopenjpeg/raw.c -o libopenjpeg/raw.o
/usr/bin/gcc-4.0 -O3 -fPIC -Ilibopenjpeg -c libopenjpeg/t1.c -o libopenjpeg/t1.o
/usr/bin/gcc-4.0 -O3 -fPIC -Ilibopenjpeg -c libopenjpeg/t2.c -o libopenjpeg/t2.o
/usr/bin/gcc-4.0 -O3 -fPIC -Ilibopenjpeg -c libopenjpeg/tcd.c -o libopenjpeg/tcd.o
/usr/bin/gcc-4.0 -O3 -fPIC -Ilibopenjpeg -c libopenjpeg/tgt.c -o libopenjpeg/tgt.o
libtool -o libopenjpeg.a ./libopenjpeg/bio.o ./libopenjpeg/cio.o ./libopenjpeg/dwt.o ./libopenjpeg/event.o ./libopenjpeg/image.o ./libopenjpeg/j2k.o ./libopenjpeg/j2k_lib.o ./libopenjpeg/jp2.o ./libopenjpeg/jpt.o ./libopenjpeg/mct.o ./libopenjpeg/mqc.o ./libopenjpeg/openjpeg.o ./libopenjpeg/pi.o ./libopenjpeg/raw.o ./libopenjpeg/t1.o ./libopenjpeg/t2.o ./libopenjpeg/tcd.o ./libopenjpeg/tgt.o
/usr/bin/gcc-4.0 -dynamiclib -install_name /opt/local/lib/libopenjpeg-2.1.2.0.dylib  -current_version 2.1.2.0 -compatibility_version 2 -o libopenjpeg-2.1.2.0.dylib ./libopenjpeg/bio.o ./libopenjpeg/cio.o ./libopenjpeg/dwt.o ./libopenjpeg/event.o ./libopenjpeg/image.o ./libopenjpeg/j2k.o ./libopenjpeg/j2k_lib.o ./libopenjpeg/jp2.o ./libopenjpeg/jpt.o ./libopenjpeg/mct.o ./libopenjpeg/mqc.o ./libopenjpeg/openjpeg.o ./libopenjpeg/pi.o ./libopenjpeg/raw.o ./libopenjpeg/t1.o ./libopenjpeg/t2.o ./libopenjpeg/tcd.o ./libopenjpeg/tgt.o
ld: malformed version number: 2.1.2.0
collect2: ld returned 1 exit status
make: *** [libopenjpeg-2.1.2.0.dylib] Error 1

Error: Unable to upgrade port: 1

I did try cleaning all, but I got the same result. Any suggestions about the cause or the solution?

Thanks,

Change History (7)

comment:1 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Owner: changed from macports-tickets@… to mcalhoun@…
Status: newassigned

An error was introduced in r40982.
This should be fixed in r41011.

As soon as I get chance, I will test if #16868 and #14554 become re-broken (they were supposed to be fixed by r40982).

comment:2 Changed 16 years ago by dbevans (David B. Evans)

Cc: devans@… added

Cc Me!

comment:3 Changed 16 years ago by dbevans (David B. Evans)

After upgrading openjpeg be sure and upgrade gimp-jp2 as well as they seem to want to agree on libopenjpeg version numbers.

comment:4 Changed 16 years ago by dbevans (David B. Evans)

By the way, sorry for screwing things up in r40982 in my haste to get gimp-jp2 working. This error doesn't present itself on 10.4.11.

comment:5 Changed 16 years ago by dbevans (David B. Evans)

Looks like this is fixed now and should be closed.

comment:6 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: assignedclosed

comment:7 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.