Opened 9 years ago

Closed 9 years ago

#47752 closed defect (worksforme)

gimp-lqr-plugin @0.7.2: autogen.sh failure

Reported by: tomemm Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: gimp-lqr-plugin

Description

mac mini 2.7 ghz intel core i7, 8 gb 1333 mhz ddr3, lion 10.7.5, port 2.3.3

the first failure log indicated that automake was at the wrong level in /usr/bin/, so i found the correct level under /opt/local/... and copied it to /usr/bin/, overwriting the lesser version. when the second failure log indicated a different failure, i noticed the log indicated '--prefix=/opt/local', but the configure seemed to be looking in /usr/bin/ for stuff, so it seemed to indicate that configure is not searching properly, hence the ticket. i did cleans between install attempts. the log is included.

Attachments (2)

main.log (6.0 KB) - added by tomemm 9 years ago.
main.log
main.2.log (4.4 KB) - added by tomemm 9 years ago.

Download all attachments as: .zip

Change History (9)

Changed 9 years ago by tomemm

Attachment: main.log added

main.log

comment:1 in reply to:  description Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: gimp gimp-lqr-plugin-0.7.2 removed
Owner: changed from macports-tickets@… to devans@…
Port: gimp-lqr-plugin added; gimp removed
Summary: Failed to install gimp-lqr-plugin-0.7.2 during gimp installgimp-lqr-plugin @0.7.2: autogen.sh failure

Replying to tome@…:

the first failure log indicated that automake was at the wrong level in /usr/bin/, so i found the correct level under /opt/local/... and copied it to /usr/bin/, overwriting the lesser version.

You should not modify anything in /usr/bin; only Apple-provided OS updates should modify files there. Please put the contents of /usr/bin back the way they were before your modifications.

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

Status: newassigned

As Ryan has said, put everything back the way it was originally, clean the port, rebuild and then submit a log file if you are still having a problem. Otherwise, there's not much we can do to help.

The port builds correctly for me in a standard installation without modifications.

comment:3 in reply to:  2 Changed 9 years ago by tomemm

Replying to devans@…:

As Ryan has said, put everything back the way it was originally, clean the port, rebuild and then submit a log file if you are still having a problem. Otherwise, there's not much we can do to help.

The port builds correctly for me in a standard installation without modifications.

have restored to original configuration and attached a new main.log, which is the same as the original failure. thank you for your help!

Changed 9 years ago by tomemm

Attachment: main.2.log added

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

Ok, the problem seems to be finding the right automake.

Make sure that you have MacPorts automake 1.15 installed

$ port installed automake
The following ports are currently installed:
  automake @1.15_0 (active)
$ port contents automake
Port automake contains:
  /opt/local/bin/aclocal
  /opt/local/bin/aclocal-1.15
  /opt/local/bin/automake
  /opt/local/bin/automake-1.15

Check that the MacPorts install path is first in your PATH. In my case

echo $PATH
/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin

/opt/local/bin needs to be before /usr/bin (this is part of the MacPorts initial setup). In particular see https://guide.macports.org/#installing.shell

Check which automake autogen.sh will use

$ which automake
/opt/local/bin/automake
$ which automake-1.15
/opt/local/bin/automake-1.15

Anything not as it should be?

comment:5 in reply to:  4 Changed 9 years ago by tomemm

Replying to devans@…:

Ok, the problem seems to be finding the right automake.

Make sure that you have MacPorts automake 1.15 installed

$ port installed automake
The following ports are currently installed:
  automake @1.15_0 (active)
$ port contents automake
Port automake contains:
  /opt/local/bin/aclocal
  /opt/local/bin/aclocal-1.15
  /opt/local/bin/automake
  /opt/local/bin/automake-1.15

Check that the MacPorts install path is first in your PATH. In my case

echo $PATH
/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin

/opt/local/bin needs to be before /usr/bin (this is part of the MacPorts initial setup). In particular see https://guide.macports.org/#installing.shell

Check which automake autogen.sh will use

$ which automake
/opt/local/bin/automake
$ which automake-1.15
/opt/local/bin/automake-1.15

Anything not as it should be?

Last login: Mon May 18 15:27:23 on ttys001
10:51-1> port installed automake
The following ports are currently installed:
  automake @1.15_0 (active)
