AnsweredAssumed Answered

ltib_configuration

Question asked by 123 789 on Dec 14, 2016
Latest reply on Dec 15, 2016 by igorpadykov

./ltib error:

Build path taken because: no prebuilt rpm,

 

rpmbuild --dbpath ///opt/freescale/ltib/var/lib/rpm --target i686 --define '_unpackaged_files_terminate_build 0' --define '_target_cpu i686' --define '__strip strip' --define '_topdir /opt/freescale/ltib/usr/src/rpm' --define '_prefix /opt/freescale/ltib/usr' --define '_tmppath /home/work/ltid_source/ltib/tmp' --define '_rpmdir /opt/freescale/ltib/usr/src/rpm/RPMS'  --define '_mandir /opt/freescale/ltib/usr/share/man' --define '_sysconfdir /opt/freescale/ltib/etc' --define '_localstatedir /var' -bb --clean --rmsource  /home/work/ltid_source/ltib/dist/lfs-5.1/lkc/lkc.spec
Building target platforms: i686
Building for target i686
Executing(%prep): /bin/sh -e /home/work/ltid_source/ltib/tmp/rpm-tmp.66716
+ umask 022
+ cd /opt/freescale/ltib/usr/src/rpm/BUILD
+ cd /opt/freescale/ltib/usr/src/rpm/BUILD
+ rm -rf lkc-1.4
+ + /bin/gzip -dctar /opt/freescale/ltib/usr/src/rpm/SOURCES/lkc-1.4.tar.gz -xvvf
 -
drwxr-sr-x roman/users       0 2003-06-15 10:21 lkc-1.4/
-rw-r--r-- roman/users    5167 2003-05-31 15:13 lkc-1.4/Makefile
-rw-r--r-- roman/users    3805 2003-03-15 09:05 lkc-1.4/Makefile.kernel
-rw-r--r-- roman/users     734 2002-10-20 12:01 lkc-1.4/README
-rw-r--r-- roman/users   10369 2003-06-06 15:00 lkc-1.4/conf.c
-rw-r--r-- roman/users    8878 2003-06-03 17:12 lkc-1.4/confdata.c
drwxr-sr-x roman/users       0 2002-10-20 12:05 lkc-1.4/example/
-rw-r--r-- roman/users     536 2002-10-20 11:45 lkc-1.4/example/miniconf.rb
-rw-r--r-- roman/users     804 2002-10-20 11:45 lkc-1.4/example/query.rb
-rw-r--r-- roman/users   25007 2003-05-12 11:49 lkc-1.4/expr.c
-rw-r--r-- roman/users    4890 2003-05-16 11:05 lkc-1.4/expr.h
-rw-r--r-- roman/users     103 2002-10-20 07:41 lkc-1.4/extconf.rb
-rw-r--r-- roman/users   40325 2003-06-01 13:45 lkc-1.4/gconf.c
-rw-r--r-- roman/users   20978 2003-03-15 06:00 lkc-1.4/gconf.glade
-rw-r--r-- roman/users    6565 2003-03-15 06:00 lkc-1.4/images.c
-rw-r--r-- roman/users    2770 2002-12-08 08:12 lkc-1.4/kconfig.i
-rw-r--r-- roman/users     644 2002-10-27 12:22 lkc-1.4/kconfig_load.c
-rw-r--r-- roman/users    9438 2003-05-31 15:09 lkc-1.4/lkc-language.txt
-rw-r--r-- roman/users    2739 2003-05-24 19:18 lkc-1.4/lkc.h
-rw-r--r-- roman/users    1619 2003-05-25 16:23 lkc-1.4/lkc_proto.h
-rw-r--r-- roman/users   17302 2003-05-28 14:02 lkc-1.4/mconf.c
-rw-r--r-- roman/users   10243 2003-06-04 14:47 lkc-1.4/menu.c
-rw-r--r-- roman/users   30879 2003-06-15 10:21 lkc-1.4/qconf.cc
-rw-r--r-- roman/users    5218 2003-04-20 16:53 lkc-1.4/qconf.h
-rw-r--r-- roman/users   15613 2003-06-06 15:00 lkc-1.4/symbol.c
-rw-r--r-- roman/users    7173 2003-05-26 11:21 lkc-1.4/zconf.l

-rw-r--r-- roman/users   14637 2003-05-26 11:21 lkc-1.4/zconf.y
+ STATUS=0
+ [ 0 -ne 0 ]
+ cd lkc-1.4
+ echo Patch #0 (lkc-1.4-lxdialog.patch):
Patch #0 (lkc-1.4-lxdialog.patch):
+ patch -p1 -s
+ echo Patch #1 (lkc-1.4-1.patch):
Patch #1 (lkc-1.4-1.patch):
+ patch -p1 -s
+ echo Patch #2 (lkc-1.4-ncurses.patch):
Patch #2 (lkc-1.4-ncurses.patch):
+ patch -p1 -s
+ echo Patch #3 (lkc-1.4-help.patch):
Patch #3 (lkc-1.4-help.patch):
+ patch -p1 -s
+ echo Patch #4 (lkc-1.4-defaults-4.patch):
Patch #4 (lkc-1.4-defaults-4.patch):
+ patch -p1 -s
+ echo Patch #5 (lkc-1.4-search-5.patch):
Patch #5 (lkc-1.4-search-5.patch):
+ patch -p1 -s
+ echo Patch #6 (lkc-1.4-datestamp.patch):
Patch #6 (lkc-1.4-datestamp.patch):
+ patch -p1 -s
+ echo Patch #7 (lkc-1.4-dashsource.patch):
Patch #7 (lkc-1.4-dashsource.patch):
+ patch -p1 -s
+ echo Patch #8 (lkc-1.4-config_title-1.patch):
Patch #8 (lkc-1.4-config_title-1.patch):
+ patch -p1 -s
+ echo Patch #9 (lkc-1.4-config_filename-1.patch):
Patch #9 (lkc-1.4-config_filename-1.patch):
+ patch -p1 -s
+ echo Patch #10 (lkc-1.4-lib.patch):
Patch #10 (lkc-1.4-lib.patch):
+ patch -p1 -s
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
error: Bad exit status from /home/work/ltid_source/ltib/tmp/rpm-tmp.66716 (%prep)


RPM build errors:
    Bad exit status from /home/work/ltid_source/ltib/tmp/rpm-tmp.66716 (%prep)
Build time for lkc: 0 seconds

Failed building lkc
Died at ./ltib line 1392.
traceback:
 main::build_host_rpms:1392
  main::host_checks:1447
   main:554


Started: Wed Dec 14 18:07:43 2016
Ended:   Wed Dec 14 18:07:46 2016
Elapsed: 3 seconds

These packages failed to build:
lkc

Build Failed

 

why?

Outcomes