SciDB 16.9 GPG check error


#1

I tried to install SciDB 16.9 on CentOS 6.9.
However when i executed instruction for building RPM packages, i met GPG-check error
I tested two other machines but it occurred same error.
Other packages installed correctly by YUM instruction.
Anybody help me?

[scidb@sbd10-0 ~]$  sudo ./scidbtrunk/deployment/deploy.sh build RelWithDebInfo /tmp/packages

Source path: /home/scidb/scidbtrunk
Script common path: /home/scidb/scidbtrunk/deployment/common
Build path: /home/scidb
SciDB version: 16.9
Executing: build RelWithDebInfo /tmp/packages

/home/scidb/scidbtrunk /home/scidb
/home/scidb
Removing build_dir = /home/scidb/scidb_packaging
Extracting version info from file /home/scidb/scidbtrunk/version
Extracted VERSION_MAJOR.VERSION_MINOR.VERSION_PATCH = 16.9.0
Extracting revision from file
Extracted REVISION=db1a98f
Creating result_dir = /tmp/packages
Preparing building dir /home/scidb/scidb_packaging
Extracting sources from source tree
Preparing rpmbuild dirs
Preparing sources from /home/scidb/scidbtrunk to /home/scidb/scidb_packaging/SPECS
Building SRPM
Wrote: /home/scidb/scidb_packaging/SRPMS/scidb-16.9-0-1.src.rpm
Building RPM in chroot
Will use mock for chrooting. Checking environment...
Will build package(s) for centos-6-x86_64
Building /home/scidb/scidb_packaging/SRPMS/scidb-16.9-0-1.src.rpm in /home/scidb/scidbtrunk/utils/centos-6-x86_64.cfg
Building for target x86_64
Wrote: /builddir/build/SRPMS/scidb-16.9-0-1.src.rpm
Child return code was: 0
Mock Version: 1.3.5
ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/scidb.spec'], nspawn_args=[]shell=Falseuid=0env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': '<mock-chroot> \\s-\\v\\$ '}chrootPath='/root/mock'gid=135user='mockbuild'timeout=0logger=<mockbuild.trace_decorator.getLog object at 0x2338cd0>printOutput=True)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/scidb.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': '<mock-chroot> \\s-\\v\\$ '} and shell False
Building target platforms: x86_64
Building for target x86_64
Wrote: /builddir/build/SRPMS/scidb-16.9-0-1.src.rpm
Child return code was: 0
INFO: mock.py version 1.3.5 starting (python version = 2.6.6)...
Start: init plugins
INFO: selinux disabled
Finish: init plugins
Start: run
INFO: Start(/home/scidb/scidb_packaging/SRPMS/scidb-16.9-0-1.src.rpm)  Config(centos-6-x86_64)
Start: clean chroot
Finish: clean chroot
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled yum cache
Start: cleaning yum metadata
Finish: cleaning yum metadata
INFO: enabled HW Info plugin
Mock Version: 1.3.5
Mock Version: 1.3.5
INFO: Mock Version: 1.3.5
Start: yum update
Finish: yum update
Finish: chroot init
Start: build phase for scidb-16.9-0-1.src.rpm
Start: build setup for scidb-16.9-0-1.src.rpm
ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/scidb.spec'], nspawn_args=[]shell=Falseuid=0env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': '<mock-chroot> \\s-\\v\\$ '}chrootPath='/root/mock'gid=135user='mockbuild'timeout=0logger=<mockbuild.trace_decorator.getLog object at 0x2a8bc90>printOutput=True)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/scidb.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': '<mock-chroot> \\s-\\v\\$ '} and shell False
Building target platforms: x86_64
Building for target x86_64
Building target platforms: x86_64
Building for target x86_64
Wrote: /builddir/build/SRPMS/scidb-16.9-0-1.src.rpm
Wrote: /builddir/build/SRPMS/scidb-16.9-0-1.src.rpm
Child return code was: 0
Getting requirements for scidb-16.9-0-1.src
 --> cmake-2.8.12.2-4.el6.x86_64
-------
SKIP
-------
 --> openssl-devel-1.0.1e-57.el6.x86_64

===========================================================================================================================================================
 Package                                              Arch                    Version                                      Repository                 Size
===========================================================================================================================================================
Installing:
 ant                                                  x86_64                  1.7.1-15.el6                                 base                      2.5 M
------------------
SKIP
-----------------
 zip                                                  x86_64                  3.0-1.el6_7.1                                base                      259 k

Transaction Summary
===========================================================================================================================================================
Install     205 Package(s)

Total size: 258 M
Installed size: 914 M
warning: rpmts_HdrFromFdno: Header V4 DSA/SHA1 Signature, key ID 1d1e034b: NOKEY


GPG key retrieval failed: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"

mock returned error. See logs /tmp/packages/root.log, /tmp/packages/build.log for details.Removing build_dir = /home/scidb/scidb_packaging
chroot_build.py failed



#2

I thought I found the reason of above error that i asked
Here, I share my solution.

In < scidbtrunk >/utils/centos-6-x86_64.cfg file, GPG key link is not valid as below

gpgkey=http://ftp.scientificlinux.org/linux/scientific/5x/x86_64/RPM-GPG-KEYs/RPM-GPG-KEY-cern

I thought 'http://ftp.scientificlinux.org/linux/scientific/5x/’ directory is not existed in the site until now.
So, i downloaded RPM-CPG-KEY-cern from available site and stored to “/etc/pki/rpm-gpg/” direcotry
and modified gpgkey link.

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-cern

finally, re-run build instruction and working well.

$ sudo ./scidbtrunk/deployment/deploy.sh build RelWithDebInfo /tmp/packages