apache / openwhisk-apigateway

Apache OpenWhisk API Gateway service for exposing actions as REST interfaces.
https://openwhisk.apache.org/
Apache License 2.0
64 stars 45 forks source link

Build broken. Alpine linux no longer contains jemalloc and jemalloc_dev #334

Closed larandersson closed 5 years ago

larandersson commented 5 years ago

Since a couple of weeks, the build is broken. It fails with the following error:

ERROR: unsatisfiable constraints:
  jemalloc (missing):
    required by: world[jemalloc]
  jemalloc-dev (missing):
    required by: world[jemalloc-dev]

The reason for this is that these libraries no longer are included in alpine since v 3.9.

larandersson commented 5 years ago

@mhamann I tested today to build the image against alpine:latest (v 3.9) with talloc instead of jemalloc and the build succeeds, as well as the unit tests. I also tested to list apis and invoke apis through the gateway, which also worked as before.

dgrove-oss commented 5 years ago

@mhamann or @mdeuser -- please take a look at this.

mdeuser commented 5 years ago

@alexsong93 - do you know of any need for this specific malloc implementation (jemalloc) ?

mhamann commented 5 years ago

Apologies for the delay @dgrove-oss and @larandersson. Been slammed recently.

I have a fix in the works for this. Jemalloc is probably the most ideal candidate package, but is only used as part of the profiling run, so it can be removed from the main Dockerfile. I'll PR a fix for that and the profiling build here shortly.