You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Chris Nauroth (JIRA)" <ji...@apache.org> on 2016/01/05 21:24:39 UTC

[jira] [Commented] (ZOOKEEPER-2352) rpm build broke

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

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

Hello [~wding].  There have been some recent rpm packaging issues that were never fully resolved.  On ZOOKEEPER-2124, I posted an addendum patch to the spec files to geg

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

There is also ZOOKEEPER-2275 tracking a similar patch.

Would you be interested in testing with either of those patches to see if they fix the issue for you?

BTW, you might be interested to know that ZOOKEEPER-1604 proposes removing the rpm and deb packaging from the ZooKeeper project, and deferring to downstream consumers like BigTop for packaging needs.

> 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)