| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
we could find the dependency in another version of the
the same package first, and error out (see
special case found_in_self).
|
|
|
|
|
|
|
| |
shouldn't happen, but...
- mark old handles as such in UpdateSets
- keep going on solve_handle_tag to get maximum reports
- tweak verify_tags to demote old handles to warnings from errors
|
|
|
|
| |
also keep going after first tag check fail, so that we get maximal checks
|
| |
|
|
|
|
| |
we refuse to create packages with tags without reachable definitions
|
|
|
|
| |
deletion
|
|
|
|
| |
only uses that
|
|
|
|
| |
@define-tag sthg
|
|
|
|
| |
we can probably get away without doing it if no tags exist (to do later)
|
|
|
|
| |
definitions)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the problem was in solve_wantlibs, which is invoked fairly early in the
game (before actually committing to install the set) and which would walk
the "current" dependency tree and solve libs accordingly.
The problem being that sometimes, the libraries were in an older set... so
the fix is to do the dependency adjustment at this point as well, to
properly peek in the new set.
The main problem with that bug was how hard it was to reproduce, because
it depends on several conditions:
- the old and new package must have different names, but contain some
shared libraries with the same version.
- it has to be an UpdateSet with several packages tied together
- reaching the library must be possible through several paths. This usually
happens after several sets got merged together.
- taking the wrong path is dependent on the hash key order of the dependencies,
which is random.
|
|
|
|
| |
be fairly useful while debugging.
|
|
|
|
| |
sort dependencies so that at least this is 100% reproducible...
|
|
|
|
|
|
|
|
|
| |
infamous cups bug.
- look for candidates in the whole new set first. Yep, that includes kept
packages (should make things slightly faster, I expect)
- correctly remove caching of list of installed packages outsides of old
packages from the current set each time we revisit the set (looking at the
old behavior this actually sounds very likely).
|
|
|
|
|
|
| |
work again.
Should solve the +REQUIRED_BY problem hopefully.
|
|
|
|
| |
Actually testing it caused me to write correct (and simpler) code...
|
| |
|
|
|
|
| |
From Carlin Bingham
|
| |
|
|
|
|
|
| |
this does avoid infinite loops in case of wrong plists.
necessary since print-plist-with-depends CAN fail...
|
| |
|
|
|
|
|
|
|
|
| |
- make find_dep_in_installed more regular
- zap the {more} entry, add_dep is okay for that purpose
- don't special case installed_list, provide older_names instead
- make PseudoSets slightly less hackish
- don't read full packinglist, prelinkstuff is exactly what we need
|
|
|
|
|
|
|
| |
the same pkgpath. Thus, PseudoSets need to have a real list, and
pkgcreate needs to loop to solve those depends.
reactivate the check
|
| |
|
|
|
|
| |
also mark as known a special package known as BUILD
|
| |
|
| |
|
|
|
|
| |
cache handling from the rest for solve_dependency
|
| |
|
| |
|
| |
|
|
|
|
| |
(also cosmetic ws)
|
|
|
|
| |
inspired by landry@
|
| |
|
|
|
|
| |
(fixes cyrus-sasl install/updates, but not deinstall yet)
|
|
|
|
| |
but allow absolute pathnames (treat that as an implicit @cwd).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
fixes:
sudo pkg_add -r ghostscript-8.63p13-no_x11.tgz
quirks-1.17: 1/1
ghostscript-8.63p13->ghostscript-8.63p13-no_x11 forward dependencies:
| Dependency of libspectre-0.2.6 on ghostscript-*-!no_x11 doesn't match
Merging libspectre-0.2.6->libspectre-0.2.6 (1/3)
[libspectre-0.2.6]ghostscript-8.63p13->ghostscript-8.63p13-no_x11: 3/3
Read shared items: ok
|
|
|
|
| |
create verbose_system up in state, because it makes sense without verbose.
|
| |
|
|
|
|
|
| |
don't create updatesets directly, go through AddDelete::State.
Get all Locator/Repo access through state.
|
| |
|
|
|
|
|
| |
that it can be overriden. Change callers accordingly.
ok espie@
|
|
|
|
|
|
| |
pkg becomes the start hub, which does nothing except require the
correct module.
Saner code wrt Add/Delete, and more sharing.
|
| |
|
|
|
|
| |
stuff that won't match, so mark it for later.
|
| |
|