ltib
[Top][All Lists]
Advanced

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

Re: [Ltib] Install problem LTIB on Ubuntu 8.04 (md5sum mismatch)


From: Stuart Hughes
Subject: Re: [Ltib] Install problem LTIB on Ubuntu 8.04 (md5sum mismatch)
Date: Mon, 12 Apr 2010 13:32:33 +0100
User-agent: Thunderbird 2.0.0.16 (X11/20080707)

Hi Lukasz,

Some possible causes maybe your toolchain download is incomplete and
corrupt causing this, or spoofing is not working correctly (due to
download problems).

Which platform are you building?  I can't tell, but assuming it's
phy3250 you can verify your toolchain by doing this (adapt if your
platform is different):

$ grep CONFIG_TOOLCHAIN config/platform/phy3250/.config
# CONFIG_TOOLCHAIN1 is not set
# CONFIG_TOOLCHAIN_CUSTOM is not set
CONFIG_TOOLCHAIN="tc-fsl-x86lnx-armeabi-nptl-4.1.2-3.i386.rpm"
CONFIG_TOOLCHAIN_PATH="/opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi"
CONFIG_TOOLCHAIN_PREFIX="arm-none-linux-gnueabi-"
CONFIG_TOOLCHAIN_CFLAGS="-O2 -fsigned-char -mfloat-abi=softfp -mfpu=vfp"

$ cd /opt/ltib/pkgs
$ md5sum -c tc-fsl-x86lnx-armeabi-nptl-4.1.2-3.i386.rpm.md5
tc-fsl-x86lnx-armeabi-nptl-4.1.2-3.i386.rpm: OK

If that is okay, then do this:

$ export FS_DEBUG=1
$ ./ltib

This will give even more debug output showing the exact gcc invocation.

Regards, Stuart


