[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ltib] Installation problems with Mandriva 2009.1 (mtd-utils)
From: |
Mark Craske |
Subject: |
Re: [Ltib] Installation problems with Mandriva 2009.1 (mtd-utils) |
Date: |
Wed, 15 Jul 2009 15:04:16 +0100 |
Hi Stuart,
My mistake: I have ltib-8-1-2-sv
That was because of a different problem I encountered
when I tried to use the latest ltib.
I already amended bin/Ltibutils.pm $app_checks for
'rpm-build' and replaced the mtd-utils.spec with the new one
as suggested by you in
http://lists.nongnu.org/archive/html/ltib/2009-07/msg00129.html
This means I do have release 2 of the spec file so there is no Patch1.
I had hoped it would build, but it did not.
The problem I had with the latest ltib was:
ERROR: /tmp/rpm-mcraske/RPMS/i686/rpm-fs-4.0.4-1.i686.rpm
would clobber '/tib'
traceback:
main::check_host_clobber:2723
main::build_rpm:904
main::f_scdeploy:1077
main::build_rpm:842
main::f_buildrpms:978
main::check_rpm_setup:2437
main::host_checks:1431
main:537
Regards, Mark
On Wed, 2009-07-15 at 14:23 +0100, Stuart Hughes wrote:
> Hi Mark,
>
> Are you sure you have the latest from Savannah CVS? the byteswap patch
> was remote from the host mtd-utils spec file. Can you check:
>
> dist/lfs-5.1/mtd-utils/mtd-utils-20060302.spec
>
>
> It should only have at (the start)
> [snip]
> Summary : Memory Technology Device tools
> Name : mtd-utils
> Version : 20060302
> Release : 2
> License : GPL
> Vendor : Freescale
> Packager : Stuart Hughes
> Group : Applications/System
> Source : %{name}-%{version}.tar.bz2
> Patch2 : mtd-utils-20060302-find_fs_entry.patch
> Patch3 : mtd-utils-20060302-eraseall.patch
> Patch4 : mtd-utils-20060302-eraseall_prog.patch
> BuildRoot : %{_tmppath}/%{name}
> Prefix : %{pfx}
> [snip]
>
> If that verifies. Can you verify that when it tries to build mtd-utils
> for the host you see:
>
> Processing: u-boot-tools
> ==========================
>
> Processing: mtd-utils-20060302
> ....
>
> Regards, Stuart
>
>
> Mark Craske wrote:
> > I tried to install the latest litb (from CVS) onto Mandriva 2009.1
> > It failed:
> >
> > gcc -I../include -O2 -Wall -g -c -o ftl_format.o ftl_format.c -g
> > -Wp,-MD,.ftl_format.c.dep
> > In file included from /usr/include/endian.h:61,
> > from /usr/include/sys/types.h:217,
> > from ftl_format.c:38:
> > ../include/bits/byteswap.h:21:3: error: #error "Never use
> > <bits/byteswap.h> directly; include <byteswap.h> instead."
> > make: *** [ftl_format.o] Error 1
> > make: Leaving directory `/opt/ltib/usr/src/rpm/BUILD/mtd/util'
> > ...
> > Failed building mtd-utils
> > Died at ./ltib line 1251.
> > traceback:
> > main::build_host_rpms:1251
> > main::host_checks:1305
> > main:480
> >
> > This failure is the same as reported on Fedora FC10.
> >
> > It seems to be caused by the mtd-utils build including its
> > own ../include/bits/byteswap.h instead of the
> > correct /usr/include/bits/byteswap.h that also checks whether _ENDIAN_H
> > is defined before reporting the error.
> >
> > M Craske
> >
- [Ltib] Installation problems with Mandriva 2009.1 (mtd-utils), Mark Craske, 2009/07/15
- Re: [Ltib] Installation problems with Mandriva 2009.1 (mtd-utils), Stuart Hughes, 2009/07/15
- Re: [Ltib] Installation problems with Mandriva 2009.1 (mtd-utils),
Mark Craske <=
- Re: [Ltib] Installation problems with Mandriva 2009.1 (mtd-utils), Stuart Hughes, 2009/07/15
- Re: [Ltib] Installation problems with Mandriva 2009.1 (mtd-utils), Mark Craske, 2009/07/15
- Re: [Ltib] Installation problems with Mandriva 2009.1 (mtd-utils), Stuart Hughes, 2009/07/15
- Re: [Ltib] Installation problems with Mandriva 2009.1 (mtd-utils), Mark Craske, 2009/07/15
- Re: [Ltib] Installation problems with Mandriva 2009.1 (mtd-utils), Stuart Hughes, 2009/07/15
- Re: [Ltib] Installation problems with Mandriva 2009.1 (mtd-utils), Mark Craske, 2009/07/15
- Re: [Ltib] Installation problems with Mandriva 2009.1 (mtd-utils), Stuart Hughes, 2009/07/15
- Re: [Ltib] Installation problems with Mandriva 2009.1 (mtd-utils), Mark Craske, 2009/07/16
- Re: [Ltib] Installation problems with Mandriva 2009.1 (mtd-utils), Stuart Hughes, 2009/07/16
- Re: [Ltib] Installation problems with Mandriva 2009.1 (mtd-utils), Stuart Hughes, 2009/07/16