-
Notifications
You must be signed in to change notification settings - Fork 156
Build fails on Alpine Linux 3.4.4 because PATH_MAX not defined #1460
Comments
Any tips to help understand what could be the issue are appreciated! I'm not sure if this is something we could fix on Alpine or simply just some package missing or if this is something we should patch in mod_pagespeed to make it work on Alpine or what. |
When I was working on this same issue (which I still have not solved), I came across this: https://bugs.alpinelinux.org/issues/4075. it states the following;
I downloaded the latest version of fortify-headers, included them as a volume but still got the same error. Patch info can be found here: http://git.alpinelinux.org/cgit/aports/commit/?id=e7ede9d57ccf4aa6de45cebf2aa24a216537caec |
@igrigorik Do you guys have any ideas on this? Otherwise is there a way to disable caching on nginx PageSpeed? |
Same error with Alpine 3.6 and pagespeed 1.12.34.2 |
I tried to compile with grcp 1.3.0 and 1.4.0 that contains fixes for Alpine (grpc/grpc#10407, grpc/grpc#10800). I got a different error:
So it seems something should be changed to support new grpc version. We could cherry-pick these changes to 1.2.0 but I don't think this is the best option. |
I'm getting this error while trying to build mod_pagespeed on Alpine Linux 3.4.4:
I see
limits.h
being included in thethird_party/grpc/src/src/core/lib/surface/init_secure.c
file, which to my understanding should include PATH_MAX, but I'm not an expert.The text was updated successfully, but these errors were encountered: