appimage-builder
appimage-builder copied to clipboard
`os.symlink` error `File exists`
I will package a flutter desktop application. I installed last version from git. don't pacman error, but i got a new error.
my step:
- mkdir package && cp -r ../build/linux/x64/release/bundle ./AppDir
- sudo /usr/local/python3.8/bin/appimage-builder --generate is ok
- $ sudo /usr/local/python3.8/bin/appimage-builder --recipe AppImageBuilder.yml
error:
Traceback (most recent call last): File "/usr/local/python3.8/bin/appimage-builder", line 11, in <module> load_entry_point('appimage-builder==0.9.1', 'console_scripts', 'appimage-builder')() File "/usr/local/python3.8/lib/python3.8/site-packages/appimagebuilder/__main__.py", line 58, in __main__ invoker.execute(commands) File "/usr/local/python3.8/lib/python3.8/site-packages/appimagebuilder/invoker.py", line 41, in execute command() File "/usr/local/python3.8/lib/python3.8/site-packages/appimagebuilder/commands/pacman_deploy.py", line 50, in __call__ deployed_packages = pacman_deploy.deploy( File "/usr/local/python3.8/lib/python3.8/site-packages/appimagebuilder/modules/deploy/pacman/deploy.py", line 89, in deploy os.symlink("usr/lib", appdir_root / "lib") FileExistsError: [Errno 17] File exists: 'usr/lib' -> '/data/flutterWork/desktop/rename_exif/package/AppDir/lib'
Originally posted by @colatea in https://github.com/AppImageCrafters/appimage-builder/issues/136#issuecomment-908025979
Same problem here:
Traceback (most recent call last):
File "/usr/bin/appimage-builder", line 8, in
@JartX could you please try again using the fix/properly_recreate_archfs_structure
branch ?
pip install git+https://github.com/AppImageCrafters/appimage-builder.git@fix/properly_recreate_archfs_structure
@JartX could you please try again using the
fix/properly_recreate_archfs_structure
branch ?
pip install git+https://github.com/AppImageCrafters/appimage-builder.git@fix/properly_recreate_archfs_structure
Same problem:
INFO:PacmanPackageDeploy:Deploying glibc=2.33-5 to /home/jart/DEV/usbserial_appimage/AppDir/opt/libc
Traceback (most recent call last):
File "/usr/bin/appimage-builder", line 8, in
@JartX it seems that you're still using the older version of appimage-builder