Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Provide packages for more recent distributions #128

Closed
md-5 opened this issue Jul 24, 2015 · 21 comments
Closed

Provide packages for more recent distributions #128

md-5 opened this issue Jul 24, 2015 · 21 comments

Comments

@md-5
Copy link

md-5 commented Jul 24, 2015

Jessie packages were provided whilst it was still testing for ages. It would be nice to have installable packages for testing in general, or at the least stretch.

Thanks.

@jwatzman
Copy link
Contributor

Maybe in 6 months or so, but given the recent stable release of jessie, IMO testing is a huge moving target right now, basically the same as targeting sid. With jessie, even in the last few months leading up to its release, there were some major version bumps and other work that had to be done to keep the packages installable.

@mklooss
Copy link

mklooss commented Jun 22, 2017

bump

@N3X15
Copy link

N3X15 commented Jun 22, 2017

Stretch has gone stable. https://www.debian.org/News/2017/20170617

@jr3074
Copy link

jr3074 commented Jul 5, 2017

when it will support debian 9?

@fredemmott
Copy link
Contributor

fredemmott commented Jul 6, 2017

I've started to take a look, but it's spare-time only for now. If I don't get this done soon, I should almost certainly get this done October-December.

If I get it done soon, it'll be starting with 3.21 - 3.20 (and folly) are not compatible with OpenSSL 1.1, but it looks like the master is. While debian 9 includes 1.0 as well, several of our other dependencies require 1.1 on 9.

fredemmott added a commit that referenced this issue Jul 6, 2017
using debuild etc, instead of custom script

refs #128
@fredemmott
Copy link
Contributor

fredemmott commented Jul 6, 2017

So the notes aren't only on my laptop:

git clone git@github.com:facebook/hhvm.git hhvm-nightly-2017.07.06
cd hhvm-nightly-2017.07.06
git checkout HHVM-3.20.2 # if doing release build
git submodule update --init --recursive
find . -name .git | xargs rm -rf
tar zcvf ../hhvm-nightly_2017.07.06.orig.tar.gz hhvm-nightly-2017.07.06 # Debian really cares about this naming

cd hhvm-nightly-2017.07.06
cp -R /path/to/packaging/hhvm/deb/stretch/debian debian/
apt-get install -y devscripts
sed -i 's/hhvm-nightly/hhvm/g' debian/control # if doing release
# Generate placeholder debian/changelog file
dch --create -v 2017.07.06-1~stretch --package hhvm-nightly --controlmaint --distribution stretch --force-distribution --empty
# Build a deb that depends on all the build-depends
mk-build-deps
# Install it, and dependencies
apt-get install -y ./hhvm-nightly-build-deps_2017.07.06-1~stretch_all.deb
# Remove it so that debuild doesn't complain below
rm hhvm-nightly-build-deps_2017.07.06-1~trusty_all.deb
# Build the packages
debuild -us -uc

webscalesqlclient in third-party needs updating to facebook/mysql-5.6#d26efe0d7763b6c9ba67a5cb42faebf075298b02 to support openssl 1.1

@fredemmott
Copy link
Contributor

Also need OPENSSL_NO_SSL2 defined in HHVM itself (might end up being added to folly's openssl portability header)

@fredemmott
Copy link
Contributor

hphp/runtime/ext/openssl/ext_openssl.cpp is somewhat incompatible with openssl 1.1

@fredemmott
Copy link
Contributor

With diffs in flight, I have it compiling, but not linking.

@fredemmott
Copy link
Contributor

Links now too.

hhvm-bot pushed a commit to facebook/hhvm that referenced this issue Jul 7, 2017
Summary: refs hhvm/packaging#128

Reviewed By: Orvid

Differential Revision: D5380284

fbshipit-source-id: 1772f0f72d1e2cbddb4969e98f52713294fbb368
facebook-github-bot pushed a commit to facebook/folly that referenced this issue Jul 10, 2017
Summary: refs hhvm/packaging#128

Reviewed By: anirudhvr

Differential Revision: D5380271

fbshipit-source-id: 1cc206d9970b843c3582556096f3ceabeb8d01f6
hhvm-bot pushed a commit to facebook/hhvm that referenced this issue Jul 13, 2017
Summary:
Needed for debian 9. Will fail on cmake until folly diff lands and third-party-rev is updated - won't land this one until that happens.

refs hhvm/packaging#128

Reviewed By: Orvid

Differential Revision: D5380277

fbshipit-source-id: e555d2447f1d366a750cb6955c685e25ac5aa9a7
@Neustradamus
Copy link

Any news for Debian 9 Stretch (stable) and Debian Buster (testing)?
Maybe to add unstable too?

@fredemmott
Copy link
Contributor

I'm not able to spend more time on HHVM for another month or two; finishing off stretch at least is likely to be near the top of the list when I can.

That said, if you're happy to build yourself, last time I checked it will work if you update the 'webscalesql' (actually Facebook's MySQL fork nowadays) submodule in third-party/

@fredemmott fredemmott changed the title Provide Debian Stretch / Testing Packages Provide packages for more recent distributions Sep 1, 2017
@alex-mashin
Copy link

Still no Zesty version; what is worse, the Yakkety version will not install under Zesty because of unmet dependencies.

@Neustradamus
Copy link

@alex-mashin
Copy link

Why is this bug closed? What has the-future-of-hhvm-as-hack-and-no-php got to do with packaging? Or is it a subtle way to say "Migrate back to PHP already"?

@fredemmott
Copy link
Contributor

It's not closed, and that comment was not by a member of the team. Fixing this issue is one aspect of work on the build system I want to address by the end of the year

fredemmott added a commit to hhvm/hhvm-third-party that referenced this issue Oct 24, 2017
fredemmott added a commit that referenced this issue Oct 24, 2017
- Prep work for stretch support (though that needs webscalesql update for openssl1.1)
- Will also make getting a development environment on jessie easier

refs #155, #128, #125, facebook/hhvm#8011
fredemmott added a commit that referenced this issue Oct 24, 2017
fredemmott added a commit that referenced this issue Oct 24, 2017
fredemmott added a commit that referenced this issue Oct 24, 2017
Implicit on stretch, but not on Jessie

refs #128
fredemmott added a commit that referenced this issue Oct 25, 2017
Stretch is still hitting OpenSSL 1.1 issues

refs #128
hhvm-bot pushed a commit to facebook/hhvm that referenced this issue Oct 26, 2017
Summary:
Makes HHVM build against OpenSSL 1.1

refs hhvm/packaging#128

Reviewed By: Orvid

Differential Revision: D6153263

fbshipit-source-id: f199e0b665224b3984b21acd8055931f925fcb33
@fredemmott
Copy link
Contributor

I have an end-to-working working package build system for stretch now, and I'm ~ 80% confident it will work for the newer versions of ubuntu too, but haven't tested.

TODO: make sure we're including all the 'extra' stuff that's included in the current packages, such as install-fastcgi.sh

@fredemmott
Copy link
Contributor

screen shot 2017-10-31 at 3 10 53 pm

@fredemmott
Copy link
Contributor

Current state:

  • building .debs for everything in the above screenshot
  • actively working on wheezy and artful; wheezy is problematic because GCC is so old, artful is problematic because GCC is so new :p
  • except for the "figure out the right CXXFLAGS and LDFLAGS" parts, I /think/ artful is ready after facebook/hhvm@b506902

Big todo: actually publish/sign these debs in apt repos

@fredemmott
Copy link
Contributor

-rw-r--r-- 1 root root 2.6K Nov  3 18:53 hhvm-nightly-build-deps_2017.11.03-1~artful_all.deb
-rw-r--r-- 1 root root 483M Nov  3 20:36 hhvm-nightly-dbg_2017.11.03-1~artful_amd64.deb
-rw-r--r-- 1 root root 4.7M Nov  3 20:36 hhvm-nightly-dev_2017.11.03-1~artful_amd64.deb
-rw-r--r-- 1 root root  13K Nov  3 20:36 hhvm-nightly_2017.11.03-1~artful.debian.tar.xz
-rw-r--r-- 1 root root 1.9K Nov  3 20:36 hhvm-nightly_2017.11.03-1~artful.dsc
-rw-r--r-- 1 root root 9.3M Nov  3 20:36 hhvm-nightly_2017.11.03-1~artful_amd64.build
-rw-r--r-- 1 root root 2.8K Nov  3 20:36 hhvm-nightly_2017.11.03-1~artful_amd64.changes
-rw-r--r-- 1 root root  15M Nov  3 20:36 hhvm-nightly_2017.11.03-1~artful_amd64.deb

Will hopefully be in tomorrow's automated builds - that's not from the 2017.11.03 tarball because that doesn't include the diff above.

fredemmott added a commit that referenced this issue Nov 3, 2017
@fredemmott
Copy link
Contributor

fredemmott commented Nov 6, 2017

  • Replace ubuntu with debian in the add-apt-repository line below for debian squeeze support
  • new GPG key
  • dl2.hhvm.com is temporary, expect it to replace dl.hhvm.com shortly
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 17.10
Release:	17.10
Codename:	artful
$ apt-get install software-properties-common
$ apt-key  adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xB4112585D386EB94
$ add-apt-repository "deb http://dl2.hhvm.com/ubuntu $(lsb_release -sc) main"
$ apt-get update
$ apt-get install hhvm-nightly
$ hhvm --version
HipHop VM 3.23.0-dev (rel)
Compiler: 1509928332_512103253
Repo schema: c629dee96d45bcfcdddaf6d528359ad91000e9b6

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants