打印
[技术问题解答]

ltib错误 Processing: pme_tools

[复制链接]
1512|4
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
LeonardoCheng|  楼主 | 2015-11-7 20:55 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
Processing: pme_tools
=======================
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/cx/ltib-p1020rdb_p2020rdb-20101029/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/cx/ltib-p1020rdb_p2020rdb-20101029/tmp/pme_tools.spec
Building target platforms: i686
Building for target i686
Executing(%prep): /bin/sh -e /home/cx/ltib-p1020rdb_p2020rdb-20101029/tmp/rpm-tmp.75727
+ umask 022
+ cd /opt/freescale/ltib/usr/src/rpm/BUILD
+ cd /opt/freescale/ltib/usr/src/rpm/BUILD
+ rm -rf pme_tools-1.0.0
+ /bin/gzip -dc /opt/freescale/ltib/usr/src/rpm/SOURCES/pme_tools-1.0.0-a6.tar.gz
+ tar -xf -
+ STATUS=0
+ [ 0 -ne 0 ]
+ cd pme_tools-1.0.0
+ echo Patch #0 (pme_tools-1.0.0-a6-host-support.patch):
Patch #0 (pme_tools-1.0.0-a6-host-support.patch):
+ patch -p1 -s
+ echo Patch #1 (pme_tools-1.0.0-a6-udev-and-sysfs-support.patch):
Patch #1 (pme_tools-1.0.0-a6-udev-and-sysfs-support.patch):
+ patch -p1 -s
+ echo Patch #2 (pme_tools-1.0.0-a6-1_5-Add-hash-table-utility-files.patch):
Patch #2 (pme_tools-1.0.0-a6-1_5-Add-hash-table-utility-files.patch):
+ patch -p1 -s
+ echo Patch #3 (pme_tools-1.0.0-a6-2_5-Add-PMC-api-files.patch):
Patch #3 (pme_tools-1.0.0-a6-2_5-Add-PMC-api-files.patch):
+ patch -p1 -s
+ echo Patch #4 (pme_tools-1.0.0-a6-3_5-Add-PMC-client.patch):
Patch #4 (pme_tools-1.0.0-a6-3_5-Add-PMC-client.patch):
+ patch -p1 -s
+ echo Patch #5 (pme_tools-1.0.0-a6-4_5-Add-PMC-daemon-files.patch):
Patch #5 (pme_tools-1.0.0-a6-4_5-Add-PMC-daemon-files.patch):
+ patch -p1 -s
+ echo Patch #6 (pme_tools-1.0.0-a6-5_5-Add-PMC-makefiles.patch):
Patch #6 (pme_tools-1.0.0-a6-5_5-Add-PMC-makefiles.patch):
+ patch -p1 -s
+ echo Patch #7 (pme_tools-1.0.0-a6-build-rule-cleanup.patch):
Patch #7 (pme_tools-1.0.0-a6-build-rule-cleanup.patch):
+ patch -p1 -s
+ echo Patch #8 (pme_tools-1.0.0-a6-fsl_pme.h-updated.patch):
Patch #8 (pme_tools-1.0.0-a6-fsl_pme.h-updated.patch):
+ patch -p1 -s
+ exit 0
Executing(%build): /bin/sh -e /home/cx/ltib-p1020rdb_p2020rdb-20101029/tmp/rpm-tmp.75727
+ umask 022
+ cd /opt/freescale/ltib/usr/src/rpm/BUILD
+ cd pme_tools-1.0.0
+ SRC_DIR=/opt/freescale/ltib/usr/src/rpm/BUILD/pme_tools-1.0.0
+ cd /opt/freescale/ltib/usr/src/rpm/BUILD/pme_tools-1.0.0
+ echo i686-linux
+ sed s/-linux//
+ BUILD_ARCH=i686
+ make -j 1 ARCH=i686 clean
----- Processing: common (clean) -----
+---- Processing: swUtilities (clean) -----
rm -fr objs_i686
rm -fr /opt/freescale/ltib/usr/src/rpm/BUILD/pme_tools-1.0.0/bin_i686
rm -fr /opt/freescale/ltib/usr/src/rpm/BUILD/pme_tools-1.0.0/lib_i686
rm -f *.tab.* lex..*
rm -fr objs_i686
rm -fr /opt/freescale/ltib/usr/src/rpm/BUILD/pme_tools-1.0.0/bin_i686
rm -fr /opt/freescale/ltib/usr/src/rpm/BUILD/pme_tools-1.0.0/lib_i686
rm -f *.tab.* lex..*
----- Processing: controlInterface (clean) -----
rm -fr objs_i686
rm -fr /opt/freescale/ltib/usr/src/rpm/BUILD/pme_tools-1.0.0/bin_i686
rm -fr /opt/freescale/ltib/usr/src/rpm/BUILD/pme_tools-1.0.0/lib_i686
rm -f *.tab.* lex..*
----- Processing: loaderAgent (clean) -----
+---- Processing: slm (clean) -----
rm -fr objs_i686
rm -fr /opt/freescale/ltib/usr/src/rpm/BUILD/pme_tools-1.0.0/bin_i686
rm -fr /opt/freescale/ltib/usr/src/rpm/BUILD/pme_tools-1.0.0/lib_i686
rm -f *.tab.* lex..*
+---- Processing: srm (clean) -----
rm -fr objs_i686
rm -fr /opt/freescale/ltib/usr/src/rpm/BUILD/pme_tools-1.0.0/bin_i686
rm -fr /opt/freescale/ltib/usr/src/rpm/BUILD/pme_tools-1.0.0/lib_i686
rm -f *.tab.* lex..*
+---- Processing: tg (clean) -----
rm -fr objs_i686
rm -fr /opt/freescale/ltib/usr/src/rpm/BUILD/pme_tools-1.0.0/bin_i686
rm -fr /opt/freescale/ltib/usr/src/rpm/BUILD/pme_tools-1.0.0/lib_i686
rm -f *.tab.* lex..*
rm -fr objs_i686
rm -fr /opt/freescale/ltib/usr/src/rpm/BUILD/pme_tools-1.0.0/bin_i686
rm -fr /opt/freescale/ltib/usr/src/rpm/BUILD/pme_tools-1.0.0/lib_i686
rm -f *.tab.* lex..*
----- Processing: applications (clean) -----
rm -fr objs_i686
rm -fr /opt/freescale/ltib/usr/src/rpm/BUILD/pme_tools-1.0.0/bin_i686
rm -fr /opt/freescale/ltib/usr/src/rpm/BUILD/pme_tools-1.0.0/lib_i686
rm -f *.tab.* lex..*
----- Processing: pmConfiguration (clean) -----
rm -fr objs_i686
rm -fr /opt/freescale/ltib/usr/src/rpm/BUILD/pme_tools-1.0.0/bin_i686
rm -fr /opt/freescale/ltib/usr/src/rpm/BUILD/pme_tools-1.0.0/lib_i686
rm -f *.tab.* lex..*
+ [ i686 = powerpc ]
+ echo Using x86_64
Using x86_64
+ make -j 1 ARCH=i686 USE_LTIB=1 LTIB_LIB_PATH=/opt/freescale/ltib/usr/lib
----- Processing: common (compiling) -----
+---- Processing: swUtilities (compiling) -----
[CC] cli.o
cli.c: In function '_cli_var_db_record_show':
cli.c:1379:13: warning: parameter 'var_index' set but not used [-Wunused-but-set-parameter]
cli.c: In function '_cli_var_cmd':
cli.c:2431:7: warning: format not a string literal and no format arguments [-Wformat-security]
cli.c:2741:7: warning: format not a string literal and no format arguments [-Wformat-security]
cli.c:2788:7: warning: format not a string literal and no format arguments [-Wformat-security]
cli.c:2843:5: warning: format not a string literal and no format arguments [-Wformat-security]
[CC] db.o
db.c: In function 'db_stats_get':
db.c:1576:20: warning: variable 'dbRecord_p' set but not used [-Wunused-but-set-variable]
[CC] dll.o
[CC] htbl.o
[CC] hndl.o
[CC] idx.o
[CC] log.o
[CC] mem.o
[AR] libswutilities.a
----- Processing: controlInterface (compiling) -----
[CC] pmci.o
pmci.c: In function '_pmci_reset_all_table':
pmci.c:1718:9: warning: variable 'min_idx' set but not used [-Wunused-but-set-variable]
[AR] libpmci.a
----- Processing: loaderAgent (compiling) -----
[CC] pmla_common.o
[AR] libpmlacommon.a
+---- Processing: slm (compiling) -----
[CC] pmla_local.o
[AR] libpmlalocal.a
+---- Processing: srm (compiling) -----
[CC] pmlaSrmCommon.o
[CC] pmlaSrmClient.o
[CC] pmlaSrmApi.o
pmlaSrmApi.c: In function 'pmlaOpen':
pmlaSrmApi.c:280:25: warning: variable 'unixAddr' set but not used [-Wunused-but-set-variable]
[CC] pmlaSrmServer.o
[AR] libpmlaSrmc.a
[AR] libpmlaSrms.a
[CC] pmlaSrmDaemon.o
[CC] pmlaSrmClientTest.o
pmlaSrmClientTest.c: In function '_testOneAttribute':
pmlaSrmClientTest.c:1238:23: warning: comparison between 'PmlaError_t' and 'enum <anonymous>' [-Wenum-compare]
pmlaSrmClientTest.c:1246:22: warning: comparison between 'PmlaError_t' and 'enum <anonymous>' [-Wenum-compare]
pmlaSrmClientTest.c:1431:23: warning: comparison between 'PmlaError_t' and 'enum <anonymous>' [-Wenum-compare]
pmlaSrmClientTest.c: In function '_testAtomicity':
pmlaSrmClientTest.c:2125:9: warning: variable 'readReplyLen' set but not used [-Wunused-but-set-variable]
[LD] pmlaSrmd
[LD] pmlaSrmcTest
[LD] pmlaSlmTest
+---- Processing: tg (compiling) -----
[CC] pmlaTgApi.o
pmlaTgApi.c: In function 'pmlaRecv':
pmlaTgApi.c:572:9: warning: variable 'len' set but not used [-Wunused-but-set-variable]
[CC] pmlaTgEmpty.o
[AR] libpmlaTgc.a
[AR] libpmlaTgs.a
----- Processing: applications (compiling) -----
[CC] pm_scan_demo.o
pm_scan_demo.c: In function '_pmscan_dump_match':
pm_scan_demo.c:451:17: warning: format not a string literal and no format arguments [-Wformat-security]
pm_scan_demo.c:467:9: warning: format not a string literal and no format arguments [-Wformat-security]
pm_scan_demo.c:484:21: warning: format not a string literal and no format arguments [-Wformat-security]
pm_scan_demo.c:491:13: warning: format not a string literal and no format arguments [-Wformat-security]
pm_scan_demo.c: In function 'main':
pm_scan_demo.c:928:10: warning: variable 'scanning_string' set but not used [-Wunused-but-set-variable]
[CC] pmm.o
pmm.c: In function '_pmm_exp_show':
pmm.c:1149:13: warning: parameter 'recordIndex' set but not used [-Wunused-but-set-parameter]
pmm.c: In function '_pmm_rule_show':
pmm.c:1171:13: warning: parameter 'recordIndex' set but not used [-Wunused-but-set-parameter]
pmm.c: In function '_pmm_rules_from_bin_file_add':
pmm.c:1405:7: warning: format not a string literal and no format arguments [-Wformat-security]
pmm.c:1432:9: warning: format not a string literal and no format arguments [-Wformat-security]
pmm.c:1440:9: warning: format not a string literal and no format arguments [-Wformat-security]
pmm.c:1501:7: warning: format not a string literal and no format arguments [-Wformat-security]
pmm.c:1519:7: warning: format not a string literal and no format arguments [-Wformat-security]
pmm.c:1554:7: warning: format not a string literal and no format arguments [-Wformat-security]
pmm.c:1589:9: warning: format not a string literal and no format arguments [-Wformat-security]
pmm.c:1600:9: warning: format not a string literal and no format arguments [-Wformat-security]
pmm.c:1618:9: warning: format not a string literal and no format arguments [-Wformat-security]
pmm.c:1686:9: warning: format not a string literal and no format arguments [-Wformat-security]
pmm.c:1706:9: warning: format not a string literal and no format arguments [-Wformat-security]
pmm.c: In function '_pmm_regexs_from_bin_file_add':
pmm.c:1921:7: warning: format not a string literal and no format arguments [-Wformat-security]
pmm.c:1947:9: warning: format not a string literal and no format arguments [-Wformat-security]
pmm.c:1955:9: warning: format not a string literal and no format arguments [-Wformat-security]
pmm.c:2024:7: warning: format not a string literal and no format arguments [-Wformat-security]
pmm.c:2041:7: warning: format not a string literal and no format arguments [-Wformat-security]
pmm.c:2050:7: warning: format not a string literal and no format arguments [-Wformat-security]
pmm.c:2069:7: warning: format not a string literal and no format arguments [-Wformat-security]
pmm.c:2079:7: warning: format not a string literal and no format arguments [-Wformat-security]
pmm.c:2098:7: warning: format not a string literal and no format arguments [-Wformat-security]
pmm.c:2107:7: warning: format not a string literal and no format arguments [-Wformat-security]
pmm.c:2142:9: warning: format not a string literal and no format arguments [-Wformat-security]
pmm.c:2164:9: warning: format not a string literal and no format arguments [-Wformat-security]
pmm.c:2175:9: warning: format not a string literal and no format arguments [-Wformat-security]
pmm.c:2198:9: warning: format not a string literal and no format arguments [-Wformat-security]
pmm.c: In function '_pmm_db_destroy':
pmm.c:3273:18: warning: variable 'returnStatus' set but not used [-Wunused-but-set-variable]
[CC] pmrec.o
[CC] pmsrc.o
[LD] pm_scan_demo
[LD] pmm
[LD] pmm_pmgen
[LD] pmrec
[LD] pmsrc
----- Processing: pmConfiguration (compiling) -----
[CC] pmcapi.o
.........
pmcapi.c:1802:4: warning: comparison between '_pmc_msg_type_t' and 'enum <anonymous>' [-Wenum-compare]
[CC] pmcc.o
pmcc.c: In function '_pmcc_delete_name_rule':
pmcc.c:312:19: warning: variable 'status' set but not used [-Wunused-but-set-variable]
[CC] pmcd.o
In file included from pmcd.c:50:0:
/opt/freescale/ltib/usr/src/rpm/BUILD/pme_tools-1.0.0/include/pm_defs_priv.h:206:18: error: duplicate member 'unused'
/opt/freescale/ltib/usr/src/rpm/BUILD/pme_tools-1.0.0/include/pm_defs_priv.h:211:18: error: duplicate member 'unused'
/opt/freescale/ltib/usr/src/rpm/BUILD/pme_tools-1.0.0/include/pm_defs_priv.h:216:18: error: duplicate member 'unused'
/opt/freescale/ltib/usr/src/rpm/BUILD/pme_tools-1.0.0/include/pm_defs_priv.h:282:18: error: duplicate member 'unused'
pmcd.c: In function '_pmcd_wait_for_input':
pmcd.c:344:25: warning: variable 'num_ready' set but not used [-Wunused-but-set-variable]
pmcd.c: In function '_pmcd_stats_reset':
pmcd.c:978:27: warning: variable 'rc' set but not used [-Wunused-but-set-variable]
pmcd.c: In function '_pmcd_add_bin_expr_file':
pmcd.c:1182:4: warning: comparison between '_pmc_msg_type_t' and 'enum <anonymous>' [-Wenum-compare]
pmcd.c:1183:4: warning: comparison between '_pmc_msg_type_t' and 'enum <anonymous>' [-Wenum-compare]
pmcd.c: In function '_pmcd_add_bin_rule_file':
pmcd.c:2250:4: warning: comparison between '_pmc_msg_type_t' and 'enum <anonymous>' [-Wenum-compare]
pmcd.c:2251:4: warning: comparison between '_pmc_msg_type_t' and 'enum <anonymous>' [-Wenum-compare]
pmcd.c: In function '_pmcd_del_all_expr':
pmcd.c:3407:4: warning: comparison between '_pmc_msg_type_t' and 'enum <anonymous>' [-Wenum-compare]
pmcd.c: In function '_pmcd_del_all_rule':
pmcd.c:3485:4: warning: comparison between '_pmc_msg_type_t' and 'enum <anonymous>' [-Wenum-compare]
pmcd.c: In function '_pmcd_del_all':
pmcd.c:3563:4: warning: comparison between '_pmc_msg_type_t' and 'enum <anonymous>' [-Wenum-compare]
pmcd.c: In function '_pmcd_exp_set_delete':
pmcd.c:3695:24: warning: variable 'list_size' set but not used [-Wunused-but-set-variable]
pmcd.c: In function '_pmcd_del_expr_name':
pmcd.c:3789:4: warning: comparison between '_pmc_msg_type_t' and 'enum <anonymous>' [-Wenum-compare]
pmcd.c:3790:4: warning: comparison between '_pmc_msg_type_t' and 'enum <anonymous>' [-Wenum-compare]
pmcd.c: In function '_pmcd_del_expr_set':
pmcd.c:3886:4: warning: comparison between '_pmc_msg_type_t' and 'enum <anonymous>' [-Wenum-compare]
pmcd.c:3887:4: warning: comparison between '_pmc_msg_type_t' and 'enum <anonymous>' [-Wenum-compare]
pmcd.c:3888:4: warning: comparison between '_pmc_msg_type_t' and 'enum <anonymous>' [-Wenum-compare]
pmcd.c: In function '_pmcd_del_rule_name':
pmcd.c:3987:4: warning: comparison between '_pmc_msg_type_t' and 'enum <anonymous>' [-Wenum-compare]
pmcd.c:3988:4: warning: comparison between '_pmc_msg_type_t' and 'enum <anonymous>' [-Wenum-compare]
pmcd.c: In function '_pmcd_del_bin_expr_file':
pmcd.c:4102:4: warning: comparison between '_pmc_msg_type_t' and 'enum <anonymous>' [-Wenum-compare]
pmcd.c:4103:4: warning: comparison between '_pmc_msg_type_t' and 'enum <anonymous>' [-Wenum-compare]
pmcd.c: In function '_pmcd_del_bin_rule_file':
pmcd.c:4963:4: warning: comparison between '_pmc_msg_type_t' and 'enum <anonymous>' [-Wenum-compare]
pmcd.c:4964:4: warning: comparison between '_pmc_msg_type_t' and 'enum <anonymous>' [-Wenum-compare]
pmcd.c: In function '_pmcd_query_expr_name':
pmcd.c:5775:4: warning: comparison between '_pmc_msg_type_t' and 'enum <anonymous>' [-Wenum-compare]
pmcd.c: In function '_pmcd_query_expr_set':
pmcd.c:5840:4: warning: comparison between '_pmc_msg_type_t' and 'enum <anonymous>' [-Wenum-compare]
pmcd.c:5841:4: warning: comparison between '_pmc_msg_type_t' and 'enum <anonymous>' [-Wenum-compare]
pmcd.c:5828:24: warning: variable 'list_size' set but not used [-Wunused-but-set-variable]
pmcd.c: In function '_pmcd_query_expr_next':
pmcd.c:6002:4: warning: comparison between '_pmc_msg_type_t' and 'enum <anonymous>' [-Wenum-compare]
pmcd.c: In function '_pmcd_query_rule_name':
pmcd.c:6063:4: warning: comparison between '_pmc_msg_type_t' and 'enum <anonymous>' [-Wenum-compare]
pmcd.c: In function '_pmcd_query_rule_next':
pmcd.c:6191:4: warning: comparison between '_pmc_msg_type_t' and 'enum <anonymous>' [-Wenum-compare]
pmcd.c: In function '_pmcd_set_var_trig':
pmcd.c:6254:4: warning: comparison between '_pmc_msg_type_t' and 'enum <anonymous>' [-Wenum-compare]
pmcd.c: In function '_pmcd_db_destroy':
pmcd.c:6296:19: warning: variable 'returnStatus' set but not used [-Wunused-but-set-variable]
make[1]: *** [objs_i686/pmcd.o] Error 1
make: *** [pmConfiguration] Error 2
error: Bad exit status from /home/cx/ltib-p1020rdb_p2020rdb-20101029/tmp/rpm-tmp.75727 (%build)