Lukasz Gesieniec wrote:
> Hi,
> 
> I made the change in file kernel-common.tmpl, and here's the effect:
> 
> 
> *** End of Linux kernel configuration.
> *** Execute 'make' to build the kernel or try 'make help'.
> 
> + [ -f
> /home/lukaszge/ltib/config/platform/phy3250/linux-2.6.27.8-phy3250.config.dev
> 
> ]
> + diff -q ./.config
> /home/lukaszge/ltib/config/platform/phy3250/linux-2.6.27.8-phy3250.config.dev
> 
> + [ -n  ]
> + [ %{kernel_series} = 2.4 ]
> + make ARCH=arm HOSTCC=ccache /usr/bin/gcc -B/usr/bin// uImage V=1
> arm-linux-gnu-gcc: fsigned-char: No such file or directory
> arm-linux-gnu-gcc: O3: No such file or directory
> arm-linux-gnu-gcc: msoft-float: No such file or directory
> arm-linux-gnu-gcc: mfpu=vfp: No such file or directory
> make -f /home/lukaszge/ltib/rpm/BUILD/linux-2.6.27.8/Makefile
> silentoldconfig
> make -f scripts/Makefile.build obj=scripts/basic
> mkdir -p include/linux include/config
> make -f scripts/Makefile.build obj=scripts/kconfig silentoldconfig
> scripts/kconfig/conf -s arch/arm/Kconfig
> arm-linux-gnu-gcc: fsigned-char: No such file or directory
> arm-linux-gnu-gcc: O3: No such file or directory
> arm-linux-gnu-gcc: msoft-float: No such file or directory
> arm-linux-gnu-gcc: mfpu=vfp: No such file or directory
> set -e; :; mkdir -p include/linux/;     (echo \#define LINUX_VERSION_CODE
> 132635; echo '#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) +
> (c))';) < /home/lukaszge/ltib/rpm/BUILD/linux-2.6.27.8/Makefile >
> include/linux/version.h.tmp; if [ -r include/linux/version.h ] && cmp -s
> include/linux/version.h include/linux/version.h.tmp; then rm -f
> include/linux/version.h.tmp; else :; mv -f include/linux/version.h.tmp
> include/linux/version.h; fi
> rm -f include/config/kernel.release
> set -e; if [ -L include/asm ]; then asmlink=`readlink include/asm | cut -d
> '-' -f 2`; if [ "$asmlink" != "arm" ]; then echo "ERROR: the symlink
> include/asm points to asm-$asmlink but asm-arm was expected"; echo "
> set ARCH or save .config and run 'make mrproper' to fix it"; exit 1; fi; fi
> echo 2.6.27.8 > include/config/kernel.release
> make -f scripts/Makefile.build obj=scripts/basic
> if [ ! -L include/asm ]; then echo '  SYMLINK include/asm ->
> include/asm-arm'; if [ ! -d include/asm-arm ]; then mkdir -p
> include/asm-arm; fi; ln -fsn asm-arm include/asm; fi
> make -f scripts/Makefile.build obj=arch/arm/tools
> include/asm-arm/mach-types.h
> make[1]: `include/asm-arm/mach-types.h' is up to date.
> set -e; :; mkdir -p include/linux/;     if [ `echo -n "2.6.27.8" | wc -c `
> -gt 64 ]; then echo '"2.6.27.8" exceeds 64 characters' >&2; exit 1; fi;
> (echo \#define UTS_RELEASE \"2.6.27.8\";) < include/config/kernel.release
>> include/linux/utsrelease.h.tmp; if [ -r include/linux/utsrelease.h ] &&
> cmp -s include/linux/utsrelease.h include/linux/utsrelease.h.tmp; then rm
> -f include/linux/utsrelease.h.tmp; else :; mv -f
> include/linux/utsrelease.h.tmp include/linux/utsrelease.h; fi
> make -f scripts/Makefile.build obj=scripts
> make -f scripts/Makefile.build obj=scripts/genksyms
> make -f scripts/Makefile.build obj=scripts/mod
>     gcc -Wp,-MD,scripts/mod/.empty.o.d  -nostdinc -isystem
> /opt/nxp/gcc-3.4.5-glibc-2.3.6/arm-linux-gnu/bin/../lib/gcc/arm-linux-gnu/3.4.5/include
> 
> -D__KERNEL__ -Iinclude
> -I/home/lukaszge/ltib/rpm/BUILD/linux-2.6.27.8/arch/arm/include -include
> include/linux/autoconf.h -mlittle-endian -Iarch/arm/mach-lpc32xx/include
> -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
> -fno-common -Werror-implicit-function-declaration -Os
> -fno-omit-frame-pointer -mapcs -mno-sched-prolog -mabi=aapcs-linux
> -mno-thumb-interwork -D__LINUX_ARM_ARCH__=5 -march=armv4t -mtune=arm9tdmi
> -msoft-float -Uarm -fno-omit-frame-pointer -fno-optimize-sibling-calls
> -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(empty)"
> -D"KBUILD_MODNAME=KBUILD_STR(empty)" -c -o scripts/mod/.tmp_empty.o
> scripts/mod/empty.c
> arm-linux-gnu-gcc: fsigned-char: No such file or directory
> arm-linux-gnu-gcc: O3: No such file or directory
> arm-linux-gnu-gcc: msoft-float: No such file or directory
> arm-linux-gnu-gcc: mfpu=vfp: No such file or directory
> cc1: error: invalid option `abi=aapcs-linux'
> make[2]: *** [scripts/mod/empty.o] Error 1
> make[1]: *** [scripts/mod] Error 2
> make: *** [scripts] Error 2
> error: Bad exit status from /home/lukaszge/ltib/tmp/rpm-tmp.92514 (%build)
> 
> 
> RPM build errors:
>       Bad exit status from /home/lukaszge/ltib/tmp/rpm-tmp.92514 (%build)
> Build time for kernel-2.6.27.8-lpc32xx: 42 seconds
> 
> Failed building kernel-2.6.27.8-lpc32xx
> 
> 
> f_buildrpms() returned an error, exiting
> traceback:
>    main:567
> 
> 
> Started: Mon Apr 12 13:41:12 2010
> Ended:   Mon Apr 12 13:41:59 2010
> Elapsed: 47 seconds
> 
> These packages failed to build:
> kernel-2.6.27.8-lpc32xx
> 
> Build Failed
> 
> I also attached the text file with full output.
> 
> Regards,
> Lukasz
> 
> Dnia 12-04-2010 o 13:32:19 Stuart Hughes <address@hidden> napisał(a):
> 
>> Hi Lukasz,
>>
>> Sorry I forgot the path, it is:
>> dist/lfs-5.1/kernel/kernel-common.tmpl
>>
>> Regards, Stuart
>>
>> Lukasz Gesieniec wrote:
>>> Hi Stuart,
>>>
>>> I do not know what is wrong, but I had a couple of times to repeat
>>> the download process. Maybe my Internet connection is unstable, but
>>> downloading from other sources is OK.
>>>
>>> I am sorry for such a basic question, but you can give me the exact
>>> path to the file that I should edit?
>>>
>>> Regards,
>>> Lukasz
>>>
>>>
>>> Dnia Mon, 12 Apr 2010 10:00:06 +0100, Stuart Hughes napisa³(a):
>>>
>>>> Hi Lukasz,
>>>>
>>>> Why did you have to manually download files?  LTIB should download
>>>> these
>>>> for you, what was the problem?
>>>>
>>>> I'm not sure what's wrong with your kernel compilation, can you edit
>>>> make ARCH=$LINTARCH HOSTCC="$BUILDCC" $SYSCFG_KTARG
>>>> and add V=1 to line 169 so it looks like this:
>>>>
>>>> make ARCH=$LINTARCH HOSTCC="$BUILDCC" $SYSCFG_KTARG V=1
>>>>
>>>> and then re-run the build, this will give verbose build output and help
>>>> diagnose the problem.
>>>>
>>>> Regards, Stuart
>>>>
>>>>
>>>> Lukasz Gesieniec wrote:
>>>>> Hi Stuard,
>>>>>
>>>>> Thank you for your reply. I installed LTIB, but many files I
>>>>> downloaded
>>>> manually and put in the directory /opt/ltib/pkgs.
>>>>> Now I have a problem with the compilation. Please help.
>>>>>
>>>>> Console output:
>>>>>
>>>>> *** End of Linux kernel configuration.
>>>>> *** Execute 'make' to build the kernel or try 'make help'.
>>>>>
>>>>> + [ -f
>>>> /home/lukaszge/ltib/config/platform/phy3250/linux-2.6.27.8-phy3250.config.dev
>>>>
>>>> ]
>>>>> + diff -q ./.config
>>>> /home/lukaszge/ltib/config/platform/phy3250/linux-2.6.27.8-phy3250.config.dev
>>>>
>>>>> + [ -n  ]
>>>>> + [ %{kernel_series} = 2.4 ]
>>>>> + make ARCH=arm HOSTCC=ccache /usr/bin/gcc -B/usr/bin// uImage
>>>>> arm-linux-gnu-gcc: fsigned-char: No such file or directory
>>>>> arm-linux-gnu-gcc: O3: No such file or directory
>>>>> arm-linux-gnu-gcc: msoft-float: No such file or directory
>>>>> arm-linux-gnu-gcc: mfpu=vfp: No such file or directory
>>>>> scripts/kconfig/conf -s arch/arm/Kconfig
>>>>> arm-linux-gnu-gcc: fsigned-char: No such file or directory
>>>>> arm-linux-gnu-gcc: O3: No such file or directory
>>>>> arm-linux-gnu-gcc: msoft-float: No such file or directory
>>>>> arm-linux-gnu-gcc: mfpu=vfp: No such file or directory
>>>>>   CHK     include/linux/version.h
>>>>> make[1]: `include/asm-arm/mach-types.h' is up to date.
>>>>>   CHK     include/linux/utsrelease.h
>>>>>   CC      scripts/mod/empty.o
>>>>> arm-linux-gnu-gcc: fsigned-char: No such file or directory
>>>>> arm-linux-gnu-gcc: O3: No such file or directory
>>>>> arm-linux-gnu-gcc: msoft-float: No such file or directory
>>>>> arm-linux-gnu-gcc: mfpu=vfp: No such file or directory
>>>>> cc1: error: invalid option `abi=aapcs-linux'
>>>>> make[2]: *** [scripts/mod/empty.o] Error 1
>>>>> make[1]: *** [scripts/mod] Error 2
>>>>> make: *** [scripts] Error 2
>>>>> make: INTERNAL: Exiting with 9 jobserver tokens available; should
>>>>> be 8!
>>>>> error: Bad exit status from /home/lukaszge/ltib/tmp/rpm-tmp.64493
>>>>> (%build)
>>>>>
>>>>>
>>>>> RPM build errors:
>>>>>     Bad exit status from /home/lukaszge/ltib/tmp/rpm-tmp.64493
>>>>> (%build)
>>>>> Build time for kernel-2.6.27.8-lpc32xx: 46 seconds
>>>>>
>>>>> Failed building kernel-2.6.27.8-lpc32xx
>>>>>
>>>>>
>>>>> f_buildrpms() returned an error, exiting
>>>>> traceback:
>>>>>  main:567
>>>>>
>>>>>
>>>>> Started: Mon Apr 12 10:14:30 2010
>>>>> Ended:   Mon Apr 12 10:15:21 2010
>>>>> Elapsed: 51 seconds
>>>>>
>>>>> These packages failed to build:
>>>>> kernel-2.6.27.8-lpc32xx
>>>>>
>>>>> Build Failed
>>>>>
>>>>> Regards,
>>>>> Lukasz
>>>>>
>>>>>
>>>>> Dnia Fri, 09 Apr 2010 14:40:21 +0100, Stuart Hughes napisa?(a):
>>>>>
>>>>>> Hi Lukasz,
>>>>>>
>>>>>> rpm-fs is installed by LTIB in it's own private area /opt/..
>>>>>> this is so it can be installed on Ubuntu/Debian/Fedora etc.
>>>>>> LTIB will download and build this for you.
>>>>>>
>>>>>>
>>>>>> Did you re-try the the steps I suggested:
>>>>>> $ rm -rf /tmp/rpm-lukaszge
>>>>>> $ ./ltib
>>>>>>
>>>>>> Please try that and post the output.  If you get the same problem
>>>>>> please
>>>>>> test the download.  If LTIB thinks it's bad it will have moved it to:
>>>>>>
>>>>>> /tmp/rpm-lukaszge/rpm-4.0.4.tar.gz.bad
>>>>>>
>>>>>> To check this run:
>>>>>> $ md5sum /tmp/rpm-lukaszge/rpm-4.0.4.tar.gz.bad
>>>>>>
>>>>>> If the download was good it should show:
>>>>>> b92c46d5add17d6edff235d776cc1af3
>>>>>>
>>>>>> If it is good then maybe the .md5sum was corrupt?  this file should
>>>> contain:
>>>>>> b92c46d5add17d6edff235d776cc1af3  rpm-4.0.4.tar.gz
>>>>>>
>>>>>> You can verify this by typing:
>>>>>> cat /tmp/rpm-lukaszge/rpm-4.0.4.tar.gz.md5
>>>>>>
>>>>>> Regards, Stuart
>>>>>>
>>>>>> Lukasz Gesieniec wrote:
>>>>>>> Dnia Thu, 08 Apr 2010 10:40:30 +0100, Stuart Hughes napisa?(a):
>>>>>>>
>>>>>>> Hi Stuart,
>>>>>>>
>>>>>>> I have enough free disk space and Internet connection is ok.
>>>>>>> I think that is a problem with rpm-fs, but I do not know how to
>>>>>>> fix it.
>>>>>>> Synaptic can not find package rpm-fs.
>>>>>>>
>>>>>>> Regards,
>>>>>>> Lukasz
>>>>>>>
>>>>>>>> Hi Lukasz,
>>>>>>>>
>>>>>>>> The most likely cause is an interrupted download or some other
>>>>>>>> issue
>>>>>>>> corrupting the download (no disk space?).
>>>>>>>>
>>>>>>>> The easiest thing in to do this (check disk space first and your
>>>> network):
>>>>>>>> $ rm -rf /tmp/rpm-lukaszge
>>>>>>>> $ ./ltib
>>>>>>>>
>>>>>>>> Regards, Stuart
>>>>>>>>
>>>>>>>> Lukasz wrote:
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> I have a problem with the installation LTIB, please help.
>>>>>>>>>
>>>>>>>>> The contents of the file host_config.log:
>>>>>>>>>
>>>>>>>>> Processing platform: host support
>>>>>>>>> ===================================
>>>>>>>>>
>>>>>>>>> Processing: rpm-fs
>>>>>>>>> ====================
>>>>>>>>> Build path taken because: no prebuilt rpm,
>>>>>>>>> Testing network connectivity for gpp
>>>>>>>>> OK GPP: is available
>>>>>>>>> Try rpm-4.0.4.tar.gz.md5 from the GPP
>>>>>>>>> 11:03:22 URL:http://bitshrine.org/gpp//rpm-4.0.4.tar.gz.md5
>>>>>>>>> [50/50] ->
>>>>>>>> "rpm-4.0.4.tar.gz.md5" [1]
>>>>>>>>> Try rpm-4.0.4.tar.gz from the GPP
>>>>>>>>> ERROR: md5sum mismatch, re-naming
>>>>>>>>> /tmp/rpm-lukaszge/rpm-4.0.4.tar.gz to
>>>>>>>> /tmp/rpm-lukaszge/rpm-4.0.4.tar.gz.bad, please re-try
>>>>>>>>> Can't get: rpm-4.0.4.tar.gz at ./ltib line 794.
>>>>>>>>> Died at ./ltib line 2446.
>>>>>>>>> traceback:
>>>>>>>>>  main::check_rpm_setup:2446
>>>>>>>>>   main::host_checks:1431
>>>>>>>>>    main:543
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Started: Thu Apr  8 11:03:15 2010
>>>>>>>>> Ended:   Thu Apr  8 11:03:35 2010
>>>>>>>>> Elapsed: 20 seconds
>>>>>>>>>
>>>>>>>>> These packages failed to build:
>>>>>>>>> rpm-fs
>>>>>>>>>
>>>>>>>>> Build Failed
>>>>>>>>>
>>>>>>>>> Regards,
>>>>>>>>> Lukasz Gesieniec
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> LTIB home page: http://ltib.org
>>>>>>>>>
>>>>>>>>> Ltib mailing list
>>>>>>>>> address@hidden
>>>>>>>>> http://lists.nongnu.org/mailman/listinfo/ltib
>>>>>>>>>
>>>>>
>>>
>>>
> 
> 




reply via email to

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