| Summary: | RPM COPR builds for Mageia: /usr/bin/ld: cannot find -lsystemd | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Graham Leggett <minfrin> |
| Component: | RPM Packages | Assignee: | All Packagers <pkg-bugs> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | doktor5000, lewyssmith, marja11 |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | https://copr.fedorainfracloud.org/coprs/minfrin/mod_magick/build/1601152/ | ||
| Whiteboard: | |||
| Source RPM: | https://github.com/minfrin/mod_magick/releases/download/mod_magick-1.0.0/mod_magick-1.0.0-1.el8.src.rpm | CVE: | |
| Status comment: | |||
|
Description
Graham Leggett
2020-08-10 22:26:19 CEST
See also bug 27075. I was tempted to say that this is not a Mageia problem; but COPR rang a bell, we do have a Wiki about it: https://wiki.mageia.org/en/Fedora_COPR and a package 'copr-cli'. Assigning globally, CC'ing Marja who knows about this, and myself to find out. FWIW: $ urpmq --requires-recursive apache | grep systemd lib64systemd0 systemd Assignee:
bugsquad =>
pkg-bugs I'm suspecting that the root of the issue is that httpd is linked to systemd, but the apxs tool isn't telling any of the module builds about it, or the RPM packaging itself isn't pulling in systemd as a dependency. When COPR installs all the deps, systemd is missed, build fails. If there are any patches you're applying to make httpd work, can you contribute those patches upstream to us (Apache httpd) or if you've already done so, highlight the PRs so I can get them integrated? Keen to make sure all the distros are using the same codebase. Just hit this bug again. This prevents third party httpd modules being built for Mageia. (In reply to Graham Leggett from comment #2) > If there are any patches you're applying to make httpd work, can you > contribute those patches upstream to us (Apache httpd) or if you've already > done so, highlight the PRs so I can get them integrated? Keen to make sure > all the distros are using the same codebase. You may want to have a look at the httpd spec, it has a BuildRequires on systemd, probably due to the upstream patch for added systemd support: http://svnweb.mageia.org/packages/cauldron/apache/current/SPECS/apache.spec?view=markup This is probably what you're missing in the copr build: BuildRequires: pkgconfig(systemd) I guess that's for this patch: # http://marc.info/?l=apache-httpd-dev&m=134867223818085&w=2 Patch29: httpd-2.4.27-systemd.patch HTH CC:
(none) =>
doktor5000 Actually for Cauldron you need to do pkgconfig(libsystemd) now. |