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

dev-libs/granite 5.2.4 #12690

Closed
wants to merge 2 commits into from
Closed

dev-libs/granite 5.2.4 #12690

wants to merge 2 commits into from

Conversation

lovesegfault
Copy link
Contributor

Closes: https://bugs.gentoo.org/692046
Package-Manager: Portage-2.3.71, Repoman-2.3.17
RepoMan-Options: --force
Signed-off-by: Bernardo Meurer bernardo@standard.ai

@gentoo-bot gentoo-bot added maintainer-needed There is at least one affected package with no maintainer. Review it if you can. assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. labels Aug 13, 2019
@lovesegfault lovesegfault changed the title dev-libs/granite 5.2.4, yank old broken version dev-libs/granite 5.2.4 Aug 13, 2019
dev-libs/granite/granite-5.2.4.ebuild Outdated Show resolved Hide resolved
dev-libs/granite/granite-5.2.4.ebuild Outdated Show resolved Hide resolved
dev-libs/granite/granite-5.2.4.ebuild Show resolved Hide resolved
@juippis
Copy link
Member

juippis commented Aug 16, 2019

Now if you could squash these commits into one I'd say it'd be ready.

EDIT:

Program valadoc found: NO

doc/meson.build:1:0: ERROR: Program(s) ['valadoc'] not found or not executable

A full log can be found at /var/tmp/portage/dev-libs/granite-5.2.4/work/granite-5.2.4-build/meson-logs/meson-log.txt
 * ERROR: dev-libs/granite-5.2.4::testworld failed (configure phase):
 *   (no error message)

with doc USE flag on...

@lovesegfault
Copy link
Contributor Author

@juippis squashed and fixed the doc issue :)

@juippis
Copy link
Member

juippis commented Aug 17, 2019

Did you test the doc issue? It's still not working for me. I'm not saying its your fault, but this seems weird and is not working out-of-the-box for me.

#  equery f vala | grep doc
/usr/bin/valadoc-0.44
/usr/include/valadoc-0.44
/usr/include/valadoc-0.44/valadoc.h
/usr/lib64/libvaladoc-0.44.so
/usr/lib64/libvaladoc-0.44.so.0
/usr/lib64/libvaladoc-0.44.so.0.0.0
/usr/lib64/pkgconfig/valadoc-0.44.pc

etc

@lovesegfault
Copy link
Contributor Author

@juippis Hmm, I had just assumed enabling valadoc would work, but testing it now it seems to still be broken. D'oh.

Not sure how to fix this

@lovesegfault
Copy link
Contributor Author

Going to remove the doc USE flag for now I guess, bummer!

@juippis
Copy link
Member

juippis commented Aug 18, 2019

It should be solvable. Try using VALA_USE_DEPEND="valadoc", and if that doesn't work a simple sed will do it.

@juippis
Copy link
Member

juippis commented Aug 18, 2019

https://github.com/elementary/granite/blob/master/doc/meson.build#L1
this is the problem. For now, I'd like you to either sed this line if doc USE is enabled, pointing to valadoc-$(vala_best_api_version) or make some sort of alias valadoc = (the previous command) in the ebuild.
Sorry I know the current version is broken, but this is literally one sed line away from being good and working.

@lovesegfault
Copy link
Contributor Author

@juippis Alright! Fixed!

NB: The build still doesn't work. It errors claiming that some images in doc/images/ aren't there, when in fact I see they are there. Not sure what that's about.

@juippis
Copy link
Member

juippis commented Aug 19, 2019

Yeah, meson.eclass moves the files around a bit while building. Try putting this inside "if use doc; then" block

