您尚未登录。

#1 2016-08-17 08:54:40

qqmxdpo
会员
注册时间: 2016-06-12
帖子: 13

【已解决】ERROR: One or more PGP signatures could not be verified!

在安装icecat遇到的:
==> Verifying source file signatures with gpg...
    icecat-38.8.0-gnu2.tar.bz2 ... FAILED (unknown public key 3C76EED7D7E04784)
==> ERROR: One or more PGP signatures could not be verified!
==> ERROR: Makepkg was unable to build icecat.
==> Restart building icecat ? [y/N]

该如何处理

[linux@archlinux ~]$ yaourt icecat
1 aur/icecat 38.8.0-3 (174) (3.00)
    GNU version of the Firefox browser.
2 aur/icecat-bin 38.8.0-2 (9) (2.41)
    Binary build of the GNU version of the Mozilla Firefox browser
==> Enter n° of packages to be installed (ex: 1 2 3 or 1-3)
==> -------------------------------------------------------
==> 1


==> Downloading icecat PKGBUILD from AUR...
x .SRCINFO
x PKGBUILD
x PKGBUILD.gcc5
x firefox-gcc-6.0.patch
x gcc6-fix-compilation-for-IceCat.patch
x harfbuzz-1.1.3.patch.gz
x icecat-safe.desktop
x icecat.desktop
x icecat.install
x mozconfig
x mozilla-1228540-1.patch
x vendor.js
figue commented on 2016-08-05 07:17
@EndUserOnly ok, thanks for the tip. I haven't used grsec for years, but I will remember. Do you figure out why exactly compilation fails in grsec?

archmaniac commented on 2016-08-06 10:49
hey, i got an error while compiling.

== ERROR: A failure occurred in package().
Aborting...
== ERROR: Makepkg was unable to build icecat.

figue commented on 2016-08-06 19:04
@archmaniac you should paste more information, with that is impossible to know what is causing your error.

archmaniac commented on 2016-08-07 08:37
Yeah, sorry for the less information. I tried to build it with yaourt and makepkg. At the end the error appears.

== Entering fakeroot environment...
dlsym(acl_get_fd): /usr/lib/libfakeroot/libfakeroot.so: undefined symbol: acl_get_fd
dlsym(acl_get_file): /usr/lib/libfakeroot/libfakeroot.so: undefined symbol: acl_get_file
== Starting package()...
dlsym(acl_get_fd): /usr/lib/libfakeroot/libfakeroot.so: undefined symbol: acl_get_fd
dlsym(acl_get_file): /usr/lib/libfakeroot/libfakeroot.so: undefined symbol: acl_get_file
== ERROR: A failure occurred in package().
Aborting...
== ERROR: Makepkg was unable to build icecat.

There was a problem with fakeroot. So I did a system upgrade and compiled it again. Now it works fine.

figue commented on 2016-08-07 09:43
@archmaniac fakeroot messages are only "unwanted output", see this bug: https://bugs.archlinux.org/task/49278

Indeed, before building big packages like IceCat, a system upgrade is very recommended. Or, use any chroot helper (like scripts provided in devtools package) that maintain a clean and upgraded environment to build packages.

Enjoy your new cold cat :)

icecat 38.8.0-3  (2016-06-28 10:49)
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n

==> icecat dependencies:
 - gtk2 (already installed)
 - mozilla-common (already installed)
 - libxt (already installed)
 - startup-notification (already installed)
 - mime-types (already installed)
 - dbus-glib (already installed)
 - alsa-lib (already installed)
 - ffmpeg (already installed)
 - desktop-file-utils (already installed)
 - libvpx (already installed)
 - icu (already installed)
 - libevent (already installed)
 - nss (already installed)
 - hunspell (already installed)
 - sqlite (already installed)
 - ttf-font (already installed)
 - unzip (already installed) [makedepend]
 - zip (already installed) [makedepend]
 - diffutils (already installed) [makedepend]
 - python2 (already installed) [makedepend]
 - yasm (already installed) [makedepend]
 - mesa (already installed) [makedepend]
 - imake (already installed) [makedepend]
 - gconf (already installed) [makedepend]
 - libpulse (already installed) [makedepend]
 - gst-plugins-base-libs (already installed) [makedepend]
 - inetutils (already installed) [makedepend]


==> Edit icecat.install ? [Y/n] ("A" to abort)
==> ------------------------------------------
==> n

==> Continue building icecat ? [Y/n]
==> --------------------------------
==> y

==> Building and installing package
==> Making package: icecat 38.8.0-3 (Wed Aug 17 11:00:48 CST 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading icecat-38.8.0-gnu2.tar.bz2...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   344  100   344    0     0    162      0  0:00:02  0:00:02 --:--:--   162
100  224M  100  224M    0     0   360k      0  0:10:37  0:10:37 --:--:--  517k
  -> Downloading icecat-38.8.0-gnu2.tar.bz2.sig...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   349  100   349    0     0    112      0  0:00:03  0:00:03 --:--:--   112
100   287  100   287    0     0     78      0  0:00:03  0:00:03 --:--:--   827
  -> Found mozconfig
  -> Found icecat.desktop
  -> Found icecat-safe.desktop
  -> Found vendor.js
  -> Found gcc6-fix-compilation-for-IceCat.patch
  -> Found firefox-gcc-6.0.patch
  -> Found harfbuzz-1.1.3.patch.gz
  -> Found mozilla-1228540-1.patch
==> Validating source files with sha256sums...
    icecat-38.8.0-gnu2.tar.bz2 ... Passed
    icecat-38.8.0-gnu2.tar.bz2.sig ... Skipped
    mozconfig ... Passed
    icecat.desktop ... Passed
    icecat-safe.desktop ... Passed
    vendor.js ... Passed
    gcc6-fix-compilation-for-IceCat.patch ... Passed
    firefox-gcc-6.0.patch ... Passed
    harfbuzz-1.1.3.patch.gz ... Passed
    mozilla-1228540-1.patch ... Passed
==> Verifying source file signatures with gpg...
    icecat-38.8.0-gnu2.tar.bz2 ... FAILED (unknown public key 3C76EED7D7E04784)
==> ERROR: One or more PGP signatures could not be verified!
==> ERROR: Makepkg was unable to build icecat.
==> Restart building icecat ? [y/N]
==> -------------------------------
==>

最近编辑记录 依云 (2016-08-17 14:10:00)

离线

#2 2016-08-17 09:58:33

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,384
个人网站

Re: 【已解决】ERROR: One or more PGP signatures could not be verified!

另开个 shell 执行 gpg --recv-keys 3C76EED7D7E04784,然后再在这边按 y restart。

离线

#3 2016-08-17 11:38:22

qqmxdpo
会员
注册时间: 2016-06-12
帖子: 13

Re: 【已解决】ERROR: One or more PGP signatures could not be verified!

依云 说:

另开个 shell 执行 gpg --recv-keys 3C76EED7D7E04784,然后再在这边按 y restart。

icecat-38.8.0/docshell/test/file_bug728939.html: Write failed
icecat-38.8.0/docshell/build/nsDocShellModule.cpp: Write failed
icecat-38.8.0/docshell/build/moz.build: Write failed
icecat-38.8.0/docshell/build/nsDocShellCID.h: Write failed
icecat-38.8.0/configure.in: Write failed
bsdtar: Error exit delayed from previous errors.
==> ERROR: Failed to extract icecat-38.8.0-gnu2.tar.bz2
    Aborting...
==> ERROR: Makepkg was unable to build icecat.
之后报这个错了

离线

#4 2016-08-17 11:48:47

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,384
个人网站

Re: 【已解决】ERROR: One or more PGP signatures could not be verified!

这是 /tmp 被用完了吗……
yaourt 编译大的东西,需要指定临时目录,比如 TMPDIR=/var/tmp yaourt something_big

离线

#5 2016-08-17 13:15:55

qqmxdpo
会员
注册时间: 2016-06-12
帖子: 13

Re: 【已解决】ERROR: One or more PGP signatures could not be verified!

依云 说:

这是 /tmp 被用完了吗……
yaourt 编译大的东西,需要指定临时目录,比如 TMPDIR=/var/tmp yaourt something_big

果真如你所言 内存不够 已经解决了 谢

离线

页脚