Package Details: ldraw-parts-library 20231103-1

Git Clone URL: https://aur.archlinux.org/ldraw-parts-library.git (read-only, click to copy)
Package Base: ldraw-parts-library
Description: A collection of LDraw-format CAD files representing many of LEGO bricks produced
Upstream URL: http://www.ldraw.org/parts/latest-parts.html
Keywords: bricks building cad game ldraw lego raw simulation
Licenses: CCPL: cc-by-2.0
Submitter: None
Maintainer: Mr.Smith1974
Last Packager: Mr.Smith1974
Votes: 27
Popularity: 0.078596
First Submitted: 2006-11-28 11:32 (UTC)
Last Updated: 2023-11-03 06:43 (UTC)

Dependencies (0)

Required by (2)

Sources (4)

Latest Comments

1 2 3 4 Next › Last »

kleinph commented on 2023-11-03 07:38 (UTC)

It's working now for me. Thanks for the fix.

mysticx commented on 2023-11-03 00:09 (UTC)

The config download is now working for me, but installation fails in the package step:

==> Starting package()...
cp: cannot stat '../LDConfig-20231103.ldr': No such file or directory
==> ERROR: A failure occurred in package().

I think this is because pkgver is defined twice in PKGBUILD. The config file is downloaded with a static filename of LDConfig-20231025.ldr but during the package step the current date is used as the pkgver.

kleinph commented on 2023-11-02 10:20 (UTC) (edited on 2023-11-02 10:21 (UTC) by kleinph)

It also doesn't work for me. I use pikaur as AUR helper. Maybe it has something to do with http: vs https:?

Clicking on the link below in the browser works fine.

Mr.Smith1974 commented on 2023-11-02 10:06 (UTC)

@JohnTheCF

I checked. It downloads fine for me.

JohnTheCF commented on 2023-11-02 10:00 (UTC)

Current version fails to download from link http://www.ldraw.org/library/official/LDConfig.ldr which leads to a 404 error page.

marco.righi commented on 2022-01-07 16:04 (UTC)

lsb_release -va

LSB Version: 1.4 Distributor ID: EndeavourOS Description: EndeavourOS Linux Release: rolling Codename: rolling

"yay -Suuyy" halts with an error

-> Extracting ldraw-parts-20210309.zip with bsdtar ==> Starting pkgver()... ==> Updated version: ldraw-parts-library 20220107-1 ==> Sources are ready. ==> Making package: ldraw-parts-library 20220107-1 (Fri Jan 7 17:01:53 2022) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> WARNING: Using existing $srcdir/ tree ==> Starting pkgver()... ==> Removing existing $pkgdir/ directory... ==> Entering fakeroot environment... ==> Starting package()... cp: cannot stat '../LDConfig-20220107.ldr': No such file or directory ==> ERROR: A failure occurred in package(). Aborting... -> error making: ldraw-parts-library

bidulock commented on 2021-10-07 06:12 (UTC)

@traysh can you suggest a change?

traysh commented on 2021-10-02 20:01 (UTC)

Can you please either fix your PKGBUILD or disown the package?

kleinph commented on 2021-04-02 18:09 (UTC) (edited on 2021-04-02 18:10 (UTC) by kleinph)

Your pkgver() function overrides the pkgver variable. This results in downloading LDConfig-20210309.ldr but trying to copy LDConfig-20210402.ldr

paperfolder commented on 2021-03-26 15:46 (UTC)

The section

pkgver() {
    echo $(date -uI|sed 's,-,,g')
}

makes it so that, unless you run makepkg on this package twice on the same day, the sources are downloaded to one set of filenames (with the old ${pkgver} suffix) and package() looks for them under a different set of filenames (with the new ${pkgver} suffix), leading to the build failing. Can you change the source array to remove the -${pkgver} suffix to solve this problem?