Selected library depedency packages may conflict

Bug #1025186 reported by Michael Vogt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pkgme-devportal
Fix Released
Medium
Unassigned

Bug Description

PackageDatabase.get_dependencies() returns a set() right now. All members of the set are then added to the build-dependencies list. This is actually harmful as it means that for e.g. libGL.so.1 we get libgl1-mesa-glx and libgl1-mesa-swx11 which conflict. Instead we either need to check for those conflicts or just pick a single lib based on a "score" function that checks for stuff like "in man", "native arch", "number of rdependencies", "in our overrides file".

Tags: hib-binary

Related branches

Michael Vogt (mvo)
tags: added: hib-binary
Revision history for this message
Michael Vogt (mvo) wrote :

My gut feeling for this bug is that there are just a handful of these packages (libgl1-mesa-glx, libasound2) so creating a overrides mechanism for now sounds like a reasonable approach, if its too many we need something more clever instead.

Michael Vogt (mvo)
summary: - needs "score" for build-dependencies returned via get_dependencies()
+ Selected library depedency packages may conflict
Revision history for this message
Michael Vogt (mvo) wrote :

This is fixed now using the simple configuration file approach - this may needs re-evaluation once we gather more data.

Changed in pkgme-devportal:
status: New → Fix Committed
importance: Undecided → Medium
Michael Vogt (mvo)
Changed in pkgme-devportal:
status: Fix Committed → Fix Released
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.