Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] ERROR merging attr-2.4.38.ebuild (ARM iwmmxt)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
anunakin
Tux's lil' helper
Tux's lil' helper


Joined: 31 May 2004
Posts: 101

PostPosted: Thu Aug 16, 2007 11:46 am    Post subject: [SOLVED] ERROR merging attr-2.4.38.ebuild (ARM iwmmxt) Reply with quote

First all, this solution not worked for me...
https://forums.gentoo.org/viewtopic-t-471826-highlight-libtool+unable+infer+tagged.html
I trying to use crossdev to compile applications for use at my PDA Zaurus with pdaXrom (xii13) but when I try to emerge attr, I getting this error:
I have made a script to emerge apps to it:
Code:
#!/bin/bash
ARCH="arm" \
USE="-nls -sse -sse2" \
ACCEPT_KEYWORDS="arm ~arm ~ppc" \
CHOST="arm-softfloat-linux-gnu" \
CBUILD="i686-pc-linux-gnu" \
TARGET="arm-softfloat-linux-gnu" \
CFLAGS="-O3 -pipe -mcpu=iwmmxt -mabi=iwmmxt -mtune=iwmmxt -march=iwmmxt -fsigned-char -fexpensive-optimizations -mfp=3" \
CXXFLAGS=${CFLAGS} \
CC=arm-softfloat-linux-gnu-gcc CXX=arm-softfloat-linux-gnu-g++ \
INSTALL_MASK="*.h" \
ROOT="/opt/arm-files/" \
emerge $*


My try ...
Code:
emerge-arm-iwmmx attr
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) sys-apps/attr-2.4.38 to /opt/arm-files/
 * attr_2.4.38-1.tar.gz RMD160 ;-) ...                                                                     [ ok ]
 * attr_2.4.38-1.tar.gz SHA1 ;-) ...                                                                       [ ok ]
 * attr_2.4.38-1.tar.gz SHA256 ;-) ...                                                                     [ ok ]
 * attr_2.4.38-1.tar.gz size ;-) ...                                                                       [ ok ]
 * checking ebuild checksums ;-) ...                                                                       [ ok ]
 * checking auxfile checksums ;-) ...                                                                      [ ok ]
 * checking miscfile checksums ;-) ...                                                                     [ ok ]
 * checking attr_2.4.38-1.tar.gz ;-) ...                                                                   [ ok ]