RPM build errors:
    Bad exit status from /home/cx/ltib-p1020rdb_p2020rdb-20101029/tmp/rpm-tmp.75727 (%build)
Build time for pme_tools: 3 seconds

Failed building pme_tools
Died at ./ltib line 1380.
traceback:
main::build_host_rpms:1380
  main::host_checks:1435
   main:542


Started: Sat Nov  7 20:25:27 2015
Ended:   Sat Nov  7 20:25:30 2015
Elapsed: 3 seconds

These packages failed to build:
pme_tools

Build Failed
编译的时候提示要删除pme_tools,结果删除之后又生成了pme_tools文件夹,而且给出了以上的提示信息。对于删掉文件夹运行./ltib之后又生成该文件夹的行为我真的是无语了。

相关帖子

沙发
LeonardoCheng|  楼主 | 2015-11-7 21:51 | 只看该作者
问题已解决,在ltib编译过程中出现

Processing: pme_tools(或者是lck, mux_server,sparse等)
=======================
Build path taken because: no prebuilt rpm
等问题,附件中的补丁或许可以帮到你,这里放不了链接,权限不够,谢谢大家!

fixes.zip

74.87 KB

补丁文件

使用特权

评论回复
板凳
C洛达尔多| | 2015-11-8 20:57 | 只看该作者
LeonardoCheng 发表于 2015-11-7 21:51
问题已解决,在ltib编译过程中出现

Processing: pme_tools(或者是lck, mux_server,sparse等)

原来是这样的原因啊,谢谢楼主的分享

使用特权

评论回复
地板
李玉锋hit| | 2015-12-9 09:00 | 只看该作者
谢谢楼主分享

使用特权

评论回复
5
硬件小白| | 2016-4-7 14:31 | 只看该作者
楼主这个问题该怎么解决呢?

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

2

主题

7

帖子

0

粉丝