编译命令:rpm build -ba docker-engine-openeuler.spec 错误提示: error: Bad source: /root/rpmbuild/SOURCES/docker-engine.tar.gz: No such file or directory 原因分析: spec 文件里使用Source: %{name}.tar.gz对应的文件是 docker-engine.tar.gz,而目录下源码包文件是 docker-ce-18.09.0.tar.gz . He...
我正在尝试打包python和png文件的集合。不涉及编译。/utp我得到了以下错误:error: Bad source/rpmbuild/SOURCE/*..tgz’。因此,不知何故,rpmbuild并没有读到我的意图。逻辑表明,这将是utp.spec文件中的内容。这是我的规范<em 浏览0提问于2020-02-10得票数 0 ...
经常会遇到找control和treat的差异基因或者任意两个或者两个以上处理条件下,最差异的变化,比如我有这样...
extracting debug infofrom/root/rpmbuild/BUILDROOT/jb-1.0.0-1627.el7.x86_64/usr/bin/jb/usr/lib/rpm/debugedit -b"$RPM_BUILD_DIR"-d /usr/src/debug -i -l"$SOURCEFILE"$f"/root/rpmbuild/BUILD/root/rpmbuild/BUILD/jr/debugsources.list/usr/lib/rpm/debugedit: canonicalization unexpectedly shr...
%{error:message} :打印信息到标准错误,然后返回BADSPEC %{expand:expression} :like eval, expands expression %{F:file_exp} :扩展file_exp到一个文件名 %global name value :定义一个全局宏 %{P:patch_exp} :扩展patch_exp到一个补丁文件名
+ rm -f /home/xiao/rpmbuild/BUILDROOT/kernel-5.11.0-1.x86_64/lib/modules/5.11.0/source + mkdir -p /home/xiao/rpmbuild/BUILDROOT/kernel-5.11.0-1.x86_64/usr/src/kernels/5.11.0 + tar cf - --exclude SCCS --exclude BitKeeper --exclude .svn --exclude CVS --exclude .pc --exclude...
When invoked this way,rpmbuildinstalls the named source package, and does a prep, compile and install. In addition,--rebuildbuilds a new binary package. When the build has completed, the build directory is removed (as in--clean) and the the sources and spec file for the package are rem...
Sometimes you might have access to an open source application source code but might not have the RPM file to install it on your system. In that situation, you can either compile the source code and install the application from source code, or build a RPM
pbr/hooks/metadata.py", line 26, in hook self.config['name'], self.config.get('version', None)) KeyError: 'name' error in setup command: Error parsing /home/XXX/rpmbuild/BUILD/autoinstall-1.0/setup.cfg: KeyError: 'name' error: Bad exit status from /var/tmp/rpm-tmp.witEBA (%...
(%install): /bin/sh -e /var/tmp/rpm-tmp.97684 + umask 022 + cd /usr/src/redhat/BUILD + cd mysql-4.0.14 + LANG=C + export LANG + -n mysql-4.0.14 /var/tmp/rpm-tmp.97684: line 25: -n: command not found error: Bad exit status from /var/tmp/rpm-tmp.97684 (%install) It...