Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 664050 - app-crypt/johntheripper-1.7.9-r11 : Failed to set XATTR_PAX markings -mre
Summary: app-crypt/johntheripper-1.7.9-r11 : Failed to set XATTR_PAX markings -mre
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Rick Farina (Zero_Chaos)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-19 10:54 UTC by Toralf Förster
Modified: 2018-11-27 18:00 UTC (History)
6 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.75 KB, text/plain)
2018-08-19 10:54 UTC, Toralf Förster
Details
app-crypt:johntheripper-1.7.9-r11:20180819-092032.log (app-crypt:johntheripper-1.7.9-r11:20180819-092032.log,48.11 KB, text/plain)
2018-08-19 10:54 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,276.18 KB, text/plain)
2018-08-19 10:54 UTC, Toralf Förster
Details
environment (environment,109.27 KB, text/plain)
2018-08-19 10:54 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.90 KB, application/x-bzip)
2018-08-19 10:54 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,30.11 KB, application/x-bzip)
2018-08-19 10:54 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-08-19 10:54:02 UTC
 * ERROR: app-crypt/johntheripper-1.7.9-r11::gentoo failed (install phase):
 *   (no error message)
 * 

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-no-multilib-hardened_20180810-165911

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0
 [2] x86_64-pc-linux-gnu-7.3.1 *

Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *



emerge -qpv app-crypt/johntheripper
[ebuild  N    ] app-crypt/johntheripper-1.7.9-r11  USE="openmp -cuda -custom-cflags -libressl -minimal -mozilla -mpi -opencl" CPU_FLAGS_X86="sse2 (-mmx)"
Comment 1 Toralf Förster gentoo-dev 2018-08-19 10:54:05 UTC
Created attachment 544016 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-08-19 10:54:08 UTC
Created attachment 544018 [details]
app-crypt:johntheripper-1.7.9-r11:20180819-092032.log
Comment 3 Toralf Förster gentoo-dev 2018-08-19 10:54:11 UTC
Created attachment 544020 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-08-19 10:54:14 UTC
Created attachment 544022 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-08-19 10:54:17 UTC
Created attachment 544024 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-08-19 10:54:19 UTC
Created attachment 544026 [details]
temp.tbz2
Comment 7 PhobosK 2018-10-27 17:01:39 UTC
@Toralf,
The strange thing is that your ebuild gave you this error while it was an EAPI 6 one...

Right now the ebuild of app-crypt/johntheripper-1.7.9-r11 is EAPI 7

And that gave me almost the same error:
XATTR_PAX marking -mre /dev/shm/portage/app-crypt/johntheripper-1.7.9-r11/imageusr/sbin/john with setfattr

i.e. setfattr cannot find the file to manipulate...
setfattr: /dev/shm/portage/app-crypt/johntheripper-1.7.9-r11/imageusr/sbin/john: No such file or directory


But this error is because in EAPI 7 the variables D, ED, ROOT, and EROOT no longer contain a trailing slash and thus the ebuild has to be changed in the part of:
pax-mark -mr "${ED}usr/sbin/john" || die

to ether EAPI 7 way:
pax-mark -mr "${ED}/usr/sbin/john" || die

or to cross EAPI way:
pax-mark -mr "${ED%/}/usr/sbin/john" || die


This fixes the error...
So a simple fix to the ebuild should fix it all
Comment 8 Rick Farina (Zero_Chaos) gentoo-dev 2018-11-27 16:27:22 UTC
this builds for me as it is in the tree right now, although I do see a recent eapi update so that likely fixed it.
Comment 9 Rick Farina (Zero_Chaos) gentoo-dev 2018-11-27 17:59:55 UTC
As it turns out, this was a bug in pax-utils.eclass caused by a bug in paxctl-ng.  fixed in the tree now. thanks!