Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 574710 - gnustep-base/gnustep-base-1.24.6-r1: make: /var/tmp/portage/._portage_reinstall_.aTZdfR/bin/ebuild-helpers/xattr/install: Command not found
Summary: gnustep-base/gnustep-base-1.24.6-r1: make: /var/tmp/portage/._portage_reinsta...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Gnustep project
URL:
Whiteboard:
Keywords:
Depends on: 579232
Blocks:
  Show dependency tree
 
Reported: 2016-02-14 16:25 UTC by Raymond Jennings
Modified: 2017-01-23 09:26 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (build.log,302.93 KB, text/x-log)
2016-02-14 16:26 UTC, Raymond Jennings
Details
emerge --info (einfo.txt,5.58 KB, text/plain)
2016-02-14 16:26 UTC, Raymond Jennings
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Raymond Jennings 2016-02-14 16:25:02 UTC
See logs
Comment 1 Raymond Jennings 2016-02-14 16:26:31 UTC
Created attachment 425482 [details]
build log
Comment 2 Raymond Jennings 2016-02-14 16:26:52 UTC
Created attachment 425484 [details]
emerge --info
Comment 3 Brian Dolbec (RETIRED) gentoo-dev 2016-02-21 18:19:14 UTC
snipped out of the full log...


/usr/share/GNUstep/Makefiles/mkinstalldirs /var/tmp/portage/gnustep-base/gnustep-base-1.24.6-r1/image//usr/share/GNUstep/Makefiles/Additional
/var/tmp/portage/._portage_reinstall_.aTZdfR/bin/ebuild-helpers/xattr/install -c -p  -m 644 base.make \
    /var/tmp/portage/gnustep-base/gnustep-base-1.24.6-r1/image//usr/share/GNUstep/Makefiles/Additional/base.make
make: /var/tmp/portage/._portage_reinstall_.aTZdfR/bin/ebuild-helpers/xattr/install: Command not found
Makefile.postamble:46: recipe for target 'before-install' failed
make: *** [before-install] Error 127
Comment 4 Brian Dolbec (RETIRED) gentoo-dev 2016-02-21 18:23:49 UTC
But what was the command you were running when you got this error?

Was portage one of the packages being updated?

This path does not look right to me:

/var/tmp/portage/._portage_reinstall_.aTZdfR/
Comment 5 Zac Medico gentoo-dev 2016-02-21 20:05:11 UTC
This looks like bug 532196.

(In reply to Brian Dolbec from comment #4)
> This path does not look right to me:
> 
> /var/tmp/portage/._portage_reinstall_.aTZdfR/

A path like this is normal when other packages are built during the same emerge run as as sys-apps/portage upgrade. The problem is that some packages record the path to use in later emerge runs, long after the path has become invalid.
Comment 6 Nick Bowler 2016-02-21 23:37:22 UTC
Time to stabilize a fixed version of gnustep-make (>=2.6.6)?
Comment 7 Raymond Jennings 2016-02-22 20:28:52 UTC
I was doing an emptytree world rebuild.
Comment 8 Raymond Jennings 2016-02-22 20:35:19 UTC
(In reply to Zac Medico from comment #5)
> This looks like bug 532196.
> 
> (In reply to Brian Dolbec from comment #4)
> > This path does not look right to me:
> > 
> > /var/tmp/portage/._portage_reinstall_.aTZdfR/
> 
> A path like this is normal when other packages are built during the same
> emerge run as as sys-apps/portage upgrade. The problem is that some packages
> record the path to use in later emerge runs, long after the path has become
> invalid.

Honestly this sounds like a good "gotcha" that should be flagged during QA.
Comment 9 Zac Medico gentoo-dev 2016-02-22 20:47:09 UTC
(In reply to shentino from comment #8)
> (In reply to Zac Medico from comment #5)
> > This looks like bug 532196.
> > 
> > (In reply to Brian Dolbec from comment #4)
> > > This path does not look right to me:
> > > 
> > > /var/tmp/portage/._portage_reinstall_.aTZdfR/
> > 
> > A path like this is normal when other packages are built during the same
> > emerge run as as sys-apps/portage upgrade. The problem is that some packages
> > record the path to use in later emerge runs, long after the path has become
> > invalid.
> 
> Honestly this sounds like a good "gotcha" that should be flagged during QA.

Yeah, we could grep for $PORTAGE_BIN_PATH in all the installed files. Not sure if it would be worth the performance penalty for things like kernel sources.
Comment 10 Raymond Jennings 2016-08-26 09:36:17 UTC
More like I meant that an ebuild trying to use it post-merge should be considered a QA issue with the ebuild.
Comment 11 Zac Medico gentoo-dev 2017-01-22 18:10:38 UTC
It looks like this should be fixed by this code in the gnustep-base/gnustep-make-2.6.8 ebuild, which is the latest stable version since bug 579232:

	econf \
		INSTALL="${EPREFIX}"/usr/bin/install \
Comment 12 Bernard Cafarelli gentoo-dev 2017-01-23 09:26:43 UTC
(In reply to Zac Medico from comment #11)
> It looks like this should be fixed by this code in the
> gnustep-base/gnustep-make-2.6.8 ebuild, which is the latest stable version
> since bug 579232:
> 
> 	econf \
> 		INSTALL="${EPREFIX}"/usr/bin/install \

Exactly, I left this one open until the stabling bug got fixed (linked as blocker), which is the case now!

So marking this one as fixed, don't hesitate to reopen if you still have the problem after update