Opened 9 years ago

Closed 5 years ago

#48527 closed defect (worksforme)

Bug in gimp-gap

Reported by: simon.ravelingien@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: gimp-gap

Description

I wanted to install the port gimp-gap, but if failed because 'Failed to locate xz in path'. So I installed the port xz first and then this problem was solved.

Change History (9)

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

Keywords: xz failure removed
Resolution: invalid
Status: newclosed

gimp-gap doesn't use port xz at all but some of its dependencies do (tiff, libxml2) but, without a copy of your build log, it's really impossible to tell where your reported error is coming from.

I tried doing a clean install of gimp-gap, myself, xz was installed as part of the process and all built properly.

I suspect that xz was inadvertantly deactivated or uninstalled on your system but at any rate your fix for the error was appropriate.

comment:2 in reply to:  1 Changed 9 years ago by simon.ravelingien@…

Replying to devans@…:

gimp-gap doesn't use port xz at all but some of its dependencies do (tiff, libxml2) but, without a copy of your build log, it's really impossible to tell where your reported error is coming from.

I tried doing a clean install of gimp-gap, myself, xz was installed as part of the process and all built properly.

I suspect that xz was inadvertantly deactivated or uninstalled on your system but at any rate your fix for the error was appropriate.

How can I get a copy of my build log? (I'm just new here :) )

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

Resolution: invalid
Status: closedreopened
Version: 2.3.3

First uninstall gimp-gap and its dependencies so you can replicate the original conditions.

sudo port uninstall --follow-dependencies gimp-gap

Then clean gimp-gap and do a fresh build

sudo port clean gimp-gap
sudo port install gimp-gap

If the build fails again, you can find the path to the build log (main.log) by using this command

port logfile gimp-gap

Then attach main.log to this ticket using the 'Attach file' button above so we can see what happened. Let us know the results of this test either way.

Thanks.

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

Owner: changed from macports-tickets@… to devans@…
Status: reopenednew

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

Status: newassigned

comment:6 Changed 9 years ago by Ionic (Mihai Moldovan)

This typically happens when a port has a fetch-dependency on xz, but MacPorts skips it because it went into archive download mode (for which no fetch or build dependencies are needed) and failed to fetch the archive for some reason.

comment:7 in reply to:  6 Changed 9 years ago by dbevans (David B. Evans)

Replying to ionic@…:

This typically happens when a port has a fetch-dependency on xz, but MacPorts skips it because it went into archive download mode (for which no fetch or build dependencies are needed) and failed to fetch the archive for some reason.

But not likely for gimp-gap since the dependencies tiff and libxml2 mentioned above both have library dependencies on xz. So, if there is a problem of the type you mention, it is with one of the recursive dependencies not gimp-gap.

comment:8 in reply to:  3 Changed 9 years ago by simon.ravelingien@…

Replying to devans@…:

First uninstall gimp-gap and its dependencies so you can replicate the original conditions.

sudo port uninstall --follow-dependencies gimp-gap

Then clean gimp-gap and do a fresh build

sudo port clean gimp-gap
sudo port install gimp-gap

If the build fails again, you can find the path to the build log (main.log) by using this command

port logfile gimp-gap

Then attach main.log to this ticket using the 'Attach file' button above so we can see what happened. Let us know the results of this test either way.

Thanks.

The installations didn't fail, maybe I have to uninstall 'xz' first? I followed your whole proces, so I don't have a log file neither.

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

Resolution: worksforme
Status: assignedclosed

Problem still not reproducable at this point. Closing as works for me.

Note: See TracTickets for help on using tickets.