ananace / overlay

My own collection of Gentoo ebuilds
9 stars 6 forks source link

Mangohud-0.6.1 missing Manifest #14

Closed Polluktus closed 3 years ago

Polluktus commented 3 years ago

Missing manifest makes mangohud impossible to fetch.

ananace commented 3 years ago

Thanks for noticing, I completely missed that when I redid the ebuild to using a proper archive instead of a git checkout, fixed now.

Polluktus commented 3 years ago

This mangohud is so unlucky.

^[[32;01m * ^[[39;49;00mPackage:    games-util/mangohud-0.6.1
^[[32;01m * ^[[39;49;00mRepository: ace
^[[32;01m * ^[[39;49;00mUSE:        X abi_x86_64 amd64 dbus elibc_glibc glvnd kernel_linux python_targets_python3_8 userland_GNU
^[[32;01m * ^[[39;49;00mFEATURES:   ccache network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking mangohud-0.6.1.tar.gz to /var/tmp/portage/games-util/mangohud-0.6.1/work
>>> Source unpacked in /var/tmp/portage/games-util/mangohud-0.6.1/work
 ^[[31;01m*^[[0m ERROR: games-util/mangohud-0.6.1::ace failed (prepare phase):
 ^[[31;01m*^[[0m   The source directory '/var/tmp/portage/games-util/mangohud-0.6.1/work/mangohud-0.6.1' doesn't exist
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m Call stack:
 ^[[31;01m*^[[0m            ebuild.sh, line  762:  Called __ebuild_main 'prepare'
 ^[[31;01m*^[[0m   phase-functions.sh, line 1050:  Called __dyn_prepare
 ^[[31;01m*^[[0m   phase-functions.sh, line  384:  Called die
 ^[[31;01m*^[[0m The specific snippet of code:
 ^[[31;01m*^[[0m                die "The source directory '${S}' doesn't exist"
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m If you need support, post the output of `emerge --info '=games-util/mangohud-0.6.1::ace'`,
 ^[[31;01m*^[[0m the complete build log and the output of `emerge -pqv '=games-util/mangohud-0.6.1::ace'`.
 ^[[31;01m*^[[0m The complete build log is located at '/var/tmp/portage/games-util/mangohud-0.6.1/temp/build.log'.
 ^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/games-util/mangohud-0.6.1/temp/environment'.
 ^[[31;01m*^[[0m Working directory: '/var/tmp/portage/games-util/mangohud-0.6.1/homedir'
 ^[[31;01m*^[[0m S: '/var/tmp/portage/games-util/mangohud-0.6.1/work/mangohud-0.6.1'

Maybe you should readd

src_unpack() {
    if [[ -n "${A}" ]]; then
        unpack ${A}
        mv MangoHud-${PV} mangohud-${PV}
    fi

or something, cuz in my workdir is "MangoHud" with capital letters.

ananace commented 3 years ago

Think it should be good now, also realized that the required use didn't make much sense as it can be compiled for both X and Wayland at the same time.

ananace commented 3 years ago

What happens when you spend a bunch of time poking at an ebuild for a feature branch, and then want to merge the improvements back into the main ebuild...