[go: nahoru, domu]

"No libraries to exclude from this release" printed many times

Bug #1647911 reported by Leo Arias
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Snapcraft
Confirmed
Undecided
Unassigned

Bug Description

To reproduce, use this snapcraft.yaml:

name: test
version: '0.1'
summary: test
description: test

parts:
  test:
    plugin: python

Run:

$ snapcraft
[...]
Priming test
No libraries to exclude from this release
No libraries to exclude from this release
No libraries to exclude from this release
No libraries to exclude from this release
No libraries to exclude from this release
No libraries to exclude from this release
No libraries to exclude from this release
No libraries to exclude from this release
No libraries to exclude from this release
No libraries to exclude from this release
No libraries to exclude from this release
No libraries to exclude from this release
No libraries to exclude from this release
No libraries to exclude from this release
No libraries to exclude from this release
No libraries to exclude from this release
[...]

This of course offers no useful information. And note that it is printed without even passing -d.

This should be hidden on a normal snapcraft run.
And when running snapcraft -d, it could be shown but it needs to provide something useful. What does it mean that it's printed so many times? Can we related it to a different source file? Or should we print it only once?

Tags: ui
Leo Arias (elopio)
tags: added: ui
Revision history for this message
Kyle Fazzari (kyrofa) wrote :

This comes when there is no core snap corresponding to a given Ubuntu release (i.e. non-xenial). It means there are no libraries snapcraft knows it can leave off when pulling in system libs. This should probably be a warning, but should likely only be shown once, or at most once per part.

Changed in snapcraft:
status: New → Confirmed
Revision history for this message
RoxD (roxd) wrote :

also affects me, with this snap: https://github.com/roxyd/snapcraft-snaps

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.