Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#63681 - [bigloo] Please install static libs

Attached to Project: Arch Linux
Opened by Stefan Husmann (stefanhusmann) - Saturday, 07 September 2019, 07:38 GMT
Last edited by Eli Schwartz (eschwartz) - Sunday, 08 September 2019, 02:11 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Jürgen Hötzel (juergen)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: Please add 'staticlibs' to the options array. At least hop cannot be built without it.


Additional info:
* package version(s) 4.3e
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce: Try to build hop 3.1.0 from AUR

make[1]: Entering directory '/build/hop/src/hop/share'
echo '/build/hop/src/hop/bin/hopc.sh -c hop-exception.scm -o hop-exception.js --no-use-strict -j --reset-bigloo-options
--bigloo=/usr/bin/bigloo --bigloo-lib-dir=/usr/lib/bigloo/4.3e --share-dir /build/hop/src/hop/share -- -copt -L /bui
ld/hop/src/hop/lib/hop/3.1.0 -srfi bigloo-compile '; /build/hop/src/hop/bin/hopc.sh -c hop-exception.scm -o hop-excepti
on.js --no-use-strict -j --reset-bigloo-options --bigloo=/usr/bin/bigloo --bigloo-lib-dir=/usr/lib/bigloo/4.3e --share-
dir /build/hop/src/hop/share -- -copt -L /build/hop/src/hop/lib/hop/3.1.0 -srfi bigloo-compile
/build/hop/src/hop/bin/hopc.sh -c hop-exception.scm -o hop-exception.js --no-use-strict -j --reset-bigloo-options --big
loo=/usr/bin/bigloo --bigloo-lib-dir=/usr/lib/bigloo/4.3e --share-dir /build/hop/src/hop/share -- -copt -L /build/hop
/src/hop/lib/hop/3.1.0 -srfi bigloo-compile
(echo '/usr/bin/bigloo -suffix hop -L /build/hop/src/hop/lib/hop/3.1.0 -static-all-bigloo /build/hop/src/hop/etc/mkse
rializer.hop'; /usr/bin/bigloo -suffix hop -L /build/hop/src/hop/lib/hop/3.1.0 -static-all-bigloo /build/hop/src/hop/
etc/mkserializer.hop && ./a.out > hop-builtin-serializers.js && rm -f -f a.out /build/hop/src/hop/etc/mkserializer.o) |
| (rm -f -f hop-builtin-serializers.js; exit 1)
/usr/bin/bigloo -suffix hop -L /build/hop/src/hop/lib/hop/3.1.0 -static-all-bigloo /build/hop/src/hop/etc/mkserialize
r.hop
*** WARNING:bigloo:ld
Can't find library "libbigloo_s-4.3e.a" in path -- (/build/hop/src/hop/lib/hop/3.1.0 . /usr/lib/bigloo/4.3e)
*** ERROR:bigloo:
Can't find any `bigloo' -- (/build/hop/src/hop/lib/hop/3.1.0 . /usr/lib/bigloo/4.3e)
make[1]: *** [Makefile:367: hop-builtin-serializers.js] Error 1
make[1]: Leaving directory '/build/hop/src/hop/share'
make: *** [Makefile:84: share] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Build failed, check /home/haawda/paketierung/extra-x86_64/haawda/build
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Sunday, 08 September 2019, 02:11 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Arch Linux does not ship static libraries without good cause and there does not seem to be a compelling rationale here.
Comment by loqs (loqs) - Saturday, 07 September 2019, 12:29 GMT
It can be worked around for hop (although not ideal) see attached PKGBUILD modified from https://aur.archlinux.org/packages/hop
   PKGBUILD (1.4 KiB)
Comment by Eli Schwartz (eschwartz) - Sunday, 08 September 2019, 02:11 GMT
Please submit an upstream bug report for hop to not hardcode static linking into their Makefiles. This is no different from some arbitrary C project whose Makefile calls -Wl,-Bstatic -lfoolibrary -- we are not going to start providing shared + static libraries for our entire repository archive just because projects keep fiddling with their linker flags to disrespect the linker defaults.

Loading...