Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928286 - gui-libs/greetd fails with --crate-name proc_macro2 issue on dev-lang/rust-1.76.0-r1
Summary: gui-libs/greetd fails with --crate-name proc_macro2 issue on dev-lang/rust-1....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: John Helmert III
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-31 09:09 UTC by CaptainBlood
Modified: 2024-04-21 08:21 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild log (gui-libs:greetd-0.9.0:20240331-020113.log.gz,4.24 KB, application/gzip)
2024-03-31 09:09 UTC, CaptainBlood
Details
patched greetd portage directory (greetd.tar.xz,10.36 KB, application/x-xz)
2024-04-14 00:46 UTC, CaptainBlood
Details

Note You need to log in before you can comment on or make changes to this bug.
Description CaptainBlood 2024-03-31 09:09:31 UTC
Created attachment 889085 [details]
ebuild log

IIRC this should be fixed dev-lang/rust-1.74.1 if not dev-lang/rust-1.75.0-r1
Comment 1 Ionen Wolkens gentoo-dev 2024-03-31 12:28:29 UTC
I assume you have unmasked USE=nightly on rust and enabled it?

proc-macro2 is one of the reason USE=nightly got masked.
Comment 2 Ionen Wolkens gentoo-dev 2024-03-31 12:37:04 UTC
(In reply to Ionen Wolkens from comment #1)
> I assume you have unmasked USE=nightly on rust and enabled it?
> 
> proc-macro2 is one of the reason USE=nightly got masked.
(still just tried to build greetd with 1.76.0-r1 and it builds fine, so I do assume it's self-inflicted through force-enabling USE=nightly)
Comment 3 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2024-03-31 19:38:51 UTC
(In reply to Ionen Wolkens from comment #1)
> I assume you have unmasked USE=nightly on rust and enabled it?
> 
> proc-macro2 is one of the reason USE=nightly got masked.

Please also share `emerge --info` for good measure.
Comment 4 CaptainBlood 2024-04-14 00:46:47 UTC
Created attachment 890744 [details]
patched greetd portage directory

USE=nightly indeed unmasked here, for rather obvious reasons.

'self-inflicted' ? Upstream maybe...

Back to serious mode:

This issue has been fixed in rust more than 6 months ago.

Tested building.

diff greetd-0.9.0.ebuild  greetd-0.9.0-r1.ebuild
24c24
< 	proc-macro2@1.0.49
---
> 	proc-macro2@1.0.71
83a84
> 	"${FILESDIR}/${PN}-0.9.0-proc-macro2.patch"

So it is set to the older dev-lang.rust version in the portage tree.
Comment 5 CaptainBlood 2024-04-14 00:48:48 UTC
Should read
currently oldest
Comment 6 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2024-04-15 06:11:05 UTC
That dependency seems updated in upstream git, I'll ask for a release. But maybe we could use a snapshot at this point anyawy.
Comment 7 Larry the Git Cow gentoo-dev 2024-04-21 00:08:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0fdc0e9272d6672a0b59160be5c7c2cb1765d5f

commit e0fdc0e9272d6672a0b59160be5c7c2cb1765d5f
Author:     John Helmert III <ajak@gentoo.org>
AuthorDate: 2024-04-21 00:08:29 +0000
Commit:     John Helmert III <ajak@gentoo.org>
CommitDate: 2024-04-21 00:08:29 +0000

    gui-libs/greetd: add 0.10.0
    
    Closes: https://bugs.gentoo.org/928286
    Signed-off-by: John Helmert III <ajak@gentoo.org>

 gui-libs/greetd/Manifest             |  52 +++++++++++++
 gui-libs/greetd/greetd-0.10.0.ebuild | 139 +++++++++++++++++++++++++++++++++++
 2 files changed, 191 insertions(+)
Comment 8 CaptainBlood 2024-04-21 02:23:27 UTC
(In reply to John Helmert III from comment #6)
> That dependency seems updated in upstream git, I'll ask for a release. But
> maybe we could use a snapshot at this point anyawy.

Thks 4 the version bump.
Comment 9 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2024-04-21 08:21:56 UTC
No problem!