Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157106 - dev-db/unixODBC-2.2.11-r1 fails
Summary: dev-db/unixODBC-2.2.11-r1 fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
: 159062 159685 (view as bug list)
Depends on:
Blocks: autotools-deps
  Show dependency tree
 
Reported: 2006-12-04 08:11 UTC by Christian Schmidt
Modified: 2007-02-07 08:45 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Schmidt 2006-12-04 08:11:07 UTC
configure.in: required file `./ylwrap' not found
configure.in:   `automake --add-missing' can install `ylwrap'

!!! ERROR: dev-db/unixODBC-2.2.11-r1 failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_unpack
  ebuild.sh, line 708:   Called src_unpack
  unixODBC-2.2.11-r1.ebuild, line 38:   Called die

Changing the automake call in the ebuild to automake --add-missing as suggested makes it work.
Comment 1 Timothy Brown 2006-12-06 19:41:45 UTC
I had the same problem. For me it was because I was using automake 1.10. When I made a custom ebuild which specified WANT_AUTOMAKE="1.9" instead of "latest", unixODBC configured fine and continued with the build process.
Comment 2 Stuart Hopkins 2006-12-13 09:06:04 UTC
The solution to it is easy enough, and is mentioned in the output you posted. The ebuild needs to have 'automake' on line 37 changed to 'automake --add-missing'. That will fix it up nicely. 

Can someone upstream change the ebuild please (if you havent already)
Comment 3 Michael Evans 2006-12-18 04:55:41 UTC
editing that line (#37?) to have automake --add-mixxing instead of just automake worked for me too.  (after an ebuild digest on the ebuild...)
Comment 4 Heiko Baums 2006-12-25 05:43:09 UTC
*** Bug 159062 has been marked as a duplicate of this bug. ***
Comment 5 maar 2007-01-01 09:21:07 UTC
Yeah, I had the same problem. I change line 37 in /usr/portage/dev-db/unixODBC/unixODBC-2.2.11-r1.ebuild:

@@ -34,7 +34,7 @@
        autotools_set_versions
        aclocal --force && \
        libtoolize --copy --force && \
-       automake && \
+       automake --add-missing && \
        autoconf || die "autotools failed"
 }

Work fine, thx
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-01-02 01:14:36 UTC
*** Bug 159685 has been marked as a duplicate of this bug. ***
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-01-04 12:22:51 UTC
This should be fixed since today, as I changed the ebuild to use autotools.eclass as it's proper.
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-02-07 08:45:40 UTC
 04 Jan 2007; Diego Pettenò <flameeyes@gentoo.org>
  unixODBC-2.2.11-r1.ebuild:
  Fix broken autotools handling.

Thanks, Flameeyes.