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

distro: trixie: Add riscv64 to supported architectures #6793

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

ColorfulRhino
Copy link
Collaborator

@ColorfulRhino ColorfulRhino commented Jun 24, 2024

Add riscv64 to supported architectures for Debian Trixie.

How Has This Been Tested?

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • My changes generate no new warnings

@github-actions github-actions bot added size/small PR with less then 50 lines Hardware Hardware related like kernel, U-Boot, ... labels Jun 24, 2024
Copy link
Member

@igorpecovnik igorpecovnik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if it can be assembled, lets bring it in

@igorpecovnik igorpecovnik merged commit 622170c into armbian:main Jun 24, 2024
@ColorfulRhino
Copy link
Collaborator Author

if it can be assembled, lets bring it in

There are some dependency warnings like

dpkg: libpam-modules-bin: dependency problems, but configuring anyway as you requested:
 libpam-modules-bin depends on libaudit1 (>= 1:2.2.1).
 libpam-modules-bin depends on libcrypt1 (>= 1:4.3.0).
 libpam-modules-bin depends on libpam0g (>= 0.99.7.1).
 libpam-modules-bin depends on libselinux1 (>= 3.1~).
 libpam-modules-bin depends on libsystemd0 (>= 254).

Setting up libpam-modules-bin (1.5.3-7) ...

But it seems to assemble it anyway, apart from the base-files problem. I just assume this is normal behaviour normal for RISCV64.

@igorpecovnik
Copy link
Member

igorpecovnik commented Jun 24, 2024

I think those warnings are safe to ignore. Base files problem is really annoying ... damn. What about making a mirror of whole ubuntu packages ? How much we need?

@ColorfulRhino
Copy link
Collaborator Author

Actually no, I may have confused the failure for being base-files related, but this is the actual cause I believe:

   dpkg: error processing package apt-utils (--configure):
    dependency problems - leaving unconfigured
   Errors were encountered while processing:
    apt-utils
   dpkg: dependency problems prevent configuration of apt-utils:
    apt-utils depends on libgcc-s1 (>= 4.3); however:
     Package libgcc-s1 is not installed.
    apt-utils depends on libstdc++6 (>= 13.1); however:
     Package libstdc++6 is not installed.

   dpkg: error processing package apt-utils (--configure):
    dependency problems - leaving unconfigured
   Errors were encountered while processing:
    apt-utils
   dpkg: dependency problems prevent configuration of apt-utils:
    apt-utils depends on libgcc-s1 (>= 4.3); however:
     Package libgcc-s1 is not installed.
    apt-utils depends on libstdc++6 (>= 13.1); however:
     Package libstdc++6 is not installed.

   dpkg: error processing package apt-utils (--configure):
    dependency problems - leaving unconfigured
   Errors were encountered while processing:
    apt-utils
   dpkg: dependency problems prevent configuration of apt-utils:
    apt-utils depends on libgcc-s1 (>= 4.3); however:
     Package libgcc-s1 is not installed.
    apt-utils depends on libstdc++6 (>= 13.1); however:
     Package libstdc++6 is not installed.

   dpkg: error processing package apt-utils (--configure):
    dependency problems - leaving unconfigured
   Errors were encountered while processing:
    apt-utils

After inspection, those needed packages e.g. libgcc-s1 is missing an riscv64 package for Trixie: https://packages.debian.org/trixie/libgcc-s1
But it's avaibale in Sid.

@igorpecovnik
Copy link
Member

revert?

@ColorfulRhino
Copy link
Collaborator Author

ColorfulRhino commented Jun 24, 2024

revert?

Yeah probably better than trying to pick some specific packages from Sid.
Let's wait if they will add riscv64 versions for those packages in Trixie or if RISC has to wait a while to get Debian.

I'll send a quick revert.

@ColorfulRhino
Copy link
Collaborator Author

Sid builds just fine without these warnings, so yeah Trixie is not yet ready for RISV64 :)
Sorry for the hassles! I'm just trying to help with #6771 (I do not own the board) to keep the PR and the commits sane/raise the bar for quality a bit :)

@ColorfulRhino ColorfulRhino deleted the trixie-riscv branch June 24, 2024 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hardware Hardware related like kernel, U-Boot, ... size/small PR with less then 50 lines
Development

Successfully merging this pull request may close these issues.

2 participants