Skip to content

help request - libphobos2 error in my package #83

@KingDuckZ

Description

@KingDuckZ

I wrote this ebuild which I'd like to contribute to this overlay:

# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="A command line hashing program based on the tiger algorithm"
HOMEPAGE="https://alarmpi.no-ip.org/gitan/King_DuckZ/tigersum"
SRC_URI="https://alarmpi.no-ip.org/gitan/King_DuckZ/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}"/"${PN}"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE="default-tiger2"

DLANG_VERSION_RANGE="2.075-"
DLANG_PACKAGE_TYPE="single"

DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""

inherit dlang meson

src_prepare() {
        eapply_user
        local emesonargs=(
                -Ddefault_tiger_version=$(usex default-tiger2 2 1)
        )
        meson_src_configure
}

The package is installing correctly but when I run tigersum --help I get this error:

tigersum: error while loading shared libraries: libphobos2-ldc-shared.so.90: cannot open shared object file: No such file or directory

Any idea what the problem might be and how I could fix my ebuild?

I'm compiling with ldc

sys-apps/tigersum-0.1::localrepo  USE="ldc2-1_20 -default-tiger2 -dmd-2_075 -dmd-2_076 -dmd-2_077 -dmd-2_078 -dmd-2_079 -dmd-2_080 -dmd-2_081 -dmd-2_082 -dmd
-2_083 -dmd-2_084 -dmd-2_085 -dmd-2_086 -dmd-2_087 -dmd-2_088 -dmd-2_089 -dmd-2_090 -gdc-9_2_0 -gdc-9_3_0 -ldc2-1_12 -ldc2-1_13 -ldc2-1_14 -ldc2-1_15 -ldc2-1_16 -ldc2-1_17 -l
dc2-1_18 -ldc2-1_19" 0 KiB

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions