在 Rocky Linux 8.5 上从 tar ball 构建 Apache rpm

在 Rocky Linux 8.5 上从 tar ball 构建 Apache rpm

我正在尝试从源码包构建 apache rpm

操作系统为 Rocky Linux 8.5,满足所有先决条件

我在跑 :

rpmbuild -tb -sign httpd-2.4.53.tar.bz2

我得到的错误是:

error: Installed (but unpackaged) file(s) found:
   /usr/lib/debug/usr/lib64/httpd/modules/mod_md.so-2.4.53-1.x86_64.debug
   /usr/lib64/httpd/modules/mod_md.so
   Installed (but unpackaged) file(s) found:
   /usr/lib/debug/usr/lib64/httpd/modules/mod_md.so-2.4.53-1.x86_64.debug
   /usr/lib64/httpd/modules/mod_md.so

我已经尝试过 configure && make 没有任何错误

configure: summary of build options:

 Server Version: 2.4.53
 Install prefix: /usr/local/apache2
 C compiler:     gcc
 CFLAGS:           -pthread
 CPPFLAGS:        -DLINUX -D_REENTRANT -D_GNU_SOURCE
 LDFLAGS:
 LIBS:
 C preprocessor: gcc -E

我也尝试了不同版本的 httpd ( 2.4.48 至 2.4.53 )

我尝试提取 tar 并运行:

rpmbuild -bb 增加详细程度

我可以从 tar 构建其他 rpm,例如 apr-1.7.0.tar.bz2

 Provides: debuginfo(build-id) = a10b57a82a4f0f93a26b6f5f21824930e4768ee2 mod_ssl-debuginfo = 1:2.4.53-1 mod_ssl-debuginfo(x86-64) = 1:2.4.53-1
 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
 Recommends: httpd-debugsource(x86-64) = 2.4.53-1
 Checking for unpackaged file(s): /usr/lib/rpm/check-files /root/rpmbuild/BUILDROOT/httpd-2.4.53-1.x86_64
 D:      execv(/usr/lib/rpm/check-files) pid 412641
 D:      waitpid(412641) rc 412641 status 0
 error: Installed (but unpackaged) file(s) found:
 /usr/lib/debug/usr/lib64/httpd/modules/mod_md.so-2.4.53-1.x86_64.debug
 /usr/lib64/httpd/modules/mod_md.so
 
 
 RPM build errors:
 Installed (but unpackaged) file(s) found:
    /usr/lib/debug/usr/lib64/httpd/modules/mod_md.so-2.4.53-1.x86_64.debug
    /usr/lib64/httpd/modules/mod_md.so

但我不知道该怎么做

感谢您付出的时间和努力

相关内容