10:52-2> port contents automake
Port automake contains:
  /opt/local/bin/aclocal
  /opt/local/bin/aclocal-1.15
  /opt/local/bin/automake
  /opt/local/bin/automake-1.15
  /opt/local/share/aclocal-1.15/amversion.m4
  /opt/local/share/aclocal-1.15/ar-lib.m4
  /opt/local/share/aclocal-1.15/as.m4
  /opt/local/share/aclocal-1.15/auxdir.m4
  /opt/local/share/aclocal-1.15/cond-if.m4
  /opt/local/share/aclocal-1.15/cond.m4
  /opt/local/share/aclocal-1.15/depend.m4
  /opt/local/share/aclocal-1.15/depout.m4
  /opt/local/share/aclocal-1.15/dmalloc.m4
  /opt/local/share/aclocal-1.15/extra-recurs.m4
  /opt/local/share/aclocal-1.15/gcj.m4
  /opt/local/share/aclocal-1.15/init.m4
  /opt/local/share/aclocal-1.15/install-sh.m4
  /opt/local/share/aclocal-1.15/internal/ac-config-macro-dirs.m4
  /opt/local/share/aclocal-1.15/lead-dot.m4
  /opt/local/share/aclocal-1.15/lex.m4
  /opt/local/share/aclocal-1.15/lispdir.m4
  /opt/local/share/aclocal-1.15/maintainer.m4
  /opt/local/share/aclocal-1.15/make.m4
  /opt/local/share/aclocal-1.15/missing.m4
  /opt/local/share/aclocal-1.15/mkdirp.m4
  /opt/local/share/aclocal-1.15/obsolete.m4
  /opt/local/share/aclocal-1.15/options.m4
  /opt/local/share/aclocal-1.15/prog-cc-c-o.m4
  /opt/local/share/aclocal-1.15/python.m4
  /opt/local/share/aclocal-1.15/runlog.m4
  /opt/local/share/aclocal-1.15/sanity.m4
  /opt/local/share/aclocal-1.15/silent.m4
  /opt/local/share/aclocal-1.15/strip.m4
  /opt/local/share/aclocal-1.15/substnot.m4
  /opt/local/share/aclocal-1.15/tar.m4
  /opt/local/share/aclocal-1.15/upc.m4
  /opt/local/share/aclocal-1.15/vala.m4
  /opt/local/share/aclocal/README
  /opt/local/share/automake-1.15/Automake/ChannelDefs.pm
  /opt/local/share/automake-1.15/Automake/Channels.pm
  /opt/local/share/automake-1.15/Automake/Condition.pm
  /opt/local/share/automake-1.15/Automake/Config.pm
  /opt/local/share/automake-1.15/Automake/Configure_ac.pm
  /opt/local/share/automake-1.15/Automake/DisjConditions.pm
  /opt/local/share/automake-1.15/Automake/FileUtils.pm
  /opt/local/share/automake-1.15/Automake/General.pm
  /opt/local/share/automake-1.15/Automake/Getopt.pm
  /opt/local/share/automake-1.15/Automake/Item.pm
  /opt/local/share/automake-1.15/Automake/ItemDef.pm
  /opt/local/share/automake-1.15/Automake/Language.pm
  /opt/local/share/automake-1.15/Automake/Location.pm
  /opt/local/share/automake-1.15/Automake/Options.pm
  /opt/local/share/automake-1.15/Automake/Rule.pm
  /opt/local/share/automake-1.15/Automake/RuleDef.pm
  /opt/local/share/automake-1.15/Automake/VarDef.pm
  /opt/local/share/automake-1.15/Automake/Variable.pm
  /opt/local/share/automake-1.15/Automake/Version.pm
  /opt/local/share/automake-1.15/Automake/Wrap.pm
  /opt/local/share/automake-1.15/Automake/XFile.pm
  /opt/local/share/automake-1.15/COPYING
  /opt/local/share/automake-1.15/INSTALL
  /opt/local/share/automake-1.15/am/check.am
  /opt/local/share/automake-1.15/am/check2.am
  /opt/local/share/automake-1.15/am/clean-hdr.am
  /opt/local/share/automake-1.15/am/clean.am
  /opt/local/share/automake-1.15/am/compile.am
  /opt/local/share/automake-1.15/am/configure.am
  /opt/local/share/automake-1.15/am/data.am
  /opt/local/share/automake-1.15/am/dejagnu.am
  /opt/local/share/automake-1.15/am/depend.am
  /opt/local/share/automake-1.15/am/depend2.am
  /opt/local/share/automake-1.15/am/distdir.am
  /opt/local/share/automake-1.15/am/footer.am
  /opt/local/share/automake-1.15/am/header-vars.am
  /opt/local/share/automake-1.15/am/header.am
  /opt/local/share/automake-1.15/am/inst-vars.am
  /opt/local/share/automake-1.15/am/install.am
  /opt/local/share/automake-1.15/am/java.am
  /opt/local/share/automake-1.15/am/lang-compile.am
  /opt/local/share/automake-1.15/am/lex.am
  /opt/local/share/automake-1.15/am/library.am
  /opt/local/share/automake-1.15/am/libs.am
  /opt/local/share/automake-1.15/am/libtool.am
  /opt/local/share/automake-1.15/am/lisp.am
  /opt/local/share/automake-1.15/am/ltlib.am
  /opt/local/share/automake-1.15/am/ltlibrary.am
  /opt/local/share/automake-1.15/am/mans-vars.am
  /opt/local/share/automake-1.15/am/mans.am
  /opt/local/share/automake-1.15/am/program.am
  /opt/local/share/automake-1.15/am/progs.am
  /opt/local/share/automake-1.15/am/python.am
  /opt/local/share/automake-1.15/am/remake-hdr.am
  /opt/local/share/automake-1.15/am/scripts.am
  /opt/local/share/automake-1.15/am/subdirs.am
  /opt/local/share/automake-1.15/am/tags.am
  /opt/local/share/automake-1.15/am/texi-vers.am
  /opt/local/share/automake-1.15/am/texibuild.am
  /opt/local/share/automake-1.15/am/texinfos.am
  /opt/local/share/automake-1.15/am/vala.am
  /opt/local/share/automake-1.15/am/yacc.am
  /opt/local/share/automake-1.15/ar-lib
  /opt/local/share/automake-1.15/compile
  /opt/local/share/automake-1.15/config.guess
  /opt/local/share/automake-1.15/config.sub
  /opt/local/share/automake-1.15/depcomp
  /opt/local/share/automake-1.15/install-sh
  /opt/local/share/automake-1.15/mdate-sh
  /opt/local/share/automake-1.15/missing
  /opt/local/share/automake-1.15/mkinstalldirs
  /opt/local/share/automake-1.15/py-compile
  /opt/local/share/automake-1.15/tap-driver.sh
  /opt/local/share/automake-1.15/test-driver
  /opt/local/share/automake-1.15/texinfo.tex
  /opt/local/share/automake-1.15/ylwrap
  /opt/local/share/doc/automake/AUTHORS
  /opt/local/share/doc/automake/COPYING
  /opt/local/share/doc/automake/ChangeLog
  /opt/local/share/doc/automake/HACKING
  /opt/local/share/doc/automake/INSTALL
  /opt/local/share/doc/automake/NEWS
  /opt/local/share/doc/automake/README
  /opt/local/share/doc/automake/THANKS
  /opt/local/share/doc/automake/amhello-1.0.tar.gz
  /opt/local/share/info/automake-history.info
  /opt/local/share/info/automake.info
  /opt/local/share/info/automake.info-1
  /opt/local/share/info/automake.info-2
  /opt/local/share/man/man1/aclocal-1.15.1.gz
  /opt/local/share/man/man1/aclocal.1.gz
  /opt/local/share/man/man1/automake-1.15.1.gz
  /opt/local/share/man/man1/automake.1.gz
