LTIB build fails

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LTIB build fails

1,227 Views
eugenesolo
Contributor II

After i fixed some strange errors in gzipped sources (flex and others), configured kernel and so on, ./ltib  (from 4.1.0 source) still fails to build base_libs:

-----

cp -a /opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-none-linux-gnueabi-gcc//include/c++ /home/eugene/LTIB/ltib/tmp/base_libs//opt/freescale/rootfs/arm/usr/include

cp: cannot stat '/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-none-linux-gnueabi-gcc//include/c++': Not a directory

error: Bad exit status from /home/eugene/LTIB/ltib/tmp/rpm-tmp.3188 (%install)

    Bad exit status from /home/eugene/LTIB/ltib/tmp/rpm-tmp.3188 (%install)

RPM build errors:

Failed building base_libs

Build time for base_libs: 1 seconds

f_buildrpms() returned an error, exiting

-----

Of course, "/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-none-linux-gnueabi-gcc//include/c++" is not a directory, it doesn't even exist!

I guess, this is just a typo in some of the scripts, but i cant figure where and what.

Labels (2)
6 Replies

765 Views
LeonardoSandova
Specialist I

What were the fixes you did? please share them as patches. Can you just compile base_libs ?

./ltib -m prep -p base_libs
./ltib -m scbuild -p base_libs
./ltib -m scdeploy -p base_libs

0 Kudos

765 Views
eugenesolo
Contributor II

./ltib -m prep -p base_libs

     did well, but

./ltib -m scbuild -p base_libs

     died instantly because of error:

/home/eugene/LTIB/ltib/tmp/rpm-tmp.84041: 38: /home/eugene/LTIB/ltib/tmp/rpm-tmp.84041: 1: not found

first patch was already deployed by somebody, I'd found it later (something about "gets", don't remember :smileyhappy:), second was an absolute path to sys/types.h (which is not correct for my system) and others was just a missed system files (texinfo, etc.)

0 Kudos

765 Views
LeonardoSandova
Specialist I

Not sure. Please try cleaning your package (-m clean -p ...) and try again. I have compiled base_libs without problems :smileysad: . have you changed something on the spec?

Loe

0 Kudos

765 Views
eugenesolo
Contributor II

no, specs wasn't edited at all, just installed missing packages (my system is Ubintu 13.10 upgraded from live CD 13.04) and fixed some typo

./ltib -m clean -p base_libs

base_libs is not installed

(and this is understandable - base_libs is not installed because it is not compiled)

0 Kudos

765 Views
LeonardoSandova
Specialist I

I see. There are some patches out there in order to use LTIB with Ubuntu 13.X. I am not sure if your problem is related to this version but either apply patches or move to an older Ubuntu version (12.04 works like charm)

0 Kudos

765 Views
konstantinkoval
Contributor II

Unfortunately, I have the same problem with LTIB on my Fedora 19 (x86_64). I have tried to solve it by creating the symbolic link to /c++ directory from /gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12 (I have found it there by "mc" search). After that building process continued, but I have got another error with libc.so.6 wich doesn't exist in /opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/lib directory (Yep! It's true, this directory contain about 5 files only...). Could someone help me? I would be grateful for any advices!

0 Kudos