Bug 360181 - Need lm_sensors-devel added to BuildRequire
Need lm_sensors-devel added to BuildRequire
Product: Fedora
Classification: Fedora
Component: cyrus-imapd (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Tomas Janousek
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-10-31 10:00 EDT by Razvan Corneliu C.R. VILT
Modified: 2008-03-18 12:53 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-03-18 12:53:35 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Razvan Corneliu C.R. VILT 2007-10-31 10:00:08 EDT
Description of problem:
If lm_sensors-devel is not installed, the cyrus-imapd package cannot be rebuilt.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. yum remove lm_sensors devel
2. rpmbuild -ba /usr/src/redhat/SPECS/cyrus.spec
Actual results:
gcc -L/usr/kerberos/lib64    -pie  -o master master.o masterconf.o
cyrusMasterMIB.o ../lib/lock_fcntl.o ../lib/libcyrus_min.a -L/usr/lib64
-L/usr/lib64 -lnetsnmpmibs -lnetsnmpagent -lnetsnmphelpers -lnetsnmp -ldl -lz
-lcrypto -lm -lsensors -L/usr/lib64/lib -lwrap -Wl,-E
-L/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE -lperl -lresolv -lnsl
-ldl -lm -lcrypt -lutil -lpthread -lc  -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err
-lkrb5support -lssl -lcrypto   -lkrb4 -lfl  -lresolv   -ldb-4.3 -lcom_err 
/usr/bin/ld: cannot find -lsensors
collect2: ld returned 1 exit status
make[1]: *** [master] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/cyrus-imapd-2.3.10/master'
make: *** [all] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.28806 (%build)

Expected results:
rpmbuild should output the following error message:
error: Failed build dependencies:
        lm_sensors-devel is needed by cyrus-imapd-2.3.10-7el5.x86_64

Additional info:
It probably applies to all branches (rhel/fedora)
Comment 1 Tomas Janousek 2007-10-31 14:40:45 EDT
Where did you get that SRPM?

On Fedora rawhide, cyrus-imapd RPM does not buildrequire lm_sensors-devel,
because net-snmp-devel does so. On earlier versions (including all RHELs) it
does buildrequire it, because net-snmp-devel does not. If you try to rebuild the
SRPM from Fedora on RHEL-5, you may have this problem, but ...

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