Bug 2042940
| Summary: | F36FailsToInstall: rsyslog-hiredis | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
| Component: | rsyslog | Assignee: | Attila Lakatos <alakatos> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | alakatos, jlieskov, jvymazal, kevin, lkundrak, mah.darade, rsroka, tosykora, zfridric |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | rsyslog-8.2102.0-10.fc36 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-01-24 08:17:06 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1992487 | ||
|
Description
Miro Hrončok
2022-01-20 11:40:55 UTC
Note that this is because I upgraded hiredis and this package was already not building, so I couldn't rebuild it against the new hiredis. Hello,
I took a look at the problem and found out that hiredis does not block building rsyslog on fedora. The culprit here is the qpid-proton devel package. Let me show the logs when building rsyslog-omamqp1 package:
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../runtime -I../.. -I../../grammar -I/usr/include/libfastjson -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -Werror=implicit-function-declaration -g -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -c omamqp1.c -fPIC -DPIC -o .libs/omamqp1_la-omamqp1.o
/bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -fpie -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -module -avoid-version -pie -Wl,-z,relro -Wl,-z,now -o omamqp1.la -rpath /usr/lib64/rsyslog omamqp1_la-omamqp1.lo -L -lqpid-proton -lpthread
libtool: error: require no space between '-L' and '-lqpid-proton'
make[2]: *** [Makefile:503: omamqp1.la] Error 1
make[2]: Leaving directory '/builddir/build/BUILD/rsyslog-8.2102.0/contrib/omamqp1'
make[1]: *** [Makefile:900: all-recursive] Error 1
make[1]: Leaving directory '/builddir/build/BUILD/rsyslog-8.2102.0'
make: *** [Makefile:748: all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.COfz5v (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.COfz5v (%build)
Child return code was: 1
EXCEPTION: [Error()]
The -L option must be followed by some path but it's clearly missing. I believe that the libqpid-proton.pc provided by qpid-proton-c-devel package should provide this information(maybe in /usr/lib64/pkgconfig/libqpid-proton.pc ?).
FEDORA-2022-17d29e0115 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-17d29e0115 FEDORA-2022-17d29e0115 has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report. I built rsyslog with bundled qpid-proton. It should be okay now, let me know if there is a problem with that. Once a fix has been delivered to qpid-proton I will rebuild rsyslog. |