[oe-issues] [Bug 3353] New: gettext fails to build

bugzilla-daemon at tinman.treke.net bugzilla-daemon at tinman.treke.net
Thu Nov 22 15:38:17 UTC 2007


http://bugs.openembedded.org/show_bug.cgi?id=3353

           Summary: gettext fails to build
           Product: Openembedded
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build
        AssignedTo: openembedded-issues at lists.openembedded.org
        ReportedBy: dodji at seketeli.org


At packaging time, gettext fails with:

NOTE: package gettext-0.14.1-r5: task do_package: started
arm-angstrom-linux-gnueabi-objcopy: Unable to recognise the format of the input
file
`/home/moko/build/conf/tmp/work/armv4t-angstrom-linux-gnueabi/gettext-0.14.1-r5/image/usr/lib/gettext/gnu.gettext.GetURL'
arm-angstrom-linux-gnueabi-strip: Unable to recognise the format of the input
file
`/home/moko/build/conf/tmp/work/armv4t-angstrom-linux-gnueabi/gettext-0.14.1-r5/image/usr/lib/gettext/gnu.gettext.GetURL'
arm-angstrom-linux-gnueabi-objcopy: Unable to recognise the format of the input
file
`/home/moko/build/conf/tmp/work/armv4t-angstrom-linux-gnueabi/gettext-0.14.1-r5/image/usr/lib/gettext/gnu.gettext.GetURL'
ERROR: runstrip: ''arm-angstrom-linux-gnueabi-strip' --remove-section=.comment
--remove-section=.note
'/home/moko/build/conf/tmp/work/armv4t-angstrom-linux-gnueabi/gettext-0.14.1-r5/image/usr/lib/gettext/gnu.gettext.GetURL''
strip command failed
arm-angstrom-linux-gnueabi-objcopy: Unable to recognise the format of the input
file
`/home/moko/build/conf/tmp/work/armv4t-angstrom-linux-gnueabi/gettext-0.14.1-r5/image/usr/lib/gettext/gnu.gettext.DumpResource'
arm-angstrom-linux-gnueabi-strip: Unable to recognise the format of the input
file
`/home/moko/build/conf/tmp/work/armv4t-angstrom-linux-gnueabi/gettext-0.14.1-r5/image/usr/lib/gettext/gnu.gettext.DumpResource'
arm-angstrom-linux-gnueabi-objcopy: Unable to recognise the format of the input
file
`/home/moko/build/conf/tmp/work/armv4t-angstrom-linux-gnueabi/gettext-0.14.1-r5/image/usr/lib/gettext/gnu.gettext.DumpResource'
ERROR: runstrip: ''arm-angstrom-linux-gnueabi-strip' --remove-section=.comment
--remove-section=.note
'/home/moko/build/conf/tmp/work/armv4t-angstrom-linux-gnueabi/gettext-0.14.1-r5/image/usr/lib/gettext/gnu.gettext.DumpResource''
strip command failed
NOTE: the following files were installed but not shipped in any package:
NOTE:   /usr/lib/preloadable_libintl.so
NOTE: Multiple libraries (libasprintf.so.0, libgettextpo.so.0) found and
LEAD_SONAME not defined
NOTE: Multiple libraries (libgettextsrc-0.14.1.so, libgettextlib-0.14.1.so)
found and LEAD_SONAME not defined
NOTE: Couldn't find shared library provider for libgcj.so.81
NOTE: Couldn't find shared library provider for libgcj.so.81
NOTE: DO PACKAGE QA
NOTE: Checking Package: gettext-dbg
NOTE: Checking Package: gettext
ERROR: Architecture did not match (40 to 3) on
/work/armv4t-angstrom-linux-gnueabi/gettext-0.14.1-r5/install/gettext/usr/lib/gettext/gnu.gettext.GetURL
ERROR: Architecture did not match (40 to 3) on
/work/armv4t-angstrom-linux-gnueabi/gettext-0.14.1-r5/install/gettext/usr/lib/gettext/gnu.gettext.DumpResource
NOTE: Checking Package: gettext-doc
NOTE: Checking Package: gettext-dev
NOTE: Checking Package: gettext-locale-no
NOTE: Checking Package: gettext-locale-en+quot
NOTE: Checking Package: gettext-locale-zh-tw
NOTE: Checking Package: gettext-locale-nl
NOTE: Checking Package: gettext-locale-el
NOTE: Checking Package: gettext-locale-cs
NOTE: Checking Package: gettext-locale-sl
NOTE: Checking Package: gettext-locale-ja
NOTE: Checking Package: gettext-locale-be
NOTE: Checking Package: gettext-locale-pt
NOTE: Checking Package: gettext-locale-da
NOTE: Checking Package: gettext-locale-ro
NOTE: Checking Package: gettext-locale-es
NOTE: Checking Package: gettext-locale-zh-cn
NOTE: Checking Package: gettext-locale-et
NOTE: Checking Package: gettext-locale-en+boldquot
NOTE: Checking Package: gettext-locale-uk
NOTE: Checking Package: gettext-locale-id
NOTE: Checking Package: gettext-locale-ko
NOTE: Checking Package: gettext-locale-fr
NOTE: Checking Package: gettext-locale-sr
NOTE: Checking Package: gettext-locale-sv
NOTE: Checking Package: gettext-locale-gl
NOTE: Checking Package: gettext-locale-it
NOTE: Checking Package: gettext-locale-fi
NOTE: Checking Package: gettext-locale-pl
NOTE: Checking Package: gettext-locale-ru
NOTE: Checking Package: gettext-locale-ca
NOTE: Checking Package: gettext-locale-nn
NOTE: Checking Package: gettext-locale-pt-br
NOTE: Checking Package: gettext-locale-tr
NOTE: Checking Package: gettext-locale-sk
NOTE: Checking Package: gettext-locale-de
ERROR: QA run found fatal errors. Please consider fixing them.
ERROR: Error in executing:
ERROR: Exception:exceptions.SystemExit Message:1
ERROR: Printing the environment of the function
ERROR: Error in executing:
ERROR: Exception:exceptions.SystemExit Message:1
ERROR: Printing the environment of the function
ERROR: Error in executing:
ERROR: Exception:exceptions.SystemExit Message:1
ERROR: Printing the environment of the function
ERROR: Error in executing:
ERROR: Exception:exceptions.SystemExit Message:1
ERROR: Printing the environment of the function
ERROR: Error in executing:
ERROR: Exception:exceptions.SystemExit Message:1
ERROR: Printing the environment of the function
ERROR: Error in executing:
ERROR: Exception:exceptions.SystemExit Message:1
ERROR: Printing the environment of the function
ERROR: Build of
/home/moko/org.openembedded.dev/packages/gettext/gettext_0.14.1.bb do_rebuild
failed
ERROR: Task 0
(/home/moko/org.openembedded.dev/packages/gettext/gettext_0.14.1.bb,
do_rebuild) failed
NOTE: Tasks Summary: Attempted 0 tasks of which 0 didn't need to be rerun and 1
failed.
ERROR: '/home/moko/org.openembedded.dev/packages/gettext/gettext_0.14.1.bb'
failed


This is due to gettext finding gcj installed on my machine and building
gnu.gettext.GetURL using gcj. The result is a binary built for x86
specifically. So it does not work when cross compiling to, say, arm.

My quick dirty fix was to uninstall gcj. But gettext should be fixed instead.


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-issues mailing list