Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 925317 - [guru] gui-apps/eww-9999 fails to build/update
Summary: [guru] gui-apps/eww-9999 fails to build/update
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Pascal Jäger
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-23 09:48 UTC by CaptainBlood
Modified: 2024-02-25 17:05 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description CaptainBlood 2024-02-23 09:48:06 UTC
eix gui-apps/eww
[I] gui-apps/eww [1]
     Available versions:  ~0.5.0 (**)9999*l {X debug wayland}
     Installed versions:  9999*l(12:24:09 21/02/2024)(wayland -debug)
     Homepage:            https://github.com/elkowar/eww
     Description:         Elkowars Wacky Widgets is a standalone widget system made in Rust

[1] "guru" /var/db/repos/guru

Fails to build as here:

emerge -1 gui-apps/eww

 * IMPORTANT: 15 config files in '/etc/portage' need updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.
 * --tree is broken with --nodeps. Disabling...

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) gui-apps/eww-9999::guru
>>> Unpacking source...
 * Repository id: elkowar_eww.git
 * To override fetched repository properties, use:
 *   EGIT_OVERRIDE_REPO_ELKOWAR_EWW
 *   EGIT_OVERRIDE_BRANCH_ELKOWAR_EWW
 *   EGIT_OVERRIDE_COMMIT_ELKOWAR_EWW
 *   EGIT_OVERRIDE_COMMIT_DATE_ELKOWAR_EWW
 * 
 * Fetching https://github.com/elkowar/eww.git ...
git fetch https://github.com/elkowar/eww.git +HEAD:refs/git-r3/HEAD
git symbolic-ref refs/git-r3/gui-apps/eww/0/__main__ refs/git-r3/HEAD
 * Checking out https://github.com/elkowar/eww.git to /var/no-tmpfs/portage/gui-apps/eww-9999/work/eww-9999 ...
git checkout --quiet refs/git-r3/HEAD
GIT update -->
   repository:               https://github.com/elkowar/eww.git
   at the commit:            d96586c209cad2c1098a4caa42133329bef852e8
>>> Source unpacked in /var/no-tmpfs/portage/gui-apps/eww-9999/work
>>> Preparing source in /var/no-tmpfs/portage/gui-apps/eww-9999/work/eww-9999 ...
>>> Source prepared.
>>> Configuring source in /var/no-tmpfs/portage/gui-apps/eww-9999/work/eww-9999 ...
>>> Source configured.
>>> Compiling source in /var/no-tmpfs/portage/gui-apps/eww-9999/work/eww-9999 ...
 * ERROR: gui-apps/eww-9999::guru failed (compile phase):
 *   FATAL: please call cargo_gen_config before using cargo_src_compile
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 2916:  Called cargo_src_compile '--no-default-features' '--features=wayland,x11'
 *   environment, line 1453:  Called die
 * The specific snippet of code:
 *       [[ -n ${_CARGO_GEN_CONFIG_HAS_RUN} ]] || die "FATAL: please call cargo_gen_config before using ${FUNCNAME}";
 * 
 * If you need support, post the output of `emerge --info '=gui-apps/eww-9999::guru'`,
 * the complete build log and the output of `emerge -pqv '=gui-apps/eww-9999::guru'`.
 * The complete build log is located at '/var/log/portage/gui-apps:eww-9999:20240223-094218.log.gz'.
 * For convenience, a symlink to the build log is located at '/var/no-tmpfs/portage/gui-apps/eww-9999/temp/build.log.gz'.
 * The ebuild environment file is located at '/var/no-tmpfs/portage/gui-apps/eww-9999/temp/environment'.
 * Working directory: '/var/no-tmpfs/portage/gui-apps/eww-9999/work/eww-9999'
 * S: '/var/no-tmpfs/portage/gui-apps/eww-9999/work/eww-9999'

Reproducible: Always
Comment 1 CaptainBlood 2024-02-24 13:29:20 UTC
Restoring formerly deleted snippet fixes here:

src_unpack() {
	git-r3_src_unpack
	cargo_live_src_unpack
}

Maybe one of these two lines could be removed.

Temporary patched version in local repository for now.
Comment 2 CaptainBlood 2024-02-24 17:27:45 UTC
Thks
Comment 3 Gonçalo Negrier Duarte 2024-02-25 11:01:42 UTC
I will solve them later is some things I need to improve in the ebuild
Comment 4 Gonçalo Negrier Duarte 2024-02-25 13:23:25 UTC
Fix 9999 and 0.5.0 I will push the fix shortly
Comment 6 CaptainBlood 2024-02-25 15:07:46 UTC
Nice
Comment 7 Larry the Git Cow gentoo-dev 2024-02-25 17:05:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e677aba9653d7a6ea8fb283605f75590ca6ec019

commit e677aba9653d7a6ea8fb283605f75590ca6ec019
Author:     Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
AuthorDate: 2024-02-25 13:25:15 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
CommitDate: 2024-02-25 13:31:59 +0000

    gui-apps/eww: drop 0.5.0, add 0.5.0-r1
    * improve how features are enable using cargo.eclass
    * fix SRC_URI 0.5.0
    * improving src_unpack (not sure is really need but just to be safe)
    * closing old bug of 0.4.0 since was drop
    
    Closes: https://bugs.gentoo.org/925317
    Closes: https://bugs.gentoo.org/925426
    Closes: https://bugs.gentoo.org/884457
    Closes: https://bugs.gentoo.org/884455
    Closes: https://bugs.gentoo.org/877675
    Closes: https://bugs.gentoo.org/863095
    Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>

 .../eww/{eww-0.5.0.ebuild => eww-0.5.0-r1.ebuild}  | 35 +++++++++++++---------
 gui-apps/eww/eww-9999.ebuild                       | 35 +++++++++++++---------
 2 files changed, 42 insertions(+), 28 deletions(-)