Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upinstall necessary packages for using a CGO-extension compiled version of Hugo #183
Comments
fool
added
enhancement
medium-priority
feat/builds
labels
Jul 10, 2018
Jul 10, 2018
This was referenced
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
regisphilibert
commented
Jul 24, 2018
Untill then it’s hard to mention Netlify (let alone use it) alongside Hugo Pipes... too bad because speeding up deployement is among the big pros |
This comment has been minimized.
This comment has been minimized.
@regisphilibert for now you have to commit generated |
This comment has been minimized.
This comment has been minimized.
regisphilibert
commented
Jul 24, 2018
•
@DirtyF this repo commits its resources directory. For me tt’s really not ideal if the assets can be edited by an editor. |
This comment has been minimized.
This comment has been minimized.
oncletom
commented
Jul 24, 2018
@regisphilibert my understanding is commiting the Is that correct? |
This comment has been minimized.
This comment has been minimized.
regisphilibert
commented
Jul 24, 2018
Hi @oncletom, let's take this here: https://discourse.gohugo.io/t/netlify-and-hugo-pipes/13145 |
jhabdas
referenced this issue
Jul 29, 2018
Closed
Extended Hugo binary can't be specified on Netlify #18
This comment has been minimized.
This comment has been minimized.
Appears it was intended to be a dynamically linked binary: gohugoio/hugo#4985 |
added a commit
that referenced
this issue
Jul 31, 2018
This comment has been minimized.
This comment has been minimized.
jensamunch
commented
Aug 1, 2018
this doesn't work still for hugo 0.46 what is the best thread for tracking this issue and netlify using the extended version? |
This comment has been minimized.
This comment has been minimized.
@jensamunch This issue is tracking it. |
This comment has been minimized.
This comment has been minimized.
hugo 0.46 works well for me - just can't use the extended version, right @jensamunch ? |
oncletom
referenced this issue
Aug 2, 2018
Open
Configuration de l'intégration continue avec support de Sass #48
This comment has been minimized.
This comment has been minimized.
oncletom
commented
Aug 7, 2018
I did not fully grasp why installing this specific version of |
This comment has been minimized.
This comment has been minimized.
baublet
commented
Aug 24, 2018
Ping for visibility. As of Hugo 0.47.1, extended still won't work on Netlify due to two reasons:
To those looking for a workaround until this is fixed: Run |
added a commit
to bahlo/blog
that referenced
this issue
Aug 29, 2018
added a commit
to snithish/blog
that referenced
this issue
Aug 30, 2018
added a commit
to snithish/blog
that referenced
this issue
Aug 30, 2018
bep
referenced this issue
Aug 31, 2018
Closed
Consider build a fully static extened binary on Linux/macOS #5148
This comment has been minimized.
This comment has been minimized.
sshesh
commented
Sep 5, 2018
I installed hugo through snap and a recent version (0.47.1) works well for me. $ snap list |
This comment has been minimized.
This comment has been minimized.
Fast workaround for Hugo extended version. package.json {
// ...
"scripts": {
"build": "NF_IMAGE_VERSION=1 bash ./netlify-build-fix.sh && LD_LIBRARY_PATH=$(pwd)/tmp/usr/lib/x86_64-linux-gnu $(pwd)/tmp/usr/local/bin/hugo",
// ...
},
// ...
} netlify-build-fix.sh #!/bin/bash
HUGO_FLAVOUR="hugo_extended"
HUGO_VERSION="0.48"
[ -z "${NF_IMAGE_VERSION}" ] && exit 0
rm -fr *.deb
wget --no-clobber http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/libstdc++6_5.4.0-6ubuntu1~16.04.10_amd64.deb || exit 1
wget --no-clobber https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/${HUGO_FLAVOUR}_${HUGO_VERSION}_Linux-64bit.deb || exit 1
grep "hugo=" ~/.bashrc || echo "alias hugo='LD_LIBRARY_PATH=$(pwd)/tmp/usr/lib/x86_64-linux-gnu $(pwd)/tmp/usr/local/bin/hugo'" >> ~/.bashrc
find -name '*.deb' -exec dpkg -x {} $(pwd)/tmp \;
rm -fr *.deb
exit 0 |
stp-ip
referenced this issue
Sep 7, 2018
Merged
Add support for hugo resource pipelines and color modifications through site config #268
added a commit
to nevanscott/uxbook
that referenced
this issue
Sep 14, 2018
This comment has been minimized.
This comment has been minimized.
bep
commented
Sep 14, 2018
Doing ldd (Ubuntu EGLIBC 2.19-0ubuntu6.13) 2.19
12:28:30 AM: Copyright (C) 2014 Free Software Foundation, Inc.
12:28:30 AM: This is free software; see the source for copying conditions. There is NO
12:28:30 AM: warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12:28:30 AM: Written by Roland McGrath and Ulrich Drepper. This is a Ubuntu from 4 years+ ago. Debian and Ubuntu have since moved from EGLIBC to GLIBC -- which should work fine with the extended Hugo version. If not, let me know and I will look into it quickly from the Hugo side of it. /cc @biilmann |
This comment has been minimized.
This comment has been minimized.
Yup, we're still running Ubuntu 14.04 LTS in the build environment. in 8
months or so it will end of life, and we'll move before then. We don't
expect you to tailor things for it in the meantime, @bep! It's just a
challenge to move our hundreds of thousands of customers without breaking
many builds so we're working on a smoother way to do that and that's taking
awhile.
…On Fri, Sep 14, 2018 at 3:51 PM Bjørn Erik Pedersen < ***@***.***> wrote:
Doing ldd --version in a Netlify script gets this:
ldd (Ubuntu EGLIBC 2.19-0ubuntu6.13) 2.19
12:28:30 AM: Copyright (C) 2014 Free Software Foundation, Inc.
12:28:30 AM: This is free software; see the source for copying conditions. There is NO
12:28:30 AM: warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12:28:30 AM: Written by Roland McGrath and Ulrich Drepper.
This is a Ubuntu from 4 years+ ago. Debian and Ubuntu have since moved
from EGLIBC to GLIBC -- which should work fine with the extended Hugo
version. If not, let me know and I will look into it quickly from the Hugo
side of it.
/cc @biilmann <https://github.com/biilmann>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#183 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAN-oIGS-7-Ca88mdpy7wLS1Uotw-HuYks5ubDLZgaJpZM4VJ7mF>
.
|
This comment has been minimized.
This comment has been minimized.
To summarize the currently available workarounds:
|
added a commit
to RealOrangeOne/theorangeone.net
that referenced
this issue
Oct 5, 2018
added a commit
to RealOrangeOne/theorangeone.net
that referenced
this issue
Oct 5, 2018
added a commit
to RealOrangeOne/theorangeone.net
that referenced
this issue
Oct 5, 2018
pushed a commit
to Pl4nty/tplant.com.au
that referenced
this issue
Nov 17, 2018
added a commit
to ZachGlassman/personal-site
that referenced
this issue
Nov 23, 2018
added a commit
to newsch/newsch.github.io
that referenced
this issue
Nov 23, 2018
added a commit
to bnjmn/bp.com
that referenced
this issue
Dec 27, 2018
added a commit
to marcorosi/irongoose
that referenced
this issue
Jan 25, 2019
This comment has been minimized.
This comment has been minimized.
Since this is solved in the xenial image and isn't easily solvable in the trusty image, I'm going to close this issue. We should have that image out to everyone soonish. |
fool commentedJul 10, 2018
When attempting to run a new hugo build, it seems we are missing some dependencies:
We need to install whatever is needed here :)