[Ocfs2-users] Unable to build RPM ocfs2 1.2.9 for rhel4

Sunil Mushran sunil.mushran at oracle.com
Tue Jan 18 10:03:02 PST 2011


Do:
# ./configure --with-kernel=/path/to/2.6.9-89.33.1.EL/devel/tree

before

# make rhel4_2.6.9-89.33.1.EL_rpm

On 01/17/2011 07:36 AM, David Coulson wrote:
> I'm trying to build 1.2.9 for RHEL4 using the supplied make files, but
> it is not working for some reason - The src.rpm it is creating does not
> have the correct kernel version in it, so it fails with the rpmbuild
> --rebuild portion.
>
> Any ideas? Works fine for 2.6.9-89.0.28
>
>
> [root at rhbuild64 ocfs2-1.2.9]# make rhel4_2.6.9-89.33.1.EL_rpm
> rm -rf ./ocfs2-1.2.9
> ./mkinstalldirs ./ocfs2-1.2.9
> mkdir -p -- ./ocfs2-1.2.9
> /bin/sh ./mkinstalldirs ./ocfs2-1.2.9/.
> ./mkinstalldirs ./ocfs2-1.2.9/./include/linux
> mkdir -p -- ./ocfs2-1.2.9/./include/linux
> ./mkinstalldirs ./ocfs2-1.2.9/./kapi-compat/include
> mkdir -p -- ./ocfs2-1.2.9/./kapi-compat/include
> ./mkinstalldirs ./ocfs2-1.2.9/./patches
> mkdir -p -- ./ocfs2-1.2.9/./patches
>    cp -p Makefile ./ocfs2-1.2.9/./Makefile
>    cp -p AUTHORS ./ocfs2-1.2.9/./AUTHORS
>    cp -p COPYING ./ocfs2-1.2.9/./COPYING
>    cp -p README ./ocfs2-1.2.9/./README
>    cp -p dlmfs.txt ./ocfs2-1.2.9/./dlmfs.txt
>    cp -p Config.make.in ./ocfs2-1.2.9/./Config.make.in
>    cp -p Preamble.make ./ocfs2-1.2.9/./Preamble.make
>    cp -p Postamble.make ./ocfs2-1.2.9/./Postamble.make
>    cp -p Versioning.make ./ocfs2-1.2.9/./Versioning.make
>    cp -p config.guess ./ocfs2-1.2.9/./config.guess
>    cp -p config.sub ./ocfs2-1.2.9/./config.sub
>    cp -p configure ./ocfs2-1.2.9/./configure
>    cp -p configure.in ./ocfs2-1.2.9/./configure.in
>    cp -p install-sh ./ocfs2-1.2.9/./install-sh
>    cp -p mkinstalldirs ./ocfs2-1.2.9/./mkinstalldirs
>    cp -p Vendor.make ./ocfs2-1.2.9/./Vendor.make
>    cp -p svnrev.guess ./ocfs2-1.2.9/./svnrev.guess
>    cp -p vendor.guess ./ocfs2-1.2.9/./vendor.guess
>    cp -p include/linux/configfs.h ./ocfs2-1.2.9/./include/linux/configfs.h
>    cp -p kapi-compat/include/assert_spin_locked.h
> ./ocfs2-1.2.9/./kapi-compat/include/assert_spin_locked.h
>    cp -p kapi-compat/include/i_mutex.h
> ./ocfs2-1.2.9/./kapi-compat/include/i_mutex.h
>    cp -p kapi-compat/include/journal_access.h
> ./ocfs2-1.2.9/./kapi-compat/include/journal_access.h
>    cp -p kapi-compat/include/kref_init.h
> ./ocfs2-1.2.9/./kapi-compat/include/kref_init.h
>    cp -p kapi-compat/include/kref_put.h
> ./ocfs2-1.2.9/./kapi-compat/include/kref_put.h
>    cp -p kapi-compat/include/sparse_endian_types.h
> ./ocfs2-1.2.9/./kapi-compat/include/sparse_endian_types.h
>    cp -p kapi-compat/include/kzalloc.h
> ./ocfs2-1.2.9/./kapi-compat/include/kzalloc.h
>    cp -p kapi-compat/include/simple_pin_fs.h
> ./ocfs2-1.2.9/./kapi-compat/include/simple_pin_fs.h
>    cp -p kapi-compat/include/reboot.h
> ./ocfs2-1.2.9/./kapi-compat/include/reboot.h
>    cp -p patches/export_generic_drop_inode.patch
> ./ocfs2-1.2.9/./patches/export_generic_drop_inode.patch
> make -C fs dist-all \
>     DIST_CURDIR=./fs
> make[1]: Entering directory `/root/ocfs2-1.2.9/fs'
> /bin/sh ../mkinstalldirs ../ocfs2-1.2.9/./fs
> mkdir -p -- ../ocfs2-1.2.9/./fs
>    cp -p Makefile ../ocfs2-1.2.9/./fs/Makefile
> make -C ocfs2 dist-all \
>     DIST_CURDIR=./fs/ocfs2
> make[2]: Entering directory `/root/ocfs2-1.2.9/fs/ocfs2'
> /bin/sh ../../mkinstalldirs ../../ocfs2-1.2.9/./fs/ocfs2
> mkdir -p -- ../../ocfs2-1.2.9/./fs/ocfs2
>    cp -p Makefile ../../ocfs2-1.2.9/./fs/ocfs2/Makefile
>    cp -p aio.c ../../ocfs2-1.2.9/./fs/ocfs2/aio.c
>    cp -p alloc.c ../../ocfs2-1.2.9/./fs/ocfs2/alloc.c
>    cp -p aops.c ../../ocfs2-1.2.9/./fs/ocfs2/aops.c
>    cp -p buffer_head_io.c ../../ocfs2-1.2.9/./fs/ocfs2/buffer_head_io.c
>    cp -p dcache.c ../../ocfs2-1.2.9/./fs/ocfs2/dcache.c
>    cp -p dir.c ../../ocfs2-1.2.9/./fs/ocfs2/dir.c
>    cp -p dlmglue.c ../../ocfs2-1.2.9/./fs/ocfs2/dlmglue.c
>    cp -p export.c ../../ocfs2-1.2.9/./fs/ocfs2/export.c
>    cp -p extent_map.c ../../ocfs2-1.2.9/./fs/ocfs2/extent_map.c
>    cp -p file.c ../../ocfs2-1.2.9/./fs/ocfs2/file.c
>    cp -p heartbeat.c ../../ocfs2-1.2.9/./fs/ocfs2/heartbeat.c
>    cp -p inode.c ../../ocfs2-1.2.9/./fs/ocfs2/inode.c
>    cp -p journal.c ../../ocfs2-1.2.9/./fs/ocfs2/journal.c
>    cp -p localalloc.c ../../ocfs2-1.2.9/./fs/ocfs2/localalloc.c
>    cp -p mmap.c ../../ocfs2-1.2.9/./fs/ocfs2/mmap.c
>    cp -p namei.c ../../ocfs2-1.2.9/./fs/ocfs2/namei.c
>    cp -p proc.c ../../ocfs2-1.2.9/./fs/ocfs2/proc.c
>    cp -p slot_map.c ../../ocfs2-1.2.9/./fs/ocfs2/slot_map.c
>    cp -p suballoc.c ../../ocfs2-1.2.9/./fs/ocfs2/suballoc.c
>    cp -p super.c ../../ocfs2-1.2.9/./fs/ocfs2/super.c
>    cp -p symlink.c ../../ocfs2-1.2.9/./fs/ocfs2/symlink.c
>    cp -p sysfile.c ../../ocfs2-1.2.9/./fs/ocfs2/sysfile.c
>    cp -p uptodate.c ../../ocfs2-1.2.9/./fs/ocfs2/uptodate.c
>    cp -p ver.c ../../ocfs2-1.2.9/./fs/ocfs2/ver.c
>    cp -p vote.c ../../ocfs2-1.2.9/./fs/ocfs2/vote.c
>    cp -p ocfs2_fs.h ../../ocfs2-1.2.9/./fs/ocfs2/ocfs2_fs.h
>    cp -p ocfs1_fs_compat.h ../../ocfs2-1.2.9/./fs/ocfs2/ocfs1_fs_compat.h
>    cp -p ocfs2_lockid.h ../../ocfs2-1.2.9/./fs/ocfs2/ocfs2_lockid.h
>    cp -p ocfs2.h ../../ocfs2-1.2.9/./fs/ocfs2/ocfs2.h
>    cp -p buffer_head_io.h ../../ocfs2-1.2.9/./fs/ocfs2/buffer_head_io.h
>    cp -p aio.h ../../ocfs2-1.2.9/./fs/ocfs2/aio.h
>    cp -p alloc.h ../../ocfs2-1.2.9/./fs/ocfs2/alloc.h
>    cp -p dcache.h ../../ocfs2-1.2.9/./fs/ocfs2/dcache.h
>    cp -p dir.h ../../ocfs2-1.2.9/./fs/ocfs2/dir.h
>    cp -p dlmglue.h ../../ocfs2-1.2.9/./fs/ocfs2/dlmglue.h
>    cp -p endian.h ../../ocfs2-1.2.9/./fs/ocfs2/endian.h
>    cp -p export.h ../../ocfs2-1.2.9/./fs/ocfs2/export.h
>    cp -p extent_map.h ../../ocfs2-1.2.9/./fs/ocfs2/extent_map.h
>    cp -p file.h ../../ocfs2-1.2.9/./fs/ocfs2/file.h
>    cp -p heartbeat.h ../../ocfs2-1.2.9/./fs/ocfs2/heartbeat.h
>    cp -p inode.h ../../ocfs2-1.2.9/./fs/ocfs2/inode.h
>    cp -p journal.h ../../ocfs2-1.2.9/./fs/ocfs2/journal.h
>    cp -p localalloc.h ../../ocfs2-1.2.9/./fs/ocfs2/localalloc.h
>    cp -p mmap.h ../../ocfs2-1.2.9/./fs/ocfs2/mmap.h
>    cp -p namei.h ../../ocfs2-1.2.9/./fs/ocfs2/namei.h
>    cp -p proc.h ../../ocfs2-1.2.9/./fs/ocfs2/proc.h
>    cp -p slot_map.h ../../ocfs2-1.2.9/./fs/ocfs2/slot_map.h
>    cp -p suballoc.h ../../ocfs2-1.2.9/./fs/ocfs2/suballoc.h
>    cp -p super.h ../../ocfs2-1.2.9/./fs/ocfs2/super.h
>    cp -p symlink.h ../../ocfs2-1.2.9/./fs/ocfs2/symlink.h
>    cp -p sysfile.h ../../ocfs2-1.2.9/./fs/ocfs2/sysfile.h
>    cp -p uptodate.h ../../ocfs2-1.2.9/./fs/ocfs2/uptodate.h
>    cp -p ver.h ../../ocfs2-1.2.9/./fs/ocfs2/ver.h
>    cp -p vote.h ../../ocfs2-1.2.9/./fs/ocfs2/vote.h
>    cp -p aio.c ../../ocfs2-1.2.9/./fs/ocfs2/aio.c
>    cp -p alloc.c ../../ocfs2-1.2.9/./fs/ocfs2/alloc.c
>    cp -p aops.c ../../ocfs2-1.2.9/./fs/ocfs2/aops.c
>    cp -p buffer_head_io.c ../../ocfs2-1.2.9/./fs/ocfs2/buffer_head_io.c
>    cp -p dcache.c ../../ocfs2-1.2.9/./fs/ocfs2/dcache.c
>    cp -p dir.c ../../ocfs2-1.2.9/./fs/ocfs2/dir.c
>    cp -p dlmglue.c ../../ocfs2-1.2.9/./fs/ocfs2/dlmglue.c
>    cp -p export.c ../../ocfs2-1.2.9/./fs/ocfs2/export.c
>    cp -p extent_map.c ../../ocfs2-1.2.9/./fs/ocfs2/extent_map.c
>    cp -p file.c ../../ocfs2-1.2.9/./fs/ocfs2/file.c
>    cp -p heartbeat.c ../../ocfs2-1.2.9/./fs/ocfs2/heartbeat.c
>    cp -p inode.c ../../ocfs2-1.2.9/./fs/ocfs2/inode.c
>    cp -p journal.c ../../ocfs2-1.2.9/./fs/ocfs2/journal.c
>    cp -p localalloc.c ../../ocfs2-1.2.9/./fs/ocfs2/localalloc.c
>    cp -p mmap.c ../../ocfs2-1.2.9/./fs/ocfs2/mmap.c
>    cp -p namei.c ../../ocfs2-1.2.9/./fs/ocfs2/namei.c
>    cp -p proc.c ../../ocfs2-1.2.9/./fs/ocfs2/proc.c
>    cp -p slot_map.c ../../ocfs2-1.2.9/./fs/ocfs2/slot_map.c
>    cp -p suballoc.c ../../ocfs2-1.2.9/./fs/ocfs2/suballoc.c
>    cp -p super.c ../../ocfs2-1.2.9/./fs/ocfs2/super.c
>    cp -p symlink.c ../../ocfs2-1.2.9/./fs/ocfs2/symlink.c
>    cp -p sysfile.c ../../ocfs2-1.2.9/./fs/ocfs2/sysfile.c
>    cp -p uptodate.c ../../ocfs2-1.2.9/./fs/ocfs2/uptodate.c
>    cp -p ver.c ../../ocfs2-1.2.9/./fs/ocfs2/ver.c
>    cp -p vote.c ../../ocfs2-1.2.9/./fs/ocfs2/vote.c
>    cp -p ocfs2_fs.h ../../ocfs2-1.2.9/./fs/ocfs2/ocfs2_fs.h
>    cp -p ocfs1_fs_compat.h ../../ocfs2-1.2.9/./fs/ocfs2/ocfs1_fs_compat.h
>    cp -p ocfs2_lockid.h ../../ocfs2-1.2.9/./fs/ocfs2/ocfs2_lockid.h
>    cp -p ocfs2.h ../../ocfs2-1.2.9/./fs/ocfs2/ocfs2.h
>    cp -p buffer_head_io.h ../../ocfs2-1.2.9/./fs/ocfs2/buffer_head_io.h
>    cp -p aio.h ../../ocfs2-1.2.9/./fs/ocfs2/aio.h
>    cp -p alloc.h ../../ocfs2-1.2.9/./fs/ocfs2/alloc.h
>    cp -p dcache.h ../../ocfs2-1.2.9/./fs/ocfs2/dcache.h
>    cp -p dir.h ../../ocfs2-1.2.9/./fs/ocfs2/dir.h
>    cp -p dlmglue.h ../../ocfs2-1.2.9/./fs/ocfs2/dlmglue.h
>    cp -p endian.h ../../ocfs2-1.2.9/./fs/ocfs2/endian.h
>    cp -p export.h ../../ocfs2-1.2.9/./fs/ocfs2/export.h
>    cp -p extent_map.h ../../ocfs2-1.2.9/./fs/ocfs2/extent_map.h
>    cp -p file.h ../../ocfs2-1.2.9/./fs/ocfs2/file.h
>    cp -p heartbeat.h ../../ocfs2-1.2.9/./fs/ocfs2/heartbeat.h
>    cp -p inode.h ../../ocfs2-1.2.9/./fs/ocfs2/inode.h
>    cp -p journal.h ../../ocfs2-1.2.9/./fs/ocfs2/journal.h
>    cp -p localalloc.h ../../ocfs2-1.2.9/./fs/ocfs2/localalloc.h
>    cp -p mmap.h ../../ocfs2-1.2.9/./fs/ocfs2/mmap.h
>    cp -p namei.h ../../ocfs2-1.2.9/./fs/ocfs2/namei.h
>    cp -p proc.h ../../ocfs2-1.2.9/./fs/ocfs2/proc.h
>    cp -p slot_map.h ../../ocfs2-1.2.9/./fs/ocfs2/slot_map.h
>    cp -p suballoc.h ../../ocfs2-1.2.9/./fs/ocfs2/suballoc.h
>    cp -p super.h ../../ocfs2-1.2.9/./fs/ocfs2/super.h
>    cp -p symlink.h ../../ocfs2-1.2.9/./fs/ocfs2/symlink.h
>    cp -p sysfile.h ../../ocfs2-1.2.9/./fs/ocfs2/sysfile.h
>    cp -p uptodate.h ../../ocfs2-1.2.9/./fs/ocfs2/uptodate.h
>    cp -p ver.h ../../ocfs2-1.2.9/./fs/ocfs2/ver.h
>    cp -p vote.h ../../ocfs2-1.2.9/./fs/ocfs2/vote.h
> make -C cluster dist-all \
>     DIST_CURDIR=./fs/ocfs2/cluster
> make[3]: Entering directory `/root/ocfs2-1.2.9/fs/ocfs2/cluster'
> /bin/sh ../../../mkinstalldirs ../../../ocfs2-1.2.9/./fs/ocfs2/cluster
> mkdir -p -- ../../../ocfs2-1.2.9/./fs/ocfs2/cluster
>    cp -p Makefile ../../../ocfs2-1.2.9/./fs/ocfs2/cluster/Makefile
>    cp -p heartbeat.c ../../../ocfs2-1.2.9/./fs/ocfs2/cluster/heartbeat.c
>    cp -p masklog.c ../../../ocfs2-1.2.9/./fs/ocfs2/cluster/masklog.c
>    cp -p net_proc.c ../../../ocfs2-1.2.9/./fs/ocfs2/cluster/net_proc.c
>    cp -p nodemanager.c ../../../ocfs2-1.2.9/./fs/ocfs2/cluster/nodemanager.c
>    cp -p quorum.c ../../../ocfs2-1.2.9/./fs/ocfs2/cluster/quorum.c
>    cp -p tcp.c ../../../ocfs2-1.2.9/./fs/ocfs2/cluster/tcp.c
>    cp -p ver.c ../../../ocfs2-1.2.9/./fs/ocfs2/cluster/ver.c
>    cp -p endian.h ../../../ocfs2-1.2.9/./fs/ocfs2/cluster/endian.h
>    cp -p heartbeat.h ../../../ocfs2-1.2.9/./fs/ocfs2/cluster/heartbeat.h
>    cp -p masklog.h ../../../ocfs2-1.2.9/./fs/ocfs2/cluster/masklog.h
>    cp -p nodemanager.h ../../../ocfs2-1.2.9/./fs/ocfs2/cluster/nodemanager.h
>    cp -p ocfs2_heartbeat.h
> ../../../ocfs2-1.2.9/./fs/ocfs2/cluster/ocfs2_heartbeat.h
>    cp -p ocfs2_nodemanager.h
> ../../../ocfs2-1.2.9/./fs/ocfs2/cluster/ocfs2_nodemanager.h
>    cp -p quorum.h ../../../ocfs2-1.2.9/./fs/ocfs2/cluster/quorum.h
>    cp -p tcp.h ../../../ocfs2-1.2.9/./fs/ocfs2/cluster/tcp.h
>    cp -p tcp_internal.h
> ../../../ocfs2-1.2.9/./fs/ocfs2/cluster/tcp_internal.h
>    cp -p ver.h ../../../ocfs2-1.2.9/./fs/ocfs2/cluster/ver.h
>    cp -p heartbeat.c ../../../ocfs2-1.2.9/./fs/ocfs2/cluster/heartbeat.c
>    cp -p masklog.c ../../../ocfs2-1.2.9/./fs/ocfs2/cluster/masklog.c
>    cp -p net_proc.c ../../../ocfs2-1.2.9/./fs/ocfs2/cluster/net_proc.c
>    cp -p nodemanager.c ../../../ocfs2-1.2.9/./fs/ocfs2/cluster/nodemanager.c
>    cp -p quorum.c ../../../ocfs2-1.2.9/./fs/ocfs2/cluster/quorum.c
>    cp -p tcp.c ../../../ocfs2-1.2.9/./fs/ocfs2/cluster/tcp.c
>    cp -p ver.c ../../../ocfs2-1.2.9/./fs/ocfs2/cluster/ver.c
>    cp -p endian.h ../../../ocfs2-1.2.9/./fs/ocfs2/cluster/endian.h
>    cp -p heartbeat.h ../../../ocfs2-1.2.9/./fs/ocfs2/cluster/heartbeat.h
>    cp -p masklog.h ../../../ocfs2-1.2.9/./fs/ocfs2/cluster/masklog.h
>    cp -p nodemanager.h ../../../ocfs2-1.2.9/./fs/ocfs2/cluster/nodemanager.h
>    cp -p ocfs2_heartbeat.h
> ../../../ocfs2-1.2.9/./fs/ocfs2/cluster/ocfs2_heartbeat.h
>    cp -p ocfs2_nodemanager.h
> ../../../ocfs2-1.2.9/./fs/ocfs2/cluster/ocfs2_nodemanager.h
>    cp -p quorum.h ../../../ocfs2-1.2.9/./fs/ocfs2/cluster/quorum.h
>    cp -p tcp.h ../../../ocfs2-1.2.9/./fs/ocfs2/cluster/tcp.h
>    cp -p tcp_internal.h
> ../../../ocfs2-1.2.9/./fs/ocfs2/cluster/tcp_internal.h
>    cp -p ver.h ../../../ocfs2-1.2.9/./fs/ocfs2/cluster/ver.h
> make[3]: Leaving directory `/root/ocfs2-1.2.9/fs/ocfs2/cluster'
> make -C dlm dist-all \
>     DIST_CURDIR=./fs/ocfs2/dlm
> make[3]: Entering directory `/root/ocfs2-1.2.9/fs/ocfs2/dlm'
> /bin/sh ../../../mkinstalldirs ../../../ocfs2-1.2.9/./fs/ocfs2/dlm
> mkdir -p -- ../../../ocfs2-1.2.9/./fs/ocfs2/dlm
>    cp -p Makefile ../../../ocfs2-1.2.9/./fs/ocfs2/dlm/Makefile
>    cp -p dlmdebug.c ../../../ocfs2-1.2.9/./fs/ocfs2/dlm/dlmdebug.c
>    cp -p dlmdomain.c ../../../ocfs2-1.2.9/./fs/ocfs2/dlm/dlmdomain.c
>    cp -p dlmmaster.c ../../../ocfs2-1.2.9/./fs/ocfs2/dlm/dlmmaster.c
>    cp -p dlmast.c ../../../ocfs2-1.2.9/./fs/ocfs2/dlm/dlmast.c
>    cp -p dlmconvert.c ../../../ocfs2-1.2.9/./fs/ocfs2/dlm/dlmconvert.c
>    cp -p dlmlock.c ../../../ocfs2-1.2.9/./fs/ocfs2/dlm/dlmlock.c
>    cp -p dlmunlock.c ../../../ocfs2-1.2.9/./fs/ocfs2/dlm/dlmunlock.c
>    cp -p dlmrecovery.c ../../../ocfs2-1.2.9/./fs/ocfs2/dlm/dlmrecovery.c
>    cp -p dlmthread.c ../../../ocfs2-1.2.9/./fs/ocfs2/dlm/dlmthread.c
>    cp -p dlmver.c ../../../ocfs2-1.2.9/./fs/ocfs2/dlm/dlmver.c
>    cp -p userdlm.c ../../../ocfs2-1.2.9/./fs/ocfs2/dlm/userdlm.c
>    cp -p dlmfs.c ../../../ocfs2-1.2.9/./fs/ocfs2/dlm/dlmfs.c
>    cp -p dlmfsver.c ../../../ocfs2-1.2.9/./fs/ocfs2/dlm/dlmfsver.c
>    cp -p dlmdebug.h ../../../ocfs2-1.2.9/./fs/ocfs2/dlm/dlmdebug.h
>    cp -p dlmconvert.h ../../../ocfs2-1.2.9/./fs/ocfs2/dlm/dlmconvert.h
>    cp -p dlmdomain.h ../../../ocfs2-1.2.9/./fs/ocfs2/dlm/dlmdomain.h
>    cp -p dlmcommon.h ../../../ocfs2-1.2.9/./fs/ocfs2/dlm/dlmcommon.h
>    cp -p dlmapi.h ../../../ocfs2-1.2.9/./fs/ocfs2/dlm/dlmapi.h
>    cp -p userdlm.h ../../../ocfs2-1.2.9/./fs/ocfs2/dlm/userdlm.h
>    cp -p dlmver.h ../../../ocfs2-1.2.9/./fs/ocfs2/dlm/dlmver.h
>    cp -p dlmfsver.h ../../../ocfs2-1.2.9/./fs/ocfs2/dlm/dlmfsver.h
>    cp -p dlmdebug.c ../../../ocfs2-1.2.9/./fs/ocfs2/dlm/dlmdebug.c
>    cp -p dlmdomain.c ../../../ocfs2-1.2.9/./fs/ocfs2/dlm/dlmdomain.c
>    cp -p dlmmaster.c ../../../ocfs2-1.2.9/./fs/ocfs2/dlm/dlmmaster.c
>    cp -p dlmast.c ../../../ocfs2-1.2.9/./fs/ocfs2/dlm/dlmast.c
>    cp -p dlmconvert.c ../../../ocfs2-1.2.9/./fs/ocfs2/dlm/dlmconvert.c
>    cp -p dlmlock.c ../../../ocfs2-1.2.9/./fs/ocfs2/dlm/dlmlock.c
>    cp -p dlmunlock.c ../../../ocfs2-1.2.9/./fs/ocfs2/dlm/dlmunlock.c
>    cp -p dlmrecovery.c ../../../ocfs2-1.2.9/./fs/ocfs2/dlm/dlmrecovery.c
>    cp -p dlmthread.c ../../../ocfs2-1.2.9/./fs/ocfs2/dlm/dlmthread.c
>    cp -p dlmver.c ../../../ocfs2-1.2.9/./fs/ocfs2/dlm/dlmver.c
>    cp -p userdlm.c ../../../ocfs2-1.2.9/./fs/ocfs2/dlm/userdlm.c
>    cp -p dlmfs.c ../../../ocfs2-1.2.9/./fs/ocfs2/dlm/dlmfs.c
>    cp -p dlmfsver.c ../../../ocfs2-1.2.9/./fs/ocfs2/dlm/dlmfsver.c
>    cp -p dlmdebug.h ../../../ocfs2-1.2.9/./fs/ocfs2/dlm/dlmdebug.h
>    cp -p dlmconvert.h ../../../ocfs2-1.2.9/./fs/ocfs2/dlm/dlmconvert.h
>    cp -p dlmdomain.h ../../../ocfs2-1.2.9/./fs/ocfs2/dlm/dlmdomain.h
>    cp -p dlmcommon.h ../../../ocfs2-1.2.9/./fs/ocfs2/dlm/dlmcommon.h
>    cp -p dlmapi.h ../../../ocfs2-1.2.9/./fs/ocfs2/dlm/dlmapi.h
>    cp -p userdlm.h ../../../ocfs2-1.2.9/./fs/ocfs2/dlm/userdlm.h
>    cp -p dlmver.h ../../../ocfs2-1.2.9/./fs/ocfs2/dlm/dlmver.h
>    cp -p dlmfsver.h ../../../ocfs2-1.2.9/./fs/ocfs2/dlm/dlmfsver.h
> make[3]: Leaving directory `/root/ocfs2-1.2.9/fs/ocfs2/dlm'
> make[2]: Leaving directory `/root/ocfs2-1.2.9/fs/ocfs2'
> make -C debugfs dist-all \
>     DIST_CURDIR=./fs/debugfs
> make[2]: Entering directory `/root/ocfs2-1.2.9/fs/debugfs'
> /bin/sh ../../mkinstalldirs ../../ocfs2-1.2.9/./fs/debugfs
> mkdir -p -- ../../ocfs2-1.2.9/./fs/debugfs
> ../../mkinstalldirs ../../ocfs2-1.2.9/./fs/debugfs/include/linux
> mkdir -p -- ../../ocfs2-1.2.9/./fs/debugfs/include/linux
>    cp -p Makefile ../../ocfs2-1.2.9/./fs/debugfs/Makefile
>    cp -p file.c ../../ocfs2-1.2.9/./fs/debugfs/file.c
>    cp -p inode.c ../../ocfs2-1.2.9/./fs/debugfs/inode.c
>    cp -p debugfs_compat.c ../../ocfs2-1.2.9/./fs/debugfs/debugfs_compat.c
>    cp -p include/linux/debugfs.h
> ../../ocfs2-1.2.9/./fs/debugfs/include/linux/debugfs.h
>    cp -p debugfs_compat.h ../../ocfs2-1.2.9/./fs/debugfs/debugfs_compat.h
> make[2]: Leaving directory `/root/ocfs2-1.2.9/fs/debugfs'
> make -C configfs dist-all \
>     DIST_CURDIR=./fs/configfs
> make[2]: Entering directory `/root/ocfs2-1.2.9/fs/configfs'
> /bin/sh ../../mkinstalldirs ../../ocfs2-1.2.9/./fs/configfs
> mkdir -p -- ../../ocfs2-1.2.9/./fs/configfs
>    cp -p Makefile ../../ocfs2-1.2.9/./fs/configfs/Makefile
>    cp -p dir.c ../../ocfs2-1.2.9/./fs/configfs/dir.c
>    cp -p file.c ../../ocfs2-1.2.9/./fs/configfs/file.c
>    cp -p inode.c ../../ocfs2-1.2.9/./fs/configfs/inode.c
>    cp -p item.c ../../ocfs2-1.2.9/./fs/configfs/item.c
>    cp -p mount.c ../../ocfs2-1.2.9/./fs/configfs/mount.c
>    cp -p symlink.c ../../ocfs2-1.2.9/./fs/configfs/symlink.c
>    cp -p configfs_example.c
> ../../ocfs2-1.2.9/./fs/configfs/configfs_example.c
>    cp -p bobtest.c ../../ocfs2-1.2.9/./fs/configfs/bobtest.c
>    cp -p configfs_internal.h
> ../../ocfs2-1.2.9/./fs/configfs/configfs_internal.h
>    cp -p configfs.txt ../../ocfs2-1.2.9/./fs/configfs/configfs.txt
> make[2]: Leaving directory `/root/ocfs2-1.2.9/fs/configfs'
> make[1]: Leaving directory `/root/ocfs2-1.2.9/fs'
> make -C vendor dist-all \
>     DIST_CURDIR=./vendor
> make[1]: Entering directory `/root/ocfs2-1.2.9/vendor'
> /bin/sh ../mkinstalldirs ../ocfs2-1.2.9/./vendor
> mkdir -p -- ../ocfs2-1.2.9/./vendor
>    cp -p Makefile ../ocfs2-1.2.9/./vendor/Makefile
> make -C ax2 dist-all \
>     DIST_CURDIR=./vendor/ax2
> make[2]: Entering directory `/root/ocfs2-1.2.9/vendor/ax2'
> /bin/sh ../../mkinstalldirs ../../ocfs2-1.2.9/./vendor/ax2
> mkdir -p -- ../../ocfs2-1.2.9/./vendor/ax2
>    cp -p Makefile ../../ocfs2-1.2.9/./vendor/ax2/Makefile
>    cp -p ocfs2.spec-generic.in
> ../../ocfs2-1.2.9/./vendor/ax2/ocfs2.spec-generic.in
>    cp -p kernel.guess ../../ocfs2-1.2.9/./vendor/ax2/kernel.guess
>    cp -p rpmarch.guess ../../ocfs2-1.2.9/./vendor/ax2/rpmarch.guess
>    cp -p Vendor.make ../../ocfs2-1.2.9/./vendor/ax2/Vendor.make
>    cp -p vendor.guess ../../ocfs2-1.2.9/./vendor/ax2/vendor.guess
> make[2]: Leaving directory `/root/ocfs2-1.2.9/vendor/ax2'
> make -C rhel4 dist-all \
>     DIST_CURDIR=./vendor/rhel4
> make[2]: Entering directory `/root/ocfs2-1.2.9/vendor/rhel4'
> /bin/sh ../../mkinstalldirs ../../ocfs2-1.2.9/./vendor/rhel4
> mkdir -p -- ../../ocfs2-1.2.9/./vendor/rhel4
>    cp -p Makefile ../../ocfs2-1.2.9/./vendor/rhel4/Makefile
>    cp -p ocfs2.spec-generic.in
> ../../ocfs2-1.2.9/./vendor/rhel4/ocfs2.spec-generic.in
>    cp -p kernel.guess ../../ocfs2-1.2.9/./vendor/rhel4/kernel.guess
>    cp -p rpmarch.guess ../../ocfs2-1.2.9/./vendor/rhel4/rpmarch.guess
>    cp -p Vendor.make ../../ocfs2-1.2.9/./vendor/rhel4/Vendor.make
>    cp -p vendor.guess ../../ocfs2-1.2.9/./vendor/rhel4/vendor.guess
> make[2]: Leaving directory `/root/ocfs2-1.2.9/vendor/rhel4'
> make -C sles9 dist-all \
>     DIST_CURDIR=./vendor/sles9
> make[2]: Entering directory `/root/ocfs2-1.2.9/vendor/sles9'
> /bin/sh ../../mkinstalldirs ../../ocfs2-1.2.9/./vendor/sles9
> mkdir -p -- ../../ocfs2-1.2.9/./vendor/sles9
>    cp -p Makefile ../../ocfs2-1.2.9/./vendor/sles9/Makefile
>    cp -p ocfs2.spec-generic.in
> ../../ocfs2-1.2.9/./vendor/sles9/ocfs2.spec-generic.in
>    cp -p kernel.guess ../../ocfs2-1.2.9/./vendor/sles9/kernel.guess
>    cp -p rpmarch.guess ../../ocfs2-1.2.9/./vendor/sles9/rpmarch.guess
>    cp -p Vendor.make ../../ocfs2-1.2.9/./vendor/sles9/Vendor.make
>    cp -p vendor.guess ../../ocfs2-1.2.9/./vendor/sles9/vendor.guess
> make[2]: Leaving directory `/root/ocfs2-1.2.9/vendor/sles9'
> make -C rhel5 dist-all \
>     DIST_CURDIR=./vendor/rhel5
> make[2]: Entering directory `/root/ocfs2-1.2.9/vendor/rhel5'
> /bin/sh ../../mkinstalldirs ../../ocfs2-1.2.9/./vendor/rhel5
> mkdir -p -- ../../ocfs2-1.2.9/./vendor/rhel5
>    cp -p Makefile ../../ocfs2-1.2.9/./vendor/rhel5/Makefile
>    cp -p ocfs2.spec-generic.in
> ../../ocfs2-1.2.9/./vendor/rhel5/ocfs2.spec-generic.in
>    cp -p kernel.guess ../../ocfs2-1.2.9/./vendor/rhel5/kernel.guess
>    cp -p rpmarch.guess ../../ocfs2-1.2.9/./vendor/rhel5/rpmarch.guess
>    cp -p Vendor.make ../../ocfs2-1.2.9/./vendor/rhel5/Vendor.make
>    cp -p vendor.guess ../../ocfs2-1.2.9/./vendor/rhel5/vendor.guess
> make[2]: Leaving directory `/root/ocfs2-1.2.9/vendor/rhel5'
> make -C suse-kmp dist-all \
>     DIST_CURDIR=./vendor/suse-kmp
> make[2]: Entering directory `/root/ocfs2-1.2.9/vendor/suse-kmp'
> /bin/sh ../../mkinstalldirs ../../ocfs2-1.2.9/./vendor/suse-kmp
> mkdir -p -- ../../ocfs2-1.2.9/./vendor/suse-kmp
>    cp -p Makefile ../../ocfs2-1.2.9/./vendor/suse-kmp/Makefile
>    cp -p ocfs2.spec-generic.in
> ../../ocfs2-1.2.9/./vendor/suse-kmp/ocfs2.spec-generic.in
>    cp -p rpmarch.guess ../../ocfs2-1.2.9/./vendor/suse-kmp/rpmarch.guess
>    cp -p Vendor.make ../../ocfs2-1.2.9/./vendor/suse-kmp/Vendor.make
>    cp -p vendor.guess ../../ocfs2-1.2.9/./vendor/suse-kmp/vendor.guess
> make[2]: Leaving directory `/root/ocfs2-1.2.9/vendor/suse-kmp'
> make[1]: Leaving directory `/root/ocfs2-1.2.9/vendor'
> GZIP=--best tar chozf ./ocfs2-1.2.9.tar.gz ./ocfs2-1.2.9
> make dist-bye
> make[1]: Entering directory `/root/ocfs2-1.2.9'
> rm -rf ./ocfs2-1.2.9
> make[1]: Leaving directory `/root/ocfs2-1.2.9'
> SPECVER="vendor/rhel4/ocfs2-2.6.9-89.33.1.EL.spec"; \
>           SPECVER="${SPECVER#*ocfs2-}"; \
>           SPECVER="${SPECVER%.spec}"; \
>           SUBVER="${SPECVER#2.6.9-}"; \
>           SUBVER="${SUBVER%%.*}"; \
>           if [ "${SUBVER}" -lt 34 ]; \
>           then \
>                   LARGESMP=0; \
>           else \
>                   LARGESMP=0; \
>           fi; \
>           if [ "${SUBVER}" -lt 55 ]; \
>           then \
>                   XENU=0; \
>           else \
>                   XENU=0; \
>           fi; \
>           sed -e 's/@@KVER@@/'${SPECVER}'/' -e
> 's/@@PKG_VERSION@@/'0.local'/' -e 's/@@LARGESMP@@/'${LARGESMP}'/' -e
> 's/@@XENU@@/'${XENU}'/' -e 's/@@DONT_STRIP@@/'0'/'<
> vendor/rhel4/ocfs2.spec-generic>  vendor/rhel4/ocfs2-2.6.9-89.33.1.EL.spec
> rpmbuild -bs --define "_sourcedir ." --define "_srcrpmdir ."
> ./vendor/rhel4/ocfs2-2.6.9-89.33.1.EL.spec
> Wrote: ./ocfs2-1.2.9-0.local.el4.src.rpm
> rpmbuild --rebuild  "ocfs2-2.6.9-89.33.1.EL-1.2.9-0.local.el4.src.rpm"
> error: cannot open ocfs2-2.6.9-89.33.1.EL-1.2.9-0.local.el4.src.rpm: No
> such file or directory
> make: *** [rhel4_2.6.9-89.33.1.EL_rpm] Error 1
> rm vendor/rhel4/ocfs2-2.6.9-89.33.1.EL.spec
> [root at rhbuild64 ocfs2-1.2.9]#
>
> _______________________________________________
> Ocfs2-users mailing list
> Ocfs2-users at oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs2-users




More information about the Ocfs2-users mailing list