PATCH: ceph.spec.in
hi
encountered following errors building an rpm package with the ceph.spec.in:
RPM build errors:
File not found: /var/tmp/ceph-0.21~rc-4el5.elefant-root-mockbuild/usr/
bin/mkmonfs
File must begin with "/": %{_initddir}/ceph
Installed (but unpackaged) file(s) found:
/usr/bin/dumpjournal
/usr/bin/dupstore
/usr/bin/psim
/usr/bin/radosacl
/usr/bin/streamtest
/usr/bin/test_ioctls
/usr/bin/test_trans
/usr/bin/testceph
/usr/bin/testcrypto
/usr/bin/testkeys
/usr/bin/testmsgr
/usr/bin/testrados
/usr/bin/testradospp
* mkmonfs - vanished. isn't it used anymore? if so, the man/mkmonfs.8 can also be removed
* initddir can be ignored as it is centos/rhel specific (it's called "initrddir")
* added the unpackaged files
* added CXXFLAGS to make
- Thomas
ceph.spec.in renamed from ceph.spec.in.orig +7 -2
@@ -41,7 +41,7 @@ %build ./autogen.sh %{configure} --without-hadoop --without-debug -make CFLAGS="$RPM_OPT_FLAGS" +make CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" %install rm -rf $RPM_BUILD_ROOT
@@ -84,9 +84,14 @@ %{_bindir}/cmon %{_bindir}/cmds %{_bindir}/cosd -%{_bindir}/mkmonfs %{_bindir}/rados %{_bindir}/rbdtool +%{_bindir}/test* +%{_bindir}/dumpjournal +%{_bindir}/dupstore +%{_bindir}/psim +%{_bindir}/radosacl +%{_bindir}/streamtest %{_initddir}/ceph %{_libdir}/libceph.so.* %{_libdir}/libcrush.so.*
Applied this, sans the unpackaged files part.. those are for debugging and testing, and don't need to be installed. (That probably means 'make install' should ignore them...)
And removed all other traces of mkmonfs (it's replaced by 'cmon --mkfs').
sage
Quoted 69 lines · Thomas Mueller
hi
encountered following errors building an rpm package with the ceph.spec.in:
RPM build errors:
File not found: /var/tmp/ceph-0.21~rc-4el5.elefant-root-mockbuild/usr/bin/mkmonfs
File must begin with "/": %{_initddir}/ceph
Installed (but unpackaged) file(s) found:
/usr/bin/dumpjournal
/usr/bin/dupstore
/usr/bin/psim
/usr/bin/radosacl
/usr/bin/streamtest
/usr/bin/test_ioctls
/usr/bin/test_trans
/usr/bin/testceph
/usr/bin/testcrypto
/usr/bin/testkeys
/usr/bin/testmsgr
/usr/bin/testrados
/usr/bin/testradospp* mkmonfs - vanished. isn't it used anymore? if so, the man/mkmonfs.8 can also be removed
* initddir can be ignored as it is centos/rhel specific (it's called "initrddir")
* added the unpackaged files
* added CXXFLAGS to make- Thomas
ceph.spec.in renamed from ceph.spec.in.orig +7
-3@@ -41,7 +41,7 @@ %build ./autogen.sh %{configure} --without-hadoop --without-debug -make CFLAGS="$RPM_OPT_FLAGS" +make CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" %install rm -rf $RPM_BUILD_ROOT@@ -84,9 +84,14 @@ %{_bindir}/cmon %{_bindir}/cmds %{_bindir}/cosd -%{_bindir}/mkmonfs %{_bindir}/rados %{_bindir}/rbdtool +%{_bindir}/test* +%{_bindir}/dumpjournal +%{_bindir}/dupstore +%{_bindir}/psim +%{_bindir}/radosacl +%{_bindir}/streamtest %{_initddir}/ceph %{_libdir}/libceph.so.* %{_libdir}/libcrush.so.* --To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 3 lines · Sage Weil
Applied this, sans the unpackaged files part.. those are for debugging and testing, and don't need to be installed. (That probably means 'make install' should ignore them...)
as long as they are installed with "make install" (at least with mock) the build of the packages fail with the message that there are unpackaged files and no rpm's are produced.
- Thomas
Am Fri, 02 Jul 2010 21:42:38 +0200 schrieb Thomas Mueller:
Quoted 11 lines · Sage Weil
Quoted 3 lines
Applied this, sans the unpackaged files part.. those are for debugging and testing, and don't need to be installed. (That probably means 'make install' should ignore them...)
as long as they are installed with "make install" (at least with mock) the build of the packages fail with the message that there are unpackaged files and no rpm's are produced.
- Thomas
PS: maybe only build these binarys with debug enabled?
Quoted 7 lines · Thomas Mueller
Am Fri, 02 Jul 2010 21:42:38 +0200 schrieb Thomas Mueller:
Quoted 5 lines · Sage Weil
Quoted 3 lines
Applied this, sans the unpackaged files part.. those are for debugging and testing, and don't need to be installed. (That probably means 'make install' should ignore them...)
Quoted 8 lines
Quoted 6 lines
as long as they are installed with "make install" (at least with mock) the build of the packages fail with the message that there are unpackaged files and no rpm's are produced.
- Thomas
PS: maybe only build these binarys with debug enabled?
Done. Let me know if I missed anything?
sage