vmware-archive / salt-pack

Salt Package Builder
Apache License 2.0
55 stars 23 forks source link

Fix Debian Python3 building issue #696

Closed dmurphy18 closed 5 years ago

dmurphy18 commented 5 years ago

During building packages for Salt 2019.2.1 for Python 2, pbuilder is now failing due to dirnmgr failures. Note that the regular Debian 9 on which Raspbian is based had no issues, hence Raspbian has diverged a little from Debian 9 and note that no such issue was found when build Salt 2019.2.0.

Have tried building with 2018.3.3 and 2018,3,4 and same issue experienced.

Only build on Raspbian when have a tag since requires Pi's hence not automated, but have not seen issues like this before.

Will work around to get release out, but this issue here is a place holder to ensure issue is resolved

dmurphy18 commented 5 years ago

Changed the title to reflect similar building issues are occurring for the following on Python3:

[] Raspbian 9 - as above [] Raspbian 10 - suspect it will have issues [] Debian 9 - see Debian 10 [] Debian 10 - 9 & 10 are having pbuilder create issues probable cause is

310 + '[' -n /var/cache/pbuilder/buster/aptcache ']' 311 + '[' debootstrap = debootstrap -o debootstrap = qemu-debootstrap ']' 312 + USE_CACHE=--cache-dir=/var/cache/pbuilder/buster/aptcache 313 + debootstrap --include=apt --cache-dir=/var/cache/pbuilder/buster/aptcache --variant=buildd --force-check-gpg buster /var/cache/pbuilder/build/19209 http://deb.debian.org/debian/ 314 E: /var/cache/pbuilder/buster/aptcache: No such directory 315 + log.e 'debootstrap failed' 316 + case "${LOGLEVEL-I}" in 317 + log 'E: debootstrap failed' 318 + set +x 319 E: debootstrap failed 320 + '[' -f /var/cache/pbuilder/build/19209/debootstrap/debootstrap.log ']' 321 + log.e 'debootstrap.log not present' 322 + case "${LOGLEVEL-I}" in 323 + log 'E: debootstrap.log not present' 324 + set +x 325 E: debootstrap.log not present

For both. debootstrap is failing, this did not occur with Debian 9 and Salt 2019.2.1 :(

dmurphy18 commented 5 years ago

Also disabling building Python 3 M2Crypto on Debian 9 and 10 - running into difficulties getting it to build, even by hand (new list of dependencies to go through) so skipping for now and if a user wants it, they could go grab from Debian 11 Bullseye (that is testing repo)

dmurphy18 commented 5 years ago

Debian 9 (9.5) on VirtualBox VM built fine for Salt 2019.2.1, Check if automation needs 'root' for Debian 9 on Python 3.

dmurphy18 commented 5 years ago

Moved to https://github.com/saltstack/salt-pack-py3/issues/157, and closing here