#487 Fail at CheckDirectoryRequire
Opened 10 months ago by mikelo2. Modified 10 months ago

Fedora review fails reviewing bz#2221411

fedora-review -b 2221411
(...)
INFO: Running in chroot: ['rpm -i golang-gitlab-yawning-edwards25519-extra-0-0.1.20221103gitdef713f.fc39.src.rpm; rpmbuild --nodeps -bp $(rpm --eval %_specdir)/golang-gitlab-yawning-edwards25519-extra.spec;chmod -R  go+r  $(rpm --eval %_builddir)/* || :']
Start: chroot ['rpm -i golang-gitlab-yawning-edwards25519-extra-0-0.1.20221103gitdef713f.fc39.src.rpm; rpmbuild --nodeps -bp $(rpm --eval %_specdir)/golang-gitlab-yawning-edwards25519-extra.spec;chmod -R  go+r  $(rpm --eval %_builddir)/* || :']
setting SOURCE_DATE_EPOCH=1689292800
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mS0J7J
+ umask 022
+ cd /builddir/build/BUILD
+ %goprep
/var/tmp/rpm-tmp.mS0J7J: line 33: fg: no job control

RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.mS0J7J (%prep)
    Bad exit status from /var/tmp/rpm-tmp.mS0J7J (%prep)
chmod: cannot access '/builddir/build/BUILD/*': No such file or directory
Finish: chroot ['rpm -i golang-gitlab-yawning-edwards25519-extra-0-0.1.20221103gitdef713f.fc39.src.rpm; rpmbuild --nodeps -bp $(rpm --eval %_specdir)/golang-gitlab-yawning-edwards25519-extra.spec;chmod -R  go+r  $(rpm --eval %_builddir)/* || :']
 None
