Hi,

I'm having a problem with "make rpm" getting a File not found error and failing.
These are the build errors:

RPM build errors:
    File not found: 
/home/jematthe/Downloads/opensaf-4.5.0/rpms/BUILDROOT/opensaf-4.5.0-1.x86_64/lib/systemd/system/opensafd.service
    Installed (but unpackaged) file(s) found:
   /etc/opensaf/amfd.conf
   /etc/opensaf/amfnd.conf
   /etc/opensaf/amfwdog.conf
.
.
.

I am working with OpenSAF 4.5.0 due to the application with which I am working 
uses that version.
I had downloaded the 4.5.0 tarball and extracted it. This is on an openSUSE 
12.1 (Asparagus) VM.

In the top level of my extracted source, as root I ran:

./configure -enable-tipc

..which succeeded. Then I ran:

make rpm

.. for which everything compiled, but the RPM build failed. Below is a snippet 
near the end of the output with the error noted by  <-- ERROR *****. I noticed 
that there is not even the great-grandparent lib directory
created:

/home/jematthe/Downloads/opensaf-4.5.0/rpms/BUILDROOT/opensaf-4.5.0-1.x86_64/lib
                    <-- doesn't exist/not created

Has anyone experienced this and know the cause? Among other things  I'm 
investigating the Makefile for clues and also tried manually copying 
opensafd.service into the directory, but the directory gets wiped everytime 
"make rpm" is run.

+ /bin/rm -rf 
/home/jematthe/Downloads/opensaf-4.5.0/rpms/BUILDROOT/opensaf-4.5.0-1.x86_64/usr/lib64/opensaf/librda.a
 
/home/jematthe/Downloads/opensaf-4.5.0/rpms/BUILDROOT/opensaf-4.5.0-1.x86_64/usr/lib64/opensaf/libsmfsv_common.a
+ /bin/rm -rf 
/home/jematthe/Downloads/opensaf-4.5.0/rpms/BUILDROOT/opensaf-4.5.0-1.x86_64/usr/lib64/opensaf/librda.so
 
/home/jematthe/Downloads/opensaf-4.5.0/rpms/BUILDROOT/opensaf-4.5.0-1.x86_64/usr/lib64/opensaf/libsmfsv_common.so
+ /bin/rm -rf 
/home/jematthe/Downloads/opensaf-4.5.0/rpms/BUILDROOT/opensaf-4.5.0-1.x86_64/usr/share/doc/opensaf-4.5.0
+ /usr/lib/rpm/brp-lib64-linux
[email protected]<mailto:[email protected]>: if you find problems with this script, drop 
me a note
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-symlink
Processing files: opensaf-4.5.0-1.x86_64
error: File not found: 
/home/jematthe/Downloads/opensaf-4.5.0/rpms/BUILDROOT/opensaf-4.5.0-1.x86_64/lib/systemd/system/opensafd.service
      <-- ERROR *****
Executing(%doc): /bin/sh -e 
/home/jematthe/Downloads/opensaf-4.5.0/rpms/tmp/rpm-tmp.jAPIFH
+ umask 022
+ cd /home/jematthe/Downloads/opensaf-4.5.0/rpms/BUILD
+ cd opensaf-4.5.0
+ 
DOCDIR=/home/jematthe/Downloads/opensaf-4.5.0/rpms/BUILDROOT/opensaf-4.5.0-1.x86_64/usr/share/doc/packages/opensaf
+ export DOCDIR
+ /bin/mkdir -p 
/home/jematthe/Downloads/opensaf-4.5.0/rpms/BUILDROOT/opensaf-4.5.0-1.x86_64/usr/share/doc/packages/opensaf
+ cp -pr AUTHORS ChangeLog COPYING.LIB INSTALL NEWS THANKS 
/home/jematthe/Downloads/opensaf-4.5.0/rpms/BUILDROOT/opensaf-4.5.0-1.x86_64/usr/share/doc/packages/opensaf
+ cp -pr README 00-README.uml 00-README.conf 00-README.debug 
/home/jematthe/Downloads/opensaf-4.5.0/rpms/BUILDROOT/opensaf-4.5.0-1.x86_64/usr/share/doc/packages/opensaf
+ exit 0
Checking for unpackaged file(s): /usr/lib/rpm/check-files 
/home/jematthe/Downloads/opensaf-4.5.0/rpms/BUILDROOT/opensaf-4.5.0-1.x86_64
error: Installed (but unpackaged) file(s) found:
   /etc/opensaf/amfd.conf
   /etc/opensaf/amfnd.conf
   /etc/opensaf/amfwdog.conf
   /etc/opensaf/ckptd.conf
   /etc/opensaf/ckptnd.conf
   /etc/opensaf/clmd.conf
.
.
.
...and at the very end:

   /usr/share/opensaf/samples/smfsv/campaigns/remove_bundles_testcampaign.xml
   /usr/share/opensaf/samples/smfsv/campaigns/smf-verify
   /usr/share/opensaf/samples/smfsv/campaigns/smfsv_test_classes.xml
   /usr/share/opensaf/samples/smfsv/offline_install.sh
   /usr/share/opensaf/samples/smfsv/offline_remove.sh
   /usr/share/opensaf/samples/smfsv/online_install.sh
   /usr/share/opensaf/samples/smfsv/online_remove.sh
   /usr/share/opensaf/samples/smfsv/smf_demo.c
make: *** [rpm] Error 1


Thanks for any help,

Jeremy
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to