Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 685268 - app-crypt/johntheripper-jumbo-9999 (1.9.0)? fails at install phase with dodoc failed
Summary: app-crypt/johntheripper-jumbo-9999 (1.9.0)? fails at install phase with dodoc...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Rick Farina (Zero_Chaos)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-07 12:02 UTC by Psyb3rN4ut
Modified: 2024-01-02 17:38 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Psyb3rN4ut 2019-05-07 12:02:10 UTC
johntheripper-jumbo-9999 (1.9.0)? recently fixed bug 674656 but when emerge -av metasploit (which pulls in JtR-jumbo) it fails with: 

ERROR: app-crypt/johntheripper-jumbo-9999::gentoo failed (install phase):  dodoc failed

Reproducible: Always

Steps to Reproduce:
1.Accept keywords for johntheripper-jumbo-9999 so as to use 1.9.0
2.emerge -av metasploit OR emerge -av johntheripper-jumbo
3.
Actual Results:  
>>> Install johntheripper-jumbo-9999 into /var/tmp/portage/app-crypt/johntheripper-jumbo-9999/image category app-crypt
 * XATTR_PAX marking -mr /var/tmp/portage/app-crypt/johntheripper-jumbo-9999/image/usr/sbin/john with paxctl-ng
!!! dodoc: b'doc/extras' is a directory

 * ERROR: app-crypt/johntheripper-jumbo-9999::gentoo failed (install phase):
 *   dodoc failed


Expected Results:  
Expected to install correctly and emerge to continue to metasploit
Comment 1 Psyb3rN4ut 2019-05-07 12:04:07 UTC
Portage 2.3.65 (python 3.6.8-final-0, default/linux/amd64/17.0/no-multilib/hardened, gcc-8.3.0, glibc-2.29-r2, 5.0.4-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.0.4-gentoo-x86_64-Intel-R-_Core-TM-_i7-7700_CPU_@_3.60GHz-with-gentoo-2.6
KiB Mem:    32810564 total,   2460900 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Mon, 06 May 2019 21:30:01 +0000
Head commit of repository gentoo: 1de027a4a4a91be59bf59c46b84570cebbf5d50d
sh bash 5.0_p7
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          5.0_p7::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.28.2::gentoo
dev-lang/python:          2.7.16::gentoo, 3.6.8::gentoo
dev-util/cmake:           3.14.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.17::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            8.3.0-r1::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.0-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1

pentoo
    location: /var/lib/layman/pentoo
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl alsa amd64 bzip2 crypt cxx dbus dri3 egl ffmpeg geoip git gnutls gpg gphoto2 hardened hdmi iconv iproute2 ipv6 libcaca libmpv libtirpc ncurses nftables nls nptl ogg opengl openmp openvpn opus pam pcre pie postgres pulseaudio python readline redis rtlsdr seccomp sna speex sqlite ssh ssl ssp systemd sysv-utils threads unicode vim wayland xattr xtpax zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="X86" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_SOFTMMU_TARGETS="arm x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Psyb3rN4ut 2019-05-07 12:06:21 UTC
ln -s john ../run/undrop
rm -f ../run/rar2john
rm -f ../run/zip2john
ln -s john ../run/rar2john
ln -s john ../run/zip2john
rm -f ../run/gpg2john
rm -f ../run/base64conv
ln -s john ../run/gpg2john
ln -s john ../run/base64conv
make[1]: Leaving directory '/var/tmp/portage/app-crypt/johntheripper-jumbo-9999/work/johntheripper-jumbo-9999/src'

Make process completed.
make: Leaving directory '/var/tmp/portage/app-crypt/johntheripper-jumbo-9999/work/johntheripper-jumbo-9999/src'
>>> Source compiled.
>>> Test phase [not enabled]: app-crypt/johntheripper-jumbo-9999

>>> Install johntheripper-jumbo-9999 into /var/tmp/portage/app-crypt/johntheripper-jumbo-9999/image category app-crypt
 * XATTR_PAX marking -mr /var/tmp/portage/app-crypt/johntheripper-jumbo-9999/image/usr/sbin/john with paxctl-ng
!!! dodoc: b'doc/extras' is a directory

 * ERROR: app-crypt/johntheripper-jumbo-9999::gentoo failed (install phase):
 *   dodoc failed
 * 
 * If you need support, post the output of `emerge --info '=app-crypt/johntheripper-jumbo-9999::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-crypt/johntheripper-jumbo-9999::gentoo'`.
 * The complete build log is located at '/var/log/portage/app-crypt:johntheripper-jumbo-9999:20190507-103403.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-crypt/johntheripper-jumbo-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-crypt/johntheripper-jumbo-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/app-crypt/johntheripper-jumbo-9999/work/johntheripper-jumbo-9999'
 * S: '/var/tmp/portage/app-crypt/johntheripper-jumbo-9999/work/johntheripper-jumbo-9999'
Comment 3 Psyb3rN4ut 2019-05-07 12:07:38 UTC
[ebuild  N    ] app-crypt/johntheripper-jumbo-9999  USE="custom-cflags openmp pcap -kerberos -mpi -opencl"
Comment 4 concavemail 2019-05-26 13:55:12 UTC
Adding -r to the dodoc line in the ebuild fixes the issue
Comment 5 Psyb3rN4ut 2019-05-29 17:55:37 UTC
(In reply to concavemail from comment #4)
> Adding -r to the dodoc line in the ebuild fixes the issue

Adding -r to the dodoc line *did indeed* allow JtR and metasploit to be added to the world file...HOWEVER, they were non-functional and i dont believe they were actually installed.  None of the relevant commands existed after trying this suggestion
Comment 6 Willard Dawson 2019-07-06 05:17:15 UTC
I also experienced this issue. Adding -r to dodoc does indeed fix it. I can't say why the package did not build functioning executables for the original submitter, as it does work as expected for me.
Comment 7 Martin Mokrejš 2019-12-31 16:52:23 UTC
Same here:

# ls -latr /var/tmp/portage/app-crypt/johntheripper-jumbo-9999/work/johntheripper-jumbo-9999/doc/extras
celkem 80
-rw-r--r-- 1 portage portage  1479 31. pro 17.45 libFuzzer-HOWTO.txt
-rw-r--r-- 1 portage portage 55080 31. pro 17.45 john-1.7.9-jumbo-7-licensing.txt
-rw-r--r-- 1 portage portage  1667 31. pro 17.45 john-1.7.9-jumbo-7-licensing-stats.txt
-rw-r--r-- 1 portage portage  3031 31. pro 17.45 HACKING.md
-rw-r--r-- 1 portage portage  2125 31. pro 17.45 AddressSanitizer-HOWTO.txt
drwxr-xr-x 3 portage portage  4096 31. pro 17.45 ..
drwxr-xr-x 2 portage portage  4096 31. pro 17.45 .
#