Package Details: skalibs 2.14.1.1-2

Git Clone URL: https://aur.archlinux.org/skalibs.git (read-only, click to copy)
Package Base: skalibs
Description: A general-purpose utility library for secure, small C development
Upstream URL: http://www.skarnet.org/software/skalibs/
Licenses: ISC
Submitter: None
Maintainer: andykluger
Last Packager: andykluger
Votes: 6
Popularity: 0.82
First Submitted: 2006-09-16 02:26 (UTC)
Last Updated: 2024-04-16 04:33 (UTC)

Latest Comments

1 2 Next › Last »

kseistrup commented on 2024-04-16 10:48 (UTC)

If LTO in enabled, the -ffat-lto-objects should be used for anything that runs ranlib on an archive.

I used options=('lto') and CFLAGS="$CFLAGS -ffat-lto-objects for all these packages (and just tried the same for s6 and saw no problems). So either this, or LTO should be disabled.

emanuele6 commented on 2024-04-16 09:31 (UTC) (edited on 2024-04-16 10:12 (UTC) by emanuele6)

For me, options=('!lto') fixed the build for execline, however, s6 still won't build:

/usr/bin/ld: /tmp/cc7RywQM.ltrans0.ltrans.o: in function `main':
/usr/src/debug/s6/s6-2.12.0.4/src/pipe-tools/s6-ftrig-listen.c:62:(.text.startup.main+0x1d6): undefined reference to `el_semicolon'
collect2: error: ld returned 1 exit status
make: *** [Makefile:137: s6-ftrig-listen] Error 1

EDIT: el_semicolon is part of libexecline actually, not libskarnet; so maybe the issue is that execline also needs options=('!lto').

kseistrup commented on 2024-04-16 05:46 (UTC)

In my experience, LTO works well with this package and execline (I haven't tried s6) — and can be enabled in the options array — as long as $CFLAGS is extended with -ffat-lto-objects:

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  export CFLAGS="$CFLAGS -ffat-lto-objects"
    ⋮
}

andykluger commented on 2024-04-16 04:33 (UTC)

Thanks!

meanjollies commented on 2024-04-15 23:20 (UTC)

Hello! It appears that skalibs requires link time optimization to be disabled in order for certain (most?) dependencies to build successfully, i.e. s6 and execline. I think just tossing in options=('!lto') should take care of it.

osfans commented on 2017-04-12 13:47 (UTC)

@MarcinWieczorek I disown the package and hope you can own it.

andykluger commented on 2017-04-05 15:20 (UTC)

pkgver=2.5.0.0 sha256sums=('38408ff6d0aec581010ecf9e49703ec5f4c8887bbe68717ec087634a7ade849c')

MarcinWieczorek commented on 2017-04-03 10:02 (UTC)

An update of this package is required for new execline version. Please use the git version till this gets updated.

<deleted-account> commented on 2015-05-20 06:29 (UTC)

No worries, unflagging can afaik only be fone be the maintainer. Happy to accommodate :-)

roman-neuhauser commented on 2015-05-20 06:19 (UTC)

eh, sorry, i just misclicked and flagged the package out-of-date. would love to remove the flag but see no way to do that. sorry for the hassle. :(