ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ri.: Re: Ri.: Re: Ri.: Re: [Ltib] RPB Build error fotr packages rela


From: Stuart Hughes
Subject: Re: Ri.: Re: Ri.: Re: Ri.: Re: [Ltib] RPB Build error fotr packages related to X11
Date: Tue, 14 Dec 2010 19:24:25 +0000
User-agent: Thunderbird 2.0.0.16 (X11/20080707)

Hi Enrico,

You'll need help from someone familiar with the kernel for the LPC3250,
or you'll need to figure out the build failures.

What I can help you with is LTIB.  Rather than re-installing LTIB, if
you just want the kernel back in its default configuration, you can do this:

$ rm config/platform/ea3250/linux-2.6.34-ea3250.config.dev
$ ./ltib

I would suggest that if you configure the kernel, make one change (or
small changes) and try after each one.

Regards. Stuart

Enrico Miglino wrote:
> Hi, Stuart. Strange, eh???
> 
> Sure. I try to explain more clear:
> 
> 1) install ltib, set in the initial configuration EA3250 platform, compile. I 
> obtain an uImage that starts then loading the kernel, after the display of 
> the penguin logo image on the EA3250 screen the console shows kernel panic. I 
> don't matter, thinking that a lot of things are missing.
> 
> 2) start ./ltib -m configure (or --configure is the same), set usb, 
> peripherals etc. At this point what I expect is that the kernel compile. With 
> run-time errors, other panic or more depending on the correctness of my 
> configuration (I set also the kernel drivers and parameters accordingly with 
> the paltform hardware).
> At this point, nothing works. Everytime I compile I obtain errors on rpm, 
> different depending by the configuration. And I can't focus wht is the point. 
> 
> The only solution I can imagine is: remove all again, reinstall ltib, create 
> the initial configuration and try to setup one thing at a time, but I think 
> maybe some other wrong that i don't know...
> 
> Enrico
> 
> 
> 
> 
>> ----- Messaggio originale ----- 
>> Da: address@hidden
>> A: "Enrico Miglino‎" <address@hidden>
>> cc: "Stuart Hughes‎" <address@hidden>, address@hidden
>> Oggetto: Re: Ri.: Re: Ri.: Re: [Ltib] RPB Build error fotr packages related  
>> to X11
>> Data: Tue, 14 Dec 2010 08:19:20 -0500
>>
>>
>> Hi Enrico,
>>
>> I'm not quite sure I understand.
>>
>> Are you saying that the build is okay if you use the default kernel
>> configuration, but it fails if you change the kernel configuration?
>>
>> Regards, Stuart
>>
>>
>>> Hi Stuart,
>>>
>>> In these days I removed the linux* directory from rpm/BUILD as you
>>> suggested, and the whole build restarted.
>>> Immediately after I downloaded ltib (after installation) I tried to
>>> compile a uImage only indicating the platform EA3250 and leaving all the
>>> default values.
>>> The toolchain generated an image that starts showing the linux penguin on
>>> the EA3250 screen but in console what appear is a "starting kernel" then a
>>> "kernel panic" message and all stops.
>>>
>>> Ok, It seems me obvious. I configured the kernel with the needed
>>> components and restarted a build. After the problem I tried to solve as
>>> you suggested and now after my last configuration compile starts and
>>> create and error. I tried several ways, but if I configure the board the
>>> compilation never complete. I have no difficult to download again ltib and
>>> reinstall, but I think I'm doing something incorrect or miss some passage
>>> or parameter...
>>>
>>> The ltib tar copy I'm using to startup is the file ltib-10-1-1a-sv.tar.gz
>>>
>>> Thank you for your support.
>>> Enrico
>>>
>>>
>>>
>>>
>>>> ----- Messaggio originale -----
>>>> Da: "Stuart Hughes‎" <address@hidden>
>>>> A: "Enrico Miglino‎" <address@hidden>
>>>> Oggetto: Re: Ri.: Re: [Ltib] RPB Build error fotr packages related to
>>>> X11
>>>> Data: Fri, 10 Dec 2010 18:21:25 +0000
>>>>
>>>>
>>>> Hi Enrico,
>>>>
>>>> Please keep emails on the list.
>>>>
>>>> It looks as though your kernel sources may be incomplete.  Provided
>>>> you've not been working on the kernel, remove rpm/BUILD/linux* and
>>>> re-try.
>>>>
>>>> Regards, Stuart
>>>>
>>>>
>>>> Enrico Miglino wrote:
>>>>> Hi Stuart, here follows the output of my last ./ltib build (without
>>>>> --continue)
>>>>>
>>>>> I also checked gcc in ltib shell mode, and it seems ok.
>>>>>
>>>>> ==========================================
>>>>> LTIB> gcc -v
>>>>> Using built-in specs.
>>>>> Target: arm-none-linux-gnueabi
>>>>> Configured with:
>>>>> /usr/src/redhat/BUILD/cross-mlib/source/gcc-4.1.2/configure
>>>>> --target=arm-none-linux-gnueabi --host=i686-host_pc-linux-gnu
>>>>>
>>>> --prefix=/opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi
>>>> --with-sysroot=/opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/arm-none-linux-gnueabi/sysroot
>>>> --enable-threads --enable-shared --disable-libssp --disable-libgomp
>>>> --disable-libmudflap --enable-languages=c,c++ --enable-__cxa_atexit
>>>>> --disable-nls
>>>>> Thread model: posix
>>>>> gcc version 4.1.2
>>>>> ==========================================
>>>>>
>>>>>
>>>>> BUILD CONSOLE OUTPUT:
>>>>>
>>>>>
>>>>> Processing platform: Embedded Artists LPC3250 OEM Board with the
>>>>> NXP LPC32XX SoC
>>>>>
>>>> ==================================================================================
>>>>> using config/platform/ea3250/.config
>>>>> PKG_KERNEL_WANT_CF has changed, kernel-2.6.27.8-lpc32xx needs a
>>>> rebuild
>>>>> PKG_KERNEL_LEAVESRC has changed, kernel-2.6.27.8-lpc32xx needs a
>>>> rebuild
>>>>> Processing: fake-provides
>>>>> ===========================
>>>>> Build path taken because: no prebuilt rpm, rpmbuild --dbpath
>>>>> /home/enrico/ltib/EA3250/rootfs//var/lib/rpm --target arm --define
>>>>> '_unpackaged_files_terminate_build 0' --define '_target_cpu arm'
>>>>> --define '__strip strip' --define '_topdir
>>>>> /home/enrico/ltib/EA3250/rpm' --define '_prefix /usr' --define
>>>>> '_tmppath /home/enrico/ltib/EA3250/tmp' --define '_rpmdir
>>>>> /home/enrico/ltib/EA3250/rpm/RPMS'  --define '_mandir
>>>>> /usr/share/man' --define '_sysconfdir /etc' --define
>>>>> '_localstatedir /var' -bb --clean --rmsource
>>>>> /home/enrico/ltib/EA3250/dist/lfs-5.1/fake-provides/fake-provides.spec
>>>>> Building target platforms: arm
>>>>> Building for target arm
>>>>> Executing(%prep): /bin/sh -e
>>>> /home/enrico/ltib/EA3250/tmp/rpm-tmp.31301
>>>>> + umask 022
>>>>> + cd /home/enrico/ltib/EA3250/rpm/BUILD
>>>>> + exit 0
>>>>> Executing(%build): /bin/sh -e
>>>> /home/enrico/ltib/EA3250/tmp/rpm-tmp.31301
>>>>> + umask 022
>>>>> + cd /home/enrico/ltib/EA3250/rpm/BUILD
>>>>> + exit 0
>>>>> Executing(%install): /bin/sh -e
>>>> /home/enrico/ltib/EA3250/tmp/rpm-tmp.31301
>>>>> + umask 022
>>>>> + cd /home/enrico/ltib/EA3250/rpm/BUILD
>>>>> + rm -rf /tmp/fake-provides-1.0
>>>>> Processing files: fake-provides-1.0-5
>>>>> Provides: /bin/sh /bin/bash /bin/csh /bin/tcsh /usr/bin/env
>>>>> /usr/bin/perl /usr/local/bin/perl libgcc_s.so.1
>>>>> libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GLIBC_2.0) /bin/gawk
>>>>> /usr/bin/nawk /usr/bin/awk /usr/bin/bash perl 5.8.0
>>>>> perl(Getopt::Long) perl(Getopt::Std) perl(constant)
>>>>> perl(getopts.pl) perl(strict) perl(vars) perl(Carp) perl(Cwd)
>>>>> perl(Data::Dumper) perl(DynaLoader) perl(Exporter)
>>>>> perl(File::Basename) perl(File::Compare) perl(File::Copy)
>>>>> perl(File::Find) perl(File::Spec) perl(File::stat) perl(IO::File)
>>>>> perl(POSIX) perl(Text::ParseWords) libstdc++.so.5
>>>>> libstdc++.so.5(CXXABI_1.2) libstdc++.so.5(GLIBCPP_3.2)
>>>>> libstdc++.so.5(GLIBCPP_3.2.1) /bin/rm /sbin/ldconfig
>>>>> /sbin/chkconfig linux-gate.so.1
>>>>> PreReq: rpmlib(PayloadFilesHavePrefix) <= 4.0-1
>>>>> rpmlib(CompressedFileNames) <= 3.0.4-1
>>>>> Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1
>>>>> rpmlib(CompressedFileNames) <= 3.0.4-1
>>>>> Wrote:
>>>> /home/enrico/ltib/EA3250/rpm/RPMS/arm/fake-provides-1.0-5.arm.rpm
>>>>> Executing(%clean): /bin/sh -e
>>>> /home/enrico/ltib/EA3250/tmp/rpm-tmp.31301
>>>>> + umask 022
>>>>> + cd /home/enrico/ltib/EA3250/rpm/BUILD
>>>>> + rm -rf /tmp/fake-provides-1.0
>>>>> + exit 0
>>>>> Executing(--clean): /bin/sh -e
>>>> /home/enrico/ltib/EA3250/tmp/rpm-tmp.15363
>>>>> + umask 022
>>>>> + cd /home/enrico/ltib/EA3250/rpm/BUILD
>>>>> + exit 0
>>>>> Build time for fake-provides: 1 seconds
>>>>>
>>>>> sudo /opt/ltib/usr/bin/rpm --root /home/enrico/ltib/EA3250/rootfs
>>>>> --dbpath /var/lib/rpm -e --allmatches --nodeps --noscripts --define
>>>>> '_tmppath /tmp/ltib' fake-provides 2>/dev/null
>>>>> sudo /opt/ltib/usr/bin/rpm --root /home/enrico/ltib/EA3250/rootfs
>>>>> --dbpath /var/lib/rpm --prefix / --ignorearch -ivh --force
>>>>> --excludedocs --noscripts --define '_tmppath /tmp/ltib'
>>>>> /home/enrico/ltib/EA3250/rpm/RPMS/arm/fake-provides-1.0-5.arm.rpm
>>>>> error: failed to stat /home/enrico/.gvfs: Permission denied
>>>>> Preparing...
>>>>> ########################################### [100%]
>>>>>
>>>>> Processing: kernel-2.6.27.8-lpc32xx
>>>>> =====================================
>>>>> Build path taken because: directory build, build key set, no
>>>>> prebuilt rpm, scbuild/scdeploy already unpacked package
>>>>>
>>>>> Processing: kernel-2.6.27.8-lpc32xx
>>>>> =====================================
>>>>> Build path taken because: directory build, build key set, no
>>>>> prebuilt rpm, rpmbuild --dbpath
>>>>> /home/enrico/ltib/EA3250/rootfs//var/lib/rpm --target arm --define
>>>>> '_unpackaged_files_terminate_build 0' --define '_target_cpu arm'
>>>>> --define '__strip strip' --define '_topdir
>>>>> /home/enrico/ltib/EA3250/rpm' --define '_prefix /usr' --define
>>>>> '_tmppath /home/enrico/ltib/EA3250/tmp' --define '_rpmdir
>>>>> /home/enrico/ltib/EA3250/rpm/RPMS'  --define '_mandir
>>>>> /usr/share/man' --define '_sysconfdir /etc' --define
>>>>> '_localstatedir /var' -bc --short-circuit
>>>>> /home/enrico/ltib/EA3250/tmp/kernel-2.6.27.8-lpc32xx.spec
>>>>> Building target platforms: arm
>>>>> Building for target arm
>>>>> Executing(%build): /bin/sh -e
>>>> /home/enrico/ltib/EA3250/tmp/rpm-tmp.24652
>>>>> + umask 022
>>>>> + cd /home/enrico/ltib/EA3250/rpm/BUILD
>>>>> + cd linux-2.6.27.8
>>>>> + eval echo
>>>>> + echo
>>>>> + PKG_KERNEL_PATH_PRECONFIG=
>>>>> + eval echo
>>>>> + echo
>>>>> + PKG_KERNEL_KBUILD_PRECONFIG=
>>>>> + eval echo linux-2.6.27.8-ea3250.config
>>>>> + echo linux-2.6.27.8-ea3250.config
>>>>> + PKG_KERNEL_PRECONFIG=linux-2.6.27.8-ea3250.config
>>>>> + KSRC_DIR=/home/enrico/ltib/EA3250/rpm/BUILD/linux-2.6.27.8
>>>>> + : arm
>>>>> + : ccache /usr/bin/gcc -B/usr/bin//
>>>>> + : linux-2.6.27.8-ea3250.config
>>>>> + : /home/enrico/ltib/EA3250/config/platform/ea3250
>>>>> + : /home/enrico/ltib/EA3250/rpm/BUILD/linux-2.6.27.8
>>>>> + rm -f /home/enrico/ltib/EA3250/rpm/BUILD/linux
>>>>> + ln -s /home/enrico/ltib/EA3250/rpm/BUILD/linux-2.6.27.8
>>>>> /home/enrico/ltib/EA3250/rpm/BUILD/linux
>>>>> + cd /home/enrico/ltib/EA3250/rpm/BUILD/linux-2.6.27.8
>>>>> + KBOUT=
>>>>> + [ -n  -a  != . ]
>>>>> + KBOUT=.
>>>>> + KTARG=zImage
>>>>> + SYSCFG_KTARG=uImage
>>>>> + [ linux-2.6.27.8-ea3250.config = defconfig ]
>>>>> + [ -f
>>>>>
>>>> /home/enrico/ltib/EA3250/config/platform/ea3250/linux-2.6.27.8-ea3250.config.dev
>>>>> ]
>>>>> + [ -f
>>>>>
>>>> /home/enrico/ltib/EA3250/config/platform/ea3250/linux-2.6.27.8-ea3250.config
>>>>> ]
>>>>> +
>>>>>
>>>> CFG_PATH=/home/enrico/ltib/EA3250/config/platform/ea3250/linux-2.6.27.8-ea3250.config
>>>>> + break
>>>>> + [ -z
>>>>>
>>>> /home/enrico/ltib/EA3250/config/platform/ea3250/linux-2.6.27.8-ea3250.config
>>>>> ]
>>>>> + [ arm = ppc -a -f arch/powerpc/Kconfig ]
>>>>> + [ -n  ]
>>>>> + [ -n
>>>>>
>>>> /home/enrico/ltib/EA3250/config/platform/ea3250/linux-2.6.27.8-ea3250.config
>>>>> ]
>>>>> + cp -f
>>>>>
>>>> /home/enrico/ltib/EA3250/config/platform/ea3250/linux-2.6.27.8-ea3250.config
>>>>> ./.config
>>>>> + [ -z  -a -n  -o -n  ]
>>>>> + [ -n
>>>>>
>>>> /home/enrico/ltib/EA3250/config/platform/ea3250/linux-2.6.27.8-ea3250.config
>>>>> ]
>>>>> + make ARCH=arm HOSTCC=ccache /usr/bin/gcc -B/usr/bin// oldconfig
>>>>> + yes make: *** No rule to make target `oldconfig'.  Stop.
>>>>> error: Bad exit status from
>>>>> /home/enrico/ltib/EA3250/tmp/rpm-tmp.24652 (%build)
>>>>>
>>>>>
>>>>> RPM build errors:
>>>>>     Bad exit status from /home/enrico/ltib/EA3250/tmp/rpm-tmp.24652
>>>> (%build)
>>>>> Build time for kernel-2.6.27.8-lpc32xx: 0 seconds
>>>>>
>>>>> Failed building kernel-2.6.27.8-lpc32xx
>>>>>
>>>>>
>>>>> f_buildrpms() returned an error, exiting
>>>>> traceback:
>>>>>  main:561
>>>>>
>>>>>
>>>>> Started: Fri Dec 10 15:07:17 2010
>>>>> Ended:   Fri Dec 10 15:07:36 2010
>>>>> Elapsed: 19 seconds
>>>>>
>>>>> These packages failed to build:
>>>>> kernel-2.6.27.8-lpc32xx Build Failed
>>>>>
>>>>> Exiting on error or interrupt
>>>>> address@hidden:~/ltib/EA3250$
>>>>>> ----- Messaggio originale ----- Da: "Stuart Hughes‎" <address@hidden>
>>>>>> A: "Enrico Miglino‎" <address@hidden>
>>>>>> cc: address@hidden
>>>>>> Oggetto: Re: [Ltib] RPB Build error fotr packages related to X11
>>>>>> Data: Fri, 10 Dec 2010 12:47:01 +0000
>>>>>>
>>>>>>
>>>>>> Hi Enrico,
>>>>>>
>>>>>> If base_libs fails then any dependent fail.
>>>>>>
>>>>>> Despite advice from others, unless you're running an autobuilder,
>>>> don't
>>>>>> use --continue.
>>>>>>
>>>>>> Please past the output of the base_libs failure.
>>>>>>
>>>>>> Also, check that the toolchain you're using is actually installed:
>>>>>> $ ./ltib -m shell
>>>>>> LTIB> gcc -v
>>>>>>
>>>>>> Regards, Stuart
>>>>>>
>>>>>> Enrico Miglino wrote:
>>>>>>> Hi,
>>>>>>>
>>>>>>> after a compete build for EA3250 platform I tried to add in
>>>>>>> configuration (with ./ltib -m config) X11 server and the
>>>>>>> essential X11  modules, obating as a result that the build
>>>>>>> process hangs with messages  like this (tried to change some
>>>>>>> configuration parameters but the  problemis even the same):
>>>>>>>
>>>>>>> START
>>>>>>> ===================================================================sudo
>>>>>>> /opt/ltib/usr/bin/rpm --root /home/enrico/ltib/EA3250/rootfs
>>>>>>> --dbpath  /var/lib/rpm --prefix / --ignorearch -ivh --force
>>>>>>> --excludedocs  --noscripts --define '_tmppath /tmp/ltib'
>>>>>>> /home/enrico/ltib/EA3250/rpm/RPMS/arm/modeps-1.0-1.arm.rpm
>>>>>>> error: failed to stat /home/enrico/.gvfs: Permission denied
>>>>>>> Preparing...
>>>>>>> ########################################### [100%]
>>>>>>> 1:modeps                 ###########################################
>>>> [100%]
>>>>>>>
>>>>>>> f_buildrpms() returned an error, exiting
>>>>>>> traceback:
>>>>>>> main:561
>>>>>>>
>>>>>>>
>>>>>>> Started: Wed Dec  8 23:00:47 2010
>>>>>>> Ended:   Wed Dec  8 23:10:20 2010
>>>>>>> Elapsed: 573 seconds
>>>>>>>
>>>>>>> These packages failed to build:
>>>>>>> base_libs libXt libXmu
>>>>>>> ==================================================================
>>>>>>> END
>>>>>>>
>>>>>>> Note that I'm workin on ubuntu 10.04 32 bit and I already set
>>>>>>> /opt with a 777 permissions.
>>>>>>>
>>>>>>> Thanks. Enrico
>>>>>>>
>>>>>>> --------------------------------------------------------------
>>>>>>> Ovi Mail: Making email access easy
>>>>>>> http://mail.ovi.com
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> LTIB home page: http://ltib.org
>>>>>>>
>>>>>>> Ltib mailing list
>>>>>>> address@hidden
>>>>>>> http://lists.nongnu.org/mailman/listinfo/ltib
>>>>>>>
>>>>> --------------------------------------------------------------
>>>>> Ovi Mail: Making email access easy
>>>>> http://mail.ovi.com
>>>>>
>>>>>
>>> --------------------------------------------------------------
>>> Ovi Mail: Making email access easy
>>> http://mail.ovi.com
>>>
>>>
> 
> --------------------------------------------------------------
> Ovi Mail: Making email access easy
> http://mail.ovi.com
> 
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]