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

bootstrap failed: missing dependencies for toltec-base: open-remarkable-shutdown #907

Closed
stefan-bergstein opened this issue Sep 5, 2024 · 7 comments · Fixed by #909
Closed
Labels
bug Something isn't working install Installation scripts

Comments

@stefan-bergstein
Copy link

stefan-bergstein commented Sep 5, 2024

Describe the issue

bash bootstrap failed with

Downloading https://toltec-dev.org/stable/rm2os3/toltec-base_1.4-1_rm2os3.ipk
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for toltec-base:
 * 	open-remarkable-shutdown
 * opkg_install_cmd: Cannot install package toltec-base.
ERROR: Unexpected error on line bootstrap:260 in function main

To Reproduce
Steps to reproduce the behaviour:

  1. Install OS version 3.3.2.1666
  2. download bootstrapwget http://toltec-dev.org/bootstrap
  3. Run bootstrap echo "b87a085485404d2b000418b8ad44b52edd0293721f61427f2e427555ce9c6975 bootstrap" | sha256sum -c && bash bootstrap
  4. See error

Expected behaviour
bootstrap run without error

Screenshots
n/a

System information:

Model: rm2 RM110
OS: 3.3.2.166

Additional context

@stefan-bergstein stefan-bergstein added bug Something isn't working install Installation scripts labels Sep 5, 2024
@Eeems
Copy link
Member

Eeems commented Sep 5, 2024

The package configuration does not include open-remarkable-shutdown:

installdepends=(toltec-bootstrap toltec-deletions toltec-completion launcherctl wget-ssl ca-certificates entware-rc)
installdepends_rm1os2=(open-remarkable-shutdown)
installdepends_rm1os3=(open-remarkable-shutdown)
installdepends_rm2os2=(rm2-suspend-fix)
installdepends_rm2os3=(rm2-suspend-fix)

Yet for some reason the created package contains it:

Package: toltec-base
Description: Metapackage defining the base set of packages in a Toltec install
Homepage: https://toltec-dev.org/
Version: 1.4-1
Section: utils
Maintainer: Eeems <[email protected]>
License: MIT
Architecture: rm2os3
Depends: ca-certificates, entware-rc, launcherctl, open-remarkable-shutdown, rm2-suspend-fix, toltec-bootstrap, toltec-completion, toltec-deletions, wget-ssl

This likely is a bug with toltecmk.

@stefan-bergstein
Copy link
Author

Workaround:
1.) Download open-remarkable-shutdown_1.0-3_rmallos2.ipk
2.) patch bootstrap at lin 260

    opkg install /home/root/open-remarkable-shutdown_1.0-3_rmallos2.ipk # <- add this line
    opkg install toltec-base

3.) run bash bootstrap

@Eeems
Copy link
Member

Eeems commented Sep 5, 2024

I would not recommend most users do this, as open-remarkable-shutdown isn't working properly on 3.x for the rM2

@Havner
Copy link

Havner commented Sep 5, 2024

Just stumbled upon this as well.

@Eeems
Copy link
Member

Eeems commented Sep 6, 2024

I've written a simple test in toltecmk to validate that installdepends is parsed properly. It has identified a bug with the recipe parser that is causing it to have invalid values. I'm now trying to grok the parser code to determine what is wrong and how to fix it.

@Eeems
Copy link
Member

Eeems commented Sep 6, 2024

0.3.3 of toltecmk has been published to fix the issue, I'll have to integrate it and push through an emergency fix to stable tomorrow.

@Eeems Eeems linked a pull request Sep 6, 2024 that will close this issue
@Eeems
Copy link
Member

Eeems commented Sep 6, 2024

This should now be resolved.

@Eeems Eeems closed this as completed Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working install Installation scripts
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants