Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building nextcloud images fails on "creating libtool" #1551

Closed
bolet opened this issue Aug 2, 2021 · 2 comments
Closed

Building nextcloud images fails on "creating libtool" #1551

bolet opened this issue Aug 2, 2021 · 2 comments

Comments

@bolet
Copy link

bolet commented Aug 2, 2021

When building the nextcloud image:
.../22.0/fpm-alpine# docker build -t nextcloud:fpm-alpine .

Or nextcloud-full image (starting from a dockerhub nextcloud:fpm-alpine image):
.../.examples/dockerfiles/full/fpm-alpine# docker build -t nextcloud-full:fpm-alpine .

I get the following error at one point:

...
creating libtool
appending configuration tag "CXX" to libtool
configure: patching config.h.in
configure: creating ./config.status
config.status: creating config.h
make: /bin/sh: Operation not permitted
/bin/sh /usr/src/php/ext/bcmath/libtool --mode=compile ...
make: *** [Makefile:191: bcmath.lo] Error 127
OR
/bin/sh /usr/src/php/ext/bz2/libtool --mode=compile
make: *** [Makefile:192: bz2.lo] Error 127
...

This used to work for many releases till a few months ago.

In case it's useful: I'm running on a debian buster armv7 platform.

@bolet bolet changed the title Building nextcloud FULL image fails on "creating libtool" Building nextcloud images fails on "creating libtool" Aug 4, 2021
@J0WI
Copy link
Contributor

J0WI commented Aug 4, 2021

Duplicate of docker-library/php#1177

TL;DR: upgrade do Docker 20.10.7+

@J0WI J0WI closed this as completed Aug 4, 2021
@bolet
Copy link
Author

bolet commented Aug 4, 2021

The docker apt repo only provides 19.03.13 for debian buster armv7. Before looking for alternate ways to install a more recent docker version on the target server, I tried cross-building from my desktop amd64 (ubuntu docker 20.10.2), and it worked. For now I'll keep it that way. Thanks a lot for your help @J0WI !

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

No branches or pull requests

2 participants