Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 267320

Summary: dev-db/unixODBC-2.2.12 fails to crosscompile to arm
Product: Gentoo Linux Reporter: Alex Filov <alexander.filov>
Component: Current packagesAssignee: PHP Bugs <php-bugs>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: ssuominen
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
environment

Description Alex Filov 2009-04-24 12:18:17 UTC
fails to  crosscompile:  /usr/lib/libltdl.so: could not read symbols: File in wrong format

Reproducible: Always

Steps to Reproduce:
1.ACCEPT_KEYWORDS="~arm" xmerge -v unixODBC
2.
3.

Actual Results:  
libtool: link:  arm-unknown-linux-gnueabi-gcc -shared  .libs/ODBCINSTConstructProperties.o .libs/ODBCINSTDestructProperties.o .libs/ODBCINSTSetProperty.o .libs/ODBCINSTValidateProperties.o .libs/ODBCINSTValidateProperty.o .libs/SQLConfigDataSource.o .libs/SQLConfigDriver.o .libs/SQLCreateDataSource.o .libs/SQLGetAvailableDrivers.o .libs/SQLGetConfigMode.o .libs/SQLGetInstalledDrivers.o .libs/SQLGetPrivateProfileString.o .libs/SQLGetTranslator.o .libs/SQLInstallDriverEx.o .libs/SQLInstallDriverManager.o .libs/SQLInstallTranslatorEx.o .libs/SQLInstallerError.o .libs/SQLManageDataSources.o .libs/SQLPostInstallerError.o .libs/SQLReadFileDSN.o .libs/SQLRemoveDSNFromIni.o .libs/SQLRemoveDriver.o .libs/SQLRemoveDriverManager.o .libs/SQLRemoveTranslator.o .libs/SQLSetConfigMode.o .libs/SQLValidDSN.o .libs/SQLWriteDSNToIni.o .libs/SQLWriteFileDSN.o .libs/SQLWritePrivateProfileString.o .libs/SQLInstallODBC.o .libs/_logging.o .libs/_odbcinst_ConfigModeINI.o .libs/_odbcinst_UserINI.o .libs/_odbcinst_SystemINI.o .libs/_odbcinst_GetSections.o .libs/_odbcinst_GetEntries.o .libs/_SQLGetInstalledDrivers.o .libs/_SQLWriteInstalledDrivers.o  -Wl,--whole-archive ../ini/.libs/libinilc.a ../log/.libs/libloglc.a ../lst/.libs/liblstlc.a -Wl,--no-whole-archive  /usr/lib/libltdl.so -ldl -lpthread  -pthread -Wl,-O1   -pthread -Wl,-soname -Wl,libodbcinst.so.1 -Wl,-version-script -Wl,.libs/libodbcinst.ver -o .libs/libodbcinst.so.1.0.0
/usr/lib/libltdl.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[1]: *** [libodbcinst.la] Ошибка 1
make[1]: Leaving directory `/var/tmp/portage/dev-db/unixODBC-2.2.12/work/unixODBC-2.2.12/odbcinst'
make: *** [all-recursive] Ошибка 1
 * 
 * ERROR: dev-db/unixODBC-2.2.12 failed.
Comment 1 Alex Filov 2009-04-24 12:19:25 UTC
Created attachment 189312 [details]
build.log
Comment 2 Alex Filov 2009-04-24 12:19:44 UTC
Created attachment 189313 [details]
environment
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-25 16:27:32 UTC
Please post your "emerge --info".
Comment 4 Alex Filov 2009-04-27 12:35:59 UTC
(In reply to comment #3)
> Please post your "emerge --info".
> 

 emerge --info
Portage 2.1.6.1 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.28-rc3-vanilla-armada_M300- i686)
=================================================================
System uname: Linux-2.6.28-rc3-vanilla-armada_M300-i686-Pentium_III_-Coppermine-with-glibc2.0
Timestamp of tree: Fri, 24 Apr 2009 14:00:05 +0000
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r15, 2.5.4-r2, 2.6.1-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/cmake:      2.6.3-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
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.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium3 -pipe -fomit-frame-pointer -fforce-addr -frename-registers  -falign-functions=64"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-Os -march=pentium3 -pipe -fomit-frame-pointer -fforce-addr -frename-registers  -falign-functions=64"
DISTDIR="/usr/portage/distfiles"
FEATURES="digest distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS=" http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo "
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/opt/media/portage_overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="#Apparatura #Arhitektura #Bazi #Bezopasnost' #Failovie #GUI #Graficheskie #Multimediinie #Network #Office #Polzovatelskie #Science #Sound #Video #X #Yaziki R X aac aalib acl acpi alsa avi biblioteki bzip2 cli cracklib crypt dannih dbus dga doc dri dvd encode examples ffmpeg fftw flac flash float fortran fortran95 gd gettex gif gnuplot gphoto2 gstreamer gtk2 hdf5 iconv int64 ipython isdnlog jpeg kqemu lapack lm_sensors mathml matroska midi mmx mmx2 mp3 mpeg mpi mudflap mysql ncurses nls nptl nptlonly odbc ogg oggvorbis opengl openmp pam patented pcmcia pcre pda pdf png pnp pppd programmirovaniya pvfs2 python qt qt3 qt3support qt4 quicktime readline reflection sandbox session sistemi socks5 spell spl sqlite sse ssl sysfs tcpd theora threads tiff tk tools truetype umfpack unicode usb utf8 vorbis wifi win32codecs wxwindows x86 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="mach64"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2010-03-22 15:18:27 UTC
Please try 2.2.14, reopen if it still fails.