Code Monkey home page Code Monkey logo

Comments (7)

billziss-gh avatar billziss-gh commented on May 29, 2024 1

Hey, Nick. Sorry for the delay in responding. I will have a look at this tomorrow.

from cgofuse.

ncw avatar ncw commented on May 29, 2024

I've decided to drop this build from rclone for the moment as it is only used for testing, so no urgency!

from cgofuse.

billziss-gh avatar billziss-gh commented on May 29, 2024

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.

billziss-gh avatar billziss-gh commented on May 29, 2024

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.

billziss-gh avatar billziss-gh commented on May 29, 2024

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.

ncw avatar ncw commented on May 29, 2024

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.

billziss-gh avatar billziss-gh commented on May 29, 2024

Excellent. I am closing this and will follow up on any additional work via rclone/rclone#4393.

from cgofuse.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.