Skip to content

current build infrastructure doesn't seem to provide virtual packages properly?! #916

Open
@JedMeister

Description

@JedMeister

I'm currently working on the stretch transition and am hitting an issue:

root@da-shiz products/core# export RELEASE=debian/stretch
root@da-shiz products/core# export FAB_POOL=y
root@da-shiz products/core# make clean       
deck -D build/bootstrap
rm -rf build/root.spec build/cdroot build/product.iso build/log build/stamps
root@da-shiz products/core# make
deck /turnkey/fab/bootstraps/stretch build/bootstrap
fab-apply-overlay /turnkey/fab/common/overlays/turnkey.d/apt build/bootstrap;
fab-chroot build/bootstrap --script /turnkey/fab/common/conf/turnkey.d/apt;
fab-chroot build/bootstrap "echo nameserver 8.8.8.8 > /etc/resolv.conf";
fab-chroot build/bootstrap "echo nameserver 8.8.4.4 >> /etc/resolv.conf";
touch build/stamps/bootstrap
unit_plans=""; fab-plan-resolve plan/main $unit_plans  --bootstrap=/turnkey/fab/bootstraps/stretch --output=build/root.spec -D 'FAB_ARCH=amd64' -D 'FAB_HTTP_PROXY=http://127.0.0.1:8124' -D 'AMD64=y' -D 'RELEASE=debian/stretch' -D 'DISTRO=debian' -D 'CODENAME=stretch' -D 'DEBIAN=y'
Traceback (most recent call last):
  File "/usr/lib/fab/wrapper.py", line 34, in <module>
    CliWrapper.main()
  File "/usr/lib/python2.7/dist-packages/pyproject.py", line 388, in main
    commands.run(name, args)
  File "/usr/lib/python2.7/dist-packages/pyproject.py", line 261, in run
    command.module.main()
  File "/usr/lib/fab/pylib/cmd_plan_resolve.py", line 131, in main
    spec = plan.resolve()
  File "/usr/lib/fab/pylib/plan.py", line 338, in resolve
    raise Error("broken dependencies: " + "\n".join(brokendeps))
plan.Error: broken dependencies: perl-openssl-abi-1.1 (libnet-ssleay-perl -> webmin -> plan/main)
/usr/share/fab/product.mk:526: recipe for target 'build/stamps/root.spec' failed
make: *** [build/stamps/root.spec] Error 1

So it can't find perl-openssl-abi-1.1. But that is actually only a virtual package supplied by perl-openssl-defaults. When I check chanko, it's already in there:

root@da-shiz chankos/stretch.chanko# chanko get perl-openssl-abi-1.1
Nothing to get...
root@da-shiz chankos/stretch.chanko# chanko get perl-openssl-defaults
Nothing to get...
root@da-shiz chankos/stretch.chanko# ls archives/ | grep perl-openssl
perl-openssl-defaults_3_amd64.deb

I'll work around it for now by excluding Webmin from the build, but we'll need to resolve that before we release v15.0.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions