New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CentOS 7 RPMs #1992

Closed
seschwar opened this Issue Oct 10, 2014 · 14 comments

Comments

Projects
None yet
6 participants
@seschwar

seschwar commented Oct 10, 2014

Currently there are only RPMs for CentOS 5 and 6. Prebuilt packages for CentOS 7 would simply the deployment of our application a lot.

The version of wkhtmltopdf in EPEL is built against unpatched Qt and therefore not usable for us.

@franmomu

This comment has been minimized.

franmomu commented Oct 16, 2014

+1

1 similar comment
@prodigitalson

This comment has been minimized.

prodigitalson commented Oct 16, 2014

+1

@ashkulz ashkulz added this to the 0.12.2 milestone Oct 17, 2014

@ashkulz ashkulz added the Verified label Oct 17, 2014

@ashkulz

This comment has been minimized.

Member

ashkulz commented Oct 17, 2014

This will require rinse 3.0.1 which is available in Debian Testing or Ubuntu 14.10 (neither of which are released right now).

@fukawi2

This comment has been minimized.

fukawi2 commented Oct 22, 2014

This would be really useful to get this done -- we have a tool where systemd will be very useful, so really don't want to have to downgrade to CentOS 6.

@ashkulz

This comment has been minimized.

Member

ashkulz commented Oct 22, 2014

You can build your own binaries using a posix-local build on CentOS 7 -- doing it via a chroot may have to wait for the release and follow-up work.

@ashkulz ashkulz closed this in 0c7ed62 Oct 30, 2014

@ashkulz ashkulz added Fixed and removed Verified labels Oct 30, 2014

ashkulz added a commit that referenced this issue Oct 30, 2014

add support for CentOS 7 target
Only 64-bit binaries are supported (similar to upstream). The only
supported OS for the build host is now Ubuntu 14.10 due to the
dependency on rinse >= 3.0.1, which added support for CentOS 7.

Fixes #1992
@seschwar

This comment has been minimized.

seschwar commented Oct 30, 2014

On 2014-30-10, Ashish Kulkarni wrote:

Closed #1992 via 0c7ed62.

Sweet. When can we expect the RPMs to be on the download page? :)

@mysterioushunt

This comment has been minimized.

mysterioushunt commented Oct 30, 2014

I have been unable to setup the Centos 7 build environment.

Getting the following issue:

Successfully installed fpm-1.3.0
7 gems installed
/usr/bin/cd: line 2: cd: /usr/local/share/gems/gems/fpm-/lib/fpm/package: No such file or directory
chroot /var/chroot/wkhtmltopdf-centos7-amd64 cd /usr/local/share/gems/gems/fpm-
/lib/fpm/package && sed -i s/w2.xzdio/w9.xzdio/g rpm.rb
command failed: exit code 256

Also noticed a few of these warnings:
warning: Failed to read auxiliary vector, /proc not mounted?

Build Environment:
Fresh Digital Ocean 8GB droplet running Ubuntu 14.10

Is there some packages I needed to install first?
Has anyone got a compiled Centos 7 64bit binary?

@prodigitalson

This comment has been minimized.

prodigitalson commented Oct 30, 2014

@mysterioushunt I had no issues using the posix-local target, you might want to try that.

@ashkulz

This comment has been minimized.

Member

ashkulz commented Oct 31, 2014

@mysterioushunt: repull from master, that has been fixed.

@ashkulz

This comment has been minimized.

Member

ashkulz commented Oct 31, 2014

@seschwar: I'll try to upload the RPM for 0.12.1 in a day or two. For 0.12.2-dev, it'll be done when I build the next snapshot.

@ashkulz

This comment has been minimized.

Member

ashkulz commented Oct 31, 2014

That error was because I was manually trying to increase the XZ compression via a hack, I later on submitted a patch to FPM which has been merged.

ashkulz added a commit that referenced this issue Oct 31, 2014

add CentOS 7 RPMs for the 0.12.1 release
This was done by merging 01fde85 and 0037e0e on the 0.12.1 tag. The
chroot environment was then freshly recreated and the build for
centos-amd64 was generated. Requested in #1992
@ashkulz

This comment has been minimized.

Member

ashkulz commented Oct 31, 2014

Uploaded. Please note that it uses XZ compression to reduce the file size considerably.

@mysterioushunt

This comment has been minimized.

mysterioushunt commented Oct 31, 2014

Thanks @ashkulz. You're a legend!

@ashkulz

This comment has been minimized.

Member

ashkulz commented Nov 7, 2014

A snapshot build (0.12.2-dev-85cdf36) is available which also has the CentOS 7 RPM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment