Mark,

 Its bit strange, the steps given before can reproduce
 the problem still on my older workspace. However when
 I try with the fresh clone, it can reproduce the issue
 (4 times, consistently) only with the following (new)
 steps..

-----------------
# git clone git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git

# cd btrfs-progs/
# make version; make install
::
# git am ../../../patch/libbtrfs/*
Applying: btrfs-progs: Add support for BTRFS_SEND_FLAG_NO_FILE_DATA
Applying: btrfs-progs: libify some parts of btrfs-progs
Applying: btrfs-progs: add send-test
/usr/src/cli/tmp/tmp7/btrfs-progs/.git/rebase-apply/patch:39: trailing whitespace.
 * This code is adapted from cmds-send.c and cmds-receive.c,
warning: 1 line adds whitespace errors.

# make install  (the problem does not happen for: 'make; make install')
::
install -m755 -d /usr/local/bin
install btrfsctl mkfs.btrfs btrfs-debug-tree btrfs-show btrfs-vol btrfsck btrfs btrfs-map-logical btrfs-image btrfs-zero-log btrfs-convert btrfs-find-root btrfs-restore btrfstune /usr/local/bin
install -m755 -d /usr/local/lib
install libbtrfs.so.1.0 libbtrfs.so.1 libbtrfs.so /usr/local/lib
install: cannot stat `libbtrfs.so.1.0': No such file or directory
install: cannot stat `libbtrfs.so.1': No such file or directory
install: cannot stat `libbtrfs.so': No such file or directory
make: *** [install] Error 1
#
----------------


Thanks, Anand


On 01/12/2013 07:00 AM, Mark Fasheh wrote:
On Fri, Jan 11, 2013 at 05:31:09PM +0800, Anand Jain wrote:

Mark,

test case :
  make (Do not run make all)
  make install
Thanks for testing!

generates the following error..

install -m755 -d /usr/local/lib
install libbtrfs.so.1.0 libbtrfs.so.1 libbtrfs.so /usr/local/lib
install: cannot stat `libbtrfs.so.1.0': No such file or directory
install: cannot stat `libbtrfs.so.1': No such file or directory
install: cannot stat `libbtrfs.so': No such file or directory
make: *** [install] Error 1

Ok, that's weird because this works fine for me. Just in case, I tried
against a clean checkout of btrfs-progs and with the patches taken from the
mailing list:

mfasheh@eris:/build/mfasheh/tmp> git clone 
git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git
Cloning into btrfs-progs...
<snip>
mfasheh@eris:/build/mfasheh/tmp> cd btrfs-progs/
mfasheh@eris:/build/mfasheh/tmp/btrfs-progs> git am ../to-apply
Applying: btrfs-progs: Add support for BTRFS_SEND_FLAG_NO_FILE_DATA
Applying: btrfs-progs: libify some parts of btrfs-progs
Applying: btrfs-progs: add send-test
/build/mfasheh/tmp/btrfs-progs/.git/rebase-apply/patch:39: trailing
whitespace.
  * This code is adapted from cmds-send.c and cmds-receive.c,
warning: 1 line adds whitespace errors.
mfasheh@eris:/build/mfasheh/tmp/btrfs-progs> make
<snip, but suffice to say it builds>
mfasheh@eris:/build/mfasheh/tmp/btrfs-progs> mkdir tmpinst
mfasheh@eris:/build/mfasheh/tmp/btrfs-progs> make prefix=tmpinst install
cd man; make install
make[1]: Entering directory `/build/mfasheh/tmp/btrfs-progs/man'
install -m755 -d tmpinst/man/man8
install -m 644 mkfs.btrfs.8.gz btrfsctl.8.gz btrfsck.8.gz btrfs-image.8.gz
btrfs-show.8.gz btrfs.8.gz tmpinst/man/man8
make[1]: Leaving directory `/build/mfasheh/tmp/btrfs-progs/man'
install -m755 -d tmpinst/bin
install btrfsctl mkfs.btrfs btrfs-debug-tree btrfs-show btrfs-vol btrfsck
btrfs btrfs-map-logical btrfs-image btrfs-zero-log btrfs-convert
btrfs-find-root btrfs-restor
install -m755 -d tmpinst/lib
install libbtrfs.so.1.0 libbtrfs.so.1 libbtrfs.so tmpinst/lib
install -m755 -d tmpinst/include/btrfs
install send-stream.h send-utils.h send.h rbtree.h btrfs-list.h crc32c.h
list.h kerncompat.h radix-tree.h extent-cache.h extent_io.h ioctl.h ctree.h
tmpinst/include/btrfs


Can you take a log of the build process and send that to me. If libbtrfs
isn't building on your end for some reason than that would be why it won't
install.

Thanks again for testing this Anand!
        --Mark

--
Mark Fasheh
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to