Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 169566 - dev-db/unixODBC-2.2.11 fails w/ libtool-1.5.23b
Summary: dev-db/unixODBC-2.2.11 fails w/ libtool-1.5.23b
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: libtool-1.5.23
  Show dependency tree
 
Reported: 2007-03-06 03:47 UTC by Michael Evans
Modified: 2007-04-01 03:17 UTC (History)
1 user (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 Michael Evans 2007-03-06 03:47:15 UTC
make[1]: Leaving directory `/var/tmp/portage/dev-db/unixODBC-2.2.11-r1/work/unixODBC-2.2.11/ini'
Making all in libltdl
make[1]: Entering directory `/var/tmp/portage/dev-db/unixODBC-2.2.11-r1/work/unixODBC-2.2.11/libltdl'
make  all-am
make[2]: Entering directory `/var/tmp/portage/dev-db/unixODBC-2.2.11-r1/work/unixODBC-2.2.11/libltdl'
/bin/sh ./libtool   --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -O2 -march=k8 -fomit-frame-pointer -pipe -mmmx -msse -msse2 -msse3 -m3dnow -c -o ltdl.lo ltdl.c
./libtool: line 323: s,^.*/,,g: No such file or directory
./libtool: line 737: -e: command not found
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require --mode=MODE be specified.
./libtool: line 1048: -e: command not found
./libtool: line 1048: -e: command not found
./libtool: line 1048: -e: command not found
./libtool: line 1048: -e: command not found
./libtool: line 1048: -e: command not found
./libtool: line 1048: -e: command not found
./libtool: line 1048: -e: command not found
./libtool: line 1048: -e: command not found
./libtool: line 1048: -e: command not found
./libtool: line 1048: -e: command not found
./libtool: line 1048: -e: command not found
./libtool: line 1048: -e: command not found
./libtool: line 1048: -e: command not found
./libtool: line 1100: -e: command not found
: compile: cannot determine name of library object from `'
make[2]: *** [ltdl.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-db/unixODBC-2.2.11-r1/work/unixODBC-2.2.11/libltdl'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-db/unixODBC-2.2.11-r1/work/unixODBC-2.2.11/libltdl'
make: *** [all-recursive] Error 1

NOTE: I do not have qt3 as a use flag... (that's the only one unixODBC checks)

(Mid emerge -uDNv post profile and video card driver setting changes.)
Portage 2.1.2.1 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r0, 2.6.17-reiser4-r7 i686)
=================================================================
System uname: 2.6.17-reiser4-r7 i686 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 05 Mar 2007 21:31:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r1
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -fomit-frame-pointer -pipe -mmmx -msse -msse2 -msse3 -m3dnow"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=k8 -fomit-frame-pointer -pipe -mmmx -msse -msse2 -msse3 -m3dnow"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/portagetree"
PORTDIR_OVERLAY="/portagelocal"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X Xaw3d a52 aac acl acpi alsa apache2 arts avi bash-completion berkdb bidi bitmap-fonts bzip2 caps cdparanoia cdr cjk cli cracklib crypt css cups dga dri dv dvd dvdr dvdread encode ethereal exif fftw flac flash fortran freetds freewnn gdbm gif ginac gjc gphoto2 gpm iconv ieee1394 imagemagick innodb ipv6 isdnlog java joystick jpeg kde libg++ libwww lm_sensors mad maildir matroska memlimit midi mikmod mime ming mmx mpeg mpi mysql mysqli ncurses nls nocd nptl nptlonly objc objc++ odbc offensive ogg oggvorbis openal opengl pam pcntl pcre pdf pdflib perl png posix ppds pppd python qt quicktime readline recode reflection scanner sdl server session shared sharedext sharedmem shorten skey slang sockets socks5 speex spell spl sse sse2 ssl sysvipc szip tcltk tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb vorbis win32codecs wmf x86 xine xinerama xml xml2 xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always

Steps to Reproduce:
emerge -uDNv
(or)
emerge unixODBC
Actual Results:  
See above.

Expected Results:  
Emerge successfully.

I Think it may actually be...
/var/tmp/portage/dev-db/unixODBC-2.2.11-r1/work/unixODBC-2.2.11/libtool lines 379-whatever... (Sed is sed...)

basename="s,^.*/,,g"

# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
# is ksh but when the shell is invoked as "sh" and the current value of
# the _XPG environment variable is not equal to 1 (one), the special
# positional parameter $0, within a function call, is the name of the
# function.
progpath="$0"

# The name of this program:
progname=`echo "$progpath" | $SED $basename`
modename="$progname"
Comment 1 Michael Evans 2007-03-06 03:56:50 UTC
I was working with the wrong file, however the section is almost identical...

I added an echo line to print this...

--
basename="s,^.*/,,g"

# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
# is ksh but when the shell is invoked as "sh" and the current value of
# the _XPG environment variable is not equal to 1 (one), the special
# positional parameter $0, within a function call, is the name of the
# function.
progpath="$0"

# The name of this program:
progname=`echo "$progpath" | $SED $basename`
modename="$progname"
echo progpath is $progpath :: modename is $modename ::
--

Running 'make' in /var/tmp/portage/dev-db/unixODBC-2.2.11-r1/work/unixODBC-2.2.11

progpath is ./libtool :: modename is ::


AH...

I found it.  There's no sed entry at the head of the file.

-- /var/tmp/portage/dev-db/unixODBC-2.2.11-r1/work/unixODBC-2.2.11/libtool
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.

# A sed program that does not truncate output.
SED="/bin/sed"

# Sed that helps us avoid accidentally triggering echo(1) options like -n.
Xsed="/bin/sed -e 1s/^X//"

# The HP-UX ksh and POSIX shell print the target directory to stdout
# if CDPATH is set.
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
--

VS

-- /var/tmp/portage/dev-db/unixODBC-2.2.11-r1/work/unixODBC-2.2.11/libltdl/libtool
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.

# Sed that helps us avoid accidentally triggering echo(1) options like -n.
Xsed="sed -e s/^X//"

# The HP-UX ksh and POSIX shell print the target directory to stdout
# if CDPATH is set.
if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
--


I'll manually make the changes and attach a patch (may need slight editing of pathnames) and attach it if it fixes it.
Comment 2 Michael Evans 2007-03-06 04:14:32 UTC
I can't seem to get this patch to work, as the file is created by unixODBC during it's fix-missing phase...  Therefore it isn't there for me to patch.  How does --fix-missing work for libtool?  Do I actually have a bug elsewhere?

--- unixODBC-2.2.11/libltdl/libtool.old 2007-03-05 19:57:02.000000000 -0800
+++ unixODBC-2.2.11/libltdl/libtool     2007-03-05 19:57:40.000000000 -0800
@@ -26,6 +26,9 @@
 # configuration script generated by Autoconf, you may include it under
 # the same distribution terms that you use for the rest of that program.

+# A sed program that does not truncate output.
+SED="/bin/sed"
+
 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
 Xsed="sed -e s/^X//"

Comment 3 Michael Evans 2007-03-06 04:44:35 UTC

*** This bug has been marked as a duplicate of bug 168198 ***
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-03-06 07:43:32 UTC
Not a dupe, unixODBC has nothing to do w/ Gnome. :P
Comment 5 Charlie Gehlin 2007-03-30 14:54:45 UTC
Confirming bug...
'export SED="sed";emerge unixODBC' does the trick for me ;)
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-04-01 03:17:28 UTC
2.2.12 is in the tree now, and should build fine always.