Created attachment 567710 [details] build.log media-libs/gd-2.2.5-r2 failed with the message: >>> Emerging (1 of 1) media-libs/gd-2.2.5-r2::gentoo * libgd-2.2.5.tar.xz BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking libgd-2.2.5.tar.xz to /var/tmp/portage/media-libs/gd-2.2.5-r2/work cp: cannot stat '/var/tmp/portage/media-libs/gd-2.2.5-r2/distdir/libgd-2.2.5-ossfuzz5700.dat': No such file or directory * ERROR: media-libs/gd-2.2.5-r2::gentoo failed (unpack phase): * (no error message) * * Call stack: * ebuild.sh, line 124: Called src_unpack * environment, line 1946: Called die * The specific snippet of code: * cp "${DISTDIR}"/lib${P}-ossfuzz5700.dat "${S}"/tests/gif/ossfuzz5700.gif || die; * * If you need support, post the output of `emerge --info '=media-libs/gd-2.2.5-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-libs/gd-2.2.5-r2::gentoo'`. * The complete build log is located at '/var/tmp/portage/media-libs/gd-2.2.5-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/gd-2.2.5-r2/temp/environment'. * Working directory: '/var/tmp/portage/media-libs/gd-2.2.5-r2/work' * S: '/var/tmp/portage/media-libs/gd-2.2.5-r2/work/libgd-2.2.5'
Created attachment 567712 [details] emerge -pqv '=media-libs/gd-2.2.5-r2::gentoo'
Created attachment 567714 [details] emerge --info '=media-libs/gd-2.2.5-r2::gentoo'
I have the same issue.
This is caused by the addition of the test use flag in gd-2.2.5-r2. The two files 'ossfuzz5700.dat' and 'php_bug_75571.dat' are only downloaded when the 'test' use flag is enabled on lines 11-14 of the ebuild. Both of these files are unconditionally used on lines 48/49 of the ebuild: cp "${DISTDIR}"/lib${P}-ossfuzz5700.dat "${S}"/tests/gif/ossfuzz5700.gif || die cp "${DISTDIR}"/lib${P}-php_bug_75571.dat "${S}"/tests/gif/php_bug_75571.gif || die This should be done conditional to the use flag: if use test; then cp "${DISTDIR}"/lib${P}-ossfuzz5700.dat "${S}"/tests/gif/ossfuzz5700.gif || die cp "${DISTDIR}"/lib${P}-php_bug_75571.dat "${S}"/tests/gif/php_bug_75571.gif || die fi Or similar. In the mean time you can build this package by enabling the test use flag.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53839e1b65680123ed8cd5d2c34a8862c59fb58d commit 53839e1b65680123ed8cd5d2c34a8862c59fb58d Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2019-03-04 12:32:47 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2019-03-04 12:33:19 +0000 media-libs/gd: Fixed build with USE="-test". Closes: https://bugs.gentoo.org/679380 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> media-libs/gd/gd-2.2.5-r2.ebuild | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-)