AnsweredAssumed Answered

powerpc-none-linux-gnuspe/4.3.2' is not a directory

Question asked by xu chen on May 22, 2016
Latest reply on May 22, 2016 by Pavel Chubakov

Good morning, My host use ubuntu12.04, when i use ltib to build p2020rdb, it appeared err like this:

below is the consle log:

 

+ mkdir -p /home/chenxu/proj/hdbus/tools/ltib-p1020rdb_p2020rdb-20101029/tmp/gcc//opt/freescale/rootfs/ppc//usr/local/lib/{,gcc/powerpc-none-linux-gnuspe/4.3.2}

+ cp /opt/freescale/usr/local/gcc-4.3.74-eglibc-2.8.74-dp-2/powerpc-none-linux-gnuspe/powerpc-none-linux-gnuspe/libc/usr/lib/Mcrt1.o /opt/freescale/usr/local/gcc-4.3.74-eglibc-2.8.74-dp-2/powerpc-none-linux-gnuspe/powerpc-none-linux-gnuspe/libc/usr/lib/Scrt1.o /opt/freescale/usr/local/gcc-4.3.74-eglibc-2.8.74-dp-2/powerpc-none-linux-gnuspe/powerpc-none-linux-gnuspe/libc/usr/lib/crt1.o /opt/freescale/usr/local/gcc-4.3.74-eglibc-2.8.74-dp-2/powerpc-none-linux-gnuspe/powerpc-none-linux-gnuspe/libc/usr/lib/crti.o /opt/freescale/usr/local/gcc-4.3.74-eglibc-2.8.74-dp-2/powerpc-none-linux-gnuspe/powerpc-none-linux-gnuspe/libc/usr/lib/crtn.o /opt/freescale/usr/local/gcc-4.3.74-eglibc-2.8.74-dp-2/powerpc-none-linux-gnuspe/powerpc-none-linux-gnuspe/libc/usr/lib/gcrt1.o /home/chenxu/proj/hdbus/tools/ltib-p1020rdb_p2020rdb-20101029/tmp/gcc//opt/freescale/rootfs/ppc//usr/local/lib

+ cp /opt/freescale/usr/local/gcc-4.3.74-eglibc-2.8.74-dp-2/powerpc-none-linux-gnuspe/powerpc-none-linux-gnuspe/libc/usr/lib/Mcrt1.o /opt/freescale/usr/local/gcc-4.3.74-eglibc-2.8.74-dp-2/powerpc-none-linux-gnuspe/powerpc-none-linux-gnuspe/libc/usr/lib/Scrt1.o /opt/freescale/usr/local/gcc-4.3.74-eglibc-2.8.74-dp-2/powerpc-none-linux-gnuspe/powerpc-none-linux-gnuspe/libc/usr/lib/crt1.o /opt/freescale/usr/local/gcc-4.3.74-eglibc-2.8.74-dp-2/powerpc-none-linux-gnuspe/powerpc-none-linux-gnuspe/libc/usr/lib/crti.o /opt/freescale/usr/local/gcc-4.3.74-eglibc-2.8.74-dp-2/powerpc-none-linux-gnuspe/powerpc-none-linux-gnuspe/libc/usr/lib/crtn.o /opt/freescale/usr/local/gcc-4.3.74-eglibc-2.8.74-dp-2/powerpc-none-linux-gnuspe/powerpc-none-linux-gnuspe/libc/usr/lib/gcrt1.o /home/chenxu/proj/hdbus/tools/ltib-p1020rdb_p2020rdb-20101029/tmp/gcc//opt/freescale/rootfs/ppc//usr/local/lib/gcc/powerpc-none-linux-gnuspe/4.3.2

cp: target '/home/chenxu/proj/hdbus/tools/ltib-p1020rdb_p2020rdb-20101029/tmp/gcc//opt/freescale/rootfs/ppc//usr/local/lib/gcc/powerpc-none-linux-gnuspe/4.3.2' is not a directory

error: Bad exit status from /home/chenxu/proj/hdbus/tools/ltib-p1020rdb_p2020rdb-20101029/tmp/rpm-tmp.32027 (%install)

 

 

 

 

RPM build errors:

    Bad exit status from /home/chenxu/proj/hdbus/tools/ltib-p1020rdb_p2020rdb-20101029/tmp/rpm-tmp.32027 (%install)

Build time for gcc-4.3-74: 0 seconds

 

 

Failed building gcc-4.3-74

 

 

 

 

f_buildrpms() returned an error, exiting

traceback:

main:560

 

 

 

 

Started: Mon May 23 10:22:32 2016

Ended:   Mon May 23 10:46:14 2016

Elapsed: 1422 seconds

 

 

These packages failed to build:

gcc-4.3-74

 

 

Build Failed

 

 

Exiting on error or interrupt

 

 

How can i solve this problem?

Outcomes