pgloader icon indicating copy to clipboard operation
pgloader copied to clipboard

Could not load ASDF "3.0" or newer

Open harshadadhi opened this issue 3 years ago • 0 comments

Hi,

I am trying to install pgloader 3.6.3 on Red Hat Enterprise Linux Server 7.9 (Maipo) server.

Summary:            extract, transform and load data into PostgreSQL
Name:               pgloader
Version:            3.6.3
Release:            22%{?dist}
License:            The PostgreSQL Licence
Group:              System Environment/Base
URL:                https://github.com/dimitri/pgloader
Source0:            %{url}/archive/v%{version}.tar.gz

step performing - rpmbuild -ba pgloader.spec

I am facing below issue while trying to perform rpm build-

rpmbuild -ba pgloader.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CWY9Eu
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd /root/rpmbuild/BUILD
+ rm -rf pgloader-3.6.3
+ /usr/bin/gzip -dc /root/rpmbuild/SOURCES/v3.6.3.tar.gz
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd pgloader-3.6.3
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.k7BLdT
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd pgloader-3.6.3
+ make pgloader
mkdir -p build
curl -o build/quicklisp.lisp http://beta.quicklisp.org/quicklisp.lisp
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 57144  100 57144    0     0  12274      0  0:00:04  0:00:04 --:--:-- 13883
sbcl --noinform --no-sysinit --no-userinit --load build/quicklisp.lisp                        \
             --load src/getenv.lisp                                               \
             --eval '(quicklisp-quickstart:install :path "build/quicklisp" :proxy (getenv "http_proxy"))' \
             --eval '(quit)'

  ==== quicklisp quickstart 2015-01-28 loaded ====

    To continue with installation, evaluate: (quicklisp-quickstart:install)

    For installation options, evaluate: (quicklisp-quickstart:help)

WARNING: Making quicklisp part of the install pathname directory
; Fetching #<URL "http://beta.quicklisp.org/client/quicklisp.sexp">
; 0.82KB
==================================================
839 bytes in 0.00 seconds (0.00KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/client/2021-02-13/quicklisp.tar">
; 260.00KB
==================================================
266,240 bytes in 0.34 seconds (755.81KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/client/2021-02-11/setup.lisp">
; 4.94KB
==================================================
5,057 bytes in 0.00 seconds (0.00KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/asdf/3.2.1/asdf.lisp">
; 628.18KB
==================================================
643,253 bytes in 0.05 seconds (13087.02KB/sec);
; caught ERROR:
;   READ error during COMPILE-FILE:
;
;     Symbol "PRINT-BACKTRACE" not found in the SB-DEBUG package.
;
;       Line: 4514, Column: 29, File-Position: 220633
;
;       Stream: #<SB-SYS:FD-STREAM
;                 for "file /root/rpmbuild/BUILD/pgloader-3.6.3/build/quicklisp/asdf.lisp"
;                 {B3E39D9}>
;
; compilation unit aborted
;   caught 1 fatal ERROR condition
;   caught 1 ERROR condition

debugger invoked on a SIMPLE-ERROR in thread
#<THREAD "main thread" RUNNING {AB4FE59}>:
  Could not load ASDF "3.0" or newer

Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [RETRY   ] Retry EVAL of current toplevel form.
  1: [CONTINUE] Ignore error and continue loading file "/root/rpmbuild/BUILD/pgloader-3.6.3/build/quicklisp/setup.lisp".
  2: [ABORT   ] Abort loading file "/root/rpmbuild/BUILD/pgloader-3.6.3/build/quicklisp/setup.lisp".
  3:            Ignore runtime option --eval "(quicklisp-quickstart:install :path \"build/quicklisp\" :proxy (getenv \"http_proxy\"))".
  4:            Skip rest of --eval and --load options.
  5:            Skip to toplevel READ/EVAL/PRINT loop.
  6: [EXIT    ] Exit SBCL (calling #'EXIT, killing the process).

(ENSURE-ASDF-LOADED)
0]

pre-requisite's are already installed on the server -

yum-builddep pgloader.spec
Loaded plugins: langpacks, product-id, subscription-manager

This system is not registered with an entitlement server. You can use subscription-manager to register.

Enabling centos-sclo-rh-source repository
Enabling centos-sclo-sclo-source repository
Getting requirements for pgloader.spec
 --> Already installed : sbcl-1.4.0-1.el7.x86_64
 --> Already installed : freetds-devel-1.3.3-1.el7.x86_64
 --> Already installed : 1:openssl-devel-1.0.2k-19.el7.x86_64
 --> Already installed : sqlite-devel-3.7.17-8.el7_7.1.x86_64
 --> Already installed : zlib-devel-1.2.7-18.el7.x86_64
No uninstalled build requires

And for asdf the rpm installed is - cl-asdf-20101028-8.el7.noarch.rpm

Can you check and help me to proceed for the installation.

harshadadhi avatar Feb 17 '22 11:02 harshadadhi