Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 762478 - net-misc/iperf-2.0.14a net-misc/iperf-3.9-r1: stabilisation
Summary: net-misc/iperf-2.0.14a net-misc/iperf-3.9-r1: stabilisation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Stabilization (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sam James
URL:
Whiteboard:
Keywords: CC-ARCHES
Depends on:
Blocks:
 
Reported: 2020-12-29 23:37 UTC by Sam James
Modified: 2021-01-07 01:05 UTC (History)
1 user (show)

See Also:
Package list:
net-misc/iperf-2.0.14a net-misc/iperf-3.9-r1
Runtime testing required: ---
nattka: sanity-check+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-12-29 23:37:02 UTC
Thanks.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-12-30 00:15:36 UTC
amd64 done
Comment 2 Matt Turner gentoo-dev 2020-12-31 16:42:44 UTC
hppa -> ~hppa
Comment 3 Rolf Eike Beer archtester 2021-01-01 12:46:19 UTC
sparc stable
Comment 4 Torbjörn Svensson 2021-01-02 19:42:54 UTC
I have trouble installing this package on a fresh installation of Gentoo on amd64:

# ebuild /var/db/repos/gentoo/net-misc/iperf/iperf-3.9-r1.ebuild install
 * iperf-3.9.tar.gz BLAKE2B SHA512 size ;-) ...                                                [ ok ]
>>> Unpacking source...
>>> Unpacking iperf-3.9.tar.gz to /var/tmp/portage/net-misc/iperf-3.9-r1/work
>>> Source unpacked in /var/tmp/portage/net-misc/iperf-3.9-r1/work
>>> Preparing source in /var/tmp/portage/net-misc/iperf-3.9-r1/work/iperf-3.9 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-misc/iperf-3.9-r1/work/iperf-3.9 ...
 * econf: updating iperf-3.9/config/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating iperf-3.9/config/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-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/iperf-3.9-r1 --htmldir=/usr/share/doc/iperf-3.9-r1/html --with-sysroot=/ --libdir=/usr/lib64 --disable-static --without-sctp
...
>>> Install net-misc/iperf-3.9-r1 into /var/tmp/portage/net-misc/iperf-3.9-r1/image
make -j8 DESTDIR=/var/tmp/portage/net-misc/iperf-3.9-r1/image install
Making install in src
make[1]: Entering directory '/data/var/tmp/portage/net-misc/iperf-3.9-r1/work/iperf-3.9/src'
make[2]: Entering directory '/data/var/tmp/portage/net-misc/iperf-3.9-r1/work/iperf-3.9/src'
 /bin/mkdir -p '/var/tmp/portage/net-misc/iperf-3.9-r1/image/usr/lib64'
 /bin/mkdir -p '/var/tmp/portage/net-misc/iperf-3.9-r1/image/usr/include'
 /bin/sh ../libtool   --mode=install /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c   libiperf.la '/var/tmp/portage/net-misc/iperf-3.9-r1/image/usr/lib64'
 /bin/mkdir -p '/var/tmp/portage/net-misc/iperf-3.9-r1/image/usr/share/man/man1'
 /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c -m 644 iperf_api.h '/var/tmp/portage/net-misc/iperf-3.9-r1/image/usr/include'
 /bin/mkdir -p '/var/tmp/portage/net-misc/iperf-3.9-r1/image/usr/share/man/man3'
 /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c -m 644 iperf3.1 '/var/tmp/portage/net-misc/iperf-3.9-r1/image/usr/share/man/man1'
 /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c -m 644 libiperf.3 '/var/tmp/portage/net-misc/iperf-3.9-r1/image/usr/share/man/man3'
libtool: install: /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c .libs/libiperf.so.0.0.0 /var/tmp/portage/net-misc/iperf-3.9-r1/image/usr/lib64/libiperf.so.0.0.0
libtool: install: (cd /var/tmp/portage/net-misc/iperf-3.9-r1/image/usr/lib64 && { ln -s -f libiperf.so.0.0.0 libiperf.so.0 || { rm -f libiperf.so.0 && ln -s libiperf.so.0.0.0 libiperf.so.0; }; })
libtool: install: (cd /var/tmp/portage/net-misc/iperf-3.9-r1/image/usr/lib64 && { ln -s -f libiperf.so.0.0.0 libiperf.so || { rm -f libiperf.so && ln -s libiperf.so.0.0.0 libiperf.so; }; })
libtool: install: /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c .libs/libiperf.lai /var/tmp/portage/net-misc/iperf-3.9-r1/image/usr/lib64/libiperf.la
libtool: warning: remember to run 'libtool --finish /usr/lib64'
 /bin/mkdir -p '/var/tmp/portage/net-misc/iperf-3.9-r1/image/usr/bin'
  /bin/sh ../libtool   --mode=install /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c iperf3 '/var/tmp/portage/net-misc/iperf-3.9-r1/image/usr/bin'
libtool: warning: 'libiperf.la' has not been installed in '/usr/lib64'
libtool: install: /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c .libs/iperf3 /var/tmp/portage/net-misc/iperf-3.9-r1/image/usr/bin/iperf3
make[2]: Leaving directory '/data/var/tmp/portage/net-misc/iperf-3.9-r1/work/iperf-3.9/src'
make[1]: Leaving directory '/data/var/tmp/portage/net-misc/iperf-3.9-r1/work/iperf-3.9/src'
Making install in examples
make[1]: Entering directory '/data/var/tmp/portage/net-misc/iperf-3.9-r1/work/iperf-3.9/examples'
make[2]: Entering directory '/data/var/tmp/portage/net-misc/iperf-3.9-r1/work/iperf-3.9/examples'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/data/var/tmp/portage/net-misc/iperf-3.9-r1/work/iperf-3.9/examples'
make[1]: Leaving directory '/data/var/tmp/portage/net-misc/iperf-3.9-r1/work/iperf-3.9/examples'
make[1]: Entering directory '/data/var/tmp/portage/net-misc/iperf-3.9-r1/work/iperf-3.9'
make[2]: Entering directory '/data/var/tmp/portage/net-misc/iperf-3.9-r1/work/iperf-3.9'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/data/var/tmp/portage/net-misc/iperf-3.9-r1/work/iperf-3.9'
make[1]: Leaving directory '/data/var/tmp/portage/net-misc/iperf-3.9-r1/work/iperf-3.9'
Traceback (most recent call last):
  File "/usr/lib/portage/python3.8/doins.py", line 594, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/usr/lib/portage/python3.8/doins.py", line 582, in main
    if _doins(
  File "/usr/lib/portage/python3.8/doins.py", line 434, in _doins
    return install_runner.install_file(source, os.path.dirname(dest))
  File "/usr/lib/portage/python3.8/doins.py", line 370, in install_file
    return self._ins_runner.run(source, dest_dir)
  File "/usr/lib/portage/python3.8/doins.py", line 179, in run
    sstat = os.stat(source)
FileNotFoundError: [Errno 2] No such file or directory: b'README.md RELNOTES.md'
 * ERROR: net-misc/iperf-3.9-r1::gentoo failed (install phase):
 *   dodoc failed
 *
 * If you need support, post the output of `emerge --info '=net-misc/iperf-3.9-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-misc/iperf-3.9-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-misc/iperf-3.9-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/iperf-3.9-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/net-misc/iperf-3.9-r1/work/iperf-3.9'
 * S: '/var/tmp/portage/net-misc/iperf-3.9-r1/work/iperf-3.9'



I'm no experts on ebuilds, but I think it's wrong to have quotes on the DOCS line. I think the correct statement in the ebuild is:
DOCS=( README.md RELNOTES.md )


# emerge --info
Portage 3.0.12 (python 3.8.6-final-0, default/linux/amd64/17.1/no-multilib/hardened, gcc-9.3.0, glibc-2.32-r3, 4.19.160-gentoo x86_64)
=================================================================
System uname: Linux-4.19.97-gentoo-x86_64-Intel-R-_Core-TM-_i7-7700K_CPU_@_4.20GHz-with-glibc2.2.5
KiB Mem:    65732452 total,   1742624 free
KiB Swap:    5242876 total,   5086204 free
Timestamp of repository gentoo: Sat, 02 Jan 2021 19:05:14 +0000
Head commit of repository gentoo: 151965d1dbf1ae0818a428fec25fb63cf9b499b1

sh bash 5.0_p18
ld GNU ld (Gentoo 2.34 p6) 2.34.0
distcc 3.3.3 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          5.0_p18::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          3.8.6::gentoo, 3.9.0::gentoo
dev-util/cmake:           3.17.4-r1::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.2-r1::gentoo
sys-devel/binutils:       2.34-r2::gentoo
sys-devel/gcc:            9.3.0-r2::gentoo
sys-devel/gcc-config:     2.3.2-r1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r3::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000


I don't think my environment matters, but if you need a full 'emerge --info', I can provide it.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-01-02 21:06:43 UTC
(In reply to Torbjörn Svensson from comment #4)
> I have trouble installing this package on a fresh installation of Gentoo on
> amd64:
> 
> # ebuild /var/db/repos/gentoo/net-misc/iperf/iperf-3.9-r1.ebuild install
>  * iperf-3.9.tar.gz BLAKE2B SHA512 size ;-) ...                             
> [ ok ]
> >>> Unpacking source...
[...]
> 
> I'm no experts on ebuilds, but I think it's wrong to have quotes on the DOCS
> line. I think the correct statement in the ebuild is:
> DOCS=( README.md RELNOTES.md )
> 

You're absolutely right - quotes are fine, but on each item, not the whole line ;)

Thanks - fixed. I was a bit tired making that change earlier!
Comment 6 Torbjörn Svensson 2021-01-03 09:43:32 UTC
(In reply to Sam James from comment #5)
> You're absolutely right - quotes are fine, but on each item, not the whole
> line ;)
> 
> Thanks - fixed. I was a bit tired making that change earlier!

Thanks Sam, works like a charm now :-)
Comment 7 Sergei Trofimovich (RETIRED) gentoo-dev 2021-01-03 12:21:47 UTC
ppc/ppc64 stable
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-01-07 01:05:43 UTC
x86 done

all arches done