On Sun, Oct 23, 2011 at 10:12 PM, Bruno Mahé <[email protected]> wrote:
> Yes, "make deb" should build all the debs for you and put them under output/
> make apt is to make an apt repository out of deb you already have built.
> And no need to use sudo for building packages.
>
> Regarding your issue with pig, it looks like
> /home/user/java/bigtop-0.1.0-incubating/build/pig//deb/hadoop-pig_0.9.0.orig.tar.gz
> is not a valid archive.
> Could you check that
> /home/user/java/bigtop-0.1.0-incubating/dl/pig-0.9.0.tar.gz is a valid
> archive and has been successfully downloaded? It looks like the tarball on
> apache mirror has been archived and replaced by their latest and greatest
> version.

Filed BIGTOP-153 to make the build more user friendly in this respect,
this has bitten me as well.

> So pig's download URL may need to be updated. To do so, you just need to
> edit the variable PIG_SITE  in bigtop.mk. From the top on my head, something
> like: PIG_SITE=$(APACHE_ARCHIVE)/pig/pig-$(PIG_BASE_VERSION)/
>
> Don't hesitate to let me know if you encounter any other issues.
>
> Thanks,
> Bruno
>
>
> On 10/23/2011 09:27 PM, Stephen Boesch wrote:
>
> looks like that got as far as one can expect:  it failed on building pig
> (after having completed zookeeper and hbase): but the release notes seem to
> indicate this were an expected error
>
> touch /home/user/java/bigtop-0.1.0-incubating/build/pig//.download
> rm -rf /home/user/java/bigtop-0.1.0-incubating/build/pig//deb/
> mkdir -p /home/user/java/bigtop-0.1.0-incubating/build/pig//deb/pig-0.9.0
> cp /home/user/java/bigtop-0.1.0-incubating/dl/pig-0.9.0.tar.gz
> /home/user/java/bigtop-0.1.0-incubating/build/pig//deb/hadoop-pig_0.9.0.orig.tar.gz
> cd /home/user/java/bigtop-0.1.0-incubating/build/pig//deb/pig-0.9.0 && \
>  tar --strip-components 1 -xvf ../hadoop-pig_0.9.0.orig.tar.gz
> tar: This does not look like a tar archive
>
> Now I just looked into the Makefile and yes it seems that "make deb" were
> the proper thing to have done. The README did not 'read' exactly that way --
> thus my initial confusion.
> Is there a workaround for the pig build failure?
> 2011/10/23 Stephen Boesch <[email protected]>
>>
>> i'm trying "sudo make deb" and it is going farther
>>
>> 2011/10/23 Stephen Boesch <[email protected]>
>>>
>>> Hi,
>>>   I'm confused on the target we are supposed to run to build "all"  under
>>> ubuntu.  After trying various combinations such as  "make all deb" that did
>>> not work I settled on "make apt" which went pretty far in building/deploying
>>> the core hadoop packages.
>>>
>>> But after building the hadoop packages ~8 minutes the build failed at the
>>> following:
>>> ...
>>> mkdir -p /home/user/java/bigtop-0.1.0-incubating/output/apt/conf
>>> cp /home/user/java/bigtop-0.1.0-incubating/src/repos/distributions
>>> /home/user/java/bigtop-0.1.0-incubating/output/apt/conf
>>> for i in
>>> /home/user/java/bigtop-0.1.0-incubating/output/hadoop/hadoop_0.20.2*.changes
>>> ; do reprepro -Vb /home/user/java/bigtop-0.1.0-incubating/output/apt include
>>> bigtop $i ; done
>>> Error parsing config file
>>> /home/user/java/bigtop-0.1.0-incubating/output/apt/conf/distributions, line
>>> 2:
>>> Required field 'Architectures' expected (since line 1).
>>> There have been errors!
>>> Error parsing config file
>>> /home/user/java/bigtop-0.1.0-incubating/output/apt/conf/distributions, line
>>> 2:
>>> Required field 'Architectures' expected (since line 1).
>>> There have been errors!
>>> make: *** [/home/user/java/bigtop-0.1.0-incubating/build/hadoop//.apt]
>>> Error 249
>>> user@ubuntu1:~/java/bigtop-0.1.0-incubating$ vi
>>> /home/user/java/bigtop-0.1.0-incubating/output/apt/conf/distributions
>>
>
>
>

Reply via email to