SSL error in most of the operations

Hello everyone,
i'm having ssl issue on every operations i tried to perform on cli. Not able to perform git clone, can't install packages mostly due to this.

[🔴] × git clone https://aur.archlinux.org/package-query.git && cd package-query
Cloning into 'package-query'...
remote: Enumerating objects: 61, done.
remote: Counting objects: 100% (61/61), done.
remote: Compressing objects: 100% (58/58), done.
remote: Total 61 (delta 3), reused 60 (delta 3), pack-reused 0
Receiving objects: 100% (61/61), 13.27 KiB | 13.27 MiB/s, done.
Resolving deltas: 100% (3/3), done.

╭─[email protected] in repo: package-query on  master as 🧙 took 3s
╰─λ ls
drwxr-xr-x   - dragon  2 Jun 14:58  .git
.rw-r--r-- 486 dragon  2 Jun 14:58  .SRCINFO
.rw-r--r-- 754 dragon  2 Jun 14:58  PKGBUILD

╭─[email protected] in repo: package-query on  master as 🧙 took 3ms
╰─λ makepkg -si
==> Making package: package-query 1.12-1 (Thursday 02 June 2022 02:58:48 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading package-query-1.12.tar.gz...
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (56) OpenSSL SSL_read: error:1408F10B:SSL routines:ssl3_get_record:wrong version number, errno 0
==> ERROR: Failure while downloading https://github.com/archlinuxfr/package-query/releases/download/1.12/package-query-1.12.tar.gz
Aborting...

Please take a look and share me the fix. Thank you :slight_smile:

Try http instead of https

3 Likes

Not working, i tried


 ╭─[email protected] in ~ 
 ╰─λ git clone https://aur.archlinux.org/package-query.git && cd package-query
Klone nach 'package-query'...
remote: Enumerating objects: 61, done.
remote: Counting objects: 100% (61/61), done.
remote: Compressing objects: 100% (58/58), done.
remote: Total 61 (delta 3), reused 60 (delta 3), pack-reused 0
Empfange Objekte: 100% (61/61), 13.27 KiB | 6.63 MiB/s, fertig.
Löse Unterschiede auf: 100% (3/3), fertig.

 ╭─[email protected] in repo: package-query on  master took 508ms
 ╰─λ makepkg -si
==> Erstelle Paket: package-query 1.12-1 (Do 02 Jun 2022 12:13:37 CEST)
==> Prüfe Laufzeit-Abhängigkeiten...
==> Prüfe Buildtime-Abhängigkeiten...
==> Empfange Quellen...
  -> Lade package-query-1.12.tar.gz herunter...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  380k  100  380k    0     0   639k      0 --:--:-- --:--:-- --:--:--  639k
==> Überprüfe source Dateien mit md5sums...
    package-query-1.12.tar.gz ... Erfolg
==> Entpacke Quellen...
  -> Entpacke package-query-1.12.tar.gz mit bsdtar
==> Beginne build()...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ctype.h... yes
checking for getopt.h... yes
checking for glob.h... yes
checking for libintl.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for regex.h... yes
checking for signal.h... yes
checking for sys/ioctl.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/utsname.h... yes
checking for alpm_version in -lalpm... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for alpm... yes
checking for yajl_free in -lyajl... yes
checking for gawk... (cached) gawk
checking for curl-config... /usr/bin/curl-config
checking for the version of libcurl... 7.83.1
checking for libcurl >= version 7.19.4... yes
checking whether libcurl is usable... yes
checking for curl_free... yes
checking for git... git
checking for .git/... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

package-query:

  Build information:
    source code location   : .
    prefix                 : /usr
    sysconfdir             : /etc
       conf file           : /etc/pacman.conf
    localstatedir          : /var
       database dir        : /var/lib/pacman/
    compiler               : gcc
    compiler flags         : -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection

    package-query version  : 1.12
    using git version      : no
       git ver             : 

  Variable information:
    root working directory : /
    aur base url           : https://aur.archlinux.org

make  all-recursive
make[1]: Verzeichnis „/home/sgs/package-query/src/package-query-1.12“ wird betreten
Making all in src
make[2]: Verzeichnis „/home/sgs/package-query/src/package-query-1.12/src“ wird betreten
gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"https://aur.archlinux.org\" -DHAVE_CONFIG_H  -I. -I..    -D_GNU_SOURCE -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -MT aur.o -MD -MP -MF .deps/aur.Tpo -c -o aur.o aur.c
mv -f .deps/aur.Tpo .deps/aur.Po
gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"https://aur.archlinux.org\" -DHAVE_CONFIG_H  -I. -I..    -D_GNU_SOURCE -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -MT alpm-query.o -MD -MP -MF .deps/alpm-query.Tpo -c -o alpm-query.o alpm-query.c
mv -f .deps/alpm-query.Tpo .deps/alpm-query.Po
gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"https://aur.archlinux.org\" -DHAVE_CONFIG_H  -I. -I..    -D_GNU_SOURCE -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c
mv -f .deps/util.Tpo .deps/util.Po
gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"https://aur.archlinux.org\" -DHAVE_CONFIG_H  -I. -I..    -D_GNU_SOURCE -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -MT color.o -MD -MP -MF .deps/color.Tpo -c -o color.o color.c
mv -f .deps/color.Tpo .deps/color.Po
gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"https://aur.archlinux.org\" -DHAVE_CONFIG_H  -I. -I..    -D_GNU_SOURCE -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -MT package-query.o -MD -MP -MF .deps/package-query.Tpo -c -o package-query.o package-query.c
In Funktion »init_config«,
    eingefügt von »main« bei package-query.c:197:2:
package-query.c:79:29: Warnung: durch »strndup« angegebene Grenze 4096 überschreitet die Größe 17 des Quellobjekts [-Wstringop-overread]
   79 |         config.configfile = strndup (CONFFILE, PATH_MAX);
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
mv -f .deps/package-query.Tpo .deps/package-query.Po
/bin/sh ../libtool  --tag=CC   --mode=link gcc -D_GNU_SOURCE -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -lcurl  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o package-query aur.o alpm-query.o util.o color.o package-query.o  -lyajl -lalpm 
libtool: link: gcc -D_GNU_SOURCE -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -o package-query aur.o alpm-query.o util.o color.o package-query.o  -lcurl -lyajl -lalpm
make[2]: Verzeichnis „/home/sgs/package-query/src/package-query-1.12/src“ wird verlassen
Making all in doc
make[2]: Verzeichnis „/home/sgs/package-query/src/package-query-1.12/doc“ wird betreten
make[2]: Für das Ziel „all“ ist nichts zu tun.
make[2]: Verzeichnis „/home/sgs/package-query/src/package-query-1.12/doc“ wird verlassen
make[2]: Verzeichnis „/home/sgs/package-query/src/package-query-1.12“ wird betreten
make[2]: Verzeichnis „/home/sgs/package-query/src/package-query-1.12“ wird verlassen
make[1]: Verzeichnis „/home/sgs/package-query/src/package-query-1.12“ wird verlassen
==> Betrete fakeroot Umgebung...
==> Beginne package()...
Making install in src
make[1]: Verzeichnis „/home/sgs/package-query/src/package-query-1.12/src“ wird betreten
make[2]: Verzeichnis „/home/sgs/package-query/src/package-query-1.12/src“ wird betreten
 /usr/bin/mkdir -p '/home/sgs/package-query/pkg/package-query/usr/bin'
  /bin/sh ../libtool   --mode=install /usr/bin/install -c package-query '/home/sgs/package-query/pkg/package-query/usr/bin'
libtool: install: /usr/bin/install -c package-query /home/sgs/package-query/pkg/package-query/usr/bin/package-query
make[2]: Für das Ziel „install-data-am“ ist nichts zu tun.
make[2]: Verzeichnis „/home/sgs/package-query/src/package-query-1.12/src“ wird verlassen
make[1]: Verzeichnis „/home/sgs/package-query/src/package-query-1.12/src“ wird verlassen
Making install in doc
make[1]: Verzeichnis „/home/sgs/package-query/src/package-query-1.12/doc“ wird betreten
make[2]: Verzeichnis „/home/sgs/package-query/src/package-query-1.12/doc“ wird betreten
make[2]: Für das Ziel „install-exec-am“ ist nichts zu tun.
 /usr/bin/mkdir -p '/home/sgs/package-query/pkg/package-query/usr/share/man/man8'
 /usr/bin/install -c -m 644 package-query.8 '/home/sgs/package-query/pkg/package-query/usr/share/man/man8'
make[2]: Verzeichnis „/home/sgs/package-query/src/package-query-1.12/doc“ wird verlassen
make[1]: Verzeichnis „/home/sgs/package-query/src/package-query-1.12/doc“ wird verlassen
make[1]: Verzeichnis „/home/sgs/package-query/src/package-query-1.12“ wird betreten
make[2]: Verzeichnis „/home/sgs/package-query/src/package-query-1.12“ wird betreten
make[2]: Für das Ziel „install-exec-am“ ist nichts zu tun.
make[2]: Für das Ziel „install-data-am“ ist nichts zu tun.
make[2]: Verzeichnis „/home/sgs/package-query/src/package-query-1.12“ wird verlassen
make[1]: Verzeichnis „/home/sgs/package-query/src/package-query-1.12“ wird verlassen
==> Säubere Installation...
  -> Entferne libtool Dateien...
  -> Bereinige ungewollte Dateien...
  -> Entferne statische Bibliotheken...
  -> Entferne unnötige Symbole aus Binär-Dateien und Bibliotheken...
  -> Komprimiere Man-Pages und Info-Seiten...
==> Prüfe auf Paketierungsprobleme...
==> Erstelle Paket "package-query"...
  -> Erstelle .PKGINFO Datei...
  -> Erstelle .BUILDINFO Datei...
  -> Erstelle .MTREE-Datei...
  -> Komprimiere Paket... 
==> Verlasse fakeroot Umgebung.
==> Beendete Erstellung: package-query 1.12-1 (Do 02 Jun 2022 12:13:44 CEST)
==> Installiere Paket package-query mit pacman -U...
Pakete werden geladen …
Abhängigkeiten werden aufgelöst …
Nach in Konflikt stehenden Paketen wird gesucht …

Pakete (1) package-query-1.12-1

Gesamtgröße der installierten Pakete:  0,07 MiB

:: Installation fortsetzen? [J/n] 
(1/1) Schlüssel im Schlüsselbund werden geprüft     [--------------------------] 100%
(1/1) Paket-Integrität wird überprüft               [--------------------------] 100%
(1/1) Paket-Dateien werden geladen                  [--------------------------] 100%
(1/1) Auf Dateikonflikte wird geprüft               [--------------------------] 100%
(1/1) Verfügbarer Festplattenspeicher wird ermi...  [--------------------------] 100%
:: Pre-transaction-Hooks werden gestartet …
(1/1) Performing snapper pre snapshots for the following configurations...
==> root: 653
:: Paketänderungen werden verarbeitet …
(1/1) Installiert wird package-query                [--------------------------] 100%
:: Post-transaction-Hooks werden gestartet …
(1/6) Arming ConditionNeedsUpdate...
(2/6) Foreign/AUR package notification
package-query 1.12-1
(3/6) Orphaned package notification...
=> No orphans found.
(4/6) Checking for .pacnew and .pacsave files...
.pac* files found:
/etc/pacman.d/mirrorlist.pacnew
Please check and merge
(5/6) Performing snapper post snapshots for the following configurations...
==> root: 654
(6/6) Syncing all file systems...

Work fine here.
Download too from

https://github.com/archlinuxfr/package-query/releases/download/1.12/package-query-1.12.tar.gz

Post your garuda-inxi, please.

3 Likes

Just tried it too works fine here :smiley:

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.