Bug 360181 - Need lm_sensors-devel added to BuildRequire
Summary: Need lm_sensors-devel added to BuildRequire
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: cyrus-imapd
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Tomas Janousek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-10-31 14:00 UTC by Razvan Corneliu C.R. VILT
Modified: 2008-03-18 16:53 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-03-18 16:53:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Razvan Corneliu C.R. VILT 2007-10-31 14:00:08 UTC
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:
ALWAYS

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
-Wl,-rpath,/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/auto/DynaLoader/DynaLoader.a
-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 18:40:45 UTC
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.