打印
[嵌入式linux]

imx6安装ltib卡在mkspooflinks 了

[复制链接]
675|1
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
至尊宝520|  楼主 | 2017-2-10 17:59 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
请大家帮忙
Processing platform: Host support packages
============================================
using /mnt/hgfs/share/imx6/L3.0.35_4.1.0_130816_source/source/ltib/config/platform/host/ltib.preconfig

Processing: fake-provides
===========================

Processing: mkspooflinks
==========================
Build path taken because: no prebuilt rpm,

rpmbuild --dbpath ///opt/freescale/ltib/var/lib/rpm --target i686 --define '_unpackaged_files_terminate_build 0' --define '_target_cpu i686' --define '__strip strip' --define '_topdir /opt/freescale/ltib/usr/src/rpm' --define '_prefix /opt/freescale/ltib/usr' --define '_tmppath /mnt/hgfs/share/imx6/L3.0.35_4.1.0_130816_source/source/ltib/tmp' --define '_rpmdir /opt/freescale/ltib/usr/src/rpm/RPMS'  --define '_mandir /opt/freescale/ltib/usr/share/man' --define '_sysconfdir /opt/freescale/ltib/etc' --define '_localstatedir /var' -bb --clean --rmsource  /mnt/hgfs/share/imx6/L3.0.35_4.1.0_130816_source/source/ltib/dist/lfs-5.1/mkspooflinks/mkspooflinks.spec
Building target platforms: i686
Building for target i686
Executing(%prep): /bin/sh -e /mnt/hgfs/share/imx6/L3.0.35_4.1.0_130816_source/source/ltib/tmp/rpm-tmp.36442
+ umask 022
+ cd /opt/freescale/ltib/usr/src/rpm/BUILD
+ cd /opt/freescale/ltib/usr/src/rpm/BUILD
+ rm -rf mkspooflinks-3.4
+ /bin/gzip -dc /opt/freescale/ltib/usr/src/rpm/SOURCES/mkspooflinks-3.4.tar.gz
+ tar -xvvf -
drwxr-xr-x seh/users         0 2007-03-02 00:27 mkspooflinks-3.4/
-rw-r--r-- seh/users      1427 2007-01-24 19:52 mkspooflinks-3.4/README
-rw-r--r-- seh/users     25265 2005-01-12 15:59 mkspooflinks-3.4/COPYING.LIB
-rwxr-xr-x seh/users      2869 2007-05-02 17:53 mkspooflinks-3.4/spoof_wrapper
drwxr-xr-x seh/users         0 2006-11-07 22:37 mkspooflinks-3.4/extra/
drwxr-xr-x seh/users         0 2007-02-20 05:16 mkspooflinks-3.4/extra/gcc-uClibc/
-rw-r--r-- seh/users     17313 2006-11-06 21:43 mkspooflinks-3.4/extra/gcc-uClibc/gcc-uClibc.c.orig
-rw-r--r-- seh/users        17 2006-11-06 22:38 mkspooflinks-3.4/extra/gcc-uClibc/hello.c
-rw-r--r-- seh/users     24418 2007-01-31 19:01 mkspooflinks-3.4/extra/gcc-uClibc/gcc-uClibc.c
-rw-r--r-- seh/users     16384 2007-02-20 05:17 mkspooflinks-3.4/extra/gcc-uClibc/.gcc-uClibc.c.swp
-rw-r--r-- seh/users       675 2006-11-03 01:25 mkspooflinks-3.4/extra/gcc-uClibc/gcc-uClibc.h.sav
-rw-r--r-- seh/users      3680 2007-01-31 22:02 mkspooflinks-3.4/extra/gcc-uClibc/Makefile
-rw-r--r-- seh/users     17989 2007-01-24 19:47 mkspooflinks-3.4/COPYING
-rwxr-xr-x seh/users       422 2007-02-19 23:06 mkspooflinks-3.4/mkspoof
-rw-r--r-- seh/users     11060 2006-11-08 20:05 mkspooflinks-3.4/Rules.mak
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd mkspooflinks-3.4
+ echo 'Patch #1 (mkspooflinks-3.4-mmlink.patch):'
Patch #1 (mkspooflinks-3.4-mmlink.patch):
+ patch -p1 -s
+ echo 'Patch #2 (mkspooflinks-3.4-prefixbefore.patch):'
Patch #2 (mkspooflinks-3.4-prefixbefore.patch):
+ patch -p1 -s
+ echo 'Patch #3 (mkspooflinks-3.4-ccache.patch):'
Patch #3 (mkspooflinks-3.4-ccache.patch):
+ patch -p1 -s
+ echo 'Patch #4 (mkspooflinks-3.4-filter-link-paths.patch):'
Patch #4 (mkspooflinks-3.4-filter-link-paths.patch):
+ patch -p1 -s
+ exit 0
Executing(%build): /bin/sh -e /mnt/hgfs/share/imx6/L3.0.35_4.1.0_130816_source/source/ltib/tmp/rpm-tmp.36442
+ umask 022
+ cd /opt/freescale/ltib/usr/src/rpm/BUILD
+ cd mkspooflinks-3.4
+ CROSSGCC=/usr/bin/gcc
++ /usr/bin/gcc -print-libgcc-file-name
+ LIBGCC_A=/usr/lib/gcc/i486-linux-gnu/4.4.3/libgcc.a
++ dirname /usr/lib/gcc/i486-linux-gnu/4.4.3/libgcc.a
+ LIBGCC_DIR=/usr/lib/gcc/i486-linux-gnu/4.4.3
++ /usr/bin/gcc -dumpversion
+ GCC_VERSION=4.4.3
+ export 'CFLAGS=-DLTIB_BUILD -D__UCLIBC_CTOR_DTOR__ -D__UCLIBC_HAS_SHARED__ -DLIBGCC_DIR="/usr/lib/gcc/i486-linux-gnu/4.4.3" -DGCC_VERSION="4.4.3"'
+ CFLAGS='-DLTIB_BUILD -D__UCLIBC_CTOR_DTOR__ -D__UCLIBC_HAS_SHARED__ -DLIBGCC_DIR="/usr/lib/gcc/i486-linux-gnu/4.4.3" -DGCC_VERSION="4.4.3"'
+ cd extra/gcc-uClibc
+ gcc -O2 -g -DLTIB_BUILD -D__UCLIBC_CTOR_DTOR__ -D__UCLIBC_HAS_SHARED__ '-DLIBGCC_DIR="/usr/lib/gcc/i486-linux-gnu/4.4.3"' '-DGCC_VERSION="4.4.3"' gcc-uClibc.c -o tc_wrapper
gcc-uClibc.c: In function 'main':
gcc-uClibc.c:593: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result
+ exit 0
Executing(%install): /bin/sh -e /mnt/hgfs/share/imx6/L3.0.35_4.1.0_130816_source/source/ltib/tmp/rpm-tmp.50457
+ umask 022
+ cd /opt/freescale/ltib/usr/src/rpm/BUILD
+ cd mkspooflinks-3.4
+ rm -rf /mnt/hgfs/share/imx6/L3.0.35_4.1.0_130816_source/source/ltib/tmp/mkspooflinks
+ sh mkspoof /mnt/hgfs/share/imx6/L3.0.35_4.1.0_130816_source/source/ltib/tmp/mkspooflinks//opt/freescale/rootfs/i686//opt/freescale/ltib/usr/spoof/
ln: creating symbolic link `addr2line': Operation not supported
error: Bad exit status from /mnt/hgfs/share/imx6/L3.0.35_4.1.0_130816_source/source/ltib/tmp/rpm-tmp.50457 (%install)


RPM build errors:
    Bad exit status from /mnt/hgfs/share/imx6/L3.0.35_4.1.0_130816_source/source/ltib/tmp/rpm-tmp.50457 (%install)
Build time for mkspooflinks: 1 seconds

Failed building mkspooflinks
Died at ./ltib line 1392.
traceback:
main::build_host_rpms:1392
  main::host_checks:1447
   main:554


Started: Fri Feb 10 16:58:56 2017
Ended:   Fri Feb 10 16:58:59 2017
Elapsed: 3 seconds

These packages failed to build:
mkspooflinks

Build Failed

相关帖子

沙发
至尊宝520|  楼主 | 2017-2-10 18:01 | 只看该作者
对了 是Ubuntu10.04

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

1

主题

2

帖子

0

粉丝