Bug 2042940 - F36FailsToInstall: rsyslog-hiredis
Summary: F36FailsToInstall: rsyslog-hiredis
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rsyslog
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Attila Lakatos
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F36FailsToInstall
TreeView+ depends on / blocked
 
Reported: 2022-01-20 11:40 UTC by Miro Hrončok
Modified: 2022-01-24 08:31 UTC (History)
9 users (show)

Fixed In Version: rsyslog-8.2102.0-10.fc36
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-01-24 08:17:06 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2022-01-20 11:40:55 UTC
Hello,

Please note that this comment was generated automatically. If you feel that this output has mistakes, please contact me via email (mhroncok).

Your package (rsyslog) Fails To Install in Fedora 36:

can't install rsyslog-hiredis:
  - nothing provides libhiredis.so.0.13()(64bit) needed by rsyslog-hiredis-8.2102.0-8.fc36.x86_64
  
If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.


If you don't react accordingly to the policy for FTBFS/FTI bugs (https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/), your package may be orphaned in 8+ weeks.

P.S. The data was generated solely from koji buildroot, so it might be newer than the latest compose or the content on mirrors.

P.P.S. If this bug has been reported in the middle of upgrading multiple dependent packages, please consider using side tags: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/#updating-inter-dependent-packages

Thanks!

Comment 1 Kevin Fenzi 2022-01-21 17:06:56 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.

Comment 2 Attila Lakatos 2022-01-24 06:58:21 UTC
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 ?).

Comment 3 Fedora Update System 2022-01-24 08:12:24 UTC
FEDORA-2022-17d29e0115 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-17d29e0115

Comment 4 Fedora Update System 2022-01-24 08:17:06 UTC
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.

Comment 5 Attila Lakatos 2022-01-24 08:31:32 UTC
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.


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