Skip to content

libfuse (WIP)#257

Draft
ikbenlike wants to merge 2 commits into
managarm:masterfrom
ikbenlike:libfuse
Draft

libfuse (WIP)#257
ikbenlike wants to merge 2 commits into
managarm:masterfrom
ikbenlike:libfuse

Conversation

@ikbenlike
Copy link
Copy Markdown

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

Copy link
Copy Markdown
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.

Comment thread bootstrap.d/sys-fs.yml
- args: ['@THIS_SOURCE_DIR@/echfs-fuse/bootstrap']

packages:
- name: libfuse
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

Comment thread bootstrap.d/sys-fs.yml Outdated
Comment thread bootstrap.d/sys-fs.yml
- name: echfs
subdir: 'ports'
git: 'https://github.com/echfs/echfs.git'
branch: 'master'
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

Comment thread bootstrap.d/sys-fs.yml
- mlibc
configure:
- args:
- 'meson'
Copy link
Copy Markdown
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.

Comment thread bootstrap.d/sys-fs.yml
environ:
DESTDIR: '@THIS_COLLECT_DIR@'

- name: echfs-utils
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

Comment thread bootstrap.d/sys-fs.yml
environ:
DESTDIR: '@THIS_COLLECT_DIR@'

- name: echfs-fuse
Copy link
Copy Markdown
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