Bug#512013: Ubuntu patches

2009-01-16 Thread Colin Watson
On Fri, Jan 16, 2009 at 08:39:17PM +0100, Kurt Roeckx wrote:
> On Fri, Jan 16, 2009 at 06:57:13PM +, Colin Watson wrote:
> > I filed https://bugs.launchpad.net/ubuntu/+source/libtool/+bug/299931
> > with details at the time, at Scott's request.
> > 
> > As I indicated in the bug, it gave me something of a sense of déjà vu
> > with regard to a previous Debian bug.
> 
> So it was #447022 that I was thinking about, and that turned out to be
> a bug in fakeroot.
> 
> And this is about changing the symlink from bash to dash after running
> configure.

Well, specifically, when the symlink is bash when libtool is built, but
dash when one attempts to use libtool.

-- 
Colin Watson   [cjwat...@ubuntu.com]



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



Bug#512013: Ubuntu patches

2009-01-16 Thread Kurt Roeckx
On Fri, Jan 16, 2009 at 06:57:13PM +, Colin Watson wrote:
> On Fri, Jan 16, 2009 at 06:45:51PM +, Scott James Remnant wrote:
> > On Fri, 2009-01-16 at 19:29 +0100, Kurt Roeckx wrote:
> > > Someone else found a bug about this already.
> > > 
> > > >  - force /bin/bash as shell for generated libtool script.
> > > 
> > > Why are you doing that?  I know someone (Clint?) has reported some
> > > problems using dash as /bin/sh I think, but I can't find the bug
> > > report for that now.  I was atleast under the impression upstream
> > > was looking into it, no idea if it was fixed.
> > 
> > Right - it was dash related.
> > 
> > Colin Watson should remember more details.
> 
> I filed https://bugs.launchpad.net/ubuntu/+source/libtool/+bug/299931
> with details at the time, at Scott's request.
> 
> As I indicated in the bug, it gave me something of a sense of déjà vu
> with regard to a previous Debian bug.

So it was #447022 that I was thinking about, and that turned out to be
a bug in fakeroot.

And this is about changing the symlink from bash to dash after running
configure.


Kurt




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



Bug#512013: Ubuntu patches

2009-01-16 Thread Colin Watson
On Fri, Jan 16, 2009 at 06:45:51PM +, Scott James Remnant wrote:
> On Fri, 2009-01-16 at 19:29 +0100, Kurt Roeckx wrote:
> > Someone else found a bug about this already.
> > 
> > >  - force /bin/bash as shell for generated libtool script.
> > 
> > Why are you doing that?  I know someone (Clint?) has reported some
> > problems using dash as /bin/sh I think, but I can't find the bug
> > report for that now.  I was atleast under the impression upstream
> > was looking into it, no idea if it was fixed.
> 
> Right - it was dash related.
> 
> Colin Watson should remember more details.

I filed https://bugs.launchpad.net/ubuntu/+source/libtool/+bug/299931
with details at the time, at Scott's request.

As I indicated in the bug, it gave me something of a sense of déjà vu
with regard to a previous Debian bug.

Cheers,

-- 
Colin Watson   [cjwat...@ubuntu.com]



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



Bug#512013: Ubuntu patches

2009-01-16 Thread Scott James Remnant
On Fri, 2009-01-16 at 19:29 +0100, Kurt Roeckx wrote:

> Someone else found a bug about this already.
> 
> >  - force /bin/bash as shell for generated libtool script.
> 
> Why are you doing that?  I know someone (Clint?) has reported some
> problems using dash as /bin/sh I think, but I can't find the bug
> report for that now.  I was atleast under the impression upstream
> was looking into it, no idea if it was fixed.
> 
Right - it was dash related.

Colin Watson should remember more details.

> Did ubuntu have many problems switching to the libtool 2.2 version?
> 
No, we've had to go around updating things and teaching them about
autoreconf - rather than the manual way they run commands in the wrong
order, but generally it's been ok.

Scott
-- 
Scott James Remnant
sc...@ubuntu.com


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


Bug#512013: Ubuntu patches

2009-01-16 Thread Kurt Roeckx
On Fri, Jan 16, 2009 at 10:22:25AM +, Scott James Remnant wrote:
> Package: libtool
> Version: 2.2.6a-1
> Severity: normal
> Tags: patch
> User: ubuntu-de...@lists.ubuntu.com
> Usertags: origin-ubuntu intrepid ubuntu-patch
> 
> We have a couple of patches in Ubuntu which you might want to apply:
> 
>  - libltdl7-dev provides libltdl3-dev since the two are API-compatible. 

Probably makes sense.

>  - install libtool.info-*.gz as well.  LP: #254182.

Someone else found a bug about this already.

>  - force /bin/bash as shell for generated libtool script.

Why are you doing that?  I know someone (Clint?) has reported some
problems using dash as /bin/sh I think, but I can't find the bug
report for that now.  I was atleast under the impression upstream
was looking into it, no idea if it was fixed.

Did ubuntu have many problems switching to the libtool 2.2 version?


Kurt




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



Bug#512013: Ubuntu patches

2009-01-16 Thread Scott James Remnant
Package: libtool
Version: 2.2.6a-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu intrepid ubuntu-patch

We have a couple of patches in Ubuntu which you might want to apply:

 - libltdl7-dev provides libltdl3-dev since the two are API-compatible. 

 - install libtool.info-*.gz as well.  LP: #254182.

 - force /bin/bash as shell for generated libtool script.

-- System Information:
Debian Release: lenny/sid
  APT prefers intrepid-updates
  APT policy: (500, 'intrepid-updates'), (500, 'intrepid-security'), (500, 
'intrepid-proposed'), (500, 'intrepid')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.27-11-generic (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u libtool-2.2.6a/debian/rules libtool-2.2.6a/debian/rules
--- libtool-2.2.6a/debian/rules
+++ libtool-2.2.6a/debian/rules
@@ -86,7 +86,7 @@
sed -i -e 's/^#.*prognam...@version@$$/& Debian-$(DEBIAN_REVISION)/' 
libltdl/config/ltmain.m4sh
sed -i -e 's/^VERSION.*/VERSION="@VERSION@ Debian-$(DEBIAN_REVISION)"/' 
libltdl/config/ltmain.m4sh
./bootstrap
-   ./configure --prefix=/usr $(confflags) CFLAGS="$(CFLAGS)"
+   CONFIG_SHELL=/bin/bash /bin/bash ./configure --prefix=/usr $(confflags) 
CFLAGS="$(CFLAGS)"
touch config-stamp
 
 
diff -u libtool-2.2.6a/debian/control libtool-2.2.6a/debian/control
--- libtool-2.2.6a/debian/control
+++ libtool-2.2.6a/debian/control
@@ -64,6 +64,7 @@
 Recommends: libtool
 Conflicts: libtool (<< 1.5.20), libtool1.4, libltdl3-dev
 Replaces: libtool (<< 1.5.20), libltdl3-dev
+Provides: libltdl3-dev
 Depends: libltdl7 (= ${binary:Version})
 Description: A system independent dlopen wrapper for GNU libtool
  This package contains the header files and static libraries for the
diff -u libtool-2.2.6a/debian/libtool-doc.info 
libtool-2.2.6a/debian/libtool-doc.info
--- libtool-2.2.6a/debian/libtool-doc.info
+++ libtool-2.2.6a/debian/libtool-doc.info
@@ -1,0 +2 @@
+doc/libtool.info*
diff -u libtool-2.2.6a/debian/changelog libtool-2.2.6a/debian/changelog