NoneType: None
07-14 09:51 root         DEBUG    Adding files in : /tmp/review/2221411-golang-gitlab-yawning-edwards25519-extra/upstream/edwards25519-extra-def713fd18e464864613d2b55ef41a21df2c9493.tar.bz2
07-14 09:51 root         DEBUG    Loaded 24 files
07-14 09:51 root         INFO     Active plugins: Generic, Shell-api
07-14 09:51 root         DEBUG        CheckBuildCompleted completed: 11.644 seconds
07-14 09:51 root         DEBUG    Skipping CheckDesktopFile in /usr/lib/python3.11/site-packages/FedoraReview/plugins/generic.py, deprecated by fonts-disable in /usr/share/fedora-review/scripts/fonts-disable.sh
07-14 09:51 root         DEBUG    Skipping CheckExcludeArch in /usr/lib/python3.11/site-packages/FedoraReview/plugins/generic.py, deprecated by generic-excludearch in /usr/share/fedora-review/scripts/generic-excludearch.sh
07-14 09:51 root         DEBUG    Skipping CheckLargeDocs in /usr/lib/python3.11/site-packages/FedoraReview/plugins/generic.py, deprecated by generic-large-docs in /usr/share/fedora-review/scripts/generic-large-docs.sh
07-14 09:51 root         DEBUG    Skipping CheckSystemdScripts in /usr/lib/python3.11/site-packages/FedoraReview/plugins/generic.py, deprecated by fonts-disable in /usr/share/fedora-review/scripts/fonts-disable.sh
07-14 09:51 root         DEBUG    Skipping CheckExcludeArch in /usr/lib/python3.11/site-packages/FedoraReview/plugins/generic.py, deprecated by generic-excludearch in /usr/share/fedora-review/scripts/generic-excludearch.sh
07-14 09:51 root         DEBUG    Skipping CheckLargeDocs in /usr/lib/python3.11/site-packages/FedoraReview/plugins/generic.py, deprecated by generic-large-docs in /usr/share/fedora-review/scripts/generic-large-docs.sh
07-14 09:51 root         DEBUG    Skipping CheckClean in /usr/lib/python3.11/site-packages/FedoraReview/plugins/generic_should.py, deprecated by fonts-disable in /usr/share/fedora-review/scripts/fonts-disable.sh
07-14 09:51 root         DEBUG    Skipping CheckFullVerReqSub in /usr/lib/python3.11/site-packages/FedoraReview/plugins/generic_should.py, deprecated by fonts-disable in /usr/share/fedora-review/scripts/fonts-disable.sh
07-14 09:51 root         DEBUG    Running check: OcamlCheckStaticLibs
07-14 09:51 root         DEBUG        OcamlCheckStaticLibs completed: 0.007 seconds
07-14 09:51 root         DEBUG    Running check: HaskellCheckStaticLibs
07-14 09:51 root         DEBUG        HaskellCheckStaticLibs completed: 0.000 seconds
07-14 09:51 root         DEBUG    Running check: RCheckBuildRequires
07-14 09:51 root         DEBUG        RCheckBuildRequires completed: 0.000 seconds
07-14 09:51 root         DEBUG    Running check: RCheckCheckMacro
07-14 09:51 root         DEBUG        RCheckCheckMacro completed: 0.000 seconds
07-14 09:51 root         DEBUG    Running check: RCheckDoc
07-14 09:51 root         DEBUG        RCheckDoc completed: 0.000 seconds
07-14 09:51 root         DEBUG    Running check: RCheckInstallSection
07-14 09:51 root         DEBUG        RCheckInstallSection completed: 0.000 seconds
07-14 09:51 root         DEBUG    Running check: RCheckLatestVersionIsPackaged
07-14 09:51 root         DEBUG        RCheckLatestVersionIsPackaged completed: 0.000 seconds
07-14 09:51 root         DEBUG    Running check: RCheckRequires
07-14 09:51 root         DEBUG        RCheckRequires completed: 0.000 seconds
07-14 09:51 root         DEBUG    Running check: CheckJavaPlugin
07-14 09:51 root         DEBUG        CheckJavaPlugin completed: 0.000 seconds
07-14 09:51 root         DEBUG    Running check: PerlCheckBuildRequires
07-14 09:51 root         DEBUG        PerlCheckBuildRequires completed: 0.000 seconds
07-14 09:51 root         DEBUG    Running check: CheckBundledGnulib
07-14 09:51 root         DEBUG        CheckBundledGnulib completed: 0.000 seconds
07-14 09:51 root         DEBUG    Running check: CheckGccBuildRequires
07-14 09:51 root         DEBUG        CheckGccBuildRequires completed: 0.000 seconds
07-14 09:51 root         DEBUG    Running check: CheckHeaderFiles
07-14 09:51 root         DEBUG        CheckHeaderFiles completed: 0.000 seconds
07-14 09:51 root         DEBUG    Running check: CheckLDConfig
07-14 09:51 root         DEBUG        CheckLDConfig completed: 0.000 seconds
07-14 09:51 root         DEBUG    Running check: CheckLibToolArchives
07-14 09:51 root         DEBUG        CheckLibToolArchives completed: 0.000 seconds
07-14 09:51 root         DEBUG    Running check: CheckNoKernelModules
07-14 09:51 root         DEBUG        CheckNoKernelModules completed: 0.000 seconds
07-14 09:51 root         DEBUG    Running check: CheckNoStaticExecutables
07-14 09:51 root         DEBUG        CheckNoStaticExecutables completed: 0.000 seconds
07-14 09:51 root         DEBUG    Running check: CheckRPATH
07-14 09:51 root         DEBUG        CheckRPATH completed: 0.000 seconds
07-14 09:51 root         DEBUG    Running check: CheckSoFiles
07-14 09:51 root         DEBUG        CheckSoFiles completed: 0.000 seconds
07-14 09:51 root         DEBUG    Running check: CheckPythonBuildRequires
07-14 09:51 root         DEBUG        CheckPythonBuildRequires completed: 0.000 seconds
07-14 09:51 root         DEBUG    Running check: CheckPythonRequires
07-14 09:51 root         DEBUG        CheckPythonRequires completed: 0.000 seconds
07-14 09:51 root         DEBUG    Running check: CheckPythonX_Site
07-14 09:51 root         DEBUG        CheckPythonX_Site completed: 0.000 seconds
07-14 09:51 root         DEBUG    Running check: CheckApprovedLicense
07-14 09:51 root         DEBUG        CheckApprovedLicense completed: 0.000 seconds
07-14 09:51 root         DEBUG    Running check: CheckBuildrootMacros
07-14 09:51 root         DEBUG        CheckBuildrootMacros completed: 0.001 seconds
07-14 09:51 root         DEBUG    Running check: CheckBundledLibs
07-14 09:51 root         DEBUG        CheckBundledLibs completed: 0.001 seconds
07-14 09:51 root         DEBUG    Running check: CheckChangelogFormat
07-14 09:51 root         DEBUG        CheckChangelogFormat completed: 0.000 seconds
07-14 09:51 root         DEBUG    Running check: CheckCleanBuildroot
07-14 09:51 root         DEBUG    regex: rm\s+\-[rf][rf]\s+(/home/mikel/rpmbuild/BUILDROOT/golang-gitlab-yawning-edwards25519-extra-0-0.1.gitdef713f.fc38.x86_64|\$RPM_BUILD_ROOT)[^/]
07-14 09:51 root         DEBUG    install_sec: 


