Package Details: lpm-git 1.2.2.r0.gca1b1e3-1

Git Clone URL: https://aur.archlinux.org/lpm-git.git (read-only, click to copy)
Package Base: lpm-git
Description: A lite-xl plugin manager.
Upstream URL: https://github.com/lite-xl/lite-xl-plugin-manager
Licenses: MIT
Conflicts: lpm
Provides: lpm
Submitter: jgmdev
Maintainer: Guldoman
Last Packager: Guldoman
Votes: 3
Popularity: 0.001256
First Submitted: 2022-09-21 20:37 (UTC)
Last Updated: 2024-03-03 22:15 (UTC)

Latest Comments

ShalokShalom commented on 2023-09-23 05:58 (UTC) (edited on 2023-09-23 05:59 (UTC) by ShalokShalom)

In build()

/usr/bin/ld: /tmp/cclO5jya.o: warning: relocation against `lpm_luac' in read-only section `.text'
/usr/bin/ld: /tmp/cclO5jya.o: in function `main':
lpm.c:(.text+0x41c8): undefined reference to `lpm_luac_len'
/usr/bin/ld: lpm.c:(.text+0x41e8): undefined reference to `lpm_luac'
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE

jgmdev commented on 2023-06-08 00:07 (UTC)

@a13xie and @gneg, I fixed the build by linking to mbedtls2, seems like mbedtls 3 was released and compatibility with previous version was broken so ArchLinux developers packed now 2 versions: mbedtls and mbledtls2. I will orphan this package since I have moved to Pragtical (https://pragtical.github.io/) as my main code editor now so anyone feel free to adopt.

k8ie commented on 2023-06-07 17:52 (UTC)

@jgmdev Could you please update the package with @gneg's fix? It might not be ideal, but better than a broken package.

@gneg Thanks for the fix btw ;)

gneg commented on 2023-05-26 11:38 (UTC) (edited on 2023-05-26 11:42 (UTC) by gneg)

Build fails:

src/lpm.c:34:10: fatal error: mbedtls/net.h: No such file or directory
   34 | #include <mbedtls/net.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'lpm-git-latest.r0.gd70f827-1':
error: packages failed to build: lpm-git-latest.r0.gd70f827-1

I fixed the error by removing mbedtls from depends and replacing the line gcc ... with:

./build.sh -lgit2 -lzip -llua -lz -DLPM_STATIC

I suppose this makes the build script just embed mbedtls into the resulting binary, so it is probably not so good fix. ¯_(ツ)_/¯

jgmdev commented on 2023-01-13 16:41 (UTC)

@bingols thanks for reporting, should be working now

bingols commented on 2023-01-11 16:50 (UTC)

This requires to statically link the package. Check the project's repo and relevant issue: https://github.com/lite-xl/lite-xl-plugin-manager/issues/2.

Wouldn't mind an update! :)

Notes from building: the build script also requires xxd, which is not in the 'Dependencies' section.

bingols commented on 2023-01-11 16:14 (UTC)

lpm does not work outside of source directory:

> lpm
internal error when starting the application: cannot open src/lpm.lua: No such file or directory

Although, it's the same when compiling it from source, so it's probably the project's fault?