>>> Unpacking source...
>>> Unpacking attr_2.4.38-1.tar.gz to /var/tmp/portage/sys-apps/attr-2.4.38/work
 * Applying attr-2.4.24-only-symlink-when-needed.patch ...                                                 [ ok ]
 * Applying attr-2.4.38-LDFLAGS.patch ...                                                                  [ ok ]
 * Running autoconf ...                                                                                    [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sys-apps/attr-2.4.38/work/attr-2.4.38 ...
./configure --prefix=/usr --host=arm-softfloat-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-gettext --libexecdir=/usr/lib --bindir=/bin --build=i686-pc-linux-gnu
checking for arm-softfloat-linux-gnu-gcc... arm-softfloat-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-softfloat-linux-gnu-gcc accepts -g... yes
checking for arm-softfloat-linux-gnu-gcc option to accept ISO C89... none needed
checking for gmake... /usr/bin/gmake
checking for glibtool... no
checking for libtool... /usr/bin/libtool
checking for tar... /bin/tar
checking for gzip... /bin/gzip
checking for makedepend... /usr/bin/makedepend
checking for awk... /bin/awk
checking for sed... /bin/sed
checking for echo... /bin/echo
checking for sort... /bin/sort
checking whether ln -s works... yes
checking for rpm... no
checking for an ANSI C-conforming const... yes
checking how to run the C preprocessor... arm-softfloat-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for mode_t... yes
checking for working alloca.h... yes
checking for alloca... yes
configure: creating ./config.status
config.status: creating include/builddefs
config.status: creating include/config.h
=== include ===
rm -f attr
ln -s . attr
=== libmisc ===
/usr/bin/libtool --mode=compile arm-softfloat-linux-gnu-gcc -O3 -pipe -mcpu=iwmmxt -mabi=iwmmxt -mtune=iwmmxt -march=iwmmxt -fsigned-char -fexpensive-optimizations -mfp=3 -O3 -pipe -mcpu=iwmmxt -mabi=iwmmxt -mtune=iwmmxt -march=iwmmxt -fsigned-char -fexpensive-optimizations -mfp=3 -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.38\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64  -O3 -pipe -mcpu=iwmmxt -mabi=iwmmxt -mtune=iwmmxt -march=iwmmxt -fsigned-char -fexpensive-optimizations -mfp=3 -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.38\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64   -c quote.c
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
gmake[1]: ** [quote.lo] Erro 1
make: ** [default] Erro 2

!!! ERROR: sys-apps/attr-2.4.38 failed.
Call stack:
  ebuild.sh, line 1621:   Called dyn_compile
  ebuild.sh, line 973:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  attr-2.4.38.ebuild, line 44:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/sys-apps/attr-2.4.38/temp/build.log'.


The build.log content, is the same as above.

My emerge --info
Code:

Portage 2.1.2.9 (default-linux/x86/2007.0, gcc-4.1.1, glibc-2.5-r4, 2.6.21-gentoo-r3 i686)
=================================================================
System uname: 2.6.21-gentoo-r3 i686 Intel(R) Celeron(R) M CPU 420 @ 1.60GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 11 Aug 2007 14:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
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.16
sys-devel/libtool:   1.3.5, 1.5.24
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
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/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://10.112.8.7/gentoo http://10.112.9.15/gentoo http://gentoo.mirrors.pair.com http://distro.ibiblio.org/pub/linux/distributions/gentoo http://gentoo.osuosl.org http://mirrors.tds.net/gentoo"
LANG="pt_BR"
LINGUAS="pt_BR ja"
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="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/xeffects /usr/portage/local/layman/pda"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amr apache2 async automount bcmath berkdb big-tables bitmap-fonts bluetooth bzip2 bzlib cairo calendar cli cpdflib cracklib crypt ctype cups curl curlwrappers dba dbus directfb divx4linux dlloader dri dts dvd dvdread encode exif extraengine fbcon fdftk ffmpeg filepro flac foomaticdb fortran freetype ftp gcj gd gdbm gif glitz gnutls gphoto2 gpm gtk gtk2 iconv imap imlib inifile insecure-savers iodbc isdnlog java jpeg kde kdgraphics kerberos kqemu krb4 latin1 ldap ldapsam live lm_sensors logitech-mouse mad mcve midi mikmod mime mmx mmxext mng mozilla mp3 mssql mudflap musepack mysql nas ncurses network nls nntp no-seamonkey nodoc nptl nptlonly nsplugin ntlm_unsupported_patch oav odbc offensive ogg opengl openmp pam pcmcia pcre pda pdf pdo pear perl php png posix ppds pppd profile python rdesktop readline real reflection rtc samba sdl session simplexml slp snmp soap sockets spell spl sql sqlite sse sse2 ssl svg svga swat symlink tcpd tidy tiff timidity tokenizer truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd vorbis wddx wifi win32codecs winbind x86 xanim xml xml2 xmlreader xmlrpc xmlwriter xorg xpm xprint xscreensaver xsl xvid xvmc zip zlib" ALSA_CARDS="hda-intel" 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="evdev mouse keyboard synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pt_BR ja" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPT


My emerge-arm-iwmmxt --info
Code:
emerge-arm-iwmmx --info
Portage 2.1.2.9 (default-linux/x86/2007.0, gcc-4.1.2, unavailable, 2.6.21-gentoo-r3 i686)
=================================================================
System uname: 2.6.21-gentoo-r3 i686 Intel(R) Celeron(R) M CPU 420 @ 1.60GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 11 Aug 2007 14:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
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.16
sys-devel/libtool:   1.3.5, 1.5.24
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="arm x86 ~arm ~ppc"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -pipe -mcpu=iwmmxt -mabi=iwmmxt -mtune=iwmmxt -march=iwmmxt -fsigned-char -fexpensive-optimizations -mfp=3"
CHOST="arm-softfloat-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://10.112.8.7/gentoo http://10.112.9.15/gentoo http://gentoo.mirrors.pair.com http://distro.ibiblio.org/pub/linux/distributions/gentoo http://gentoo.osuosl.org http://mirrors.tds.net/gentoo"
INSTALL_MASK="*.h"
LANG="pt_BR"
LINGUAS="pt_BR ja"
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="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/xeffects /usr/portage/local/layman/pda"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amr apache2 async automount bcmath berkdb big-tables bitmap-fonts bluetooth bzip2 bzlib cairo calendar cli cpdflib cracklib crypt ctype cups curl curlwrappers dba dbus directfb divx4linux dlloader dri dts dvd dvdread encode exif extraengine fbcon fdftk ffmpeg filepro flac foomaticdb fortran freetype ftp gcj gd gdbm gif glitz gnutls gphoto2 gpm gtk gtk2 iconv imap imlib inifile insecure-savers iodbc isdnlog java jpeg kde kdgraphics kerberos kqemu krb4 latin1 ldap ldapsam live lm_sensors logitech-mouse mad mcve midi mikmod mime mmx mmxext mng mozilla mp3 mssql mudflap musepack mysql nas ncurses network nntp no-seamonkey nodoc nptl nptlonly nsplugin ntlm_unsupported_patch oav odbc offensive ogg opengl openmp pam pcmcia pcre pda pdf pdo pear perl php png posix ppds pppd profile python rdesktop readline real reflection rtc samba sdl session simplexml slp snmp soap sockets spell spl sql sqlite ssl svg svga swat symlink tcpd tidy tiff timidity tokenizer truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd vorbis wddx wifi win32codecs winbind x86 xanim xml xml2 xmlreader xmlrpc xmlwriter xorg xpm xprint xscreensaver xsl xvid xvmc zip zlib" ALSA_CARDS="hda-intel" 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="evdev mouse keyboard synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pt_BR ja" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Any help is welcome! :wink:
_________________
Anunakin (Marcus Fazzi)
PHP/Java/C++ Developer
Sony PS3 JPN 60GB, with Gentoo Linux + HDD 160GB
Sony PS2 50001, with PS2Linux, HDD 80GB


Last edited by anunakin on Tue Aug 21, 2007 5:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
anunakin
Tux's lil' helper
Tux's lil' helper


Joined: 31 May 2004
Posts: 101

PostPosted: Tue Aug 21, 2007 5:17 pm    Post subject: Reply with quote

SOLVED! :lol:
I have made a patch to libtool and renamed to libtool-iwmmx, this working now ... here my new libtool-iwmmx
http://zaurus.vivaphp.net/libtool-iwmmxt.gz

Code:

gunzip libtool-iwmmxt.gz
cp libtool-iwmmxt /usr/bin


My emerge-arm-iwmmxt script
Code:
#!/bin/bash
ARCH="arm" \
USE="-nls -sse -sse2" \
ACCEPT_KEYWORDS="arm ~arm ~ppc" \
CHOST="armv5te-iwmmxt-linux-gnueabi" \
CBUILD="i686-pc-linux-gnu" \
TARGET="armv5te-iwmmxt-linux-gnueabi" \
CFLAGS="-O3 -pipe -mcpu=iwmmxt -mabi=iwmmxt -mtune=iwmmxt -march=iwmmxt -fsigned-char -fexpensive-optimizations -mfp=3" \
CXXFLAGS=${CFLAGS} \
CC=armv5te-iwmmxt-linux-gnueabi-gcc CXX=armv5te-iwmmxt-linux-gnueabi-g++ \
INSTALL_MASK="*.h" \
ROOT="/opt/arm-files/" \
LIBTOOL=/usr/bin/libtool-iwmmxt \
emerge $*

_________________
Anunakin (Marcus Fazzi)
PHP/Java/C++ Developer
Sony PS3 JPN 60GB, with Gentoo Linux + HDD 160GB
Sony PS2 50001, with PS2Linux, HDD 80GB
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum