Closed bemxio closed 8 months ago
Hi
That error suggests that AIR can't work out the package format for this Linux variant. Can you check, what happens if you run
dpkg -l dpkg
(i.e. to list packages that relate to dpkg..) According to https://man.archlinux.org/man/dpkg.1.en this should be supported?
Looking at the code and where this error is thrown: it's happening during the initialisation of an internal utility, but that utility only needs to know whether it's an RPM or DEB based deployment if it's creating a 'native' installer, and here you're creating a 'bundle' (which is all we currently support on Linux). So actually, it would be possible for us to skip that validation step if it's a bundle build, and fix this.
Temporary workaround though: set an environment variable AIR_DISTRO
to a value debian
thanks
Hello, thank you for your reply!
By default, Arch Linux uses pacman
as its package manager, so dpkg
and other Debian package-related tools are not there, you would need to install them externally.
And I see, glad I could help to pinpoint that bug, for now I'll tell the AUR package maintainer to include the workaround, thank you once again!
Problem Description
When I tried to package Swivel using the
air-sdk
AUR package (currently at version 50.2.4.5) on Arch Linux, after successfully building it with Haxe 3, I got an error about Adobe AIR not being able to identify the distribution:Considering that packaging the SDK on the AUR was discussed here, I assume that's not intended behavior and that the SDK should work on all Linux distributions.
Steps to Reproduce
air-sdk
AUR package at version 50.2.4.5haxelib
withhaxelib setup
and install theair3
dependency for Swivel (haxelib install air3
)haxe Swivel.hxml