Package Details: lib32-lzo 2.10-2

Git Clone URL: https://aur.archlinux.org/lib32-lzo.git (read-only, click to copy)
Package Base: lib32-lzo
Description: Portable lossless data compression library (32 bit)
Upstream URL: https://www.oberhumer.com/opensource/lzo/
Licenses: GPL
Submitter: rafaelff
Maintainer: dbermond
Last Packager: dbermond
Votes: 43
Popularity: 0.095262
First Submitted: 2014-07-31 18:15 (UTC)
Last Updated: 2018-12-03 16:09 (UTC)

Pinned Comments

dbermond commented on 2023-06-20 00:53 (UTC)

Notice:

The multilib-devel package is required to be installed to build multilib (lib32-*) packages, in the same way that base-devel is required to build non-multilib packages. Also, the multilib repository needs to be enabled in pacman. At the time of writing, the package is building fine with makepkg and also in a clean chroot.

Latest Comments

1 2 3 Next › Last »

dbermond commented on 2025-05-07 18:10 (UTC)

@patlefort no, it's not needed. Please read previous comments, specially the pinned comment.

patlefort commented on 2025-05-07 01:22 (UTC)

Need lib32-gcc-libs added in depends.

hydranix commented on 2024-12-19 02:32 (UTC)

@artafinde thanks, this fix does indeed fix the build failure in clean chroot

dbermond commented on 2024-11-14 16:03 (UTC)

@artafinde I have just checked, and the package is building perfectly fine in a clean chroot with devtools. Being such, I see no need in changing the dependencies. Please make sure that your chroot is building for the [multilib] repository target.

artafinde commented on 2024-11-14 10:38 (UTC) (edited on 2024-11-14 10:41 (UTC) by artafinde)

Package doesn't build in a clean-chroot. Fix as per below

iff --git a/PKGBUILD b/PKGBUILD
index 16ca705..ce0188c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@ pkgdesc='Portable lossless data compression library (32 bit)'
 arch=('x86_64')
 url='https://www.oberhumer.com/opensource/lzo/'
 license=('GPL')
-depends=('lib32-glibc' "$_pkgbasename")
+depends=('lib32-gcc-libs' "$_pkgbasename")
 source=("https://www.oberhumer.com/opensource/lzo/download/${_pkgbasename}-${pkgver}.tar.gz")
 sha256sums=('c0f892943208266f9b6543b3ae308fab6284c5c90e627931446fb49b4221a072')

dbermond commented on 2023-06-20 00:53 (UTC)

Notice:

The multilib-devel package is required to be installed to build multilib (lib32-*) packages, in the same way that base-devel is required to build non-multilib packages. Also, the multilib repository needs to be enabled in pacman. At the time of writing, the package is building fine with makepkg and also in a clean chroot.

rafaelff commented on 2023-04-25 12:56 (UTC) (edited on 2023-04-25 12:57 (UTC) by rafaelff)

If building in a clean chroot, I highly recommend using multilib-build tool from devtools because other tools (makechrootpkg, extra-build, etc.) do not have the multilib-devel meta-package nor have the multilib repository enabled by default.

saltedcoffii commented on 2023-04-23 13:20 (UTC)

lib32-lzo does not build in a clean chroot. (A clean chroot is the recommended environment for official Arch packages to be built in: it consists of the base and base-devel packages, as well as the package's dependencies and makedependencies.) All 32-bit packages that I've ever built require lib32-gcc-libs, and lib32-lzo does not specify this dependency. Here is the output:

...
==> Making package: lib32-lzo 2.10-2 (Sun Apr 23 16:12:24 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
configure: Configuring LZO 2.10
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc -m32
checking whether the C compiler works... no
configure: error: in `/build/lib32-lzo/src/lzo-2.10':
configure: error: C compiler cannot create executables
See `config.log' for more details

Adding lib32-gcc-libs allows the package to be built correctly, and one could remove lib32-glibc as lib32-gcc-libs pulls it in. Thanks for your work on this package!

dbermond commented on 2023-03-04 16:38 (UTC)

@bda I've just checked, and the package is building fine for me. Make sure that you have the multilib-devel package installed and try to build in a clean chroot.