Comments (4)
it works again for the raspberry pi 4 64bit, thanks for the quick response. have a good day.
from docker-squid.
i tried to tweak Dockerfile a little bit, the 'mkdir' issue is gone, there is my fix:
line 100:
RUN set -x && \
cd /tmp/build && mkdir -p /usr/local/sbin/ && ln -sf /bin/mkdir /usr/local/sbin/mkdir && \
nproc=$(n=$(nproc) ; max_n=6 ; [ $n -le $max_n ] && echo $n || echo $max_n) && \
make -j $nproc && \
make install && \
cd tools/squidclient && make && make install-strip
but get stucked here:
#17 4922.8 ../../../../cfgaux/install-sh -c -d '/usr/lib/squid'
#17 4923.0 /bin/sh ../../../../libtool --mode=install /usr/bin/install -c basic_getpwnam_auth '/usr/lib/squid'
#17 4923.2 libtool: install: /usr/bin/install -c basic_getpwnam_auth /usr/lib/squid/basic_getpwnam_auth
#17 4923.2 ../../../../cfgaux/install-sh -c -d '/usr/share/man/man8'
#17 4923.4 /usr/bin/install -c -m 644 basic_getpwnam_auth.8 '/usr/share/man/man8'
#17 4923.4 make[6]: Leaving directory '/tmp/build/src/auth/basic/getpwnam'
#17 4923.4 make[5]: Leaving directory '/tmp/build/src/auth/basic/getpwnam'
#17 4923.4 Making install in NCSA
#17 4923.4 make[5]: Entering directory '/tmp/build/src/auth/basic/NCSA'
#17 4923.5 make[6]: Entering directory '/tmp/build/src/auth/basic/NCSA'
#17 4923.5 ../../../../cfgaux/install-sh -c -d '/usr/lib/squid'
#17 4923.6 /bin/sh ../../../../libtool --mode=install /usr/bin/install -c basic_ncsa_auth '/usr/lib/squid'
#17 4923.9 libtool: install: /usr/bin/install -c basic_ncsa_auth /usr/lib/squid/basic_ncsa_auth
#17 4923.9 ../../../../cfgaux/install-sh -c -d '/usr/share/man/man8'
#17 4924.0 /usr/bin/install -c -m 644 basic_ncsa_auth.8 '/usr/share/man/man8'
#17 4924.1 make[6]: Leaving directory '/tmp/build/src/auth/basic/NCSA'
#17 4924.1 make[5]: Leaving directory '/tmp/build/src/auth/basic/NCSA'
#17 4924.1 make[5]: Entering directory '/tmp/build/src/auth/basic'
#17 4924.2 make[6]: Entering directory '/tmp/build/src/auth/basic'
#17 4924.2 make[6]: Nothing to be done for 'install-exec-am'.
#17 4924.2 make[6]: Nothing to be done for 'install-data-am'.
#17 4924.2 make[6]: Leaving directory '/tmp/build/src/auth/basic'
#17 4924.2 make[5]: Leaving directory '/tmp/build/src/auth/basic'
#17 4924.2 make[4]: Leaving directory '/tmp/build/src/auth/basic'
#17 4924.2 Making install in digest
#17 4924.2 make[4]: Entering directory '/tmp/build/src/auth/digest'
#17 4924.3 Making install in file
#17 4924.4 make[5]: Entering directory '/tmp/build/src/auth/digest/file'
#17 4924.5 make[6]: Entering directory '/tmp/build/src/auth/digest/file'
#17 4924.5 ../../../../cfgaux/install-sh -c -d '/usr/lib/squid'
#17 4924.5 Assertion failed: p_rcu_reader->depth != 0 (/qemu/include/qemu/rcu.h: rcu_read_unlock: 101)
#17 4924.6 Aborted (core dumped)
#17 4924.6 make[6]: *** [Makefile:801: install-libexecPROGRAMS] Error 1
#17 4924.6 make[6]: Leaving directory '/tmp/build/src/auth/digest/file'
#17 4924.6 make[5]: *** [Makefile:1197: install-am] Error 2
#17 4924.6 make[5]: Leaving directory '/tmp/build/src/auth/digest/file'
#17 4924.6 make[4]: *** [Makefile:891: install-recursive] Error 1
#17 4924.6 make[4]: Leaving directory '/tmp/build/src/auth/digest'
#17 4924.6 make[3]: *** [Makefile:934: install-recursive] Error 1
#17 4924.6 make[3]: Leaving directory '/tmp/build/src/auth'
#17 4924.6 make[2]: *** [Makefile:7129: install-recursive] Error 1
#17 4924.6 make[2]: Leaving directory '/tmp/build/src'
#17 4924.6 make[1]: *** [Makefile:7657: install] Error 2
#17 4924.6 make[1]: Leaving directory '/tmp/build/src'
#17 4924.6 make: *** [Makefile:588: install-recursive] Error 1
i think the compile process is over cause i don't see any CXX command anymore.
this line is why it failed:
Assertion failed: p_rcu_reader->depth != 0 (/qemu/include/qemu/rcu.h: rcu_read_unlock: 101)
i have no idea of how to get over with it
from docker-squid.
Hi @endlessbest.
I successfully built v4.16 on arm64 via cloud.drone.io (native build, without qemu), images pushed to:
- docker.io/b4tman/squid:4.16.1-arm64
- ghcr.io/b4tman/squid-arm64:4.16.1
Error while loading /usr/local/sbin/mkdir: No such file or directory
not sure about this error
seems like file system problem
try updating docker or:
docker image rm alpine:3.14.0
docker pull alpine:3.14.0
Assertion failed: p_rcu_reader->depth != 0 (/qemu/include/qemu/rcu.h: rcu_read_unlock: 101)
seems like qemu issue, are you using emulation or building on native arm64 machine?
from docker-squid.
thank you so much for the help, then i don't have to build it myself.
seems like qemu issue, are you using emulation or building on native arm64 machine?
yes, emulation.
from docker-squid.
Related Issues (18)
- append/prepend conf files HOT 4
- radius authentication HOT 1
- Squid does not restart properly HOT 2
- Enabling SNMP in Squid for Monitoring with Cacti HOT 1
- WARNING: no_suid: setuid(0): (1) Operation not permitted HOT 1
- how to use with ssl-bump HOT 3
- Unable to start container process: exec: "/run.sh": permission denied: unknown HOT 1
- Mutli-arch builds no longer being built on DockerHub? HOT 2
- kerberos auth HOT 1
- Alpine 3.13 on arm 32 build error HOT 1
- https proxy (ssl-bump) HOT 13
- How to reload config from outside docker? HOT 4
- How to use it on arm64 architecture? HOT 3
- assertion failed: tunnel.cc:1227: "!waitingForConnectExchange" HOT 2
- squid_db_auth is not included? HOT 9
- update alpine image? HOT 3
- Recv failure: Connection reset by peer HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-squid.