Summary: | net-misc/wget-1.19.5: Cannot write to (…) (Success). | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | lekto |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | jstein, mgorny |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://lists.gnu.org/archive/html/bug-wget/2019-11/msg00002.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge --info |
Description
lekto
2018-08-24 16:25:39 UTC
I can confirm that. I read (Success) as (Successful download) I thin this is no Gentoo bug, but comes from upstream. Please discuss it there. Cannot reproduce:
> thomas@testbox /usr/portage/sys-apps/lm_sensors $ wget https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-apps/lm_sensors/lm_sensors-3.4.0_p20180820.ebuild
> --2018-08-26 09:13:27-- https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-apps/lm_sensors/lm_sensors-3.4.0_p20180820.ebuild
> Resolving gitweb.gentoo.org (gitweb.gentoo.org)... 85.143.112.91
> Connecting to gitweb.gentoo.org (gitweb.gentoo.org)|85.143.112.91|:443... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 6338 (6,2K) [text/plain]
> lm_sensors-3.4.0_p20180820.ebuild.1: Permission denied
>
> Cannot write to ‘lm_sensors-3.4.0_p20180820.ebuild.1’ (Permission denied).
Please retry with 'wget --no-config ...' to make sure the executing user hasn't set any default option.
Please also check "exit" code (`echo $?`) after the command, just in case ...
I know that I have seen what you have reported in the past especially when pipe was involved but this isn't the case here.
lekto@blaszak /usr/portage/sys-apps/lm_sensors $ wget --no-config https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-apps/lm_sensors/lm_sensors-3.4.0_p20180820.ebuild --2018-08-26 12:38:45-- https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-apps/lm_sensors/lm_sensors-3.4.0_p20180820.ebuild Resolving gitweb.gentoo.org... 85.143.112.91 Connecting to gitweb.gentoo.org|85.143.112.91|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 6338 (6.2K) [text/plain] lm_sensors-3.4.0_p20180820.ebuild.1: Permission denied Cannot write to ‘lm_sensors-3.4.0_p20180820.ebuild.1’ (Success). lekto@blaszak /usr/portage/sys-apps/lm_sensors $ echo #? lekto@blaszak /usr/portage/sys-apps/lm_sensors $ echo $? 0 lekto@blaszak /usr/portage/sys-apps/lm_sensors $ emerge -pvO wget These are the packages that would be merged, in order: [ebuild R ] net-misc/wget-1.19.5::gentoo USE="nls pcre ssl zlib -debug -gnutls -idn -ipv6 -libressl -ntlm -static -test -uuid" 4,352 KiB Total: 1 package (1 reinstall), Size of downloads: 4,352 KiB I can still reproduce this problem with net-misc/wget-1.20.3-r2. I also sent a bug report upstream: https://lists.gnu.org/archive/html/bug-wget/2019-11/msg00002.html (In reply to lekto from comment #3) > lekto@blaszak /usr/portage/sys-apps/lm_sensors $ wget --no-config > https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-apps/lm_sensors/ > lm_sensors-3.4.0_p20180820.ebuild > --2018-08-26 12:38:45-- > https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-apps/lm_sensors/ > lm_sensors-3.4.0_p20180820.ebuild https://slope-game.io > Resolving gitweb.gentoo.org... 85.143.112.91 > Connecting to gitweb.gentoo.org|85.143.112.91|:443... connected. > HTTP request sent, awaiting response... 200 OK > Length: 6338 (6.2K) [text/plain] > lm_sensors-3.4.0_p20180820.ebuild.1: Permission denied > > Cannot write to ‘lm_sensors-3.4.0_p20180820.ebuild.1’ (Success). > lekto@blaszak /usr/portage/sys-apps/lm_sensors $ echo #? > > lekto@blaszak /usr/portage/sys-apps/lm_sensors $ echo $? > 0 > lekto@blaszak /usr/portage/sys-apps/lm_sensors $ emerge -pvO wget > > These are the packages that would be merged, in order: > > [ebuild R ] net-misc/wget-1.19.5::gentoo USE="nls pcre ssl zlib -debug > -gnutls -idn -ipv6 -libressl -ntlm -static -test -uuid" 4,352 KiB > > Total: 1 package (1 reinstall), Size of downloads: 4,352 KiB This is still very much an "upstream" issue. Based on that mailing list thread, they seem to stubbornly insist that errno should behave differently from reality. I suspect someone would need to send them a patch to get this fixed. |