[MacPorts] #49908: gimp-jp2 fails to install

MacPorts noreply at macports.org
Sun Dec 6 01:11:05 PST 2015


#49908: gimp-jp2 fails to install
-----------------------+----------------------
  Reporter:  igs@…     |      Owner:  devans@…
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.4
Resolution:            |   Keywords:
      Port:  gimp-jp2  |
-----------------------+----------------------

Comment (by devans@…):

 Replying to [comment:2 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/49908#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list