From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from aserp1040.oracle.com ([141.146.126.69]:47540 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755219Ab3ANDgO (ORCPT ); Sun, 13 Jan 2013 22:36:14 -0500 Message-ID: <50F37E8D.3070107@oracle.com> Date: Mon, 14 Jan 2013 11:42:05 +0800 From: Anand Jain MIME-Version: 1.0 To: Mark Fasheh 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 References: <1357681304-2978-1-git-send-email-mfasheh@suse.de> <1357681304-2978-3-git-send-email-mfasheh@suse.de> <50EFDBDD.1040104@oracle.com> <20130111230058.GN12558@wotan.suse.de> In-Reply-To: <20130111230058.GN12558@wotan.suse.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Sender: linux-btrfs-owner@vger.kernel.org List-ID: 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... > > 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 > > 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 >