System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

rpmbuild and install(ibmasm conflicts with ibmsp6a-1.05-2.i386)

 
skt_skt
Honored Contributor

rpmbuild and install(ibmasm conflicts with ibmsp6a-1.05-2.i386)

#uname -i
i386

#getconf LONG_BIT
32

#uname -a
Linux hostname 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686 i686 i386 GNU/Linux

adela157n.noa.alcoa.com:/usr/local
#cat /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 4)

#rpm -qp --requires ibmsp6a-1.05-2.src.rpm
gcc
rpmlib(CompressedFileNames) <= 3.0.4-1

#rpm -qa|grep -i gcc
compat-gcc-32-c++-3.2.3-47.3
compat-libgcc-296-2.96-132.7.2
gcc-3.4.6-3.1
compat-gcc-32-3.2.3-47.3
libgcc-3.4.6-3.1
gcc-c++-3.4.6-3.1

#rpm -qpl ibmsp6a-1.05-2.src.rpm
README.TXT
ibmsp6.spec
ibmsp6a-src.tgz


#rpmbuild --rebuild ibmsp6a-1.05-2.src.rpm
Installing ibmsp6a-1.05-2.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.40907
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /usr/src/redhat/BUILD
+ rm -rf ibmsp6a-src
+ /usr/bin/gzip -dc /usr/src/redhat/SOURCES/ibmsp6a-src.tgz
+ tar -xvvf -
drwxrwxr-x root/root 0 2006-06-22 10:08:11 ibmsp6a-src/
-rwxrwxr-x root/root 6036 2006-06-22 10:08:11 ibmsp6a-src/README.TXT
drw-rw-r-- root/root 0 2006-06-22 10:08:11 ibmsp6a-src/src/
-rwxrwxr-x root/root 10258 2006-06-22 10:08:11 ibmsp6a-src/src/sp6api.h
-rwxrwxr-x root/root 5640 2006-06-22 10:08:11 ibmsp6a-src/src/sp6api.c
-rwxrwxr-x root/root 4073 2006-06-22 10:08:11 ibmsp6a-src/src/sp6raw.h
-r-xr-xr-x root/root 2029 2006-06-22 10:08:11 ibmsp6a-src/ibmsp6.spec
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd ibmsp6a-src
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ cp /usr/src/redhat/SOURCES/README.TXT .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.40907
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd ibmsp6a-src
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd src
+ rm -f sp6api.o
+ rm -f libibmsp6.so
+ gcc -fPIC -Wall -g -c -D__IBMLINUX__ -I. sp6api.c
+ gcc -g -shared -Wl,-soname,libibmsp6.so.32.1 -L./ -lraw -o libibmsp6.so.32.1 sp6api.o -lc
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.53696
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd ibmsp6a-src
+ LANG=C
+ export LANG
+ unset DISPLAY
+ rm -rf /var/tmp/ibmsp6a-1.05-build
+ mkdir /var/tmp/ibmsp6a-1.05-build
+ mkdir /var/tmp/ibmsp6a-1.05-build/lib
+ mkdir /var/tmp/ibmsp6a-1.05-build/lib64
+ install -m 755 src/libibmsp6.so.32.1 /var/tmp/ibmsp6a-1.05-build/lib
+ ln -sf /lib/libibmsp6.so.32.1 /var/tmp/ibmsp6a-1.05-build/lib/libibmsp6.so
+ /usr/lib/rpm/find-debuginfo.sh /usr/src/redhat/BUILD/ibmsp6a-src
extracting debug info from /var/tmp/ibmsp6a-1.05-build/lib/libibmsp6.so.32.1
40 blocks
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
Processing files: ibmsp6a-1.05-2
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.53696
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd ibmsp6a-src
+ DOCDIR=/var/tmp/ibmsp6a-1.05-build/usr/share/doc/ibmsp6a-1.05
+ export DOCDIR
+ rm -rf /var/tmp/ibmsp6a-1.05-build/usr/share/doc/ibmsp6a-1.05
+ /bin/mkdir -p /var/tmp/ibmsp6a-1.05-build/usr/share/doc/ibmsp6a-1.05
+ cp -pr README.TXT /var/tmp/ibmsp6a-1.05-build/usr/share/doc/ibmsp6a-1.05
+ exit 0
Provides: libibmsp6.so.32.1
Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh
Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <=

3.0.4-1
Requires(pre): /bin/sh
Requires(post): /bin/sh
Requires(preun): /bin/sh
Requires(postun): /bin/sh
Conflicts: ibmasm
Processing files: ibmsp6a-debuginfo-1.05-2
Provides: libibmsp6.so.32.1.debug
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <=

4.0-1
Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/ibmsp6a-1.05-build
Wrote: /usr/src/redhat/RPMS/i386/ibmsp6a-1.05-2.i386.rpm
Wrote: /usr/src/redhat/RPMS/i386/ibmsp6a-debuginfo-1.05-2.i386.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.53696
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd ibmsp6a-src
+ rm -rf /var/tmp/ibmsp6a-1.05-build
+ exit 0
Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.53696
+ umask 022
+ cd /usr/src/redhat/BUILD
+ rm -rf ibmsp6a-src
+ exit 0
adela157n.noa.alcoa.com:/opt/local/unix/bin/IBMASMDRIVER

==
rpmbuild created the rpm under /usr/src/redhat/RPMS/i386.But note the conflicts reported "Conflicts: ibmasm" above


#rpm -ivh ibmsp6a-1.05-2.i386.rpm
error: Failed dependencies:
ibmasm conflicts with ibmsp6a-1.05-2.i386
adela157n.noa.alcoa.com:/usr/src/redhat/RPMS/i386

#rpm -qa|grep -i ibm
libmudflap-4.1.0-18.EL4.3
ibmasm-3.0-7
libmthca-1.0.2-1
libmusicbrainz-2.0.2-11
libmng-1.0.8-1


is ibmasm-3.0-7 conflicting with ibmsp6a-1.05-2.i386?

or do you have any suggetions?I am installing these to collect and run the DSA log on a IBM X series 346(8840 model).
7 REPLIES
Stuart Browne
Honored Contributor

Re: rpmbuild and install(ibmasm conflicts with ibmsp6a-1.05-2.i386)

rpm -qlp /usr/src/redhat/RPMS/i386/ibmsp6a-1.05-2.i386.rpm
rpm -ql ibmasm

Double check that they don't use any of the same file names.

If they do, then you either want to rename your package, or give your new package an 'Obseletes' line.
One long-haired git at your service...
skt_skt
Honored Contributor

Re: rpmbuild and install(ibmasm conflicts with ibmsp6a-1.05-2.i386)


#rpm -qlp ibmsp6a-1.05-2.i386.rpm
/lib/libibmsp6.so
/lib/libibmsp6.so.32.1
/usr/share/doc/ibmsp6a-1.05
/usr/share/doc/ibmsp6a-1.05/README.TXT
adela157n.noa.alcoa.com:/usr/src/redhat/RPMS/i386


#rpm -ql ibmasm-3.0-7
/etc/rc.d/init.d/ibmasm
/lib/libsysSp.so
/usr/bin/evnode
/usr/sbin/ibmsphalt
/usr/sbin/ibmspup
/usr/share/doc/ibmasm-3.0
/usr/share/doc/ibmasm-3.0/README
/var/lib/ibmasm

*.so file looks similar? But none is same..
skt_skt
Honored Contributor

Re: rpmbuild and install(ibmasm conflicts with ibmsp6a-1.05-2.i386)

#rpm -qp --obsoletes ibmsp6a-1.05-2.i386.rpm
(none)

#rpm -qpl --obsoletes ibmsp6a-1.05-2.i386.rpm
(none)/lib/libibmsp6.so
/lib/libibmsp6.so.32.1
/usr/share/doc/ibmsp6a-1.05
/usr/share/doc/ibmsp6a-1.05/README.TXT

it reports none..
skt_skt
Honored Contributor

Re: rpmbuild and install(ibmasm conflicts with ibmsp6a-1.05-2.i386)

Also this is the dependant s/w which needs to be installed. whihc was success with an error

#rpm -i osa_ipmi-2.3.5-1.i386.rpm


Start to build osa ipmi driver on this machine and install libraries... done.
ln: `/etc/rc.modules': File exists
FATAL: Error inserting osa_ipmidrvr (/lib/modules/2.6.9-42.ELsmp/extra/osa_ipmidrvr.ko): Invalid module format

OSA IPMI device driver is covered under OSA End User License Agreement(OSA_EULA.txt) and the shim layer (shimOS.c) which we provide source code along with the package is also covered by (OSA_EULA.txt). Please review the OSA_EULA.txt under /usr/osa/osa_ipmi-2.3.5-1 directory. If you don't accept the agreement or you are not covered by this agreement, please uninstall the OSA IPMI device driver package.

adela157n.noa.alcoa.com:/opt/local/unix/bin/IBMASMDRIVER
#echo $?
0
==
#rpm -qa|grep osa
osa_ipmi-2.3.5-1
===
#rpm -e osa_ipmi-2.3.5-1
no osa_ipmidrvr.ko inserted into kernel.
adela157n.noa.alcoa.com:/opt/local/unix/bin/IBMASMDRIVER
==

Does that sounds like a bug?
skt_skt
Honored Contributor

Re: rpmbuild and install(ibmasm conflicts with ibmsp6a-1.05-2.i386)

"Dec 28 10:32:08 adela157n kernel: osa_ipmidrvr: version magic '2.6.9-42.ELsmp SMP 686 REGPARM 4KSTACKS gcc-3.2' should be '2.6.9-42.ELsmp SMP 686 REGPARM 4KSTACKS gcc-3.4'"

that is reported in meeages file at the same time..
skt_skt
Honored Contributor

Re: rpmbuild and install(ibmasm conflicts with ibmsp6a-1.05-2.i386)

Looks like that was a misdirection from IBM side..to install those IPMI drivers

i did update and colletced the DSA log.(rsa driver and firmware updated online)

a) RSA II Daemon for Linux 12 Dec 2007 v1.39
ibm_svc_rsa2_hlp239a_linux_32-64.tgz

b) RSA II firmware update for Linux 25 May 2007 v1.08
ibm_fw_rsa2_kpep27a_linux_i386.sh
skt_skt
Honored Contributor

Re: rpmbuild and install(ibmasm conflicts with ibmsp6a-1.05-2.i386)

Looks like that was a misdirection from IBM side..to install those IPMI drivers

i did update and colletced the DSA log.(rsa driver and firmware updated online)