[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15084005#comment-15084005
 ] 

Chris Nauroth commented on ZOOKEEPER-2352:
------------------------------------------

[~wding], sorry, I should clarify that the patches I referenced in my last 
response are not committed.  You won't see them in a fresh checkout of the 
latest trunk.  You would have to apply those patches manually yourself to test 
them.

bq. The ZOOKEEPER-1604 sounds interesting. Could you send me some links to this 
project? I'd like to test it.

The proposal in ZOOKEEPER-1604 is that the ZooKeeper project stops doing its 
own rpm and deb packaging.  The job of packaging would be moved to external 
projects, such as BigTop.  (See bigtop.apache.org.)

> rpm build broke
> ---------------
>
>                 Key: ZOOKEEPER-2352
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2352
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 3.5.1
>         Environment: ubuntu 15.10
>            Reporter: Wenjie Ding
>             Fix For: 3.5.1
>
>   Original Estimate: 10h
>  Remaining Estimate: 10h
>
> rpm ‘cd’ to the BUILD directory, delete the directory it just ‘cd’ to.  What 
> was going on from that point was that it called some script which was loading 
> /bin/bash and crashed since ‘getcwd’ cannot access the parent directory which 
> had been deleted.
> build output messages;
> ...
>       [rpm] + cd /tmp/zkpython_build_root/BUILD
>       [rpm] + '[' /tmp/zkpython_build_root/BUILD '!=' / ']'
>       [rpm] + rm -rf /tmp/zkpython_build_root/BUILD
>       [rpm] ++ dirname /tmp/zkpython_build_root/BUILD
>       [rpm] + mkdir -p /tmp/zkpython_build_root
>       [rpm] + mkdir /tmp/zkpython_build_root/BUILD
>       [rpm] + /usr/lib/rpm/check-buildroot
>       [rpm] shell-init: error retrieving current directory: getcwd: cannot 
> access parent directories: No such file or directory
>       [rpm] + /usr/lib/rpm/redhat/brp-compress
>       [rpm] shell-init: error retrieving current directory: getcwd: cannot 
> access parent directories: No such file or directory
>       [rpm] chdir: error retrieving current directory: getcwd: cannot access 
> parent directories: No such file or directory
>       [rpm] + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip
>       [rpm] shell-init: error retrieving current directory: getcwd: cannot 
> access parent directories: No such file or directory
>       [rpm] + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
>       [rpm] shell-init: error retrieving current directory: getcwd: cannot 
> access parent directories: No such file or directory
>       [rpm] + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip 
> /usr/bin/objdump
>       [rpm] shell-init: error retrieving current directory: getcwd: cannot 
> access parent directories: No such file or directory
>       [rpm] + /usr/lib/rpm/brp-python-bytecompile
>       [rpm] shell-init: error retrieving current directory: getcwd: cannot 
> access parent directories: No such file or directory



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to