(
cd "/home/mikel/rpmbuild/BUILD/edwards25519-extra-def713fd18e464864613d2b55ef41a21df2c9493/_build/src/gitlab.com/yawning/edwards25519-extra.git"
IFS= gosupfiles=$(

)
mapfile -t gosupfilesA <<< "${gosupfiles}"
go-rpm-integration install -i "gitlab.com/yawning/edwards25519-extra.git"            \
                           -b "/home/mikel/rpmbuild/BUILD/edwards25519-extra-def713fd18e464864613d2b55ef41a21df2c9493/_build/bin"                    \
                           -s "/home/mikel/rpmbuild/BUILD/edwards25519-extra-def713fd18e464864613d2b55ef41a21df2c9493/_build"                        \
                           -o "golang-gitlab-yawning-edwards25519-extra-devel.file-list"            \
                           -O "/home/mikel/rpmbuild/BUILD/edwards25519-extra-def713fd18e464864613d2b55ef41a21df2c9493"                         \
                           -V "0-0.1.fc39"                \
                               \
                            -C "def713fd18e464864613d2b55ef41a21df2c9493" \
                            \
                           -p "/home/mikel/rpmbuild/BUILDROOT/golang-gitlab-yawning-edwards25519-extra-0-0.1.gitdef713f.fc38.x86_64"                         \
                           -g "/usr/share/gocode"                            \
                                                \
                                              \
                           -r '.*example.*'                        \
                            ${gosupfilesA[@]:+"${gosupfilesA[@]}"}
)


(
IFS= godocs=$(
  listfiles_include=$(realpath -e --relative-base=.  README.md  | sort -u)
    echo "${listfiles_include}"

)
if [[ -n "${godocs}" ]] ; then
  while IFS= read -r f ; do
    echo %doc \""${f}"\"     >> "/home/mikel/rpmbuild/BUILD/edwards25519-extra-def713fd18e464864613d2b55ef41a21df2c9493/golang-gitlab-yawning-edwards25519-extra-devel.file-list"
  done <<< "${godocs}"
fi
)
(
IFS= golicenses=$(
  listfiles_include=$(realpath -e --relative-base=.  LICENSE  | sort -u)
    echo "${listfiles_include}"

)
if [[ -n "${golicenses}" ]] ; then
  while IFS= read -r f; do
    echo "%"license \""${f}"\" >> "/home/mikel/rpmbuild/BUILD/edwards25519-extra-def713fd18e464864613d2b55ef41a21df2c9493/golang-gitlab-yawning-edwards25519-extra-devel.file-list"
  done <<< "${golicenses}"
fi
)






07-14 09:51 root         DEBUG        CheckCleanBuildroot completed: 0.001 seconds
07-14 09:51 root         DEBUG    Running check: CheckCodeAndContent
07-14 09:51 root         DEBUG        CheckCodeAndContent completed: 0.000 seconds
07-14 09:51 root         DEBUG    Running check: CheckConfigNoReplace
07-14 09:51 root         DEBUG        CheckConfigNoReplace completed: 0.000 seconds
07-14 09:51 root         DEBUG    Running check: CheckDefattr
07-14 09:51 root         DEBUG        CheckDefattr completed: 0.000 seconds
07-14 09:51 root         DEBUG    Running check: CheckDescMacros
07-14 09:51 root         DEBUG        CheckDescMacros completed: 0.000 seconds
07-14 09:51 root         DEBUG    Running check: CheckDesktopFile
07-14 09:51 root         DEBUG        CheckDesktopFile completed: 0.000 seconds
07-14 09:51 root         DEBUG    Running check: CheckDesktopFileInstall
07-14 09:51 root         DEBUG        CheckDesktopFileInstall completed: 0.000 seconds
07-14 09:51 root         DEBUG    Running check: CheckDevelFilesInDevel
07-14 09:51 root         DEBUG        CheckDevelFilesInDevel completed: 0.000 seconds
07-14 09:51 root         DEBUG    Running check: CheckDirectoryRequire
07-14 09:51 root         DEBUG    Running: mock -r fedora-rawhide-x86_64 --no-cleanup-after --no-clean -qn --enable-network shell dnf repoquery -C -l filesystem
07-14 09:51 root         DEBUG    Exception down the road...
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/FedoraReview/review_helper.py", line 236, in run
    self._do_run(outfile)
  File "/usr/lib/python3.11/site-packages/FedoraReview/review_helper.py", line 226, in _do_run
    self._do_report(outfile)
  File "/usr/lib/python3.11/site-packages/FedoraReview/review_helper.py", line 99, in _do_report
    self._run_checks(self.bug.spec_file, self.bug.srpm_file, outfile)
  File "/usr/lib/python3.11/site-packages/FedoraReview/review_helper.py", line 117, in _run_checks
    self.checks.run_checks(output=output, writedown=not Settings.no_report)
  File "/usr/lib/python3.11/site-packages/FedoraReview/checks.py", line 381, in run_checks
    run_check(name)
  File "/usr/lib/python3.11/site-packages/FedoraReview/checks.py", line 356, in run_check
    check.run()
  File "/usr/lib/python3.11/site-packages/FedoraReview/check_base.py", line 266, in run
    self.run_on_applicable()
  File "/usr/lib/python3.11/site-packages/FedoraReview/plugins/generic.py", line 477, in run_on_applicable
    filesys_dirs = set(deps.list_paths("filesystem"))
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/FedoraReview/deps.py", line 291, in list_paths
    paths = check_output(cmd, universal_newlines=True)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/subprocess.py", line 466, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['mock', '-r', 'fedora-rawhide-x86_64', '--no-cleanup-after', '--no-clean', '-qn', '--enable-network', 'shell', 'dnf repoquery -C -l filesystem']' returned non-zero exit status 2.
07-14 09:51 root         ERROR    Exception down the road... (logs in /home/mikel/.cache/fedora-review.log)

Current spec:

# Generated by go2rpm 1.8.2
%bcond_without check
%global debug_package %{nil}

# https://gitlab.com/yawning/edwards25519-extra
%global goipath         gitlab.com/yawning/edwards25519-extra.git
%global forgeurl        https://gitlab.com/yawning/edwards25519-extra
%global commit          def713fd18e464864613d2b55ef41a21df2c9493

%gometa -f

%global common_description %{expand:
This package provides extensions to the Go standard library's Ed25519 and
curve25519 implementations, primarily extracted from curve25519-voi.
This package is intended for interoperability with the standard library
and the edwards25519 package as much as possible.
}

%global golicenses      LICENSE
%global godocs          README.md

Name:           %{goname}
Version:        0
Release:        %autorelease -p
Summary:        Extensions to the Go standard library's Ed25519 and curve25519 implementations

License:        BSD-3-Clause
URL:            %{gourl}
Source:         %{gosource}

%description %{common_description}

%gopkg

