Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 656170 - net-misc/wget-1.19.5: fails to install if dev-lang/perl is not installed
Summary: net-misc/wget-1.19.5: fails to install if dev-lang/perl is not installed
Status: RESOLVED DUPLICATE of bug 652300
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-20 15:55 UTC by Bruno
Modified: 2018-05-21 18:49 UTC (History)
0 users

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 Bruno 2018-05-20 15:55:08 UTC
During src_install phase wget.1 man page is being modified via sed command.

This file is no generate when perl is not installed while wget is being emerged (/usr/bin/pod2man is provided by perl).

Please add dev-lang/perl as a build-time dependency to wget.

Reproducible: Always

Steps to Reproduce:
1. emerge --depclean --with-bdeps=n
   (an a system with minimal world so perl gets uninstalled)
2. emerge --oneshot wget
[ebuild   R    ] net-misc/wget-1.19.5::gentoo  USE="idn ipv6 pcre ssl zlib -debug -gnutls -libressl -nls -ntlm -static {-test} -uuid" 0 KiB
Actual Results:  
emerge fails during src_install phase:


make[2]: Entering directory '/var/cache/tree/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/po'
if test "wget" = "gettext-tools"; then \
  /bin/mkdir -p /var/cache/tree/tmp/portage/net-misc/wget-1.19.5/image//usr/share/gettext/po; \
  for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot   Makevars.template; do \
    /usr/lib/portage/python3.5/ebuild-helpers/xattr/install -c -m 644 ./$file \
		    /var/cache/tree/tmp/portage/net-misc/wget-1.19.5/image//usr/share/gettext/po/$file; \
  done; \
  for file in Makevars; do \
    rm -f /var/cache/tree/tmp/portage/net-misc/wget-1.19.5/image//usr/share/gettext/po/$file; \
  done; \
else \
  : ; \
fi
make[2]: Leaving directory '/var/cache/tree/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/po'
Making install in util
make[2]: Entering directory '/var/cache/tree/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/util'
make[3]: Entering directory '/var/cache/tree/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/util'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/var/cache/tree/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/util'
make[2]: Leaving directory '/var/cache/tree/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/util'
Making install in fuzz
make[2]: Entering directory '/var/cache/tree/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/fuzz'
make[3]: Entering directory '/var/cache/tree/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/fuzz'
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/var/cache/tree/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/fuzz'
make[2]: Leaving directory '/var/cache/tree/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/fuzz'
Making install in tests
make[2]: Entering directory '/var/cache/tree/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests'
make[3]: Entering directory '/var/cache/tree/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/var/cache/tree/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests'
make[2]: Leaving directory '/var/cache/tree/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/tests'
Making install in testenv
make[2]: Entering directory '/var/cache/tree/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/testenv'
make[3]: Entering directory '/var/cache/tree/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/testenv'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/var/cache/tree/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/testenv'
make[2]: Leaving directory '/var/cache/tree/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5/testenv'
make[2]: Entering directory '/var/cache/tree/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5'
make[3]: Entering directory '/var/cache/tree/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/var/cache/tree/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5'
make[2]: Leaving directory '/var/cache/tree/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5'
make[1]: Leaving directory '/var/cache/tree/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5'
sed: can't read /var/cache/tree/tmp/portage/net-misc/wget-1.19.5/image/usr/share/man/man1/wget.1: No such file or directory
 * ERROR: net-misc/wget-1.19.5::gentoo failed (install phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line 124:  Called src_install
 *   environment, line 3228:  Called die
 * The specific snippet of code:
 *       sed -i -e "s:/usr/local/etc:${EPREFIX}/etc:g" "${ED%/}"/etc/wgetrc "${ED%/}"/usr/share/man/man1/wget.1 "${ED%/}"/usr/share/info/wget.info || die
 *
 * If you need support, post the output of `emerge --info '=net-misc/wget-1.19.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-misc/wget-1.19.5::gentoo'`.
 * The complete build log is located at '/var/cache/tree/tmp/portage/net-misc/wget-1.19.5/temp/build.log'.
 * The ebuild environment file is located at '/var/cache/tree/tmp/portage/net-misc/wget-1.19.5/temp/environment'.
 * Working directory: '/var/cache/tree/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5'
 * S: '/var/cache/tree/tmp/portage/net-misc/wget-1.19.5/work/wget-1.19.5'

>>> Failed to emerge net-misc/wget-1.19.5, Log file:


Expected Results:  
Successful package install
Comment 1 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2018-05-21 18:49:49 UTC

*** This bug has been marked as a duplicate of bug 652300 ***