You are not logged in.

#1 2018-06-19 09:33:47

jb.1234abcd
Member
Registered: 2013-10-14
Posts: 45

[SOLVED] glibc and makepkg errors

These are the steps I am taking that cause an error.

Package : glibc 2.27-3
Source Files:
Mode    Name    Size   
-rw-r--r--    PKGBUILD    6158    logstatsplain
-rw-r--r--    bz20338.patch    3453    logstatsplain
-rw-r--r--    glibc.install    49    logstatsplain
-rw-r--r--    lib32-glibc.conf    11    logstatsplain
-rwxr-xr-x    locale-gen    1044    logstatsplain
-rw-r--r--    locale.gen.txt    612    logstatsplain

$ pwd
/home/jb/glibc
$ ls -al
-rw-r--r--  1 jb jb  3453 Jun 19 10:58 bz20338.patch
-rw-r--r--  1 jb jb    50 Jun 19 11:02 glibc.install
-rw-r--r--  1 jb jb    11 Jun 19 11:02 lib32-glibc.conf
-rw-r--r--  1 jb jb  1044 Jun 19 11:03 locale-gen
-rw-r--r--  1 jb jb   612 Jun 19 11:04 locale.gen.txt
-rw-r--r--  1 jb jb  6159 Jun 19 11:07 PKGBUILD

$ makepkg -s
==> Retrieving sources...
  -> Downloading glibc-2.27.tar.xz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 14.6M  100 14.6M    0     0   237k      0  0:01:03  0:01:03 --:--:--  240k
  -> Downloading glibc-2.27.tar.xz.sig...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   801  100   801    0     0   1517      0 --:--:-- --:--:-- --:--:--  1517
  -> Found locale.gen.txt
  -> Found locale-gen
  -> Found lib32-glibc.conf
  -> Found bz20338.patch
==> Validating source files with md5sums...
    glibc-2.27.tar.xz ... Passed
    glibc-2.27.tar.xz.sig ... Skipped
    locale.gen.txt ... FAILED
    locale-gen ... FAILED
    lib32-glibc.conf ... FAILED
    bz20338.patch ... FAILED
==> ERROR: One or more files did not pass the validity check!
$

How am I supposed to solve this problem ?
Should the PKGBUILD be updated accordingly to figure out how to do it ?

Last edited by jb.1234abcd (2018-06-19 14:10:06)

Offline

#2 2018-06-19 09:45:11

loqs
Member
Registered: 2014-03-06
Posts: 17,369

Re: [SOLVED] glibc and makepkg errors

How did you obtain the PKGBUILD sources? Please use code tags.

git clone git://git.archlinux.org/svntogit/packages.git --single-branch --branch "packages/glibc"
Cloning into 'packages'...
remote: Counting objects: 2085, done.
remote: Compressing objects: 100% (1465/1465), done.
remote: Total 2085 (delta 689), reused 1871 (delta 611)
Receiving objects: 100% (2085/2085), 1.28 MiB | 1.05 MiB/s, done.
Resolving deltas: 100% (689/689), done.
$ cd packages/repos/core-x86_64/
$ makepkg -odd
==> Making package: glibc 2.27-3 (Tue 19 Jun 2018 09:39:30 UTC)
==> WARNING: Skipping dependency checks.
==> Retrieving sources...
  -> Downloading glibc-2.27.tar.xz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 14.6M  100 14.6M    0     0  4895k      0  0:00:03  0:00:03 --:--:-- 4895k
  -> Downloading glibc-2.27.tar.xz.sig...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   801  100   801    0     0   1412      0 --:--:-- --:--:-- --:--:--  1412
  -> Found locale.gen.txt
  -> Found locale-gen
  -> Found lib32-glibc.conf
  -> Found bz20338.patch
==> Validating source files with md5sums...
    glibc-2.27.tar.xz ... Passed
    glibc-2.27.tar.xz.sig ... Skipped
    locale.gen.txt ... Passed
    locale-gen ... Passed
    lib32-glibc.conf ... Passed
    bz20338.patch ... Passed
==> Verifying source file signatures with gpg...
    glibc-2.27.tar.xz ... FAILED (unknown public key 16792B4EA25340F8)
==> ERROR: One or more PGP signatures could not be verified!
$ cd ../..
$ cd trunk/
$ makepkg -odd
==> Making package: glibc 2.27-3 (Tue 19 Jun 2018 09:39:58 UTC)
==> WARNING: Skipping dependency checks.
==> Retrieving sources...
  -> Downloading glibc-2.27.tar.xz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 14.6M  100 14.6M    0     0  4261k      0  0:00:03  0:00:03 --:--:-- 4260k
  -> Downloading glibc-2.27.tar.xz.sig...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   801  100   801    0     0   1425      0 --:--:-- --:--:-- --:--:--  1422
  -> Found locale.gen.txt
  -> Found locale-gen
  -> Found lib32-glibc.conf
  -> Found bz20338.patch
==> Validating source files with md5sums...
    glibc-2.27.tar.xz ... Passed
    glibc-2.27.tar.xz.sig ... Skipped
    locale.gen.txt ... Passed
    locale-gen ... Passed
    lib32-glibc.conf ... Passed
    bz20338.patch ... Passed
==> Verifying source file signatures with gpg...
    glibc-2.27.tar.xz ... FAILED (unknown public key 16792B4EA25340F8)
==> ERROR: One or more PGP signatures could not be verified!

Offline

#3 2018-06-19 12:27:56

jb.1234abcd
Member
Registered: 2013-10-14
Posts: 45

Re: [SOLVED] glibc and makepkg errors

OK.
But if I wanted to copy those files (one by one or in bulk) under dir
https://git.archlinux.org/svntogit/pack … ages/glibc
to my local dir and retain their original sizes, how would I do it (http, wget, etc) ?

Offline

#4 2018-06-19 12:32:34

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,723

Re: [SOLVED] glibc and makepkg errors

loqs post contains an example using git other examples are outlined in https://wiki.archlinux.org/index.php/Ar … to_use_ABS

Why do you want to do this, what is your end goal?

Offline

Board footer

Powered by FluxBB