install necessary packages for using a CGO-extension compiled version of Hugo #183
Comments
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 😔 |
@regisphilibert for now you have to commit generated |
@DirtyF this repo commits its resources directory. For me tt’s really not ideal if the assets can be edited by an editor. |
@regisphilibert my understanding is commiting the Is that correct? |
Hi @oncletom, let's take this here: https://discourse.gohugo.io/t/netlify-and-hugo-pipes/13145 |
Appears it was intended to be a dynamically linked binary: gohugoio/hugo#4985 |
this doesn't work still for hugo 0.46 what is the best thread for tracking this issue and netlify using the extended version? |
@jensamunch This issue is tracking it. |
hugo 0.46 works well for me - just can't use the extended version, right @jensamunch ? |
I did not fully grasp why installing this specific version of |
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 |
I installed hugo through snap and a recent version (0.47.1) works well for me. $ snap list |
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 |
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>
.
|
To summarize the currently available workarounds:
|
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. |
@bcomnes surely that means this issue is still valid? It's not actually solved until the xenial-based image has shipped |
@baublet you have writtern
I'm a newbie: what's the menaning of "check in your Thank you |
Hugo will not "generate" resources if they are found in This does mean you need to run hugo locally when changing your scss file. There's nothing to do on Netlify's hand. |
@RealOrangeOne the issue, from the perspective of this issue tracker, is closed, in that the work needed to get the code working in this repo on Again, apologies for this taking so long to get out, we are currently working on infrastructure that will dramatically increase the update cadence for build-images. When it is shipped, we will be publicly announcing it on our blog and twitter. If you want super duper early access, I can arrange that as well. |
This also seems to be happening for anyone who tries to use the
|
I just checked in on this again, and found that the Xenial image is available for use. I didn't see any mention of it here so I figured I'd leave a comment. |
Removed generated js and css files from git repo as generating these is now supported on Netlify during build: netlify/build-image#183 Make sure to install the "extended" version of Hugo when using it locally.
Updated the build image selection like @beausmith and |
When attempting to run a new hugo build, it seems we are missing some dependencies:
We need to install whatever is needed here :)
The text was updated successfully, but these errors were encountered: