Package Details: pgloader 3.6.10-1

Git Clone URL: https://aur.archlinux.org/pgloader.git (read-only, click to copy)
Package Base: pgloader
Description: A data loading tool for PostgreSQL, using the COPY command.
Upstream URL: http://pgloader.io/
Licenses: custom:PostgreSQL
Submitter: Sanpi
Maintainer: Sanpi
Last Packager: Sanpi
Votes: 12
Popularity: 0.013653
First Submitted: 2015-08-25 10:19 (UTC)
Last Updated: 2023-11-02 20:48 (UTC)

Latest Comments

1 2 Next › Last »

drankinatty commented on 2023-09-21 07:33 (UTC) (edited on 2023-09-21 12:08 (UTC) by drankinatty)

The opensuse build of pgloader provides an executable of ~400K compared to the 23M with this package. They do that by eliminating gaps in the sbcl elf files and removing the empty debug sections with objcopy. I've tried to do the same with our package build using the same make build V=1 they use and objcopy build/bin/pgloader "$pkgdir/usr/bin/pgloader" which does reduce the executable size by 20M, but results in a error encountered in SBCL Can't find sbcl.core.

I thought I would post the information here just in case you interested in looking at the size reduction. The explanation can be found in the pgloader.spec file in the source rpm at the link above on how and why they can save the 20+M of executable size.

Hah, seems there must have been a library change somewhere in sbcl along the way. the SUSE package now fails with the same Can't find sbcl.core error message. Proof again, you don't get anything for free, not even smaller executable sizes...

cbc02009 commented on 2023-05-29 16:14 (UTC)

sbcl 2.3.3-1 is out of date and needs to be updated to a newer version or downloaded from the archive.

Sanpi commented on 2022-02-15 20:56 (UTC)

@alerque I’m agree with you, but I don’t understand how a prepare() function can be solve this problem.

quicklisp is available in AUR, a patch that sets QLDIR to /usr/lib/quicklisp reduces download, but some persist.

alerque commented on 2022-02-15 20:01 (UTC)

The upstream make command seems to be trying to download binaries from the internet for something. This is a big no-no, and should be patched out. Whatever it is this needs should either be added as a depends if there is a package for it or perhaps to the source array if it must be downloaded at build. Then a prepare() function to fix up the sources to use that resource instead of trying to download something:

mkdir -p build
curl -o build/quicklisp.lisp http://beta.quicklisp.org/quicklisp.lisp

Sanpi commented on 2019-09-20 09:40 (UTC) (edited on 2019-09-20 09:40 (UTC) by Sanpi)

@mrohnstock Yes, now pgloader requires CL+SSL, but I don’t know how to create the package for arch.

mrohnstock commented on 2019-08-06 05:55 (UTC)

Hi, I compiled and installed this package successfully, but on executing the following command:

pgloader --version

I receive these kind of error messages:

debugger invoked on a SIMPLE-ERROR in thread

<THREAD "main thread" RUNNING {10006405B3}>:

Problem running initialization hook #<FUNCTION OPEN-FOREIGN-LIBS>: Undefined foreign library: CL+SSL::LIBEAY32

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

restarts (invokable by number or by possibly-abbreviated name): 0: [CONTINUE] Skip this initialization hook. 1: [ABORT ] Exit from the current thread.

(SB-INT:CALL-HOOKS "initialization" (#<FUNCTION OPEN-FOREIGN-LIBS>) :ON-ERROR :ERROR) 0]

Is there maybe a dependency missing?

Sanpi commented on 2017-10-21 11:13 (UTC)

@disastro thank you for the tip.

disastro commented on 2017-10-21 10:25 (UTC)

How about setting options=('!makeflags') so it unsets MAKEFLAGS and succeeds on building if users have enabled the option in makepkg.conf

Sanpi commented on 2017-07-14 06:46 (UTC)

@ngoonee pgloader doesn’t support simultaneous jobs (ie MAKEFLAGS="-j9").