免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2039 | 回复: 1
打印 上一主题 下一主题

[函数] rebar rebar generate-upgrade previous_release=test_v1 [复制链接]

论坛徽章:
27
水瓶座
日期:2014-08-22 21:06:34程序设计版块每日发帖之星
日期:2015-11-25 06:20:0015-16赛季CBA联赛之新疆
日期:2015-12-19 19:05:48IT运维版块每日发帖之星
日期:2015-12-25 06:20:31IT运维版块每日发帖之星
日期:2015-12-25 06:20:31IT运维版块每日发帖之星
日期:2015-12-25 06:20:3315-16赛季CBA联赛之上海
日期:2016-04-15 19:51:31程序设计版块每日发帖之星
日期:2016-04-17 06:23:29程序设计版块每日发帖之星
日期:2016-04-23 06:20:00程序设计版块每日发帖之星
日期:2016-05-26 06:20:00每日论坛发贴之星
日期:2016-05-26 06:20:0015-16赛季CBA联赛之辽宁
日期:2017-02-16 23:59:47
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2015-04-21 18:29 |只看该作者 |倒序浏览
If you install R16*, I know this is the case for source with hipe
disabled and the Erlang Solutions deb package which doesn't include
hipe, it installs a hipe app: erlang/lib/hipe-3.10.2.1/

This "app" contains some beam files and hipe.app. BUT hipe.app lists
modules that don't exist, like hipe.beam!

If hipe is enabled when you compile/install the hipe app is not broken
like this. Same with if you install the erlang-hipe package from Erlang
Solutions along with the erlang package.

Why is this the case? This breaks relx because it expects all apps it
searches (even if it is not including that app in the release) to be a
proper OTP app. I think it may be an issue with reltool as well, but
"fixed" by "{app, hipe, [{incl_cond, exclude}]}," which is a horrific
solution.

--
  Tristan Sloughter
  
在打升级包的时候在注意这个。
  1. ==> rel (generate-upgrade)
  2. ERROR: Systools [systools:make_tar/2] aborted with: [{error_add_appl,
  3.                                                       {hipe,
  4.                                                        {tar_error,
  5.                                                         {add,
  6.                                                          "c:/Users/Administrator
  7. /Desktop/live_data/rel/live_data_v2/lib/hipe-3.11.3/ebin/elf_format.beam",
  8.                                                          {"c:/Users/Administrato
  9. r/Desktop/live_data/rel/live_data_v2/lib/hipe-3.11.3/ebin/elf_format.beam",
  10.                                                           enoent}}}}}]
  11. ERROR: 'generate-upgrade' failed while processing C:/Users/Administrator/Desktop
  12. /live_data/rel: rebar_abort
复制代码

论坛徽章:
27
水瓶座
日期:2014-08-22 21:06:34程序设计版块每日发帖之星
日期:2015-11-25 06:20:0015-16赛季CBA联赛之新疆
日期:2015-12-19 19:05:48IT运维版块每日发帖之星
日期:2015-12-25 06:20:31IT运维版块每日发帖之星
日期:2015-12-25 06:20:31IT运维版块每日发帖之星
日期:2015-12-25 06:20:3315-16赛季CBA联赛之上海
日期:2016-04-15 19:51:31程序设计版块每日发帖之星
日期:2016-04-17 06:23:29程序设计版块每日发帖之星
日期:2016-04-23 06:20:00程序设计版块每日发帖之星
日期:2016-05-26 06:20:00每日论坛发贴之星
日期:2016-05-26 06:20:0015-16赛季CBA联赛之辽宁
日期:2017-02-16 23:59:47
2 [报告]
发表于 2015-04-21 18:30 |只看该作者
rebar 2.1.0-pre 17 20141120_002535 git 2.1.0-pre-172-g7011b63
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP