Hi,

I am an issue with rpm-4.0.4.tar.gz check while installing ltib on my
ubuntu-12.10. I am trying to compile ltib which is embedded in
L2.6.35_11.09.01_ER_source_bundle.tar.gz provided by freescale at
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX53_SW&parentCode=IMX53QSB&fpsp=1under
i.MX53
Linux Source 
Code<https://www.freescale.com/webapp/Download?colCode=L2.6.35_11_09_ER_SOURCE&appType=license&location=null&fsrch=1&sr=1&Parent_nodeId=from%20search&Parent_pageType=from%20search>link.

The following is the error from host_config.log file
#####################################################################################
Try rpm-4.0.4.tar.gz.md5 from the PPP
2013-04-13 14:08:56 URL:
http://auslxsc01.mtwk.freescale.net/ppp//rpm-4.0.4.tar.gz.md5 [1040] ->
"rpm-4.0.4.tar.gz.md5" [1]
Error: corrupt md5 file: /tmp/rpm-4.0.4.tar.gz.md5, renamed to
/tmp/rpm-4.0.4.tar.gz.md5.bad
Try rpm-4.0.4.tar.gz from the PPP
2013-04-13 14:08:57 URL:
http://auslxsc01.mtwk.freescale.net/ppp//rpm-4.0.4.tar.gz [1032] ->
"rpm-4.0.4.tar.gz" [1]
WARN: skipping md5sum check for /tmp/rpm-4.0.4.tar.gz, md5 file was not
found
Try rpm_lfs.patch.md5 from the PPP
2013-04-13 14:08:57 URL:
http://auslxsc01.mtwk.freescale.net/ppp//rpm_lfs.patch.md5 [1034] ->
"rpm_lfs.patch.md5" [1]
Error: corrupt md5 file: /tmp/rpm_lfs.patch.md5, renamed to
/tmp/rpm_lfs.patch.md5.bad
Try rpm_lfs.patch from the PPP
2013-04-13 14:08:58 URL:
http://auslxsc01.mtwk.freescale.net/ppp//rpm_lfs.patch [1026] ->
"rpm_lfs.patch" [1]
WARN: skipping md5sum check for /tmp/rpm_lfs.patch, md5 file was not found
Try rpm-4.0.4-python-configure.patch.md5 from the PPP
2013-04-13 14:08:59 URL:
http://auslxsc01.mtwk.freescale.net/ppp//rpm-4.0.4-python-configure.patch.md5[1072]
-> "rpm-4.0.4-python-configure.pat
Error: corrupt md5 file: /tmp/rpm-4.0.4-python-configure.patch.md5, renamed
to /tmp/rpm-4.0.4-python-configure.patch.md5.bad
Try rpm-4.0.4-python-configure.patch from the PPP
2013-04-13 14:08:59 URL:
http://auslxsc01.mtwk.freescale.net/ppp//rpm-4.0.4-python-configure.patch[1064]
-> "rpm-4.0.4-python-configure.patch"
WARN: skipping md5sum check for /tmp/rpm-4.0.4-python-configure.patch, md5
file was not found
Try rpm-4.0.4-sysconfig-configure.patch.md5 from the PPP
2013-04-13 14:09:00 URL:
http://auslxsc01.mtwk.freescale.net/ppp//rpm-4.0.4-sysconfig-configure.patch.md5[1078]
-> "rpm-4.0.4-sysconfig-configu
Error: corrupt md5 file: /tmp/rpm-4.0.4-sysconfig-configure.patch.md5,
renamed to /tmp/rpm-4.0.4-sysconfig-configure.patch.md5.bad
Try rpm-4.0.4-sysconfig-configure.patch from the PPP
2013-04-13 14:09:00 URL:
http://auslxsc01.mtwk.freescale.net/ppp//rpm-4.0.4-sysconfig-configure.patch[1070]
-> "rpm-4.0.4-sysconfig-configure.p
WARN: skipping md5sum check for /tmp/rpm-4.0.4-sysconfig-configure.patch,
md5 file was not found
Try rpm-4.0.4-no-usr-local.patch.md5 from the PPP
2013-04-13 14:09:06 URL:
http://auslxsc01.mtwk.freescale.net/ppp//rpm-4.0.4-no-usr-local.patch.md5[1064]
-> "rpm-4.0.4-no-usr-local.patch.md5"
Error: corrupt md5 file: /tmp/rpm-4.0.4-no-usr-local.patch.md5, renamed to
/tmp/rpm-4.0.4-no-usr-local.patch.md5.bad
Try rpm-4.0.4-no-usr-local.patch from the PPP
2013-04-13 14:09:06 URL:
http://auslxsc01.mtwk.freescale.net/ppp//rpm-4.0.4-no-usr-local.patch[1056]
-> "rpm-4.0.4-no-usr-local.patch" [1]
WARN: skipping md5sum check for /tmp/rpm-4.0.4-no-usr-local.patch, md5 file
was not found

/usr/bin/rpmbuild --dbpath ///tmp/rpm-vamsi/rpmdb --target x86_64 --define
'_unpackaged_files_terminate_build 0' --define '_target_cpu x86_64'
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e
/home/vamsi/imx53/linux/source/L2.6.35_11.09.01_ER_source/ltib/ltib/tmp/rpm-tmp.nQ2wu0
+ umask 022
+ cd /tmp/rpm-vamsi/BUILD
+ cd /tmp/rpm-vamsi/BUILD
+ rm -rf rpm-4.0.4
+ /bin/tar -xvvf /tmp/rpm-vamsi/SOURCES/rpm-4.0.4.tar.gz

gzip: stdin: not in gzip format
/bin/tar: Child returned status 1
/bin/tar: Error is not recoverable: exiting now
error: Bad exit status from
/home/vamsi/imx53/linux/source/L2.6.35_11.09.01_ER_source/ltib/ltib/tmp/rpm-tmp.nQ2wu0
(%prep)


RPM build errors:
    Bad exit status from
/home/vamsi/imx53/linux/source/L2.6.35_11.09.01_ER_source/ltib/ltib/tmp/rpm-tmp.nQ2wu0
(%prep)
Build time for rpm-fs: 0 seconds

Failed building rpm-fs
could not glob rpm in: /tmp/rpm-vamsi/RPMS/x86_64/rpm-fs-* at ./ltib line
2410.
traceback:
 main::check_rpm_setup:2410
  main::host_checks:1423
   main:542


Started: Sat Apr 13 14:08:48 2013
Ended:   Sat Apr 13 14:09:06 2013
Elapsed: 18 seconds

These packages failed to build:
rpm-fs

Build Failed
####################################################################

But interestingly, output of the following commands is

vamsi@vamsi:~/imx53/linux/source/L2.6.35_11.09.01_ER_source/pkgs$ md5sum
rpm-4.0.4.tar.gz
b92c46d5add17d6edff235d776cc1af3  rpm-4.0.4.tar.gz
vamsi@vamsi:~/imx53/linux/source/L2.6.35_11.09.01_ER_source/pkgs$ cat
rpm-4.0.4.tar.gz.md5
b92c46d5add17d6edff235d776cc1af3
rpm-4.0.4.tar.gzvamsi@vamsi:~/imx53/linux/source/L2.6.35_11.09.01_ER_source/pkgs$


The md5sum matches here with the files given in pkgs directory. My
understanding is that there is no problem with my download.
Could someone give me any hints to resolve this problem. Please let me know
if any other information is required.


Thanks,
Vamsi.
_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/ltib

Reply via email to