mkdir ${WORKDIR}/doc || die
cp -r doc/* ${WORKDIR}/doc/ || die

EDIT: that, mv, sedding the build files... whatever works the best for you.

dev-libs/granite/granite-5.2.4.ebuild Outdated Show resolved Hide resolved
dev-libs/granite/granite-5.2.4.ebuild Show resolved Hide resolved
dev-libs/granite/granite-5.2.4.ebuild Show resolved Hide resolved
@lovesegfault
Copy link
Contributor Author

@juippis All fixed!

@juippis
Copy link
Member

juippis commented Aug 21, 2019

Good and bad news :)
Good: It compiled! :)
Bad: I can't find the generated docs from my system :(

You may have to manually install them with doins, or add the source directory to HTML_DOCS before calling einstalldocs.

@lovesegfault
Copy link
Contributor Author

@juippis This ebuild is making me cry :P

@juippis
Copy link
Member

juippis commented Aug 21, 2019

It'll make you feel so good when it works perfectly ;)
I know this has been tedious, but we know the problem and don't want to push broken ebuilds. It'd also be faster for everyone if you checked everything beforehand so I wouldn't have to notify what is working and what is not :P
PS: It's so close now. One line away.

@lovesegfault
Copy link
Contributor Author

@juippis I'm still working on my "ebuild checklist". Now I have "verify docs are in the right place" on it 😄

@lovesegfault
Copy link
Contributor Author

I went to inspect this today, and I get a sandbox violation, log attached. I don't know what to do about this, first time I encounter it.

sandbox-584219.log

Package-Manager: Portage-2.3.71, Repoman-2.3.17
RepoMan-Options: --force
Signed-off-by: Bernardo Meurer <bernardo@standard.ai>
@juippis
Copy link
Member

juippis commented Aug 28, 2019

Did you figure it out? I don't see any changes between your previous commit and the latest?

If it works now, good, let me know and I'll test it. If not, here's what I was after:

use doc && local HTML_DOCS=( "${WORKDIR}"/doc/. )

where you specify path where valadoc creates those docs, this needs to be defined before calling einstalldocs (or default meson-src_install phase).

@lovesegfault
Copy link
Contributor Author

@juippis I didn't change anything, one morning it started giving sandbox violations when the doc useflag was enabled. I tested yesterday and still got them, no idea why

@juippis
Copy link
Member

juippis commented Aug 28, 2019

Sigh. Builds fine for me... but these images arent even that informational. Lets just disable USE="doc" and its functions from this one... :P
Meh. At least we tried!

@lovesegfault
Copy link
Contributor Author

Alright, I removed the doc USE, but left the code commented with a FIXME. I'll continue to pursue this issue upstream :)

dev-libs/granite/granite-5.2.4.ebuild Outdated Show resolved Hide resolved
dev-libs/granite/granite-5.2.4.ebuild Outdated Show resolved Hide resolved
dev-libs/granite/granite-5.2.4.ebuild Outdated Show resolved Hide resolved
@juippis
Copy link
Member

juippis commented Aug 29, 2019

Im not sure its an upstream issue either...

Closes: https://bugs.gentoo.org/691624
Package-Manager: Portage-2.3.71, Repoman-2.3.17
RepoMan-Options: --force
Signed-off-by: Bernardo Meurer <bernardo@standard.ai>
@lovesegfault
Copy link
Contributor Author

Done @juippis!

I think it's some issue with Valadoc, but I'll leave this alone for now in to get this thing merged as it's a major, needed, bump.

@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2019-08-29 05:40 UTC
Newest commit scanned: af47b96
Status: ✅ good

No issues found

@lovesegfault lovesegfault changed the title dev-libs/granite 5.2.4 dev-libs/granite 5.2.4[please reassign] Aug 29, 2019
@gentoo-bot gentoo-bot changed the title dev-libs/granite 5.2.4[please reassign] dev-libs/granite 5.2.4 Aug 29, 2019
@gentoo-bot
Copy link

Copyright policy change

Please note that on 2018-09-15 Trustees have approved new Gentoo copyright policy. All contributions made to Gentoo need to follow this policy. If you include the Signed-off-by line in your commit message, you indicate that you have read the policy and agree to its terms. For more detailed explanation, please see the new Gentoo copyright policy explained article.

Pull Request assignment

Submitter: @lovesegfault
Areas affected: ebuilds
Packages affected: dev-libs/granite

dev-libs/granite: @gentoo/proxy-maint (maintainer needed)

Linked bugs

Bugs linked: 691624


In order to force reassignment and/or bug reference scan, please append [please reassign] to the pull request title.

Docs: Code of ConductCopyright policy (expl.) ● DevmanualGitHub PRsProxy-maint guide

@gentoo-bot gentoo-bot added maintainer-needed There is at least one affected package with no maintainer. Review it if you can. assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. and removed assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. maintainer-needed There is at least one affected package with no maintainer. Review it if you can. labels Aug 29, 2019
@juippis
Copy link
Member

juippis commented Aug 29, 2019

Thanks for your patience, works good now :)

@lovesegfault lovesegfault deleted the dev-libs/granite-5.2.4 branch August 29, 2019 17:22
@lovesegfault
Copy link
Contributor Author

Thank you for taking the time and helping me @juippis !

thebitpit pushed a commit to thebitpit/gentoo that referenced this pull request Aug 30, 2019
Closes: https://bugs.gentoo.org/691624
Package-Manager: Portage-2.3.71, Repoman-2.3.17
RepoMan-Options: --force
Signed-off-by: Bernardo Meurer <bernardo@standard.ai>
Closes: gentoo#12690
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. maintainer-needed There is at least one affected package with no maintainer. Review it if you can.
Projects
None yet
4 participants