Comments (7)
Hey, Nick. Sorry for the delay in responding. I will have a look at this tomorrow.
from cgofuse.
I've decided to drop this build from rclone for the moment as it is only used for testing, so no urgency!
from cgofuse.
I believe the right thing here is to update the headers used in the Docker image.
I note that OSXFUSE 3.x series still uses the FUSE2 API, so it should be ok to update to latest OSXFUSE.
from cgofuse.
So the docker image has now been modified to include OSXFUSE 3.8.3 which includes the nonseekable
symbol. (I chose OSXFUSE 3.8.3 and not the latest version because this is the last version that 7z can handle; newer versions of OSXFUSE use signed DMG's which 7z cannot handle.)
Unfortunately this is now failing during apt-get install
because of missing files. The error message suggests that I should run apt-get update
, which I already am except in an earlier Dockerfile step. I suspect that this is an effect of the Docker cache:
-
This RUN step is pulled from cache:
Step 3/7 : RUN dpkg --add-architecture i386 && dpkg --add-architecture amd64 && apt-get update && apt-get install -y --no-install-recommends p7zip-full ---> Using cache ---> c1143cf251eb
-
This RUN step is being run because it came after the OSXFUSE RUN step which was just modified. Unfortunately it seems to fail because it needs a fresh
apt-get update
.Step 5/7 : RUN apt-get install -y --no-install-recommends libfuse-dev:i386 && apt-get install -y --no-install-recommends libfuse-dev:amd64 && apt-get download libfuse-dev:i386 && dpkg -x libfuse-dev*i386*.deb / ---> Running in 407faefdbff8 ... Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Is there a way to trigger DockerHub builds without the build cache? I no longer have easy access to Docker for Linux containers and I may not be able to fix this timely.
from cgofuse.
Ok, so I tried the kludge of adding a second apt-get update
in the LIBFUSE installation RUN step and the build has now succeeded.
Can you please verify that the resulting xgo image works for you? Try pulling the latest
tag for now.
from cgofuse.
I can confirm that that fixes the rclone builds - thanks Bill :-)
Sorry you had to debug on DockerHub - that is a miserable experience.
from cgofuse.
Excellent. I am closing this and will follow up on any additional work via rclone/rclone#4393.
from cgofuse.
Related Issues (20)
- On macOS, under load, files appearing twice or disappearing when running `ls`, unless `readdir` is sorted HOT 14
- Occasional crash under Windows - use after free? HOT 9
- . HOT 1
- Write method not called HOT 1
- Enable LOCK feature HOT 2
- How to increase buffer size? (max_pages and libfuse3) HOT 1
- Mount and Unmount Result
- Mixup of O_EXCL and O_TRUNC constant values CGO vs non CGO HOT 13
- warning: "FUSE_USE_VERSION" redefined HOT 1
- possible to call cheat engine with cgofuse HOT 1
- Support ARM architecture on Linux
- Incorrect writes from fuse HOT 12
- Need to know when the fuse service is ready HOT 4
- Please provide a way to retrieve information about the fuse implementation
- memfs example problems
- Golang Windows Passthrough version HOT 1
- command line options for Memfs HOT 8
- How can I not let it download video/image files automatically? HOT 3
- Mirrorfs? HOT 2
- Possibility to render folder asynchronously with Readdir HOT 11
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 cgofuse.