如何解决rpm构建阶段的rpmbuild问题
我正在尝试在CentOS 6.10盒子上构建boost-166库(是的,我知道这是生命周期的尽头,但是我需要升级boost的应用服务器目前仅支持CentOS 6.x)。我正在使用devtoolset-9和python34(来自epel)。我已经完成了rpmbuild编译代码,没有任何错误。问题似乎出在实际自己构建rpm时。
我得到的错误是:-
Processing files: boost166-1.66.0-7.el6.x86_64
error: File must begin with "/": Boost
error: File must begin with "/": and
error: File must begin with "/": MIT
error: File must begin with "/": and
error: File must begin with "/": Python
RPM build errors:
File must begin with "/": Boost
File must begin with "/": and
File must begin with "/": MIT
File must begin with "/": and
File must begin with "/": Python
现在,没有任何具有这些名称的文件。这些名称出现的唯一位置是在“许可证”标签中:-
Name: boost166
Summary: The free peer-reviewed portable C++ source libraries
Version: 1.66.0
%global version_enc 1_66_0
Release: 7%{?dist}
License: Boost and MIT and Python
我从源rpm中获得了166版本,并且我一直在对其进行调整以使其在环境中构建。
我现在完全迷失了这个问题!我已经为此奋斗了好几天,没有找到解决办法的运气。
我不是.spec文件的专家,所以很有可能我更改了某些内容并且不知道。
.spec文件约为41K。我很乐意将其放在这里,但不知道最好的方法。
链接到规范文件:-https://www.dropbox.com/s/2tjg5wp39kjkpt5/boost166.spec.txt?dl=0
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。