Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Can not build xinit-1.4.0
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Mimamau
Apprentice
Apprentice


Joined: 11 Jun 2002
Posts: 160
Location: Germany

PostPosted: Mon May 21, 2018 1:42 pm    Post subject: [solved] Can not build xinit-1.4.0 Reply with quote

Code:
emerge xinit
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) x11-apps/xinit-1.4.0::gentoo
 * xinit-1.4.0.tar.bz2 BLAKE2B SHA512 size ;-) ...                                                                                                               [ ok ]
>>> Unpacking source...
>>> Unpacking xinit-1.4.0.tar.bz2 to /var/tmp/portage/x11-apps/xinit-1.4.0/work
>>> Source unpacked in /var/tmp/portage/x11-apps/xinit-1.4.0/work
>>> Preparing source in /var/tmp/portage/x11-apps/xinit-1.4.0/work/xinit-1.4.0 ...

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 *
 *   /var/tmp/portage/x11-apps/xinit-1.4.0/files/xinit-1.3.3-gentoo-customizations.patch
 *   ( xinit-1.3.3-gentoo-customizations.patch )

 * ERROR: x11-apps/xinit-1.4.0::gentoo failed (prepare phase):
 *   Cannot find $EPATCH_SOURCE!
 *
 * Call stack:
 *     ebuild.sh, line  124:  Called src_prepare
 *   environment, line 2712:  Called xorg-2_src_prepare
 *   environment, line 3631:  Called autotools-utils_src_prepare
 *   environment, line  653:  Called epatch '/var/tmp/portage/x11-apps/xinit-1.4.0/files/xinit-1.3.3-gentoo-customizations.patch' '/var/tmp/portage/x11-apps/xinit-1.4.0/files/xinit-1.4.0-startx-current-vt.patch'
 *   environment, line 1123:  Called epatch '/var/tmp/portage/x11-apps/xinit-1.4.0/files/xinit-1.3.3-gentoo-customizations.patch'
 *   environment, line 1150:  Called die
 * The specific snippet of code:
 *                   die "Cannot find \$EPATCH_SOURCE!";
 *
 * If you need support, post the output of `emerge --info '=x11-apps/xinit-1.4.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-apps/xinit-1.4.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/x11-apps/xinit-1.4.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-apps/xinit-1.4.0/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-apps/xinit-1.4.0/work/xinit-1.4.0'
 * S: '/var/tmp/portage/x11-apps/xinit-1.4.0/work/xinit-1.4.0'

>>> Failed to emerge x11-apps/xinit-1.4.0, Log file:

>>>  '/var/tmp/portage/x11-apps/xinit-1.4.0/temp/build.log'

 * Messages for package x11-apps/xinit-1.4.0:

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 *
 *   /var/tmp/portage/x11-apps/xinit-1.4.0/files/xinit-1.3.3-gentoo-customizations.patch
 *   ( xinit-1.3.3-gentoo-customizations.patch )
 * ERROR: x11-apps/xinit-1.4.0::gentoo failed (prepare phase):
 *   Cannot find $EPATCH_SOURCE!
 *
 * Call stack:
 *     ebuild.sh, line  124:  Called src_prepare
 *   environment, line 2712:  Called xorg-2_src_prepare
 *   environment, line 3631:  Called autotools-utils_src_prepare
 *   environment, line  653:  Called epatch '/var/tmp/portage/x11-apps/xinit-1.4.0/files/xinit-1.3.3-gentoo-customizations.patch' '/var/tmp/portage/x11-apps/xinit-1.4.0/files/xinit-1.4.0-startx-current-vt.patch'
 *   environment, line 1123:  Called epatch '/var/tmp/portage/x11-apps/xinit-1.4.0/files/xinit-1.3.3-gentoo-customizations.patch'
 *   environment, line 1150:  Called die
 * The specific snippet of code:
 *                   die "Cannot find \$EPATCH_SOURCE!";
 *
 * If you need support, post the output of `emerge --info '=x11-apps/xinit-1.4.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-apps/xinit-1.4.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/x11-apps/xinit-1.4.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-apps/xinit-1.4.0/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-apps/xinit-1.4.0/work/xinit-1.4.0'
 * S: '/var/tmp/portage/x11-apps/xinit-1.4.0/work/xinit-1.4.0'

EDIT: There's a bug report for this: https://bugs.gentoo.org/656216

[Moderator edit: added [code] tags to preserve output layout. -Hu]


Last edited by Mimamau on Mon May 21, 2018 3:47 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 19441
Location: here

PostPosted: Mon May 21, 2018 2:59 pm    Post subject: Reply with quote

Problem is already solved re-sync portage tree
Code:
commit 66cb52db08b0d4223ccaed443077d4c5eff525b7
Author: Matt Turner <mattst88@gentoo.org>
Date:   Sun May 20 20:56:23 2018 -0700

    x11-apps/xinit: Restore necessary patch
   
    Accidentally removed in e773ede4cc6c (x11-apps/xinit: Drop old versions)

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
TheMachinesTeacher
n00b
n00b


Joined: 09 Sep 2017
Posts: 46
Location: Somewhere over there

PostPosted: Mon May 21, 2018 8:21 pm    Post subject: Reply with quote

I know this problem is solved, but I cannot figure out how to get the latest version. I have tried
Code:

    emerge-webrsync

and
Code:

    emerge --sync

which warned me that I shouldn't sync to frequently or I will be banned. Both of those did not pull in the latest commit (66cb52db)

How can I sync? Should I just untar this on top of my /usr/portage? That doesn't seem like the recommended approach.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 6489
Location: Saint Amant, Acadiana

PostPosted: Mon May 21, 2018 8:28 pm    Post subject: Reply with quote

Get the patch from https://github.com/gentoo/gentoo
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
TheMachinesTeacher
n00b
n00b


Joined: 09 Sep 2017
Posts: 46
Location: Somewhere over there

PostPosted: Mon May 21, 2018 8:29 pm    Post subject: Reply with quote

So, just to be clear and to verify I understand you correctly, delete my old /usr/portage and clone the repo you linked to to /usr/portage?
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 6489
Location: Saint Amant, Acadiana

PostPosted: Mon May 21, 2018 8:30 pm    Post subject: Reply with quote

I wouldn't do that, I would copy the patch only.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Mimamau
Apprentice
Apprentice


Joined: 11 Jun 2002
Posts: 160
Location: Germany

PostPosted: Mon May 21, 2018 9:04 pm    Post subject: Reply with quote

Or just wait a day or so.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum