[
https://issues.apache.org/jira/browse/PIG-1857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13070024#comment-13070024
]
Alan Gates commented on PIG-1857:
---------------------------------
I've tested the following with this:
# I can build rpms on Linux
# I can build debs on Linux
# I tried to build rpms on Mac. This failed. I have the current version of
the rpm package from MacPorts. Maybe I need something more recent. I don't
see this as a show stopper, but it would be nice. See below for the error
message.
# I can build debs on Mac
# When I build a tarball distribution (the one we've done up until now) with
this it works as before with an installed cluster and in local mode. So this
seems backward compatible. That's good.
What I haven't tested yet that still needs testing:
# That I can install the resulting rpm and that Pig runs ok when I do. In
particular I am interested to see how users run Pig when the RPM is installed.
Do they still need to set PIG_CLASSPATH to point to their cluster or does the
RPM installation take care of all that.
# That I can install the resulting deb and that Pig runs ok when I do. I don't
have any debian based systems handy to test this.
A general question as well. My initial impression was that there would be
separate rpms and debs for binary and source distributions, as there are for
maven packages. But it looking at the resulting rpms and debs it looks instead
like source and executables have all been placed in one rpm/deb. Is that
intentional? Is it what users expect? These things usually seem to be divided
in rpms.
The error message I get when building rpms on my mac:
{code}
rpm:
[mkdir] Created dir: /tmp/pig_package_build_gates/BUILD
[mkdir] Created dir: /tmp/pig_package_build_gates/RPMS
[mkdir] Created dir: /tmp/pig_package_build_gates/SRPMS
[mkdir] Created dir: /tmp/pig_package_build_gates/SOURCES
[mkdir] Created dir: /tmp/pig_package_build_gates/SPECS
[copy] Copying 2 files to /tmp/pig_package_build_gates/SOURCES
[copy] Copying 1 file to /tmp/pig_package_build_gates/SPECS
[rpm] Building the RPM based on the pig.spec file
[rpm] error: Unable to open temp file.
[rpm] Unable to open temp file.
[rpm]
[rpm]
[rpm] RPM build errors:
BUILD FAILED
/Users/gates/src/pig/top/1857/trunk/build.xml:885: '/opt/local/bin/rpmbuild'
failed with exit code 1
{code}
> Create an package integration project
> -------------------------------------
>
> Key: PIG-1857
> URL: https://issues.apache.org/jira/browse/PIG-1857
> Project: Pig
> Issue Type: New Feature
> Components: build
> Affects Versions: 0.9.0
> Environment: RHEL 5.5/Ubuntu 10.10
> Reporter: Eric Yang
> Assignee: Eric Yang
> Attachments: PIG-1857-1.patch, PIG-1857-2.patch,
> PIG-1857-draft.patch, PIG-1857.patch
>
>
> This goal of this ticket is to generate a set of RPM/debian package which
> integrate well with RPM sets created by HADOOP-6255.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira