Ticket #865 (closed defect: fixed)

Opened 10 years ago

Last modified 10 years ago

Self-block results in internal error

Reported by: greenrd Owned by:
Priority: Sometime Milestone: cave Basic Functionality
Component: clients/cave Version: scm
Keywords: Cc:
Blocked By: Blocking:
Distribution: Exherbo

Description

I tried to block a package on itself (a "build:" block) because it can fail to build if it's already installed. This is probably an unsupported thing to do, but I tried it anyway to see what would happen. This is what happened:

$ sudo cave resolve sci-mathematics/coq-equations 
Password: 
Deciding: 2 stepsInternal error at bool<unnamed>::CareAboutDepFnVisitor::visit(const paludis::resolver::UnableToMakeDecision&) const at resolve_common.cc:880: UnableToMakeDecision shouldn't have deps



Error:
  * In program cave resolve sci-mathematics/coq-equations:
  * When resolving and adding dependencies recursively:
  * When adding dependencies for 'sci-mathematics/coq-equations:0::(install_to_slash)' with 'sci-mathematics/coq-equations-scm:0::greenrd':
  * When handling dependency 'dev-lang/ocaml:=[>=3.11]':
  * Eek! Internal error at bool<unnamed>::CareAboutDepFnVisitor::visit(const paludis::resolver::UnableToMakeDecision&) const at resolve_common.cc:880: UnableToMakeDecision shouldn't have deps (paludis::InternalError)

Change History

comment:1 Changed 10 years ago by greenrd

If I use paludis -i instead of cave resolve, the self-block is just ignored.

comment:2 Changed 10 years ago by ciaranm

  • Milestone set to cave Basic Functionality

Mmm. I'm not entirely sure what self blocks are supposed to do... It's not as obvious as one might hope, especially when virtuals come into it.

comment:3 Changed 10 years ago by ciaranm

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.