Opened 18 months ago

Last modified 18 months ago

#2441 accepted defect

pkg-oss - build error

Reported by: Alexander Kubyshkin Owned by:
Priority: minor Milestone:
Component: nginx-package Version:
Keywords: pkg-oss, docker Cc:
uname -a: docker, rockylinux:8
nginx -V: any


Hi guys,

Trying to build a module for nginx, but build error arises:

===> Building nginx-module-rtmp package
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.dK9eXn
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd /root/rpmbuild/BUILD
+ rm -rf nginx-plus-module-rtmp-1.17.6
+ /usr/bin/mkdir -p nginx-plus-module-rtmp-1.17.6
+ cd nginx-plus-module-rtmp-1.17.6
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ tar --strip-components=1 -zxf /root/rpmbuild/SOURCES/nginx-1.17.6.tar.gz
tar (child): /root/rpmbuild/SOURCES/nginx-1.17.6.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
error: Bad exit status from /var/tmp/rpm-tmp.dK9eXn (%prep)
    Bad exit status from /var/tmp/rpm-tmp.dK9eXn (%prep)

How to reproduce:

docker run --rm rockylinux:8 bash -c 'yum install -y wget && wget && bash -y -r 20'

Same error on different platforms - aarch64 and amd64.
Full output is attached(aarch64).

Attachments (1)

docker-run-output.txt (61.4 KB ) - added by Alexander Kubyshkin 18 months ago.
Docker run full output

Download all attachments as: .zip

Change History (2)

by Alexander Kubyshkin, 18 months ago

Attachment: docker-run-output.txt added

Docker run full output

comment:1 by thresh, 18 months ago

Component: documentationnginx-package
Priority: majorminor
Status: newaccepted from tip does not support older builder system as used in R20. For R20, please use ( from R20 branch).

Some discussion around it can be found on (and later mails on this thread).

This can be fixed, but it's definitely not a high priority at this moment.

Note: See TracTickets for help on using tickets.