10:53-3> echo $PATH
.:~/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11/bin
10:55-4> which automake
/opt/local/bin/automake
10:58-5> which automake-1.15
/opt/local/bin/automake-1.15
11:01-6> 

seems to be as it should be.

Last edited 9 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:10 Changed 9 years ago by tomemm

have received no emails after my last reply. happened to lookup the ticket and saw the above responses, but have no idea what they mean. too much for me. will try to find another way to do what i want to do. if there is anybody out there, you can remove this problem.

comment:11 in reply to:  10 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: assignedclosed

Replying to devans@…:

Check that the MacPorts install path is first in your PATH. In my case

echo $PATH
/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin

/opt/local/bin needs to be before /usr/bin (this is part of the MacPorts initial setup). In particular see https://guide.macports.org/#installing.shell

The PATH environment variable is for the user's convenience only. MacPorts itself does not use it. MacPorts uses the value of binpath in macports.conf.

Replying to tome@…:

have received no emails after my last reply. happened to lookup the ticket and saw the above responses, but have no idea what they mean.

You're probably referring to some spam in this ticket that I have now removed. There was an automated process that was CC'ing and un-CC'ing itself from MacPorts tickets. The process has been fixed to not do that anymore, and I have been removing the resultant spam from tickets.

too much for me. will try to find another way to do what i want to do. if there is anybody out there, you can remove this problem.

If you don't wish to troubleshoot the problem further, that's fine, and I'm closing the ticket. If you wish to continue, please re-open the ticket. It does sound like the problem is specific to your computer however.

We already established that MacPorts thinks automake 1.15 is installed, but gimp-lqr-plugin thinks automake 1.10 is installed. The command I would suggest you run is:

/opt/local/bin/automake --version

That should tell us what version of automake is actually installed. If it doesn't match the version MacPorts thinks is installed (for example: if it says 1.10, but MacPorts says 1.15 is installed), then something outside of MacPorts may have overwritten your MacPorts automake with an older version. You could get back to the MacPorts-provided version by running:

sudo port -f deactivate automake
sudo port activate automake

However, if something outside of MacPorts overwrote your automake files, we have no way of knowing if it also overwrote files belonging to other MacPorts ports, so the safest solution at that point would be to uninstall MacPorts, including removing the /opt/local directory, then reinstall MacPorts and the ports you want. That way you can be sure nothing is in /opt/local that shouldn't be there.

Note: See TracTickets for help on using tickets.