Jump to content
Read the Funtoo Newsletter: Summer 2023 ×
  • 0

ebuild for driver rtl8192


ser

Question

I have an ebuild for the rtl8192eu, stored in my local overlay. This is the code:

# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/nvidia-drivers-173.14.39.ebuild,v 1.10 2015/05/30 12:30:31 jer Exp $

EAPI=5

inherit linux-mod git-r3

DESCRIPTION="rtl8192eu driver"
EGIT_REPO_URI="https://github.com/Mange/rtl8192eu-linux-driver"

LICENSE=""
SLOT="0"
KEYWORDS="amd64"
IUSE=""

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

S=${WORKDIR}
BUILD_TARGETS="clean modules"
MODULE_NAMES="8192eu(drivers/net/wireless:${S}/${P})"

This ebuild works on Gentoo, but not in the new version 1.3 and 1.4 of Funtoo.

The error message says that " ... cannot fetch the EGIT_REPO_URI"

why?

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0
16 hours ago, jhan said:

I think the correct URL would be:

https://github.com/Mange/rtl8192eu-linux-driver.git


EGIT_REPO_URI (REQUIRED)
    URIs to the repository, e.g. https://foo. If multiple URIs are provided, the eclass will consider the remaining URIs as fallbacks to try if the first URI does not work. For supported URI syntaxes, read the manpage for git-clone(1).

    URIs should be using https:// whenever possible. http:// and git:// URIs are completely unsecured and their use (even if only as a fallback) renders the ebuild completely vulnerable to MITM attacks.

    Can be a whitespace-separated list or an array.

    Example:

    EGIT_REPO_URI="https://a/b.git https://c/d.git"

No, I try your solution but the problem is the same.

I repeat, in Gentoo my ebuild work.

Link to comment
Share on other sites

  • 0

This is the emerge log: 

* Fetching https://github.com/Mange/rtl8192eu-linux-driver ...
git fetch https://github.com/Mange/rtl8192eu-linux-driver +refs/heads/realtek-4.4.x:refs/heads/realtek-4.4.x
fatal: unable to access 'https://github.com/Mange/rtl8192eu-linux-driver/': Couldn't resolve host 'github.com'
 * ERROR: net-wireless/rtl8192eu-driver-4.4::sergiol failed (unpack phase):
 *   Unable to fetch from any of EGIT_REPO_URI
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_unpack
 *   environment, line 3571:  Called git-r3_src_unpack
 *   environment, line 2510:  Called git-r3_src_fetch
 *   environment, line 2504:  Called git-r3_fetch
 *   environment, line 2426:  Called die
 * The specific snippet of code:
 *       [[ -n ${success} ]] || die "Unable to fetch from any of EGIT_REPO_URI";
 * 
 * If you need support, post the output of `emerge --info '=net-wireless/rtl8192eu-driver-4.4::sergiol'`,
 * the complete build log and the output of `emerge -pqv '=net-wireless/rtl8192eu-driver-4.4::sergiol'`.
 * The complete build log is located at '/var/tmp/portage/net-wireless/rtl8192eu-driver-4.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-wireless/rtl8192eu-driver-4.4/temp/environment'.
 * Working directory: '/var/tmp/portage/net-wireless/rtl8192eu-driver-4.4/work'
 * S: '/var/tmp/portage/net-wireless/rtl8192eu-driver-4.4/work'

I repeat: in Gentoo this ebuild works perfectly.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...