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

Gentoo ebuild for v0.10.0 #230

Open
mhx opened this issue Aug 15, 2024 · 6 comments
Open

Gentoo ebuild for v0.10.0 #230

mhx opened this issue Aug 15, 2024 · 6 comments

Comments

@mhx
Copy link
Owner

mhx commented Aug 15, 2024

FWIW, I've created a Gentoo ebuild for v0.10.0: dwarfs-ebuild.tar.gz

This works around the usual issues with gtest and libfmt and exposes most build-time features as USE flags. Tested with both FEATURES=ccache and FEATURES=test.

@RarogCmex, feel free to update this in guru (I have no idea how this works).

@RarogCmex
Copy link
Contributor

@mhx
Thanks. I'm ill at this moment, I will update it when I will be able to.

@mhx
Copy link
Owner Author

mhx commented Aug 20, 2024

@mhx Thanks. I'm ill at this moment, I will update it when I will be able to.

No worries, hope you feel better soon!

@RarogCmex
Copy link
Contributor

@mhx Could you update it to 0.10.1? I'll just place it to ::GURU then.

@mhx
Copy link
Owner Author

mhx commented Sep 23, 2024

Here you go:
dwarfs-0.10.1-ebuild.tar.gz

@RarogCmex
Copy link
Contributor

This is finally submitted!
https://gitweb.gentoo.org/repo/proj/guru.git/commit/?h=dev&id=0231b7d21224c2a37ea7049d2283da6e326ed688
I had to make a few changes. For example, the current recomendation for ebuilds is to always build documentation without asking for "use man" or "use doc".
One test is not actually working in my system (dwarfsextract_test.perfmon), I think it's because of sandbox or it might be that I didn't configure all prerequisitions.
Full diff:

$ diff dwarfs-0.10.1.ebuild dwarfs-0.10.1_old.ebuild
15c15
< IUSE="+jemalloc test +tools +fuse +perfmon flac ricepp stacktrace"
---
> IUSE="+jemalloc test man +tools fuse doc perfmon flac ricepp stacktrace"
72,73c72,73
<               -DWITH_MAN_PAGES=ON
<               -DWITH_MAN_OPTION=ON
---
>               -DWITH_MAN_PAGES=$(usex doc ON OFF)
>               -DWITH_MAN_OPTION=$(usex man ON OFF)
89,93d88
<       local CMAKE_SKIP_TESTS=(
<               # Perfmon is not working within sandbox
<               dwarfsextract_test.perfmon
<       )
< 
99a95
>               if use man ; then
100a97
>               elif use doc ; then
101a99
>               else
102a101
>               fi
104a104
>               if use man ; then
105a106
>               elif use doc ; then
106a108
>               else
107a110
>               fi

@mhx
Copy link
Owner Author

mhx commented Oct 18, 2024

One test is not actually working in my system (dwarfsextract_test.perfmon), I think it's because of sandbox or it might be that I didn't configure all prerequisitions.

Can you post the output of the failing test? It works fine for me in the sandbox and I don't know why it wouldn't.

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

No branches or pull requests

2 participants