Bug 2124586 - squidGuard-1.4-42.fc38 FTBFS: error: File must begin with "/": %{_unitdir}/squidGuard.service
Summary: squidGuard-1.4-42.fc38 FTBFS: error: File must begin with "/": %{_unitdir}/sq...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: squidGuard
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: F38FTBFS
TreeView+ depends on / blocked
 
Reported: 2022-09-06 14:41 UTC by Petr Pisar
Modified: 2022-09-07 02:07 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-09-07 02:07:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2022-09-06 14:41:08 UTC
squidGuard-1.4-42.fc38 fails to build in Fedora 38:

Processing files: squidGuard-1.4-42.fc38.x86_64
error: File must begin with "/": %{_unitdir}/squidGuard.service
error: File must begin with "/": %{_unitdir}/transparent-proxying.service

A difference between passing and failing build root is at <https://koschei.fedoraproject.org/build/13547799>. A disappearance of systemd-rpm-macros looks suspicious. If you use %{_unitdir} macro, you should explicitly build-require it <https://docs.fedoraproject.org/en-US/packaging-guidelines/Systemd/#packaging_filesystem>.


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