Mailing List Archive

autotools - 'make' infinite loop
Hi,

I am trying to create an ebuild for the icecream monitor available at

  ftp://ftp.suse.com/pub/projects/icecream/icemon-kde3.tar.bz2

Running 'configure' goes fine, but running 'make' just keeps running
configure over and over. If there's any autotools gurus who can have a
quick look, it'd be much appreciated! :) I've spent ages trying to fix it
but to no avail, and upstream hasn't got time to look at it at the moment.

The latest version of sys-devel/icecream is required for configure to
complete the first time, the ebuild is here:

  https://bugs.gentoo.org/show_bug.cgi?id=139352

Many thanks to anyone who has a few minutes to look at it,

Marcus.

--
gentoo-dev@gentoo.org mailing list
Re: autotools - 'make' infinite loop [ In reply to ]
On Wednesday 05 July 2006 22:05, Marcus Furlong wrote:
> Running 'configure' goes fine, but running 'make' just keeps running
> configure over and over.
It's commonly caused when the timestamp of configure and the sources for
configure are messed up. Make sure no file has modification time in the
future, and let the configure script to be regenerated forcefully before
make.
If you're using kde eclass, just remove the 'configure' file before
kde_src_compile, and the eclass will take care.

If the files have modification time in the future, you must run in src_unpack
something like

find "${S}" -type f -print0 | xargs -0 touch

--
Diego "Flameeyes" Pettenò - http://farragut.flameeyes.is-a-geek.org/
Gentoo/Alt lead, Gentoo/FreeBSD, Video, AMD64, Sound, PAM, KDE
Re: autotools - 'make' infinite loop [ In reply to ]
Diego 'Flameeyes' Pettenò wrote:

> On Wednesday 05 July 2006 22:05, Marcus Furlong wrote:
>> Running 'configure' goes fine, but running 'make' just keeps running
>> configure over and over.
> It's commonly caused when the timestamp of configure and the sources for
> configure are messed up. Make sure no file has modification time in the
> future, and let the configure script to be regenerated forcefully before
> make.

Ok, I tried this. I checked the timestamps of all files, and they're all in
the past. I deleted configure and let it be regenerated anyway, but the
same thing happened as before. :(

> If you're using kde eclass, just remove the 'configure' file before
> kde_src_compile, and the eclass will take care.

Tried this too, and no luck.

> If the files have modification time in the future, you must run in
> src_unpack something like
>
> find "${S}" -type f -print0 | xargs -0 touch

Even trying to 'configure' and run 'make' outside of an ebuild does not
work, that's why I'm guessing it's some sort of misconfiguration with
autotools. I'll gladly try any other suggestions that anyone has!

Marcus.

--
gentoo-dev@gentoo.org mailing list
Re: autotools - 'make' infinite loop [ In reply to ]
Finally, this was caused by a missing one-liner Makefile.am, it was already
fixed upstream but didn't make it into the tarball. Thanks anyway for the
suggestions.

Marcus,

--
gentoo-dev@gentoo.org mailing list