%prep
%goprep

%generate_buildrequires
%go_generate_buildrequires

%install
%gopkginstall

%if %{with check}
%check
%gocheck
%endif

%gopkgfiles

%changelog
%autochangelog

This looks like Go macros are missing from the build environment? %goprep never runs so the sources are never decompressed from tarball.

Package seems to build using fedora-review and also mock.

$ fedora-review -b 2221411
INFO: Processing bugzilla bug: 2221411
INFO: Getting .spec and .srpm Urls from : 2221411
INFO:   --> SRPM url: https://kojipkgs.fedoraproject.org//work/tasks/9307/103329307/golang-gitlab-yawning-edwards25519-extra-0-0.1.20221103gitdef713f.fc39.src.rpm
INFO:   --> Spec url: https://hedayat.fedorapeople.org/reviews/golang-gitlab-yawning-edwards25519-extra.spec
INFO: Using review directory: /tmp/review/2221411-golang-gitlab-yawning-edwards25519-extra
INFO: Downloading .spec and .srpm files
INFO: Downloading (Source0): https://gitlab.com/yawning/edwards25519-extra/-/archive/def713fd18e464864613d2b55ef41a21df2c9493/edwards25519-extra-def713fd18e464864613d2b55ef41a21df2c9493.tar.bz2
INFO: Running checks and generating report
egrep: warning: egrep is obsolescent; using grep -E
INFO: Results and/or logs in: /tmp/review/2221411-golang-gitlab-yawning-edwards25519-extra/results
INFO: Reading configuration from /etc/mock/site-defaults.cfg
INFO: Reading configuration from /etc/mock/chroot-aliases.cfg
INFO: Reading configuration from /etc/mock/fedora-rawhide-x86_64.cfg
INFO: Build completed
INFO: Installing built package(s)
INFO: Active plugins: Generic, Shell-api
Unknown argument "-l" for command "repoquery". Add "--help" for more information about the arguments.
ERROR: Exception down the road... (logs in /home/mikel/.cache/fedora-review.log)

Using mock:

$ mock -N --no-clean -r fedora-rawhide-x86_64 /home/mikel/rpmbuild/SRPMS/golang-gitlab-yawning-edwards25519-extra-0-0.1.20230714gitdef713f.fc38.src.rpm

(...)

Start: rpmbuild golang-gitlab-yawning-edwards25519-extra-0-0.1.20230714gitdef713f.fc38.src.rpm
Building target platforms: x86_64
Building for target x86_64
setting SOURCE_DATE_EPOCH=1689292800
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.of3E6n
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf edwards25519-extra-def713fd18e464864613d2b55ef41a21df2c9493
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/edwards25519-extra-def713fd18e464864613d2b55ef41a21df2c9493.tar.bz2
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd edwards25519-extra-def713fd18e464864613d2b55ef41a21df2c9493
+ /usr/bin/mkdir -p SPECPARTS
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ rm -fr /builddir/build/BUILD/edwards25519-extra-def713fd18e464864613d2b55ef41a21df2c9493/vendor
+ [[ ! -e /builddir/build/BUILD/edwards25519-extra-def713fd18e464864613d2b55ef41a21df2c9493/_build/bin ]]
+ install -m 0755 -vd /builddir/build/BUILD/edwards25519-extra-def713fd18e464864613d2b55ef41a21df2c9493/_build/bin
install: creating directory '/builddir/build/BUILD/edwards25519-extra-def713fd18e464864613d2b55ef41a21df2c9493/_build'
install: creating directory '/builddir/build/BUILD/edwards25519-extra-def713fd18e464864613d2b55ef41a21df2c9493/_build/bin'
+ export GOPATH=/builddir/build/BUILD/edwards25519-extra-def713fd18e464864613d2b55ef41a21df2c9493/_build:/usr/share/gocode
+ GOPATH=/builddir/build/BUILD/edwards25519-extra-def713fd18e464864613d2b55ef41a21df2c9493/_build:/usr/share/gocode
+ [[ ! -e /builddir/build/BUILD/edwards25519-extra-def713fd18e464864613d2b55ef41a21df2c9493/_build/src/gitlab.com/yawning/edwards25519-extra.git ]]
++ dirname /builddir/build/BUILD/edwards25519-extra-def713fd18e464864613d2b55ef41a21df2c9493/_build/src/gitlab.com/yawning/edwards25519-extra.git
+ install -m 0755 -vd /builddir/build/BUILD/edwards25519-extra-def713fd18e464864613d2b55ef41a21df2c9493/_build/src/gitlab.com/yawning
install: creating directory '/builddir/build/BUILD/edwards25519-extra-def713fd18e464864613d2b55ef41a21df2c9493/_build/src'
install: creating directory '/builddir/build/BUILD/edwards25519-extra-def713fd18e464864613d2b55ef41a21df2c9493/_build/src/gitlab.com'
install: creating directory '/builddir/build/BUILD/edwards25519-extra-def713fd18e464864613d2b55ef41a21df2c9493/_build/src/gitlab.com/yawning'
+ ln -fs /builddir/build/BUILD/edwards25519-extra-def713fd18e464864613d2b55ef41a21df2c9493 /builddir/build/BUILD/edwards25519-extra-def713fd18e464864613d2b55ef41a21df2c9493/_build/src/gitlab.com/yawning/edwards25519-extra.git
+ cd /builddir/build/BUILD/edwards25519-extra-def713fd18e464864613d2b55ef41a21df2c9493/_build/src/gitlab.com/yawning/edwards25519-extra.git
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.D3oMq1

(...)

Finish: rpmbuild golang-gitlab-yawning-edwards25519-extra-0-0.1.20230714gitdef713f.fc38.src.rpm
Finish: build phase for golang-gitlab-yawning-edwards25519-extra-0-0.1.20230714gitdef713f.fc38.src.rpm
INFO: Done(/home/mikel/rpmbuild/SRPMS/golang-gitlab-yawning-edwards25519-extra-0-0.1.20230714gitdef713f.fc38.src.rpm) Config(fedora-rawhide-x86_64) 0 minutes 37 seconds
INFO: Results and/or logs in: /var/lib/mock/fedora-rawhide-x86_64/result
Finish: run

Checking the script:

~~~

<mock-chroot> sh-5.2# cat /var/tmp/rpm-tmp.mS0J7J

!/bin/sh

RPM_SOURCE_DIR="/builddir/build/SOURCES"
RPM_BUILD_DIR="/builddir/build/BUILD"
RPM_OPT_FLAGS="-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"
RPM_LD_FLAGS="-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes "
RPM_ARCH="x86_64"
RPM_OS="linux"
RPM_BUILD_NCPUS="8"
RPM_SPECPARTS_DIR="%{specpartsdir}"
export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS RPM_BUILD_NCPUS RPM_SPECPARTS_DIR RPM_LD_FLAGS
RPM_DOC_DIR="/usr/share/doc"
export RPM_DOC_DIR
RPM_PACKAGE_NAME="golang-gitlab-yawning-edwards25519-extra"
RPM_PACKAGE_VERSION="0"
RPM_PACKAGE_RELEASE="0.1.20221103gitdef713f.fc39"
export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE
LANG=C
export LANG
unset CDPATH DISPLAY ||:
unset DEBUGINFOD_URLS ||:
RPM_BUILD_ROOT="/builddir/build/BUILDROOT/golang-gitlab-yawning-edwards25519-extra-0-0.1.20221103gitdef713f.fc39.x86_64"
export RPM_BUILD_ROOT

PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/lib64/pkgconfig:/usr/share/pkgconfig"
export PKG_CONFIG_PATH
CONFIG_SITE=${CONFIG_SITE:-NONE}
export CONFIG_SITE
set -x
umask 022
cd "/builddir/build/BUILD"
%goprep

RPM_EC=$?
for pid in $(jobs -p); do kill -9 ${pid} || continue; done
exit ${RPM_EC}

~~~

Not an expert, but shouldn't that %goprep be replaced by real code?

Login to comment on this ticket.

Metadata