Bug 2126078 - openscap: FTBFS in Fedora Rawhide
Summary: openscap: FTBFS in Fedora Rawhide
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: openscap
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Šimon
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: F38FTBFS
TreeView+ depends on / blocked
 
Reported: 2022-09-12 11:09 UTC by Jitka Plesnikova
Modified: 2022-10-26 13:14 UTC (History)
9 users (show)

Fixed In Version: openscap-1.3.6-11.fc38
Clone Of:
Environment:
Last Closed: 2022-10-26 13:14:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jitka Plesnikova 2022-09-12 11:09:29 UTC
Description of problem:
Package openscap fails to build from source in Fedora Rawhide.

Processing files: openscap-scanner-1.3.6-10.fc38.x86_64
error: File not found: /builddir/build/BUILDROOT/openscap-1.3.6-10.fc38.x86_64/usr/libexec/oscap-remediate
error: File must begin with "/": %{_unitdir}/oscap-remediate.service
error: File must begin with "/": %{_unitdir}/system-update.target.wants/
RPM build errors:
    File not found: /builddir/build/BUILDROOT/openscap-1.3.6-10.fc38.x86_64/usr/libexec/oscap-remediate
    File must begin with "/": %{_unitdir}/oscap-remediate.service
    File must begin with "/": %{_unitdir}/system-update.target.wants/
Child return code was: 1
EXCEPTION: [Error()]
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace
    result = func(*args, **kw)
  File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 598, in do_with_status
    raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode)
mockbuild.exception.Error: Command failed: 

Version-Release number of selected component (if applicable):
1.3.6-10.fc37

Steps to Reproduce:
koji build --scratch f38 openscap-1.3.6-10.fc37.src.rpm

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/openscap

Dependency changes from the last successful build:
https://koschei.fedoraproject.org/build/13546966

Comment 1 Jitka Plesnikova 2022-10-17 10:12:57 UTC
If you want to use macro %{_unitdir} then systemd-rpm-macros should be listed in build-requires.

Comment 2 Fedora Update System 2022-10-17 12:05:01 UTC
FEDORA-2022-a8b7559a31 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2022-a8b7559a31

Comment 3 Fedora Update System 2022-10-26 13:14:16 UTC
FEDORA-2022-a8b7559a31 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.