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

libfuse (WIP) #257

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

libfuse (WIP) #257

wants to merge 2 commits into from

Conversation

ikbenlike
Copy link

This PR ports libfuse3 and echfs to managarm. It depends on managarm#533 and mlibc#891.

Copy link
Member

@Dennisbonke Dennisbonke left a comment

Choose a reason for hiding this comment

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

I found some issues, nothing too major but as is this would break xbbs.

- args: ['@THIS_SOURCE_DIR@/echfs-fuse/bootstrap']

packages:
- name: libfuse
Copy link
Member

Choose a reason for hiding this comment

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

Missing the architecture field and missing metadata.

Copy link
Author

Choose a reason for hiding this comment

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

as far as I'm aware, echfs does not depend on a specific CPU architecture

Copy link
Member

Choose a reason for hiding this comment

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

I understand the confusion, but that's not what the architecture field is for. Xbbs needs to know what architecture the package is for in order to put it in the correct repository. That's nearly always just the OPTION:arch substitution but sometimes it's noarch (only data files for example). Labels then control if xbbs will attempt to build the package on a specific architecture, amd64 is always implied. For now, don't add a label, but do add that architecture field, as xbbs will choke on the fact that it's not there.

bootstrap.d/sys-fs.yml Outdated Show resolved Hide resolved
- name: echfs
subdir: 'ports'
git: 'https://github.com/echfs/echfs.git'
branch: 'master'
Copy link
Member

Choose a reason for hiding this comment

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

Please pin a commit and add a version field.

Copy link
Author

Choose a reason for hiding this comment

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

I have pinned a commit; however, there does not seem to be any version noted in the repository. Do I make one up or can this field be omitted?

Copy link
Member

Choose a reason for hiding this comment

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

Make one up in that case. Never omit a version field.

Copy link
Member

Choose a reason for hiding this comment

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

I've made up my own for ca-certificates for example, it includes the date I pulled the data from. Just an example.

- mlibc
configure:
- args:
- 'meson'
Copy link
Member

Choose a reason for hiding this comment

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

Just using meson seems to be deprecated. Meson recommends using meson setup. Please do so.

environ:
DESTDIR: '@THIS_COLLECT_DIR@'

- name: echfs-utils
Copy link
Member

Choose a reason for hiding this comment

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

Missing architecture field and missing metadata.

Copy link
Author

Choose a reason for hiding this comment

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

I have added an architecture field; what other metadata was missing?

Copy link
Member

Choose a reason for hiding this comment

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

You've received a reply from Leo on discord about it but for the record, everything under the metadata tag, as seen in various packages throughout the source.

environ:
DESTDIR: '@THIS_COLLECT_DIR@'

- name: echfs-fuse
Copy link
Member

Choose a reason for hiding this comment

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

Missing architecture field and missing metadata.

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

Successfully merging this pull request may close these issues.

2 participants