pkg2appimage icon indicating copy to clipboard operation
pkg2appimage copied to clipboard

Dependencies not installed (recipe intef-exe fails)

Open dmsoler opened this issue 3 years ago • 3 comments

After commits of 24/8/2020, recipe intef-exe fails, because some dependencies are not installed.

Before those commits, I got the package python-minimal installed in the AppImage. After those commits, this package is no longer installed. The package is a dependency of python 2.7.13-2, whose info is:

Package: python
Source: python-defaults
Version: 2.7.13-2
Architecture: amd64
Maintainer: Matthias Klose <[email protected]>
Installed-Size: 648
Pre-Depends: python-minimal (= 2.7.13-2)
Depends: python2.7 (>= 2.7.13-1~), libpython-stdlib (= 2.7.13-2)
Suggests: python-doc (= 2.7.13-2), python-tk (>= 2.7.13-1~)
Conflicts: python-central (<< 0.5.5)
Breaks: update-manager-core (<< 0.200.5-2)
Replaces: python-dev (<< 2.6.5-2)
Provides: python-ctypes, python-email, python-importlib, python-profiler, python-wsgiref
Section: python
Priority: optional
Multi-Arch: allowed

I think Pre-Depends are probably no longer processed by pkg2appimage.

I am able to build the recipe intef-exe with this commit (patched as in issue #429 ):

https://raw.githubusercontent.com/AppImage/pkg2appimage/8459678c3cb862e75a29b822619ea8e3d3a91db0/pkg2appimage

dmsoler avatar Aug 27 '20 10:08 dmsoler

Which host OS did you run this on?

probonopd avatar Aug 28 '20 06:08 probonopd

Pre-Depends currently probably only works on deb-based systems.

probonopd avatar Aug 28 '20 06:08 probonopd

I run this on a Debian Sid, dpkg version is 1.20.5

After further investigation, there are 3 missing packages in the AppImage which doesn't work:

python-cffi-backend_1.9.1-2_amd64.deb
python-minimal_2.7.13-2_amd64.deb
python-zope.interface_4.3.2-1_amd64.deb

These are dependencies of the following packages:

Package: python-cryptography
Version: 1.7.1-3+deb9u2
Depends: python (<< 2.8), python (>= 2.7~), python-cffi-backend-api-min (<= 9729), python-cffi-backend-api-max (>= 9729), python-enum34, python-idna (>= 2.0), python-ipaddress, python-pyasn1 (>= 0.1.8), python-setuptools (>= 11.3), python-six (>= 1.4.1), python:any (<< 2.8), python:any (>= 2.7.5-5~), libc6 (>= 2.4), libssl1.1 (>= 1.1.0)

Package: python
Version: 2.7.13-2
Pre-Depends: python-minimal (= 2.7.13-2)
Depends: python2.7 (>= 2.7.13-1~), libpython-stdlib (= 2.7.13-2)

Package: intef-exe
Version: 3:2.5
Depends: python:any (<< 2.8), python:any (>= 2.7.5-5~), python-setuptools, python-zopeinterface (>= 3.0.0-6) | python-zope.interface, python-pil, python-chardet, python-lxml, iceweasel | www-browser, python-feedparser, mimetex, python-bs4, python-suds, python-requests-oauthlib, python-dateutil, python-cssmin | cssmin, python-webassets

So, python-minimal is in a Pre-Depends; python-cffi-backend has a Provides line for the dependency python-cffi-backend-api:

Package: python-cffi-backend
Version: 1.9.1-2
Depends: python (<< 2.8), python (>= 2.7~), python:any (<< 2.8), python:any (>= 2.7~), libc6 (>= 2.14), libffi6 (>= 3.0.4)
Breaks: python-cffi (<< 1)
Replaces: python-cffi (<< 1)
Provides: python-cffi-backend-api-9729, python-cffi-backend-api-max (= 10239), python-cffi-backend-api-min (= 9729)

and python-zope.interface is an alternative dependency with |.

These 3 cases are no longer processed correctly by pkg2appimage.

dmsoler avatar Aug 28 '20 09:08 dmsoler