You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by Andrzej <bo...@wp.pl> on 2017/09/14 10:36:19 UTC

Couldn't get dependency '//third-party:folly'

On Mint I can rebuild native client, but on new environment, Ubuntu:
sudo ./bin/start-docker.sh
buck build //core:core

it says:
BUILD FAILED: Couldn't get dependency '//third-party:folly' of target 
'//core:core':
No build file at third-party/BUCK when resolving target //third-party:folly.


Re: Couldn't get dependency '//third-party:folly'

Posted by Andrzej <bo...@wp.pl>.
W dniu 14.09.2017 o 12:36, Andrzej pisze:
> On Mint I can rebuild native client, but on new environment, Ubuntu:
> sudo ./bin/start-docker.sh
> buck build //core:core
> 
> it says:
> BUILD FAILED: Couldn't get dependency '//third-party:folly' of target 
> '//core:core':
> No build file at third-party/BUCK when resolving target 
> //third-party:folly.

And directory is small: <200 MB instead of 3.6 GB in previous Linux

Re: Couldn't get dependency '//third-party:folly'

Posted by Andrzej <bo...@wp.pl>.
W dniu 14.09.2017 o 14:12, Ted Yu pisze:
> Please check that hbase-native-client/third-party/BUCK has the following:
> 
> folly = add_system_libs(
>      ['folly'],
>      lib_dir='/usr/local/lib',
>      exported_deps=tp_dep_rules,)
> 
> The folly lib is built when docker is built.

Now compiling, it seems that `sudo ./bin/start-docker.sh` is not enough.
Now I have add user to docker group and restarted docker before calling 
start-docker.sh

Re: Couldn't get dependency '//third-party:folly'

Posted by Ted Yu <yu...@gmail.com>.
Please check that hbase-native-client/third-party/BUCK has the following:

folly = add_system_libs(
    ['folly'],
    lib_dir='/usr/local/lib',
    exported_deps=tp_dep_rules,)

The folly lib is built when docker is built.

On Thu, Sep 14, 2017 at 3:36 AM, Andrzej <bo...@wp.pl> wrote:

> On Mint I can rebuild native client, but on new environment, Ubuntu:
> sudo ./bin/start-docker.sh
> buck build //core:core
>
> it says:
> BUILD FAILED: Couldn't get dependency '//third-party:folly' of target
> '//core:core':
> No build file at third-party/BUCK when resolving target
> //third-party:folly.
>
>