Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boostrap error on Pharo 12 #17453

Open
tukanos opened this issue Nov 26, 2024 · 3 comments
Open

Boostrap error on Pharo 12 #17453

tukanos opened this issue Nov 26, 2024 · 3 comments

Comments

@tukanos
Copy link

tukanos commented Nov 26, 2024

I'm trying to bootstrap Pharo12 and it fails. (Note: This is different bug than James's Bootstrap error report, which is for Pharo 13).

I did switch to Pharo12 branch and tried to boostrap it via:
time ./bootstrap/scripts/bootstrap.sh; date

Here is the error message I got:

MetacelloNotification: Loaded -> NewTools-Debugger-Breakpoints-Tools --- github://pharo-spec/NewTools:Pharo12/src
Error: Package NewTools-DebugPointsBrowser depends on the following classes:
  OnceBehavior
  ConditionBehavior
  ChainBehavior
  DebugPointNodeTarget
  DebugPointObjectTarget
  DebugPoint
  TranscriptBehavior
  WatchDebugPoint
  CountBehavior
  TestEnvironmentBehavior
  DebugPointTarget
  DebugPointIconStyler
  ScriptBehavior
  DebugPointInstanceVariableTarget
  ClyDebuggingPointsCommand
  DebugPointBehavior
  BreakDebugPoint
You must resolve these dependencies before you will be able to load these definitions: 
  BreakDebugPoint>>#uiElement
  ChainBehavior>>#uiElement
  ClyAddAndConfigureBreakPointCommand
  ClyAddAndConfigureBreakPointCommand>>#defaultMenuIconName
  ClyAddAndConfigureBreakPointCommand>>#defaultMenuItemName
  ClyAddAndConfigureBreakPointCommand>>#execute
  ConditionBehavior>>#uiElement
  CountBehavior>>#uiElement
  DebugPoint>>#uiElement
  DebugPoint>>#updateDebugPointUIManager:
  DebugPointBehavior>>#uiElement
  DebugPointIconStyler>>#iconBlock:
  DebugPointInstanceVariableTarget>>#updateDebugPointUIManager:
  DebugPointNodeTarget>>#updateDebugPointUIManager:
  DebugPointObjectTarget>>#updateDebugPointUIManager:
  DebugPointTarget>>#updateDebugPointUIManager:
  OnceBehavior>>#uiElement
  ScriptBehavior>>#uiElement
  TestEnvironmentBehavior>>#uiElement
  TranscriptBehavior>>#uiElement
  WatchDebugPoint>>#uiElement

MCPackageLoader(Object)>>notify:
MCPackageLoader>>warnAboutDependencies
MCPackageLoader>>validate
MCPackageLoader>>load
MCVersionLoader>>basicLoad
[ self basicLoad ] in MCVersionLoader>>loadWithNameLike: in Block: [ self basicLoad ]
[ aBlock value ] in MCVersionLoader>>announceLoad:do: in Block: [ aBlock value ]
FullBlockClosure(BlockClosure)>>ensure:
MCVersionLoader>>announceLoad:do:
MCVersionLoader>>loadWithNameLike:
[ self ensurePackage: version package.
		  self loadWithNameLike: version info name ] in [   
		| version |
		version := versions first. 
		[ self ensurePackage: version package.
		  self loadWithNameLike: version info name ] asJob
				title: 'Loading ', version info name asString;
				run ] in MCVersionLoader>>load in Block: [ self ensurePackage: version package....
FullBlockClosure(BlockClosure)>>cull:
[ ^ block cull: self ] in [ self prepareForRunning.
	  CurrentJob value: self during: [ ^ block cull: self ] ] in Job>>run in Block: [ ^ block cull: self ]
[ activeProcess
			psValueAt: index
			put: anObject.
		aBlock value ] in CurrentJob(DynamicVariable)>>value:during: in Block: [ activeProcess...
FullBlockClosure(BlockClosure)>>ensure:
CurrentJob(DynamicVariable)>>value:during:
CurrentJob class(DynamicVariable class)>>value:during:
[ self prepareForRunning.
	  CurrentJob value: self during: [ ^ block cull: self ] ] in Job>>run in Block: [ self prepareForRunning....
FullBlockClosure(BlockClosure)>>ensure:
Job>>run
[   
		| version |
		version := versions first. 
		[ self ensurePackage: version package.
		  self loadWithNameLike: version info name ] asJob
				title: 'Loading ', version info name asString;
				run ] in MCVersionLoader>>load in Block: [   ...
FullBlockClosure(BlockClosure)>>ensure:
RPackageSet class>>withCacheDo:
MCVersionLoader>>load
MetacelloMonticelloLoader>>loadAtomicPackageDirectives:
MetacelloMonticelloLoader>>loadPackageDirective:
MetacelloLoadTarget>>visitPackageLoadDirective:
MetacelloPackageLoadDirective>>acceptVisitor:
[ :dir |
		dir acceptVisitor: self ] in MetacelloLoadTarget>>visitLinearLoadDirective: in Block: [ :dir |...
OrderedCollection>>do:

real	14m10,569s
user	13m46,149s
sys	0m16,489s
Tue 26November 202411:26:34 CET
Copy link

welcome bot commented Nov 26, 2024

Thanks for opening your first issue! Please check the CONTRIBUTING documents for some tips about which information should be provided. You can find information of how to do a Pull Request here: https://github.com/pharo-project/pharo/wiki/Contribute-a-fix-to-Pharo

GitHub
Pharo is a dynamic reflective pure object-oriented language supporting live programming inspired by Smalltalk. - pharo-project/pharo

@Ducasse
Copy link
Member

Ducasse commented Nov 26, 2024

Thanks for your report. I do not think that we can use Pharo12 to bootstrap Pharo12. But the script you are running is not doing what I said (I imagine) so it means that we have a potential failure of the Pharo12 build because the bootstrap is used to build P12.

@tukanos
Copy link
Author

tukanos commented Nov 27, 2024

@Ducasse Thank you for the answer. Is there a documentation how to correctly bootstrap Pharo12? I thought it is done by switching to Pharo12 branch and then doing the bootstrap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants