Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Zookeeper >> mail # user >> Cannot build zookeeper 3.4.5 RPM on CentOS 6.3.


+
Cédric Lejeune 2012-12-17, 09:24
+
Cédric Lejeune 2012-12-20, 09:04
Copy link to this message
-
Re: Cannot build zookeeper 3.4.5 RPM on CentOS 6.3.
Hi Cédric, we're in the process of phasing out our packaging. Mainly
for the reasons you cite - they are not well maintained.
https://issues.apache.org/jira/browse/ZOOKEEPER-1604

I'd suggest using Apache Bigtop packaging if that works for you.
http://bigtop.apache.org/

Regards,

Patrick

On Thu, Dec 20, 2012 at 1:04 AM, Cédric Lejeune
<[EMAIL PROTECTED]> wrote:
> Hello list,
>
> I kinda solved my issue building RPM packages. It appears that the install
> stage is removing BUILDROOT content:
>
>
> [rpm] + rm -rf /tmp/zkpython_build_rpm/BUILD
>
>
> Since BUILD and BUILDROOT are actually the same folder, anything is remove
> before being used.
>
> For what it worth, I've attached diffs I've created to solve this issue.
> I've tried to make as little changes as possible regarding original files.
> Please, note once more I'm pretty new at building RPM packages.
>
> Kind regards,
>
> Cédric.
>
>
> On 12/17/2012 10:24 AM, Cédric Lejeune wrote:
>>
>> Hello list,
>>
>> I'm currently trying to build zookeeper 3.4.5 on a fresh CentOS 6.3
>> install (rpm 4.8.0), but it fails with this error:
>>
>>
>> ----%<----%<----%<----%<----%<----%<----%<----%<----%<----%<----%<----%<----
>>
>> rpm:
>>        [copy] Copying 1 file to /tmp/zkpython_build_rpm/SOURCES
>>         [rpm] Building the RPM based on the zkpython.spec file
>>         [rpm] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GV0fVi
>>         [rpm] + umask 022
>>         [rpm] + cd /tmp/zkpython_build_rpm/BUILD
>>         [rpm] + LANG=C
>>         [rpm] + export LANG
>>         [rpm] + unset DISPLAY
>>         [rpm] + tar fxz
>> /tmp/zkpython_build_rpm/SOURCES/ZooKeeper-0.4.linux-x86_64.tar.gz -C
>> /tmp/zkpython_build_rpm/BUILD
>>         [rpm] + exit 0
>>         [rpm] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ZpyOvn
>>         [rpm] + umask 022
>>         [rpm] + cd /tmp/zkpython_build_rpm/BUILD
>>         [rpm] + LANG=C
>>         [rpm] + export LANG
>>         [rpm] + unset DISPLAY
>>         [rpm] + exit 0
>>         [rpm] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Tktc7r
>>         [rpm] + umask 022
>>         [rpm] + cd /tmp/zkpython_build_rpm/BUILD
>>         [rpm] + '[' /tmp/zkpython_build_rpm/BUILD '!=' / ']'
>>         [rpm] + rm -rf /tmp/zkpython_build_rpm/BUILD
>>         [rpm] ++ dirname /tmp/zkpython_build_rpm/BUILD
>>         [rpm] + mkdir -p /tmp/zkpython_build_rpm
>>         [rpm] + mkdir /tmp/zkpython_build_rpm/BUILD
>>         [rpm] + LANG=C
>>         [rpm] + export LANG
>>         [rpm] + unset DISPLAY
>>         [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
>>         [rpm] Processing files: zkpython-3.4.5-1.x86_64
>>         [rpm] error: File not found: /tmp/zkpython_build_rpm/BUILD/usr