Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[SOLVED] emerge change EGIT_REPO_URI from ebuild to fetch

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
LAj
Apprentice
Apprentice
User avatar
Posts: 294
Joined: Sat May 22, 2004 6:55 pm
Location: Avellino[Italy]

[SOLVED] emerge change EGIT_REPO_URI from ebuild to fetch

  • Quote

Post by LAj » Sat Dec 08, 2007 10:30 pm

Code: Select all

>>> Emerging (1 of 9) x11-libs/libdrm-9999 to /
 * checking ebuild checksums ;-) ...                                                                                                    [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                   [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                  [ ok ]
>>> Unpacking source...
 * git update start -->
 *    repository: git://anongit.freedesktop.org/git/xorg/lib/libdrm
fatal: The remote end hung up unexpectedly
Cannot get the repository state from git://anongit.freedesktop.org/git/xorg/lib/libdrm
 * 
 * ERROR: x11-libs/libdrm-9999 failed.
 * Call stack:
 *            ebuild.sh, line 1701:  Called dyn_unpack
 *            ebuild.sh, line  817:  Called qa_call 'src_unpack'
 *            ebuild.sh, line   44:  Called src_unpack
 *   libdrm-9999.ebuild, line   20:  Called git_src_unpack
 *           git.eclass, line  283:  Called git_fetch
 *           git.eclass, line  210:  Called die
 * The specific snippet of code:
 *              ${EGIT_UPDATE_CMD} ${EGIT_OPTIONS} origin ${EGIT_BRANCH}:${EGIT_BRANCH} \
 *                      || die "${EGIT}: can't update from ${EGIT_REPO_URI}."
 *  The die message:
 *   git.eclass: can't update from git://anongit.freedesktop.org/git/xorg/lib/libdrm.
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/x11-libs/libdrm-9999/temp/build.log'.
pleace, note

Code: Select all

 *   git.eclass: can't update from git://anongit.freedesktop.org/git/xorg/lib/libdrm.
/usr/portage/local/layman/r300-driver/x11-libs/libdrm/libdrm-9999.ebuild says:

Code: Select all

EGIT_REPO_URI="git://anongit.freedesktop.org/git/mesa/drm"
and it work well.

I've checked http://kambing.ui.edu/gentoo-portage/eclass/git.eclass
but doesn't include any new url.
Last edited by LAj on Sat Dec 15, 2007 4:06 pm, edited 2 times in total.
They produce notes of any size as their own properties askng interests also.This is seignorage and goes to privates banks(FED, BCE).You don't have to pay to use $$,you can simply use your notes recovering monetary sovereignty.Public debt is not right!
Top
LAj
Apprentice
Apprentice
User avatar
Posts: 294
Joined: Sat May 22, 2004 6:55 pm
Location: Avellino[Italy]

  • Quote

Post by LAj » Sun Dec 09, 2007 10:09 am

/usr/portage/distfiles/git-src/drm/config:

Code: Select all

[remote "origin"]
        url = git://anongit.freedesktop.org/git/mesa/drm
changed in

Code: Select all

[remote "origin"]
        url = git://anongit.freedesktop.org/git/xorg/lib/libdrm
and in this dir, git gives out the same error:

Code: Select all

drm # git fetch -f -u 
fatal: The remote end hung up unexpectedly
Cannot get the repository state from git://anongit.freedesktop.org/git/xorg/lib/libdr
In fact, git.eclass state:

Code: Select all

 git config remote.origin.url "${EGIT_REPO_URI}"
 einfo "git update start -->"
                einfo "   repository: ${EGIT_REPO_URI}"
...

Where is setted this URL? eclass or ebuild?


I've solved temporally commenting out that line in git.eclass
I'm going to report a bug.
They produce notes of any size as their own properties askng interests also.This is seignorage and goes to privates banks(FED, BCE).You don't have to pay to use $$,you can simply use your notes recovering monetary sovereignty.Public debt is not right!
Top
alistair
Retired Dev
Retired Dev
User avatar
Posts: 869
Joined: Fri Jul 15, 2005 12:53 am

  • Quote

Post by alistair » Mon Dec 10, 2007 11:58 pm

EBUILD

output of

emerge -av =x11-libs/libdrm-9999* please


This doesn't seem to be an eclass bug.... certainly not from what you have shown.
______________
Help the gentoo-java project. Visit Gentoo Java Project

what good are admin powers if you don't abuse them for personal gain - mark_alec
Top
mwallace
n00b
n00b
Posts: 52
Joined: Sat Jul 08, 2006 6:11 pm
Location: Frankfurt/Germany

  • Quote

Post by mwallace » Wed Dec 12, 2007 8:07 am

I am replying for LAj. Here is the output of "emerge -av =x11-libs/libdrm-9999*":

Code: Select all

>>> Emerging (1 of 1) x11-libs/libdrm-9999 to /
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
>>> Unpacking source...
 * git clone start -->
 *    repository: git://anongit.freedesktop.org/git/xorg/lib/libdrm
Initialized empty Git repository in /usr/portage/distfiles/git-src/drm/
fatal: The remote end hung up unexpectedly
fetch-pack from 'git://anongit.freedesktop.org/git/xorg/lib/libdrm' failed.
 *
 * ERROR: x11-libs/libdrm-9999 failed.
 * Call stack:
 *            ebuild.sh, line 1701:  Called dyn_unpack
 *            ebuild.sh, line  817:  Called qa_call 'src_unpack'
 *            ebuild.sh, line   44:  Called src_unpack
 *   libdrm-9999.ebuild, line   20:  Called git_src_unpack
 *           git.eclass, line  283:  Called git_fetch
 *           git.eclass, line  195:  Called die
 * The specific snippet of code:
 *              ${EGIT_FETCH_CMD} ${EGIT_OPTIONS} "${EGIT_REPO_URI}" ${EGIT_PROJECT} \
 *                      || die "${EGIT}: can't fetch from ${EGIT_REPO_URI}."
 *  The die message:
 *   git.eclass: can't fetch from git://anongit.freedesktop.org/git/xorg/lib/libdrm.
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/x11-libs/libdrm-9999/temp/build.log'.
 * This ebuild is from an overlay: '/usr/local/overlay/mesa-cvs/'
 *

 * Messages for package x11-libs/libdrm-9999:

 *
 * ERROR: x11-libs/libdrm-9999 failed.
 * Call stack:
 *            ebuild.sh, line 1701:  Called dyn_unpack
 *            ebuild.sh, line  817:  Called qa_call 'src_unpack'
 *            ebuild.sh, line   44:  Called src_unpack
 *   libdrm-9999.ebuild, line   20:  Called git_src_unpack
 *           git.eclass, line  283:  Called git_fetch
 *           git.eclass, line  195:  Called die
 * The specific snippet of code:
 *              ${EGIT_FETCH_CMD} ${EGIT_OPTIONS} "${EGIT_REPO_URI}" ${EGIT_PROJECT} \
 *                      || die "${EGIT}: can't fetch from ${EGIT_REPO_URI}."
 *  The die message:
 *   git.eclass: can't fetch from git://anongit.freedesktop.org/git/xorg/lib/libdrm.
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/x11-libs/libdrm-9999/temp/build.log'.
 * This ebuild is from an overlay: '/usr/local/overlay/mesa-cvs/'
HTH
Chris
Top
dleverton
Guru
Guru
Posts: 517
Joined: Mon Aug 28, 2006 3:09 pm

  • Quote

Post by dleverton » Wed Dec 12, 2007 12:07 pm

x-modular.eclass wrote:

Code: Select all

if [[ -n ${GIT_ECLASS} ]]; then
	EGIT_REPO_URI="git://anongit.freedesktop.org/git/xorg/${MODULE}/${PN}"
else
	SRC_URI="${SRC_URI} ${BASE_INDIVIDUAL_URI}/${MODULE}/${P}.tar.bz2"
fi
I suppose the ebuild needs to be changed to set the EGIT variables after inheriting the eclasses.
Top
mwallace
n00b
n00b
Posts: 52
Joined: Sat Jul 08, 2006 6:11 pm
Location: Frankfurt/Germany

  • Quote

Post by mwallace » Wed Dec 12, 2007 3:36 pm

@dleverton: that was it. Problem solved :-) Thank you!
Top
Katphish
Apprentice
Apprentice
Posts: 155
Joined: Mon Dec 05, 2005 9:08 pm

  • Quote

Post by Katphish » Thu Dec 27, 2007 4:34 am

@dleverton

Thanks for the pointer!

I decided to make it check if GIT_ECLASS is not null *AND* EGIT_REPO_URI is null....

Code: Select all

if [ -n "${GIT_ECLASS}" -a -z "${EGIT_REPO_URI}" ]; then
Top
Post Reply

7 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic