Skip to content

Commit

Permalink
attempting to fix build error
Browse files Browse the repository at this point in the history
+ /tmp/kivy_appdir/AppRun -m pip install --ignore-installed --upgrade --cache-dir build/deps/ --no-index --find-links file:////root/buskill-app/build/deps/ build/deps/pip-24.0-py3-none-any.whl
WARNING: The directory '/root/buskill-app/build/deps' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Looking in links: file://root/buskill-app/build/deps/
Processing ./build/deps/pip-24.0-py3-none-any.whl
Installing collected packages: pip
Successfully installed pip-24.0
++ pwd
+ /tmp/kivy_appdir/AppRun -m pip install --ignore-installed --upgrade --cache-dir build/deps/ --no-index --find-links file:////root/buskill-app/build/deps/ build/deps/Kivy-1.11.1-cp37-cp37m-manylinux2010_x86_64.whl
WARNING: The directory '/root/buskill-app/build/deps' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
Looking in links: file://root/buskill-app/build/deps/
Processing ./build/deps/Kivy-1.11.1-cp37-cp37m-manylinux2010_x86_64.whl
ERROR: Exception:
Traceback (most recent call last):
  File "/tmp/kivy_appdir/opt/python3.7/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper
    status = run_func(*args)
  File "/tmp/kivy_appdir/opt/python3.7/lib/python3.7/site-packages/pip/_internal/cli/req_command.py", line 245, in wrapper
    return func(self, options, args)
  File "/tmp/kivy_appdir/opt/python3.7/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 378, in run
    reqs, check_supported_wheels=not options.target_dir
  File "/tmp/kivy_appdir/opt/python3.7/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 96, in resolve
    collected.requirements, max_rounds=limit_how_complex_resolution_can_be
  File "/tmp/kivy_appdir/opt/python3.7/lib/python3.7/site-packages/pip/_vendor/resolvelib/resolvers.py", line 546, in resolve
    state = resolution.resolve(requirements, max_rounds=max_rounds)
  File "/tmp/kivy_appdir/opt/python3.7/lib/python3.7/site-packages/pip/_vendor/resolvelib/resolvers.py", line 427, in resolve
    failure_causes = self._attempt_to_pin_criterion(name)
  File "/tmp/kivy_appdir/opt/python3.7/lib/python3.7/site-packages/pip/_vendor/resolvelib/resolvers.py", line 239, in _attempt_to_pin_criterion
    criteria = self._get_updated_criteria(candidate)
  File "/tmp/kivy_appdir/opt/python3.7/lib/python3.7/site-packages/pip/_vendor/resolvelib/resolvers.py", line 230, in _get_updated_criteria
    self._add_to_criteria(criteria, requirement, parent=candidate)
  File "/tmp/kivy_appdir/opt/python3.7/lib/python3.7/site-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _add_to_criteria
    if not criterion.candidates:
  File "/tmp/kivy_appdir/opt/python3.7/lib/python3.7/site-packages/pip/_vendor/resolvelib/structs.py", line 156, in __bool__
    return bool(self._sequence)
  File "/tmp/kivy_appdir/opt/python3.7/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__
    return any(self)
  File "/tmp/kivy_appdir/opt/python3.7/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in <genexpr>
    return (c for c in iterator if id(c) not in self._incompatible_ids)
  File "/tmp/kivy_appdir/opt/python3.7/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built
    candidate = func()
  File "/tmp/kivy_appdir/opt/python3.7/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 183, in _make_candidate_from_link
    link, template, name, version
  File "/tmp/kivy_appdir/opt/python3.7/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 233, in _make_base_candidate_from_link
    version=version,
  File "/tmp/kivy_appdir/opt/python3.7/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 296, in __init__
    version=version,
  File "/tmp/kivy_appdir/opt/python3.7/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 156, in __init__
    self.dist = self._prepare()
  File "/tmp/kivy_appdir/opt/python3.7/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 222, in _prepare
    dist = self._prepare_distribution()
  File "/tmp/kivy_appdir/opt/python3.7/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 301, in _prepare_distribution
    return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)
  File "/tmp/kivy_appdir/opt/python3.7/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 494, in prepare_linked_requirement
    self._log_preparing_link(req)
  File "/tmp/kivy_appdir/opt/python3.7/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 278, in _log_preparing_link
    information = str(display_path(req.link.file_path))
  File "/tmp/kivy_appdir/opt/python3.7/lib/python3.7/site-packages/pip/_internal/models/link.py", line 398, in file_path
    return url_to_path(self.url)
  File "/tmp/kivy_appdir/opt/python3.7/lib/python3.7/site-packages/pip/_internal/utils/urls.py", line 44, in url_to_path
    f"non-local file URIs are not supported on this platform: {url!r}"
ValueError: non-local file URIs are not supported on this platform: 'file://root/buskill-app/build/deps/Kivy_Garden-0.1.5-py3-none-any.whl'
++ mktemp -d
  • Loading branch information
maltfield committed Mar 16, 2024
1 parent 4209ce8 commit fd6bf46
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Binary file modified build/deps/appimagetool-x86_64.AppImage
100755 → 100644
Binary file not shown.
8 changes: 4 additions & 4 deletions build/linux/buildAppImage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,8 @@ ls -lah /tmp/kivy_appdir/usr/bin/
# install our pip depends from the files in the repo since pip doesn't provide
# decent authentication and integrity checks on what it downloads from PyPI
# * https://security.stackexchange.com/a/234098/213165
${PYTHON} -m pip install --ignore-installed --upgrade --cache-dir build/deps/ --no-index --find-links file:///`pwd`/build/deps/ build/deps/pip-24.0-py3-none-any.whl
${PYTHON} -m pip install --ignore-installed --upgrade --cache-dir build/deps/ --no-index --find-links file:///`pwd`/build/deps/ build/deps/Kivy-1.11.1-cp37-cp37m-manylinux2010_x86_64.whl
${PYTHON} -m pip install --ignore-installed --upgrade --cache-dir build/deps/ --no-index --find-links file:`pwd`/build/deps/ build/deps/pip-24.0-py3-none-any.whl
${PYTHON} -m pip install --ignore-installed --upgrade --cache-dir build/deps/ --no-index --find-links file:`pwd`/build/deps/ build/deps/Kivy-1.11.1-cp37-cp37m-manylinux2010_x86_64.whl

# INSTALL LATEST PIP PACKAGES
# (this can only be done for packages that are cryptographically signed
Expand Down Expand Up @@ -255,7 +255,7 @@ if [[ $? -ne 0 ]]; then
echo "ERROR: Invalid PGP signature!"
exit 1
fi
${PYTHON} -m pip install --ignore-installed --upgrade --cache-dir build/deps/ --no-index --find-links "file:///${tmpDir}" "${tmpDir}/${filename}"
${PYTHON} -m pip install --ignore-installed --upgrade --cache-dir build/deps/ --no-index --find-links "file:${tmpDir}" "${tmpDir}/${filename}"
rm -rf "${tmpDir}"

# libusb1
Expand Down Expand Up @@ -291,7 +291,7 @@ if [[ $? -ne 0 ]]; then
echo "ERROR: Invalid PGP signature!"
exit 1
fi
${PYTHON} -m pip install --ignore-installed --upgrade --cache-dir build/deps/ --no-index --find-links "file:///${tmpDir}" "${tmpDir}/${filename}"
${PYTHON} -m pip install --ignore-installed --upgrade --cache-dir build/deps/ --no-index --find-links "file:${tmpDir}" "${tmpDir}/${filename}"
rm -rf "${tmpDir}"

# add our code to the AppDir
Expand Down

0 comments on commit fd6bf46

Please sign in to comment.