Created attachment 566398 [details, diff] Confirms README path before adding it to the DOCS array. Signed-off-by: B.D. <WiiController@gmail.com> As of the following commit, mtr's README file has changed locations: https://github.com/traviscross/mtr/commit/7e511aa4bce68611363d970c79644023e9f990d9 The submitted patch handles either location, so as not to invalidate the ebuild for older revisions. * Package: net-analyzer/mtr-9999 * Repository: gentoo * Maintainer: netmon@gentoo.org * USE: arm64 elibc_glibc filecaps ipv6 kernel_linux ncurses userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... * Repository id: traviscross_mtr.git * To override fetched repository properties, use: * EGIT_OVERRIDE_REPO_TRAVISCROSS_MTR * EGIT_OVERRIDE_BRANCH_TRAVISCROSS_MTR * EGIT_OVERRIDE_COMMIT_TRAVISCROSS_MTR * EGIT_OVERRIDE_COMMIT_DATE_TRAVISCROSS_MTR * * Fetching https://github.com/traviscross/mtr.git ... git fetch https://github.com/traviscross/mtr.git +HEAD:refs/git-r3/HEAD git symbolic-ref refs/git-r3/net-analyzer/mtr/0/__main__ refs/git-r3/HEAD * Checking out https://github.com/traviscross/mtr.git to /var/tmp/portage/net-analyzer/mtr-9999/work/mtr-9999 ... git checkout --quiet refs/git-r3/HEAD GIT update --> repository: https://github.com/traviscross/mtr.git at the commit: 351a8036160406bbcf3886a5eebc1c09c52973b6 >>> Unpacking gtk-2.0-for-mtr.m4.bz2 to /var/tmp/portage/net-analyzer/mtr-9999/work >>> Source unpacked in /var/tmp/portage/net-analyzer/mtr-9999/work >>> Preparing source in /var/tmp/portage/net-analyzer/mtr-9999/work/mtr-9999 ... * Applying mtr-0.88-tinfo.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-analyzer/mtr-9999/work/mtr-9999' ... * Running aclocal -I . ... [ ok ] * Running autoconf -I . --force ... [ ok ] * Running autoheader -I . ... [ ok ] * Running automake --add-missing --copy --foreign --force-missing ... [ ok ] * Running elibtoolize in: mtr-9999/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-analyzer/mtr-9999/work/mtr-9999 ... * econf: updating mtr-9999/build-aux/config.guess with /usr/share/gnuconfig/config.guess * econf: updating mtr-9999/build-aux/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=aarch64-unknown-linux-gnu --host=aarch64-unknown-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/mtr-9999 --htmldir=/usr/share/doc/mtr-9999/html --libdir=/usr/lib64 --enable-ipv6 --without-gtk --with-ncurses checking for aarch64-unknown-linux-gnu-gcc... aarch64-unknown-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether aarch64-unknown-linux-gnu-gcc accepts -g... yes checking for aarch64-unknown-linux-gnu-gcc option to accept ISO C89... none needed checking whether aarch64-unknown-linux-gnu-gcc understands -c and -o together... yes checking how to run the C preprocessor... aarch64-unknown-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of aarch64-unknown-linux-gnu-gcc... none checking whether make supports nested variables... (cached) yes checking build system type... aarch64-unknown-linux-gnu checking host system type... aarch64-unknown-linux-gnu checking for aarch64-unknown-linux-gnu-gcc... (cached) aarch64-unknown-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether aarch64-unknown-linux-gnu-gcc accepts -g... (cached) yes checking for aarch64-unknown-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking whether aarch64-unknown-linux-gnu-gcc understands -c and -o together... (cached) yes checking for aarch64-unknown-linux-gnu-pkg-config... /usr/bin/aarch64-unknown-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking size of unsigned char... 1 checking size of unsigned short... 2 checking size of unsigned int... 4 checking size of unsigned long... 8 checking arpa/nameser_compat.h usability... yes checking arpa/nameser_compat.h presence... yes checking for arpa/nameser_compat.h... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking cursesX.h usability... no checking cursesX.h presence... no checking for cursesX.h... no checking error.h usability... yes checking error.h presence... yes checking for error.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking linux/icmp.h usability... yes checking linux/icmp.h presence... yes checking for linux/icmp.h... yes checking linux/errqueue.h usability... yes checking linux/errqueue.h presence... yes checking for linux/errqueue.h... yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking ncurses/curses.h usability... no checking ncurses/curses.h presence... no checking for ncurses/curses.h... no checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking socket.h usability... no checking socket.h presence... no checking for socket.h... no checking sys/cdefs.h usability... yes checking sys/cdefs.h presence... yes checking for sys/cdefs.h... yes checking sys/limits.h usability... no checking sys/limits.h presence... no checking for sys/limits.h... no checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking stdio_ext.h usability... yes checking stdio_ext.h presence... yes checking for stdio_ext.h... yes checking for sys/types.h... (cached) yes checking sys/xti.h usability... no checking sys/xti.h presence... no checking for sys/xti.h... no checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking for __fpending... yes checking for fcntl... yes checking for error... yes checking for getopt_long... yes checking for floor in -lm... yes checking for library containing initscr... -lncurses checking for library containing raw... none required checking for cap_set_proc in -lcap... yes checking for socket... yes checking for gethostbyname... yes checking for res_query... no checking for __res_query in -lresolv... yes checking whether errno is declared... yes checking for socklen_t... yes checking for time_t... yes checking for C flags to get more warnings... -Wall -Wno-pointer-sign checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands >>> Source configured. >>> Compiling source in /var/tmp/portage/net-analyzer/mtr-9999/work/mtr-9999 ... make -j1 make all-am make[1]: Entering directory '/var/tmp/portage/net-analyzer/mtr-9999/work/mtr-9999' aarch64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -march=native -Wall -Wno-pointer-sign -c -o ui/mtr-mtr.o `test -f 'ui/mtr.c' || echo './'`ui/mtr.c ui/mtr.c: In function ‘init_fld_optionsui/mtr.c:302:5: warning: memset(ctl->fld_index, -1, FLD_INDEX_SZ); ^~~~~~ aarch64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -march=native -Wall -Wno-pointer-sign -c -o ui/mtr-net.o `test -f 'ui/net.c' || echo './'`ui/net.c aarch64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -march=native -Wall -Wno-pointer-sign -c -o ui/mtr-cmdpipe.o `test -f 'ui/cmdpipe.c' || echo './'`ui/cmdpipe.c aarch64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -march=native -Wall -Wno-pointer-sign -c -o ui/mtr-dns.o `test -f 'ui/dns.c' || echo './'`ui/dns.c aarch64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -march=native -Wall -Wno-pointer-sign -c -o ui/mtr-raw.o `test -f 'ui/raw.c' || echo './'`ui/raw.c aarch64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -march=native -Wall -Wno-pointer-sign -c -o ui/mtr-split.o `test -f 'ui/split.c' || echo './'`ui/split.c aarch64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -march=native -Wall -Wno-pointer-sign -c -o ui/mtr-display.o `test -f 'ui/display.c' || echo './'`ui/display.c aarch64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -march=native -Wall -Wno-pointer-sign -c -o ui/mtr-report.o `test -f 'ui/report.c' || echo './'`ui/report.c aarch64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -march=native -Wall -Wno-pointer-sign -c -o ui/mtr-select.o `test -f 'ui/select.c' || echo './'`ui/select.c aarch64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -march=native -Wall -Wno-pointer-sign -c -o ui/mtr-utils.o `test -f 'ui/utils.c' || echo './'`ui/utils.c aarch64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -march=native -Wall -Wno-pointer-sign -c -o packet/mtr-cmdparse.o `test -f 'packet/cmdparse.c' || echo './'`packet/cmdparse.c aarch64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -march=native -Wall -Wno-pointer-sign -c -o ui/mtr-asn.o `test -f 'ui/asn.c' || echo './'`ui/asn.c aarch64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -march=native -Wall -Wno-pointer-sign -c -o ui/mtr-curses.o `test -f 'ui/curses.c' || echo './'`ui/curses.c aarch64-unknown-linux-gnu-gcc -march=native -Wall -Wno-pointer-sign -Wl,-O1 -Wl,--as-needed -o mtr ui/mtr-mtr.o ui/mtr-net.o ui/mtr-cmdpipe.o ui/mtr-dns.o ui/mtr-raw.o ui/mtr-split.o ui/mtr-display.o ui/mtr-report.o ui/mtr-select.o ui/mtr-utils.o packet/mtr-cmdparse.o ui/mtr-asn.o ui/mtr-curses.o -lresolv -lcap -lncurses -lm aarch64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -march=native -Wall -Wno-pointer-sign -c -o packet/packet.o packet/packet.c aarch64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -march=native -Wall -Wno-pointer-sign -c -o packet/cmdparse.o packet/cmdparse.c aarch64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -march=native -Wall -Wno-pointer-sign -c -o packet/command.o packet/command.c aarch64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -march=native -Wall -Wno-pointer-sign -c -o packet/probe.o packet/probe.c aarch64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -march=native -Wall -Wno-pointer-sign -c -o packet/timeval.o packet/timeval.c aarch64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -march=native -Wall -Wno-pointer-sign -c -o packet/command_unix.o packet/command_unix.c aarch64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -march=native -Wall -Wno-pointer-sign -c -o packet/construct_unix.o packet/construct_unix.c aarch64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -march=native -Wall -Wno-pointer-sign -c -o packet/deconstruct_unix.o packet/deconstruct_unix.c aarch64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -march=native -Wall -Wno-pointer-sign -c -o packet/probe_unix.o packet/probe_unix.c aarch64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -march=native -Wall -Wno-pointer-sign -c -o packet/wait_unix.o packet/wait_unix.c aarch64-unknown-linux-gnu-gcc -march=native -Wall -Wno-pointer-sign -Wl,-O1 -Wl,--as-needed -o mtr-packet packet/packet.o packet/cmdparse.o packet/command.o packet/probe.o packet/timeval.o packet/command_unix.o packet/construct_unix.o packet/deconstruct_unix.o packet/probe_unix.o packet/wait_unix.o -lcap -lncurses -lm ./build-aux/mangen.sh "0.92.81-351a-dirty" \ ./man/mtr.8.in mtr.8 ./build-aux/mangen.sh "0.92.81-351a-dirty" \ ./man/mtr-packet.8.in mtr-packet.8 make[1]: Leaving directory '/var/tmp/portage/net-analyzer/mtr-9999/work/mtr-9999' >>> Source compiled. >>> Test phase [not enabled]: net-analyzer/mtr-9999 >>> Install mtr-9999 into /var/tmp/portage/net-analyzer/mtr-9999/image/ category net-analyzer make -j1 DESTDIR=/var/tmp/portage/net-analyzer/mtr-9999/image/ install make[1]: Entering directory '/var/tmp/portage/net-analyzer/mtr-9999/work/mtr-9999' /bin/mkdir -p '/var/tmp/portage/net-analyzer/mtr-9999/image//usr/sbin' /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c mtr mtr-packet '/var/tmp/portage/net-analyzer/mtr-9999/image//usr/sbin' make install-exec-hook make[2]: Entering directory '/var/tmp/portage/net-analyzer/mtr-9999/work/mtr-9999' `setcap cap_net_raw+ep /var/tmp/portage/net-analyzer/mtr-9999/image//usr/sbin/mtr-packet` \ || chmod u+s /var/tmp/portage/net-analyzer/mtr-9999/image//usr/sbin/mtr-packet make[2]: Leaving directory '/var/tmp/portage/net-analyzer/mtr-9999/work/mtr-9999' /bin/mkdir -p '/var/tmp/portage/net-analyzer/mtr-9999/image//usr/share/bash-completion/completions' /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c -m 644 bash-completion/mtr '/var/tmp/portage/net-analyzer/mtr-9999/image//usr/share/bash-completion/completions' /bin/mkdir -p '/var/tmp/portage/net-analyzer/mtr-9999/image//usr/share/man/man8' /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c -m 644 mtr.8 mtr-packet.8 '/var/tmp/portage/net-analyzer/mtr-9999/image//usr/share/man/man8' make[1]: Leaving directory '/var/tmp/portage/net-analyzer/mtr-9999/work/mtr-9999' Traceback (most recent call last): File "/usr/lib/portage/python3.6/doins.py", line 611, in <module> sys.exit(main(sys.argv[1:])) File "/usr/lib/portage/python3.6/doins.py", line 602, in main os.path.dirname(source)): File "/usr/lib/portage/python3.6/doins.py", line 450, in _doins return install_runner.install_file(source, os.path.dirname(dest)) File "/usr/lib/portage/python3.6/doins.py", line 386, in install_file return self._ins_runner.run(source, dest_dir) File "/usr/lib/portage/python3.6/doins.py", line 195, in run sstat = os.stat(source) FileNotFoundError: [Errno 2] No such file or directory: b'README' * ERROR: net-analyzer/mtr-9999::gentoo failed (install phase): * dodoc failed * * If you need support, post the output of `emerge --info '=net-analyzer/mtr-9999::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-analyzer/mtr-9999::gentoo'`. * The complete build log is located at '/var/tmp/portage/net-analyzer/mtr-9999/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/mtr-9999/temp/environment'. * Working directory: '/var/tmp/portage/net-analyzer/mtr-9999/work/mtr-9999' * S: '/var/tmp/portage/net-analyzer/mtr-9999/work/mtr-9999'
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=220900be4db831d631f77fe710de5c6db949c9e5 commit 220900be4db831d631f77fe710de5c6db949c9e5 Author: Jeroen Roovers <jer@gentoo.org> AuthorDate: 2019-02-25 09:43:56 +0000 Commit: Jeroen Roovers <jer@gentoo.org> CommitDate: 2019-02-25 09:44:24 +0000 net-analyzer/mtr: Install README.md Package-Manager: Portage-2.3.62, Repoman-2.3.12 Fixes: https://bugs.gentoo.org/678732 Signed-off-by: Jeroen Roovers <jer@gentoo.org> net-analyzer/mtr/mtr-9999.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)