Bug 74642 - unixodbc fails on ltmain.sh (libtoolize)
Bug#: 74642 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: rphillips@gentoo.org Reported By: stefan@konink.de
Component: Ebuilds
URL: 
Summary: unixodbc fails on ltmain.sh (libtoolize)
Keywords:  
Status Whiteboard: 
Opened: 2004-12-16 09:45 0000
Description:   Opened: 2004-12-16 09:45 0000
Our favorite weekly hot bug again, this time the fix:

# braindead check in configure fails - hack approach
epatch ${FILESDIR}/unixODBC-2.2.6-configure.in.patch

+libtoolize --copy --force
autoconf || die "autoconf failed"

works too to get around the initial warning.

Reproducible: Always
Steps to Reproduce:
1. emerge unixODBC


Actual Results:  
Failing unixODBC

Expected Results:  
Installing unixODBC

------- Comment #1 From David Klempner 2004-12-19 10:27:21 0000 -------
I get the exact same issue with lirc (bug #74911)

------- Comment #2 From Michael S 2004-12-20 12:36:52 0000 -------
I have the same problem with unixODBC-2.2.8, but the posted solution doesn't
seem to work for me.

I tried

<pre>
# libtoolize --copy --force
# autoconf || die "autoconf failed"
</pre>

This is with libtool 1.5.10.

I also tried the epatch solution, but I don't have the epatch program. What
package provides that? In any case, emerge unixODBC claims it's already
applying that patch.

------- Comment #3 From Stefan de Konink 2004-12-20 13:47:42 0000 -------
Michael S: I hope you changed it in the right ebuild, it doesn't work on the
'prompt'. (yeah it does... but then you are working with the ebuild program
itself blah blah blah).

------- Comment #4 From Ole Craig 2004-12-21 11:19:23 0000 -------
Michael S: Stefan meant that you need to change the ebuild file, adding 

  libtoolize --copy --force

just above the line that reads 

  autoconf || die "autoconf failed"

The quickie HOWTO at http://www.gentoo-wiki.com/HOWTO_Create_an_Updated_Ebuild may  provide some insight.

Ole (Posting in the bugreport instead of simply mailing, because the libtoolize thing has bitten me on several different ebuilds and it took me a little googlethrashing to find the howto after reading the various fix suggestions.)

------- Comment #5 From Aaron Walker (RETIRED) 2005-01-06 04:46:02 0000 -------
rphillips, what's the deal with this one?  I'd be glad to fix it if you don't
have the time.

------- Comment #6 From Aaron Walker (RETIRED) 2005-01-07 03:30:47 0000 -------
Fixed. Thanks for the report.