Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Download for emerge failed due to HTTPS
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
ade05fr
Apprentice
Apprentice


Joined: 18 Sep 2006
Posts: 278

PostPosted: Fri Apr 12, 2019 5:18 pm    Post subject: [SOLVED] Download for emerge failed due to HTTPS Reply with quote

hello

i have made a fresh install of gentoo but when i tried to install firefox-bin i have this
Code:

>>> Fetching (1 of 1) www-client/firefox-bin-66.0.2::gentoo
openpty failed: 'out of pty devices'
>>> Downloading 'https://archive.mozilla.org/pub/mozilla.org/firefox/releases//66.0.2/linux-i686/xpi/ar.xpi'
https://archive.mozilla.org/pub/mozilla.org/firefox/releases//66.0.2/linux-i686/xpi/ar.xpi: HTTPS support not compiled in.
!!! Couldn't download 'firefox-66.0.2-ar.xpi'. Aborting.
>>> Downloading 'https://archive.mozilla.org/pub/mozilla.org/firefox/releases//66.0.2/linux-i686/xpi/fr.xpi'
https://archive.mozilla.org/pub/mozilla.org/firefox/releases//66.0.2/linux-i686/xpi/fr.xpi: HTTPS support not compiled in.
!!! Couldn't download 'firefox-66.0.2-fr.xpi'. Aborting.
>>> Downloading 'https://archive.mozilla.org/pub/mozilla.org/firefox/releases//66.0.2/linux-i686/xpi/ja.xpi'
https://archive.mozilla.org/pub/mozilla.org/firefox/releases//66.0.2/linux-i686/xpi/ja.xpi: HTTPS support not compiled in.
!!! Couldn't download 'firefox-66.0.2-ja.xpi'. Aborting.
>>> Downloading 'https://archive.mozilla.org/pub/mozilla.org/firefox/releases/66.0.2/linux-x86_64/en-US/firefox-66.0.2.tar.bz2'
https://archive.mozilla.org/pub/mozilla.org/firefox/releases/66.0.2/linux-x86_64/en-US/firefox-66.0.2.tar.bz2: HTTPS support not compiled in.
!!! Couldn't download 'firefox-bin_x86_64-66.0.2.tar.bz2'. Aborting.
 * Fetch failed for 'www-client/firefox-bin-66.0.2'


what is the cause ?
thanks
_________________
[LAPTOP]
DELL Inspiron 5110
i5-2450M CPU @ 2.50GHz
[LINUX-GENTOO]
Gentoo 2018-0
kernel 5.0.6
gnome 3.30


Last edited by ade05fr on Sun Apr 14, 2019 4:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
mike155
Veteran
Veteran


Joined: 17 Sep 2010
Posts: 1444
Location: Frankfurt, Germany

PostPosted: Fri Apr 12, 2019 6:14 pm    Post subject: Reply with quote

Did you emerge wget (or curl) without USE flag 'ssl'?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43547
Location: 56N 3W

PostPosted: Fri Apr 12, 2019 7:39 pm    Post subject: Reply with quote

ade05fr,

Code:
openpty failed: 'out of pty devices'
That means that devpts is not mounted
mount:
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)

Its very fussy about the gid=5,mode=620 too.

Without that, you can't spawn any jobs.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
ade05fr
Apprentice
Apprentice


Joined: 18 Sep 2006
Posts: 278

PostPosted: Sat Apr 13, 2019 4:41 am    Post subject: Reply with quote

its weird cause

Code:


cat /etc/fstab
# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed); notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#

# <fs>                  <mountpoint>    <type>          <opts>          <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
LABEL=/boot             /boot           ext2    defaults,noatime     1 2
LABEL=SWAP              none            swap    sw                   0 0
LABEL=/                 /               ext4    defaults,noatime     1 2
LABEL=/usr              /usr            ext4    defaults,noatime     1 2
LABEL=/usr/portage      /usr/portage    ext4    defaults,noatime     1 2
LABEL=/opt              /opt            ext4    defaults,noatime     1 2
LABEL=/var              /var            ext4    defaults,noatime     1 2
LABEL=/tmp              /tmp            ext4    defaults,noatime     1 2
LABEL=/home             /home           ext4    defaults,noatime     1 2
#LABEL=/home/halim/data /home/halim/data ext4    defaults,noatime     1 2

/dev/cdrom              /mnt/cdrom   auto    noauto,user          0 0
proc                    /proc        proc    defaults             0 0
shm                     /dev/shm     tmpfs   nodev,nosuid,noexec  0 0
devpts                  /dev/pts     devpts  rw,nosuid,noexec,relatime,gid=5,mode=620 0 0


and
Code:


