Opened 20 months ago
Last modified 3 months ago
#18339 new bug
Handle additional libsolv 0.7.x cases — at Version 2
Reported by: | kallisti5 | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta6 |
Component: | Kits/Package Kit | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description (last modified by )
libsolv 0.7.x has additional solver rules that need handled within our package kit...
C++ objects/linux/x86_64/release/build/libpackage/solver/LibsolvSolver.o ../src/kits/package/solver/libsolv/LibsolvSolver.cpp: In member function ‘status_t LibsolvSolver::_AddProblem(Id)’: ../src/kits/package/solver/libsolv/LibsolvSolver.cpp:914:16: warning: enumeration value ‘SOLVER_RULE_PKG_RECOMMENDS’ not handled in switch [-Wswitch] 914 | switch (solver_ruleinfo(fSolver, ruleId, &sourceId, &targetId, | ^ ../src/kits/package/solver/libsolv/LibsolvSolver.cpp:914:16: warning: enumeration value ‘SOLVER_RULE_PKG_CONSTRAINS’ not handled in switch [-Wswitch] ../src/kits/package/solver/libsolv/LibsolvSolver.cpp:914:16: warning: enumeration value ‘SOLVER_RULE_PKG_SUPPLEMENTS’ not handled in switch [-Wswitch] ../src/kits/package/solver/libsolv/LibsolvSolver.cpp:914:16: warning: enumeration value ‘SOLVER_RULE_JOB_UNKNOWN_PACKAGE’ not handled in switch [-Wswitch] ../src/kits/package/solver/libsolv/LibsolvSolver.cpp:914:16: warning: enumeration value ‘SOLVER_RULE_JOB_UNSUPPORTED’ not handled in switch [-Wswitch] ../src/kits/package/solver/libsolv/LibsolvSolver.cpp:914:16: warning: enumeration value ‘SOLVER_RULE_YUMOBS’ not handled in switch [-Wswitch] ../src/kits/package/solver/libsolv/LibsolvSolver.cpp:914:16: warning: enumeration value ‘SOLVER_RULE_RECOMMENDS’ not handled in switch [-Wswitch] ../src/kits/package/solver/libsolv/LibsolvSolver.cpp:914:16: warning: enumeration value ‘SOLVER_RULE_BLACK’ not handled in switch [-Wswitch] ../src/kits/package/solver/libsolv/LibsolvSolver.cpp:914:16: warning: enumeration value ‘SOLVER_RULE_STRICT_REPO_PRIORITY’ not handled in switch [-Wswitch] MkDir1 objects/linux/x86_64/release/build/libsolv
We should likely detect the new libsolv package and optionally check for them.
~0.7.23
- SOLVER_RULE_PKG_CONSTRAINS https://github.com/openSUSE/libsolv/commit/cdf3f67b03cdc4755c2f03b8393b2d09d37b9159
- SOLVER_RULE_PKG_SUPPLEMENTS https://github.com/openSUSE/libsolv/commit/cdf3f67b03cdc4755c2f03b8393b2d09d37b9159
~0.6.4
- SOLVER_RULE_JOB_UNKNOWN_PACKAGE https://github.com/openSUSE/libsolv/commit/c63a0c9ce78bf828e91508981608f7973ac7b1a5
- SOLVER_RULE_JOB_UNSUPPORTED https://github.com/openSUSE/libsolv/commit/c63a0c9ce78bf828e91508981608f7973ac7b1a5
~Unknown
- SOLVER_RULE_YUMOBS
- SOLVER_RULE_RECOMMENDS
- SOLVER_RULE_BLACK
- SOLVER_RULE_STRICT_REPO_PRIORITY
You too can try this via:
diff --git a/build/jam/repositories/HaikuPorts/x86_64 b/build/jam/repositories/HaikuPorts/x86_64 index bf09923c1a..b95965ae6f 100644 --- a/build/jam/repositories/HaikuPorts/x86_64 +++ b/build/jam/repositories/HaikuPorts/x86_64 @@ -155,8 +155,8 @@ RemotePackageRepository HaikuPorts libpsl_devel-0.21.1-2 libraw-0.20.2-1 libraw_devel-0.20.2-1 - libsolv-0.3.0_haiku_2014_12_22-3 - libsolv_devel-0.3.0_haiku_2014_12_22-3 + libsolv-0.7.23-3 + libsolv_devel-0.7.23-3 libssh2-1.9.0-2 libssh2_devel-1.9.0-2 libtasn1-4.18.0-1
Note:
See TracTickets
for help on using tickets.
more errors
These can be solved via:
However, "GenerateLibsolvVersionHeader" feels like an abomination in general. It seems to be fixing up libsolv_source packages for the build host.