Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#49908 closed defect (worksforme)

gimp-jp2 fails to install

Reported by: Gord-Butler Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: gimp-jp2

Description

Attempting to update outdated ports. The updating stops after attempting to update gimp-jp2, with a message stating gimp2 must be installed without +quartz. How important is the port and is there a work-around? Log file is included.

Attachments (3)

main.log (6.4 KB) - added by Gord-Butler 8 years ago.
gimp-jp2 log
gimp-jp2+quartz install 2.txt (3.9 KB) - added by Gord-Butler 8 years ago.
unsuccessful and successful attempt to install gimp-jp2
main2.log (166.9 KB) - added by Gord-Butler 8 years ago.
VLC upgrade attempt

Download all attachments as: .zip

Change History (8)

Changed 8 years ago by Gord-Butler

Attachment: main.log added

gimp-jp2 log

comment:1 Changed 8 years ago by dbevans (David B. Evans)

Owner: changed from macports-tickets@… to devans@…
Port: gimp-jp2 added
Status: newassigned

What this is telling you is that you have gimp2 +quartz installed and active, but you've asked for gimp-jp2 to be installed without the +quartz variant. gimp2 and its plugins need to agree on whether this is a quartz or an X11 build.

If you are using gimp2 +quartz then install gimp-jp2 +quartz. If you want X11 install gimp2 (and its dependencies) without the +quartz variant and then install gimp-jp2 (no variant).

This plugin allows GIMP to read JPEG-2000 images. If you don't need this, then you don't need the plugin.

Changed 8 years ago by Gord-Butler

unsuccessful and successful attempt to install gimp-jp2

Changed 8 years ago by Gord-Butler

Attachment: main2.log added

VLC upgrade attempt

comment:2 in reply to:  1 ; Changed 8 years ago by Gord-Butler

Installing the +quartz variant seemed to work. Although I installed the +quartz variant of GIMP (gimp2?), MacPorts selected the non-quartz variant of some of the related ports (gimp-lqr-plugin, gimp-gap-devel, …) when I attempted to upgrade with the port upgrade outdated command. This has not happened before. I wound up installing those ports manually after each upgrade failure.

After installing gimp-lqr-plugin successfully and after each port upgrade, MacPorts would update the database of binaries and scan the binaries for linking errors. Each time it attempted to rebuild VLC 2.1.5 (it is a +quartz variant), MacPorts would fail, either at the configure or the build stage. I don't know what's wrong or what I am doing wrong. I've attached additional files of the gimp-jp2 attempt and the VLC attempt.

Last edited 8 years ago by Gord-Butler (previous) (diff)

comment:3 in reply to:  2 Changed 8 years ago by dbevans (David B. Evans)

Replying to igs@…:

Installing the +quartz variant seemed to work. Although I installed the +quartz variant of GIMP (gimp2?), MacPorts selected the non-quartz variant of some of the related ports (gimp-lqr-plugin, gimp-gap-devel, …) when I attempted to upgrade with the port upgrade outdated command. This has not happened before. I wound up installing those ports manually after each upgrade failure.

This is because upgrade invokes its build with the same variants as are already installed. In the previous version the +quartz variants did not exist even though they were built using gimp2 +quartz. With the addition on the new +quartz variants for the dependencies of gimp that can build with gimp2 +quartz, the old version (no +quartz) was interpreted as being as being a non quartz build. Using install instead of upgrade in this one instance causes the port to be built as requested without checking the old versions variants. In the future upgrade will work properly because the previously installed version will now have the +quartz variant. The whole point of these modifications (add +quartz variants, checking the installed gimp2 to make sure it was the same flavor as the dependent port) was to make sure things would build correctly in the future.

So to make sure all the dependencies of port gimp are built correctly use

sudo port install gimp +quartz +animation

rather than upgrade (this iteration only)

After installing gimp-lqr-plugin successfully and after each port upgrade, MacPorts would update the database of binaries and scan the binaries for linking errors. Each time it attempted to rebuild VLC 2.1.5 (it is a +quartz variant), MacPorts would fail, either at the configure or the build stage. I don't know what's wrong or what I am doing wrong. I've attached additional files of the gimp-jp2 attempt and the VLC attempt.

This is not related to the gimp-jp2 problem. VLC currently is broken (#49405) so it won't rebuild properly. This occurred when lua was updated to version 5.3 - this version of VLC only supports lua 5.2 API. You can see exactly what is causing the binary mismatch by running

sudo port -d rev-upgrade

Look for lines that talk about being unable to open a particular library. You'll probably find that that library has been upgraded to a newer version number or possibly the library is just not currently active (deactivated for some reason). If the latter is true then installing the missing library will help. If the library is installed but the version has changed you may have to deactivate VLC for now (it probably won't run because of the mismatch) until the build problem is addressed. Deactivating it will get rid of the attempted rebuilds.

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

Resolution: worksforme
Status: assignedclosed

Closing this ticket since gimp-jp2 +quartz has been correctly installed.

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

FYI. patches applied to VLC in r143186 that allow it to build once again as well as fix the binary incompatibility that you mentioned.

Note: See TracTickets for help on using tickets.