Hi David,
Please reply to the list rather than me.
Try running this:
/usr/bin/objdump -f --version
This is the command in stripall that I think is doing the test.
If that command works, then you'll need to look into stripall to see
what's failing. Otherwise install the missing package.
Regards, Stuart
On 13/09/11 09:21, Pauli, David, MU wrote:
Hey Stuart,
yes, I mean this error.
> To fix this, make sure you have the host binutils package installed
from your package manager.
My package manager shows, that I'm installed binutils and
binutils-devel with version 2.20.51.0.2-5.11. The /usr/bin/objdump
also exists, so I think it should be working?! The second building
works fine, but not the first one :(
So long, David
------------------------------------------------------------------------
*Von:*Stuart Hughes [mailto:[email protected]]
*Gesendet:* Dienstag, 13. September 2011 10:01
*An:* Pauli, David, MU
*Cc:* [email protected]
*Betreff:* Re: [Ltib] Build fail every first time
Hi David,
Do you mean the error:
> stripping binaries and libraries
> Path to target tools not set up, aborting...
>
> Died at ./ltib line 517, <> line 457.
If so, that is not related to the change you've made. What's
happening here is that LTIB is trying to strip the image it built
using the script: bin/stripall. This looks for /usr/bin/objdump,
which seems to be missing on your installation. To fix this, make
sure you have the host binutils package installed from your package
manager.
Regards, Stuart
On 13/09/11 08:18, Pauli, David, MU wrote:
Hi,
I have a little problem. It is not such as important as a error, cause
on second building it works. Every first building after change
something in configuration, the console prints followed:
> + '[' -n '' -a '!' -f config/platform/mpc8313erdb/.config ']'
> + '[' -n '' ']'
> + cd config/platform/mpc8313erdb
> + mconf main.lkc
> #
> # using defaults found in .config
> #
>
>
> *** End of configuration.
> *** Check the top-level Makefile for additional configuration options.
>
> + cp .config defconfig.dev
>
> Processing platform: Freescale MPC8313E RDB PowerPC board
> ===========================================================
> using config/platform/mpc8313erdb/.config
>
> Processing: fake-provides
> ===========================
>
> Processing: u-boot-1.3.0-mpc8313erdb_revc
> ===========================================
>
> Processing: kernel-2.6.23-mpc8313erdb_revc
> ============================================
>
> Processing: skell
> ===================
>
> Processing: dev
> =================
>
> Processing: base_libs
> =======================
>
> Processing: busybox
> =====================
>
> Processing: net-tools
> =======================
>
> Processing: ethtool
> =====================
>
> Processing: pciutils
> ======================
>
> Processing: i2c-tools
> =======================
>
> Processing: vsc7385-firmware-mpc8313erdb
> ==========================================
>
> Processing: apptrk-ppcbin
> ===========================
>
> Processing: sysconfig
> =======================
>
> Processing: merge
> ===================
>
> Processing: modeps
> ====================
>
> Processing deployment operations
> ==================================
> making filesystem image file
> staging directory is /usr/LTIB/ltib-mpc8313erdb-20081222/rootfs.tmp
> removing the boot directory and files
> removing man files and directories
> removing info files
> removing /usr/src directory
> removing /usr/include directory
> removing /usr/share/locale directory
> removing static libraries
> removing target rpm database
> stripping binaries and libraries
> Path to target tools not set up, aborting...
>
> Died at ./ltib line 517, <> line 457.
> traceback:
> main:517
>
>
> Started: Tue Sep 13 09:12:05 2011
> Ended: Tue Sep 13 09:12:24 2011
> Elapsed: 19 seconds
>
>
> Build Failed
>
> Exiting on error or interrupt
I don't know why, but I think it is because I have changed the
bin/Ltibutils.pm, because I have RedHat with 64 Bit.
- 'rpm-build' => sub { -f '/usr/lib/rpm/rpmb' },
+ 'rpm-build' => sub { `rpmbuild --version
2>/dev/null` },
But how I will change it correctly?
So long, David
_______________________________________________
LTIB home page:http://ltib.org
Ltib mailing list
[email protected] <mailto:[email protected]>
https://lists.nongnu.org/mailman/listinfo/ltib
_______________________________________________
LTIB home page: http://ltib.org
Ltib mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/ltib