i686-pc-linux-gnu-g++ -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -o .libs/DataManager classCanvas.o classColumn.o classDataManager.o classDataSource.o classDataSources.o classDriver.o classDrivers.o classISQL.o classIndex.o classIndexs.o classLogin.o classNode.o classODBC.o classPrimaryKeys.o classSpecialColumns.o classTable.o classTables.o classConnectionFrame.o classBrowseFrame.o classBrowse.o main.o mclassDataManager.o mclassCanvas.o mclassLogin.o mclassISQL.o mclassConnectionFrame.o mclassBrowseFrame.o mclassBrowse.o -L/usr/lib -L/usr/qt/3/lib /usr/qt/3/lib/libqt-mt.so -L/usr/lib/mysql -L/usr/X11R6/lib /usr/lib/libmng.so /usr/lib/libjpeg.so -lpng -lz -lXi -lXrender -lXrandr -lXcursor -lXinerama -lXft /usr/lib/libfreetype.so /usr/lib/libfontconfig.so -lm -lSM -lICE -lXext -lX11 ../odbcinst/.libs/libodbcinst.so ../DriverManager/.libs/libodbc.so -ldl -lpthread -Wl,--rpath -Wl,/usr/qt/3/lib classDataManager.o: In function `classDataManager::SaveState()': classDataManager.cpp:(.text+0x228): undefined reference to `iniOpen' classDataManager.cpp:(.text+0x2b0): undefined reference to `iniObjectSeekSure' classDataManager.cpp:(.text+0x2c1): undefined reference to `iniObjectDelete' classDataManager.cpp:(.text+0x2d1): undefined reference to `iniObjectSeekSure' classDataManager.cpp:(.text+0x318): undefined reference to `iniPropertyInsert' classDataManager.cpp:(.text+0x35b): undefined reference to `iniPropertyInsert' classDataManager.cpp:(.text+0x3a7): undefined reference to `iniPropertyInsert' classDataManager.cpp:(.text+0x407): undefined reference to `iniPropertyInsert' classDataManager.cpp:(.text+0x474): undefined reference to `iniPropertyInsert' classDataManager.o:classDataManager.cpp:(.text+0x4de): more undefined references to `iniPropertyInsert' follow classDataManager.o: In function `classDataManager::SaveState()': classDataManager.cpp:(.text+0x4ea): undefined reference to `iniCommit' classDataManager.o: In function `classDataManager::LoadState()': classDataManager.cpp:(.text+0x6f1): undefined reference to `iniOpen' classDataManager.cpp:(.text+0x705): undefined reference to `iniObjectFirst' classDataManager.cpp:(.text+0x718): undefined reference to `iniObjectEOL' classDataManager.cpp:(.text+0x757): undefined reference to `iniObject' classDataManager.cpp:(.text+0x763): undefined reference to `iniPropertyFirst' classDataManager.cpp:(.text+0x837): undefined reference to `iniPropertyNext' classDataManager.cpp:(.text+0x843): undefined reference to `iniPropertyEOL' classDataManager.cpp:(.text+0x867): undefined reference to `iniProperty' classDataManager.cpp:(.text+0x890): undefined reference to `iniValue' classDataManager.cpp:(.text+0x8ea): undefined reference to `iniValue' classDataManager.cpp:(.text+0x94a): undefined reference to `iniValue' classDataManager.cpp:(.text+0x9ae): undefined reference to `iniValue' classDataManager.cpp:(.text+0xa0a): undefined reference to `iniValue' classDataManager.o:classDataManager.cpp:(.text+0xa6c): more undefined references to `iniValue' follow classDataManager.o: In function `classDataManager::LoadState()': classDataManager.cpp:(.text+0xc18): undefined reference to `iniObjectNext' classDataSource.o: In function `classDataSource::Init(int, char*, void*)': classDataSource.cpp:(.text+0x3e1): undefined reference to `iniElement' classDataSource.cpp:(.text+0x445): undefined reference to `iniElement' classDataSources.o: In function `classDataSources::setOpen(bool)': classDataSources.cpp:(.text+0x9b4): undefined reference to `iniElement' classDriver.o: In function `classDriver::Init(char*, void*)': classDriver.cpp:(.text+0x24c): undefined reference to `iniElement' collect2: ld returned 1 exit status make[1]: *** [DataManager] Error 1 make[1]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/unixODBC-2.2.11/work/unixODBC-2.2.11/DataManager' make: *** [all-recursive] Error 1 !!! ERROR: dev-db/unixODBC-2.2.11 failed. !!! Function src_compile, Line 52, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message.
same problem here
Same here - emerge info: Gentoo Base System version 1.6.13 Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.12.1 i686) ================================================================= System uname: 2.6.12.1 i686 AMD Athlon(tm) XP 3000+ distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-mtune=athlon-xp -O2 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-mtune=athlon-xp -O2 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo ftp://206.75.217.181/ ftp://gentoo.ccccom.com" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage" USE="x86 3dnow X Xaw3d a52 aac aalib acc accessibility alsa apache2 apm arts audiofile avi avifile berkdb bitmap-fonts bonobo cdr crypt cups curl dga directfb divx4linux doc dts dv dvd dvdr dvdread eds emboss encode esd ethereal fam fbcon ffmpeg flac flash font-server foomaticdb fortran freetds gd gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile icq imagemagic imagemagick imlib innodb ipv6 jabber java jikes jpeg junit kde lcms ldap lesstiff libg++ libwww lzo mad maildir mikmod mjpeg mmx motif mozilla mp3 mpeg musepack mysql nas ncurses nls odbc offensive ogg oggvorbis opengl oss pam pda pdflib perl png postgres ppds python qt quicktime readline real samba scanner sdl slang speex spell ssl svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb vorbis win32codecs winf wxwindows xanim xeo xine xinerama xml xml2 xmms xv xvid yahoo zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Same issue here too... # emerge info Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.11-gentoo-r9 i686) ================================================================= System uname: 2.6.11-gentoo-r9 i686 Pentium III (Katmai) Gentoo Base System version 1.6.13 ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.8 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.4.19-r1, 2.4.22, 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium3 -mmmx -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium3 -mmmx -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache cvs distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LC_ALL="en_GB.utf8" LINGUAS="en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 aac aalib acpi alsa apache2 apm avi bash-completion berkdb bitmap-fonts bluetooth bonobo bzlib cdr crypt cscope ctype cups curl directfb divx4linux eds emboss encode esd ethereal exif fam fbcon foomaticdb fortran ftp gd gdbm geoip gif gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib imlib2 innodb ipv6 javascript jpeg ldap libg++ libwww mad mbox md5sum mikmod mmx motif mozilla mp3 mpeg mpeg4 mysql ncurses nls nvidia odbc offensive ogg oggvorbis opengl oss pam pdflib perl php png python qt quicktime readline ruby sdl slang spell sse ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts unicode usb vanilla vorbis win32codecs xml xml2 xmms xosd xv xvid zlib linguas_en userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LDFLAGS
I have the same bug, after some googling I found that this bug seems to be related to the current version of libtool (1.5.18-r1). It was recommended to downgrade to libtool-1.4, but there are no such ebuilds in portage.' http://mail.easysoft.com/pipermail/unixodbc-support/2005-March/000427.html http://mail.easysoft.com/pipermail/unixodbc-support/2005-March/000436.html Regards Juergen
Workaround: echo "=dev-db/unixODBC-2.2.11" >> /etc/portage/package.mask This hard masks the newest version of unixODBC. The prior version is unixODBC-2.2.8 which is in portage. While the compilation goes to completion, I don't know what the ramifications are. :-)
Guy that's a workaround for emerge -u world, not for this package. you're not proposing a solution, you're saying: do not use it...
(In reply to comment #6) > Guy that's a workaround for emerge -u world, not for this package. > > you're not proposing a solution, you're saying: do not use it... Hmm ... yes, that's correct. I am saying to not use this version. However, it's not just a solution for "emerge -u world". Depending on your USE flags, it's also a solution for 'emerge apache' and 'emerge samba' etc. In other words, if this issue is holding up one's new Gentoo installation, new install of dependent packages or upgrading of dependent packages, then hard mask 2.2.11. Thank you for helping clarify my intent.
After reading the archives I tried adding: sed -i 's/^SHLIBEXT =.*/SHLIBEXT = .so/' Makefile after "./configure ..." and before "make || die". But it didnt really fix anything. However, it shouldbe possible to check out the latest cvs, run a diff agains the 2.2.11 release on the Makefile.am's. Unfortunally, I dont have time testing that myself right now. http://mail.easysoft.com/pipermail/unixodbc-dev/2005-April/000524.html
Created attachment 63684 [details, diff] files/unixODBC-2.2.11-Makefile.am.patch ok.. I didn't have the time to do it but I did anyway. It means you owe me a beer now ;-) The patch let you link with a libtool newer than 1.4.
Created attachment 63685 [details] unixODBC-2.2.11.ebuild The ebuild that applies the previous patch.
hi all. i have same error: Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.12-gentoo-r5 i686) ================================================================= System uname: 2.6.12-gentoo-r5 i686 AMD Athlon(tm) Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache collision-protect distcc distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="ru_RU.KOI8-R" LC_ALL="ru_RU.KOI8-R" LINGUAS="RU" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex 3dnowext 7zip X aac aalib accessibility acl acpi activefilter adns aim alsa amuled apache2 applet artworkextra atm audio audiofile avi bash-completion bcmath berkdb bidi bitmap-fonts bmp bonobo buttons bzip2 bzlib cairo calendar caps cdparanoia cdr chroot clamav cpdflib cpudetection crypt css cups curl curlwrappers customlog dba dbus dga dhcp dillo divx4linux doc dv dvb dvd dvdr dvdread dynagraph ecc edl eds emacs emboss encode epiphany escreen etwin exif extensions extras fam ffmpeg filepro flac font-server foomaticdb fortran fpx freetds freetype ftp gcj gd geoip gg ggi gif glitz gnome-print gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml guile hal howl iconv icq idea imagemagick imap imlib irc java jbig jpeg jpeg2k justify kde kdeenablefinal kdexdeltas kdgraphics kig-scripting lcms ldap leim lesstif libcaca libclamav libedit libfpx libg++ libwww lirc lj logmail logrotate lzo mad mailbox maildir mailwrapper matroska md5sum mikmod milter mime mjpeg mmap mmx mmxext mng mono mozilla moznomail mozsvg mozxmlterm mp3 mpeg mpi mplayer mppe-mppc musepack mysql mythtv nas ncurses nethack network nis nls nntp nptl nptlonly nvidia objc odbc offensive ogg oggvorbis opengl openntpd openssh oss pam pccts pcntl pcre pdflib perl php plugin png portaudio posix povray python qt quicktime radius rar readline real remote rss rtc rube ruby sasl sdl session sharedext silc simplexml slang slp sockets socks5 speedo speex spell sqlite sse ssl stats subtitles subversion svg symlink tcltk tcpd tetex theora threads tiff toolbar truetype truetype-fonts type1 type1-fonts underscores unicode usb v4l v4l2 vcd vda vhosts visualization vorbis win32codecs wma123 wmf xanim xface xine xinerama xml xml2 xmms xosd xpm xrandr xsl xv xvid xvmc yahoo zeroconf zlib zvbi linguas_RU userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS
Thanks Analyzer! Did you try the patch and ebuild I posted? Currently we have actually found the problem so we (at least me) are more interested in if the solution works or not. Thanks anyway.
works for me. please close and apply to portage.
ooooppsss! no do not close. partial bug is still there: /bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -Wall -Wunused -o gODBCConfig main.o -rdynamic -L/usr/lib -rdynamic -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -ldl -lXi -lXext -lX11 -lgnome -lgnomesupport -lesd -lasound -laudiofile -lm -ldb1 -lglib -L/var/tmp/portage/unixODBC-2.2.11/work/unixODBC-2.2.11/lib -lodbcinst libgtkodbcconfig.la i686-pc-linux-gnu-gcc -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -Wall -Wunused -o .libs/gODBCConfig main.o -rdynamic -rdynamic -L/usr/lib /usr/lib/libgnomeui.so /usr/lib/libart_lgpl.so /usr/lib/libgdk_imlib.so -lSM -lICE /usr/lib/libgtk.so /usr/lib/libgdk.so /usr/lib/libgmodule.so -lXi -lXext -lX11 /usr/lib/libgnome.so /usr/lib/libgnomesupport.so -lz /usr/lib/libesd.so /usr/lib/libasound.so /usr/lib/libaudiofile.so -lm -ldb1 /usr/lib/libglib.so -L/var/tmp/portage/unixODBC-2.2.11/work/unixODBC-2.2.11/lib /usr/lib/libodbcinst.so -ldl -lpthread ./.libs/libgtkodbcconfig.so ./.libs/libgtkodbcconfig.so: undefined reference to `iniObjectNext' ./.libs/libgtkodbcconfig.so: undefined reference to `iniElement' ./.libs/libgtkodbcconfig.so: undefined reference to `iniPropertyEOL' ./.libs/libgtkodbcconfig.so: undefined reference to `iniProperty' ./.libs/libgtkodbcconfig.so: undefined reference to `iniValue' ./.libs/libgtkodbcconfig.so: undefined reference to `iniClose' ./.libs/libgtkodbcconfig.so: undefined reference to `iniObjectFirst' ./.libs/libgtkodbcconfig.so: undefined reference to `iniPropertyNext' ./.libs/libgtkodbcconfig.so: undefined reference to `iniOpen' ./.libs/libgtkodbcconfig.so: undefined reference to `iniObjectEOL' ./.libs/libgtkodbcconfig.so: undefined reference to `iniObject' ./.libs/libgtkodbcconfig.so: undefined reference to `iniPropertyFirst' ./.libs/libgtkodbcconfig.so: undefined reference to `iniToUpper' collect2: ld returned 1 exit status make[2]: *** [gODBCConfig] Error 1 make[2]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/unixODBC-2.2.11/work/unixODBC-2.2.11/gODBCConfig/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/unixODBC-2.2.11/work/unixODBC-2.2.11/gODBCConfig' make: *** [all] Error 2 !!! ERROR: dev-db/unixODBC-2.2.11 failed. !!! Function src_compile, Line 81, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. this happens with +gnome USE flag. with -gnome it works. please check another patch too :(((((
Can anyone else confirm this? I build it with "+gnome +qt" in the first place. Can you confirm that you saw that the Makefile.am.patch were really applied? (you should see that 2 patches are applied during compile) I am currently trying to emerge it with "-gnome +qt" but my computer is awfully slow because I do some other testing right now.
You are right. It fails with USE="+gnome -qt". This should probalby be reported upstream. I just cut out some of the chunks from a diff agains the current CVS, so this is not in CVS.
this patch solved this issue for me.
The patch fails when USE="-qt +gnome" so it can not be commited to portage yet. I also found that the latest CVS *does* address this. (so I was wrong). I still havent found out how to build it yet. The ebuild should probably be modified too. I guess there should be an aclocal libtoolize -c -f automake -a autoconf before the ./configure in the "gnome section", but I dont know.
if you look at undefined values, you'll find that they are pretty the same of previous patch. i guess it can be solved by patching Makefile in gnome's sources in the same way. i've to the time to write a patch, i can only test, i'm sorry.
I tried to add a"../../ini/libinilc.la \" in the gODBCConfig/src/Makefile.am file but it didn't solve the problem. I re-ran a diff against the current cvs, then tried to copy/paste the chunks taht was related to gODBCConfig, but it didnt work either. I finally tried to replace the ./configure stuff and link creation in the "gnome section" in the ebuild with "aclocal && libtoolize -c -f && automake -a && autoconf" but then it complained: macros/Makefile.am:33: INSIDE_GNOME_COMMON does not appear in AM_CONDITIONAL So I'm currently stuck. I can post the patch and the updated ebuild if anyone want to continue.
it seems a warning, not fatal error. generally it goes ahead, try to go ahead ignoring it...
When I do I end up with this error: checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for shared library run path origin... /bin/sh: ./config.rpath: No such file or directory done checking whether NLS is requested... yes checking for GNU gettext in libc... yes checking for ODBC files... configure: error: ODBC backend not found
adding /var/tmp/portage/unixODBC-2.2.11/work/unixODBC-2.2.11/ini/.libs/libinilc.a it works. i686-pc-linux-gnu-gcc -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -Wall -Wunused -o .libs/gODBCConfig main.o -rdynamic -rdynamic -L/usr/lib /usr/lib/libgnomeui.so /usr/lib/libart_lgpl.so /usr/lib/libgdk_imlib.so -lSM -lICE /usr/lib/libgtk.so /usr/lib/libgdk.so /usr/lib/libgmodule.so -lXi -lXext -lX11 /usr/lib/libgnome.so /usr/lib/libgnomesupport.so -lz /usr/lib/libesd.so /usr/lib/libasound.so /usr/lib/libaudiofile.so -lm -ldb1 /usr/lib/libglib.so -L/var/tmp/portage/unixODBC-2.2.11/work/unixODBC-2.2.11/lib /usr/lib/libodbcinst.so -ldl -lpthread ./.libs/libgtkodbcconfig.so /var/tmp/portage/unixODBC-2.2.11/work/unixODBC-2.2.11/ini/.libs/libinilc.a you have to find the way to make it added now!
trying something again: in: /var/tmp/portage/unixODBC-2.2.11/work/unixODBC-2.2.11/gODBCConfig/src/Makefile about at line 176 (may differ on systems) gODBCConfig_LDADD = $(GNOME_LIBDIR) \ $(GNOMEUI_LIBS) \ $(INTLLIBS) \ -L$(ODBCLIBS) $(ODBCLIB) \ libgtkodbcconfig.la \ /var/tmp/portage/unixODBC-2.2.11/work/unixODBC-2.2.11/ini/.libs/libinilc.a do something like that save, exit and do make.
Patrizio, I was just about to tell you that I have already tested that, but it looks like you are right. What I did test was adding "../../ini/.libs/libinilc.a" before libgtkodbcconfig.la in LDADD (like the do in the latest CVS) but that failed. But when I tried adding "../../ini/.libs/libinilc.a" *after* libgtkodbcconfig.la, it did work!
Created attachment 63952 [details, diff] files/unixODBC-2.2.11-Makefile.am.patch added chunk for linking gODBCConfig.
Created attachment 63953 [details] unixODBC-2.2.11.ebuild Just a minor cleanup. Uses the Makefile.am patch.
ehi, all these persons subscribed and noone report test results. as soon as someone != (me && Natanael) i'll close this bug and ask gentoo mainteiners to add to portage. why everyone is so passive? test it!
Works for me. Thank you.
nice Ryan Phillips, can you apply to portage? thanks
Just confirming that the patch and ebuild worked fine here.
works fine on my sytem
ok here too, nice work ;) and no pb with ibm5250 too ;)
works fine on amd64 2005.0
thanks - works fine on i386 2005.0, too
Thanks for the fix! Works fine here, too. (2005.0 on x86 and ppc) Please, commit to portage!
The patch worked on my desktop (AthlonXP) and failed on my laptop (p3). It is just during the epatch that it fails, no compile errors: Failed Patch: unixODBC-2.2.11-Makefile.am.patch ! ( /usr/portage/dev-db/unixODBC/files/unixODBC-2.2.11-Makefile.am.patch ) Patching by hand (patch -Np1 -i /usr/portage/dev-db/unixODBC/files/unixODBC-2.2.11-Makefile.am.patch fails Hunk #1, the rejects file's content is this: *************** *** 28,33 **** $(GNOMEUI_LIBS) \ $(INTLLIBS) \ -L$(ODBCLIBS) $(ODBCLIB) \ - libgtkodbcconfig.la --- 28,34 ---- $(GNOMEUI_LIBS) \ $(INTLLIBS) \ -L$(ODBCLIBS) $(ODBCLIB) \ + libgtkodbcconfig.la \ + ../../ini/.libs/libinilc.la Can't explain why this happens, the version of portage is the same..
(In reply to comment #37) > The patch worked on my desktop (AthlonXP) and failed on my laptop (p3). > It is just during the epatch that it fails, no compile errors: ... > Can't explain why this happens, the version of portage is the same.. Has both same version of patch? (patch -v) How did you save the patch? Copy/paste?
i think there must be some problems on your system, it's simply impossibile to work on a system and fail on another, as it depends on patch application and sources.
OK, I have applied the suggested patch using the provided e-build, however, when I go to run ODBCConfig, I get the error "ODBCConfig: symbol lookup error: /usr/lib/libodbcinstQ.so.1: undefined symbol: iniElement"
uh...you're right, however it's not related to this path, as it work on gnome link. using gODBCConfig i get no errors. this version seems really bugged...however the gnome part is good, and i pray mainteiner to close this bug after applying patch to portage. open another bug for other problems.
07/21 patch worked well on PIII Mobile with (-gnome +qt) Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-gentoo-r4 i686) ================================================================= System uname: 2.6.12-gentoo-r4 i686 Intel(R) Pentium(R) III Mobile CPU 1000MHz Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://mirror.espri.arizona.edu/gentoo/ http://mirror.datapipe.net/gentoo http://lug.mtu.edu/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="x86 X aac aalib acpi aim alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts bzlib calendar caps cdb crypt cscope cups curl dba directfb divx4linux dvd emboss encode esd exif fam fbcon flac flatfile foomaticdb fortran ftp gd gdbm gif gpm gtk gtk2 icq imap imlib innodb ipv6 jabber java jikes jpeg junit kde libg++ libwww mad maildir mikmod mmx mng motif mozilla mp3 mpeg msn mysql mysqli ncurses nls nptl odbc ogg oggvorbis opengl oscar oss pam pcmcia pda pdflib perl php png pnpposix postgres ppds profiles python qt quicktime readline samba sasl sdl slang spell spl sse ssl svg svga tcltk tcpd tidy tiff truetype truetype-fonts type1-fonts unicode usb vhosts videos vorbis wifi wmf xine xinerama xml2 xmms xpm xprint xv yahoo zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Ebuild and patch 7/21 worked for me with "+gnome -qt" Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.1 2-gentoo-r4 i686) ================================================================= System uname: 2.6.12-gentoo-r4 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.6.13 dev-lang/python: 2.4.1-r1 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X1 1/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://distfiles.gen too.org http://www.ibiblio.org/pub/Linux/distributions/gentoo http://gentoo.osuo sl.org/" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X aac alsa apm avi berkdb bitmap-fonts bzip2 crypt curl dts dv dvb dvd dvdread emboss encode esd fam firefox foomaticdb fortran fping gd bm gif gnome gtk gtk2 hal ieee1394 imlib jpeg libg++ libwww mad matroska mikmod mjpeg mmx mmxext motif mp3 mpeg mplayer ncurses network nls nptl odbc ogg oggvor bis opengl oss pam pdflib perl pic png python quicktime rar readline real spell sse ssl subtitles symlink tcpd theora truetype truetype-fonts type1-fonts v4l v4 l2 vorbis win32codecs xml2 xmms xv xvid yv12 zlib userland_GNU kernel_linux elib c_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
I put unixODBC-2.2.11.ebuild to /usr/portage/dev-db/unixODBC/ and unixODBC-2.2.11-Makefile.am.patch to /usr/portage/dev-db/unixODBC/files/. Then I run "emerge -vuD world" and got the error " Security Violation: A file exists that is not in the manifest.". Then I tried "FEATURES=-strict emerge -vuD unixODBC", which worked. So for me the question remained, what is the right way, to test a patched ebuild.
(In reply to comment #45) > I put unixODBC-2.2.11.ebuild to /usr/portage/dev-db/unixODBC/ and > unixODBC-2.2.11-Makefile.am.patch to /usr/portage/dev-db/unixODBC/files/. Then I > run "emerge -vuD world" and got the error " Security Violation: A file exists > that is not in the manifest.". > Then I tried "FEATURES=-strict emerge -vuD unixODBC", which worked. > So for me the question remained, what is the right way, to test a patched ebuild. You forgot the "ebuild /usr/portage/dev-db/unixODBC/unixODBC-2.2.11.ebuild digest". man ebuild (look at the "digest" section)
(In reply to comment #46) Thanks for the hint.
Patch and modified ebuild made it work for me. I USE +qt, but -gnome (on ~x86) Cheers & thanks Kaspar
committed 2.2.11-r1 with patch.
*** Bug 102472 has been marked as a duplicate of this bug. ***