Skip to content

"Can't make symlink" error on build #959

Closed

Description

@alexschoeberl

I'm using Flatpak 0.9.5 on Endless OS. I'm running the following basic commands to build an app from my home directory:

flatpak build-init hello-flatpak com.test.Hello org.gnome.Sdk org.gnome.Platform 3.22
flatpak build hello-flatpak mkdir -p /app/Hello
flatpak build hello-flatpak mkdir -p /app/bin

At the second mkdir command, I get the following error:

Can't make symlink at /var/home: File exists

From now on, the error appears on every build command I use.

Activity

  1. alexlarsson commented on Aug 15, 2017

    @alexlarsson
    Member

    Yeah, this sems to be some kind of symlink related issue, I was able to reproduce with the following:
    /other-home == symlink to var/home
    /var/home == symlink to ../home
    /home/$user == actual home directory

    Which i believe is similar to the endless setup

  2. self-assigned this
    on Oct 6, 2017
  3. mwleeds commented on Oct 7, 2017

    @mwleeds
    Contributor

    I can reproduce this in EOS 3.2 but not in the EOS 3.3 beta release (running flatpak 0.9.8). So it was either fixed in flatpak or something else changed. I'll see if I can figure out why.

  4. removed their assignment
    on Dec 27, 2017
  5. Firstyear commented on Jan 10, 2018

    @Firstyear

    @mwleeds Do you know when the updated flatpak version will land in f27 atomic to see if this is resolved for AtomicWorkstation users?

    Thanks!

  6. mwleeds commented on Jan 11, 2018

    @mwleeds
    Contributor

    @Firstyear I'm not sure. Maybe @amigadave would be a better person to ask

  7. amigadave commented on Jan 12, 2018

    @amigadave
    Contributor

    @Firstyear flatpak-0.10.2.1-1.fc27 has been stable in Fedora 27 for 2 weeks. Issue #1278 seems to suggest that the bug is not fixed in 0.10.2, but maybe 0.10.2.1 fixed it.

  8. Firstyear commented on Jan 13, 2018

    @Firstyear
    rpm -qa | grep -i flatp
    flatpak-libs-0.10.2-1.fc27.x86_64
    flatpak-0.10.2-1.fc27.x86_64
    

    Issue still persists ... ?

  9. alexlarsson commented on Feb 15, 2018

    @alexlarsson
    Member

    I believe this is fixed by #1421

  10. ioogithub commented on Nov 28, 2019

    @ioogithub

    I have this issue as well. I tried to install com.valvesoftware.Steam
    bwrap: Can't make symlink at /home/oem/Music: File exists

    I can't even uninstall it:
    flatpak run com.valvesoftware.Steam --reset
    bwrap: Can't make symlink at /home/oem/Music: File exists

  11. mwleeds commented on Dec 1, 2019

    @mwleeds
    Contributor

    @ioogithub it would be helpful if you mention what version of Flatpak you're using, the output of flatpak --version

  12. hfiguiere commented on Feb 11, 2024

    @hfiguiere
    Collaborator

    I believe this is fixed by #1421

    closing then.

    The subsequent comments are unrelated and are #2387

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions