From: Anand Jain <Anand.Jain@oracle.com>
To: Mark Fasheh <mfasheh@suse.de>
Cc: chris.mason@fusionio.com, linux-btrfs@vger.kernel.org,
ablock84@googlemail.com
Subject: Re: [PATCH 2/3] btrfs-progs: libify some parts of btrfs-progs
Date: Mon, 14 Jan 2013 11:42:05 +0800 [thread overview]
Message-ID: <50F37E8D.3070107@oracle.com> (raw)
In-Reply-To: <20130111230058.GN12558@wotan.suse.de>
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 majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
next prev parent reply other threads:[~2013-01-14 3:36 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-08 21:41 [PATCH 0/3] btrfs-progs: better support for external users of send Mark Fasheh
2013-01-08 21:41 ` [PATCH 1/3] btrfs-progs: Add support for BTRFS_SEND_FLAG_NO_FILE_DATA Mark Fasheh
2013-01-08 21:41 ` [PATCH 2/3] btrfs-progs: libify some parts of btrfs-progs Mark Fasheh
2013-01-11 9:31 ` Anand Jain
2013-01-11 23:00 ` Mark Fasheh
2013-01-14 3:42 ` Anand Jain [this message]
2013-01-14 18:16 ` Mark Fasheh
2013-01-14 22:27 ` Mark Fasheh
2013-01-14 3:43 ` Anand Jain
2013-01-14 18:10 ` Mark Fasheh
2013-01-15 8:06 ` Anand Jain
2013-01-16 22:11 ` Mark Fasheh
2013-01-14 14:18 ` Arvin Schnell
2013-01-14 18:14 ` Mark Fasheh
2013-01-14 22:26 ` Arvin Schnell
2013-01-15 12:46 ` Ilya Dryomov
2013-01-15 13:26 ` Arvin Schnell
2013-01-08 21:41 ` [PATCH 3/3] btrfs-progs: add send-test Mark Fasheh
2013-01-11 9:28 ` Anand Jain
2013-01-11 23:02 ` Mark Fasheh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50F37E8D.3070107@oracle.com \
--to=anand.jain@oracle.com \
--cc=ablock84@googlemail.com \
--cc=chris.mason@fusionio.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=mfasheh@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).