Bug#570719: rep-gtk and librep-dev bash/dash libtool breakage

2010-10-14 Thread Ralf Wildenhues
* Tim Retout wrote on Thu, Oct 14, 2010 at 09:36:07AM CEST:
> I almost just closed #570723 - but I'll reassign to libtool, because
> maybe it should 'set -e' or something (unless that's not portable).

Issues such as this:

| eval: 1: libtool_args+=: not found
| eval: 1: libtool_args+=: not found

typically come from configure running the tests under a different shell
than libtool.  This is often because the configure.ac messes with $SHELL
and/or $CONFIG_SHELL, or CONFIG_SHELL is set in the environment.

The build log referenced looks like it ran under bash:

| checking whether the shell understands some XSI constructs... yes
| checking whether the shell understands "+="... yes

yet make uses /usr/lib/rep/x86_64-pc-kfreebsd-gnu/libtool which doesn't
seem to have been created by configure.  I suspect that
/usr/lib/rep/x86_64-pc-kfreebsd-gnu/libtool assumes /bin/sh is bash,
because at the time and on the system it was created it was bash.

In all likelihood, this is not a Libtool bug.

Cheers,
Ralf



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#570719: rep-gtk and librep-dev bash/dash libtool breakage

2010-10-14 Thread Tim Retout
severity 570719 serious
reassign 570723 libtool
severity 570723 wishlist
retitle 570723 libtool should set -e
affects 570723 rep-gtk
thanks

I have looked at why rep-gtk's build system did not fail when #570719
occurred; it can happen on plain amd64 as well.  The problem is that
libtool did not exit with an error code, so there is really nothing
rep-gtk could have done.

I almost just closed #570723 - but I'll reassign to libtool, because
maybe it should 'set -e' or something (unless that's not portable).

To compensate for the downgrade, I guess #570719 must now be considered
serious.  I think it should have been from the start, really.

So we need a new librep-dev upload, and maybe a binNMU for rep-gtk on
some architectures.

-- 
Tim Retout 


signature.asc
Description: This is a digitally signed message part