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

MacOs brew package? #72

Open
keeely opened this issue Nov 9, 2020 · 2 comments
Open

MacOs brew package? #72

keeely opened this issue Nov 9, 2020 · 2 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@keeely
Copy link

keeely commented Nov 9, 2020

I've compiled this successfully on my Mac, and it seems to work perfectly. I wondered if you could make it available via brew (https://brew.sh/).

There was just one compilation warning:

warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: archive library: libcompat.a the table of contents is empty (no object file members in the library define global symbols) CCLD gensquashfs CC bin/rdsquashfs/rdsquashfs-rdsquashfs.o CC bin/rdsquashfs/rdsquashfs-list_files.o CC bin/rdsquashfs/rdsquashfs-options.o CC bin/rdsquashfs/rdsquashfs-restore_fstree.o CC bin/rdsquashfs/rdsquashfs-describe.o CC bin/rdsquashfs/rdsquashfs-fill_files.o CC bin/rdsquashfs/rdsquashfs-dump_xattrs.o CC bin/rdsquashfs/rdsquashfs-stat.o bin/rdsquashfs/stat.c:131:28: warning: format specifies type 'unsigned long' but the argument has type 'sqfs_u64' (aka 'unsigned long long') [-Wformat] printf("Sparse: %lu\n", inode->data.file_ext.sparse); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ %llu 1 warning generated.

@AgentD AgentD added good first issue Good for newcomers help wanted Extra attention is needed labels Nov 13, 2020
@AgentD
Copy link
Owner

AgentD commented Nov 13, 2020

Hi!

I'm not sure how much I can help here, since I currently don't have access to Apple hardware or software. The portability to MacOS was primarily achieved through being careful with GNU extensions and testing on Travis CI.

I double checked and saw that I get the same warning on Travis. I will look into this.

If it is any help at all, I took the brew script squashfs-tools and plugged in the values which I could generate on my end:

scratch.rb.gz

@gliptak
Copy link

gliptak commented Dec 4, 2022

sibling project packaged at https://formulae.brew.sh/formula/squashfs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants