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: Master fails to build with system wlroots & wfconfig here... #690

Closed
CaptainBloodz opened this issue Aug 15, 2020 · 7 comments · Fixed by #691
Closed

Gentoo: Master fails to build with system wlroots & wfconfig here... #690

CaptainBloodz opened this issue Aug 15, 2020 · 7 comments · Fixed by #691

Comments

@CaptainBloodz
Copy link

Installed versions: 9999*l(14:11:45 06/08/2020)(elogind gles system-wfconfig system-wlroots -systemd)

Master configured to build with system wlroots and wfconfig already installed now fails to build here.

gui-wm:wayfire-9999:20200815-105133.log.zip

Thls 4 ur attention, interest & support.

@ammen99
Copy link
Member

ammen99 commented Aug 15, 2020

looks like a problem with packaging, so please report it to the package maintainer (@epsilon-0 ideas?)

@CaptainBloodz
Copy link
Author

Done prior to this post, which is also reported:
https://bugs.gentoo.org/736515

@CaptainBloodz CaptainBloodz changed the title Master fails to build with system wlroots & wfconfig here... Gentoo: Master fails to build with system wlroots & wfconfig here... Aug 15, 2020
@ammen99
Copy link
Member

ammen99 commented Aug 15, 2020

Hmm, I don't think our submodule is wrong. @epsilon-0 Can you elaborate what the problem with our submodule version is?

@epsilon-0
Copy link
Contributor

Am building it on my end and checking as well.

@epsilon-0
Copy link
Contributor

OK, this seems to be failing on a git fetch scenario.
So its not reaching the configure phase (let alone compile phase), so not exactly a packaging issue.
Will see more on what is happening....
Exact error, if it helps:

 * Fetching https://github.com/swaywm/wlroots ...
 * ERROR: gui-wm/wayfire-9999::gentoo failed (unpack phase):
 *   Referencing 497d3c13ef1e0697286155840971fa3b398e8e93 failed (wrong ref?).
 *
 * Call stack:
 *     ebuild.sh, line  125:  Called src_unpack
 *   environment, line 2889:  Called git-r3_src_unpack
 *   environment, line 2070:  Called git-r3_src_fetch
 *   environment, line 2064:  Called git-r3_fetch
 *   environment, line 2002:  Called git-r3_fetch 'https://github.com/swaywm/wlroots' '497d3c13ef1e0697286155840971fa3b398e8e93' 'gui-wm/wayfire/0/subprojects_wlroots' ''
 *   environment, line 1977:  Called die
 * The specific snippet of code:
 *                   die "Referencing ${remote_ref} failed (wrong ref?).";

@epsilon-0
Copy link
Contributor

OK, found the error.
Its an error on the submodule link inside wayfire, the correct link should be to
https://github.com/swaywm/wlroots/tree/74f7be728715e164d5b7f174491797ce31206c8d

The commit that the submodule is currently pointing at is not part of any branch and hence cannot be pulled by portage (which defaults to master branch)
The link that I've posted is the same commit but that when it is merged into the master branch.

If you could change the submodule to the new commit that I've linked it should work fine!

@CaptainBloodz
Copy link
Author

Tested working fine again here.
Thks 4 ur attention, interest & support.

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 a pull request may close this issue.

3 participants