/ # grep DEVTMP /usr/src/linux/.config
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
livecd / # ps -Alf | grep udevd
5 S root      3934     1  0  80   0 - 10072 -      06:12 ?        00:00:00 /lib/systemd/systemd-udevd --daemon
0 S root     12054  7242  0  80   0 -  3629 -      06:32 ?        00:00:00 grep --colour=auto udevd
/ # grep CONFIG_UNIX98_PTYS=y /usr/src/linux/.config
CONFIG_UNIX98_PTYS=y


_________________
[LAPTOP]
DELL Inspiron 5110
i5-2450M CPU @ 2.50GHz
[LINUX-GENTOO]
Gentoo 2018-0
kernel 5.0.6
gnome 3.30
Back to top
View user's profile Send private message
ade05fr
Apprentice
Apprentice


Joined: 18 Sep 2006
Posts: 278

PostPosted: Sat Apr 13, 2019 4:59 am    Post subject: Reply with quote

i have rechecked and now no problem
Code:

 ~ # more mount.log
proc on /proc type proc (rw,relatime)
none on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=10240k,nr_inodes=730103,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,noexec)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
/dev/sda5 on / type ext4 (rw,noatime)
/dev/sda6 on /usr type ext4 (rw,noatime)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelega
te)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name
=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpu type cgroup (rw,nosuid,nodev,noexec,relatime,cpu)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=27,pgrp=1,timeout=0,mi
nproto=5,maxproto=5,direct,pipe_ino=8741)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
/dev/sda1 on /boot type ext2 (rw,noatime,errors=continue)
/dev/sda7 on /opt type ext4 (rw,noatime)
/dev/sda8 on /var type ext4 (rw,noatime)
/dev/sda9 on /usr/portage type ext4 (rw,noatime)
/dev/sda10 on /tmp type ext4 (rw,noatime)
/dev/sda11 on /home type ext4 (rw,noatime,stripe=32741)
tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=585584k,mode=700)


and for the previous question about curl/wget here is what i have
Code:

eix net-misc/curl
[I] net-misc/curl
     Available versions:  7.64.0^t 7.64.1^t {adns brotli http2 idn ipv6 kerberos ldap metalink rtmp samba ssh ssl static-libs test threads ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32" CURL_SSL="gnutls libressl mbedtls nss +openssl winssl" ELIBC="Winnt"}
     Installed versions:  7.64.1^t(22:44:26 10/04/2019)(ipv6 ssl -adns -brotli -http2 -idn -kerberos -ldap -metalink -rtmp -samba -ssh -static-libs -test -threads ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" CURL_SSL="libressl -gnutls -mbedtls -nss -openssl -winssl" ELIBC="-Winnt")
     Homepage:            https://curl.haxx.se/
     Description:         A Client that groks URLs


[I] net-misc/wget
     Available versions:  1.20.1 (~)1.20.2 (~)1.20.3 {debug gnutls idn ipv6 libressl nls ntlm pcre +ssl static test uuid zlib}
     Installed versions:  1.20.3(21:05:12 10/04/2019)(ipv6 libressl nls pcre zlib -debug -gnutls -idn -ntlm -ssl -static -test -uuid)
     Homepage:            https://www.gnu.org/software/wget/
     Description:         Network utility to retrieve files from the WWW

[/code]
_________________
[LAPTOP]
DELL Inspiron 5110
i5-2450M CPU @ 2.50GHz
[LINUX-GENTOO]
Gentoo 2018-0
kernel 5.0.6
gnome 3.30
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 14056

PostPosted: Sat Apr 13, 2019 3:41 pm    Post subject: Reply with quote

Your net-misc/wget has USE=-ssl, so it cannot use SSL. HTTPS is HTTP over SSL. Rebuild wget with SSL support.
Back to top
View user's profile Send private message
axl
l33t
l33t


Joined: 11 Oct 2002
Posts: 637
Location: Romania

PostPosted: Sat Apr 13, 2019 9:18 pm    Post subject: Reply with quote

I think, with all due respect, ssl should be an implicit flag to wget in this era. Unless you opt out otherwise.
Back to top
View user's profile Send private message
mike155
Veteran
Veteran


Joined: 17 Sep 2010
Posts: 1444
Location: Frankfurt, Germany

PostPosted: Sat Apr 13, 2019 9:26 pm    Post subject: Reply with quote

axl wrote:
I think, with all due respect, ssl should be an implicit flag to wget in this era. Unless you opt out otherwise.

Please look at the wget ebuild:
wget-1.20.3.ebuild:
...
IUSE="debug gnutls idn ipv6 libressl nls ntlm pcre +ssl static test uuid zlib"
...

Do you see the '+' in front of ssl? That's exactly what you call for...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum