Package Details: lasso 2.8.2-3

Git Clone URL: https://aur.archlinux.org/lasso.git (read-only, click to copy)
Package Base: lasso
Description: Lasso is a free software C library aiming to implement the Liberty Alliance standards. ID-WSF and SAML 2.0.
Upstream URL: http://lasso.entrouvert.org/
Licenses: GNU
Submitter: ivlcic
Maintainer: fuhry
Last Packager: fuhry
Votes: 1
Popularity: 0.000000
First Submitted: 2017-04-04 12:06 (UTC)
Last Updated: 2024-09-05 15:02 (UTC)

Latest Comments

micwoj92 commented on 2025-01-06 19:45 (UTC)

glib2 should be in deps

Torxed commented on 2024-08-09 10:51 (UTC) (edited on 2024-08-09 20:53 (UTC) by Torxed)

72.38 lasso.c: In function 'lasso_init':
72.38 lasso.c:294:41: error: passing argument 2 of 'xmlSetStructuredErrorFunc' from incompatible pointer type [-Wincompatible-pointer-types]
72.38   294 |         xmlSetStructuredErrorFunc(NULL, lasso_xml_structured_error_func);
72.38       |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72.38       |                                         |
72.38       |                                         void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)}
72.38 In file included from /usr/include/libxml2/libxml/valid.h:16,
72.38                  from /usr/include/libxml2/libxml/parser.h:20,
72.38                  from /usr/include/libxml2/libxml/tree.h:17,
72.38                  from /usr/include/xmlsec1/xmlsec/xmlsec.h:14,
72.38                  from lasso.c:77:
72.38 /usr/include/libxml2/libxml/xmlerror.h:905:57: note: expected 'xmlStructuredErrorFunc' {aka 'void (*)(void *, const struct _xmlError *)'} but argument is of type 'void (*)(void *, xmlError *)' {aka 'void (*)(void *, struct _xmlError *)'}
72.38   905 |                                  xmlStructuredErrorFunc handler);
72.38       |                                  ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
72.39 make[4]: *** [Makefile:680: lasso.lo] Error 1

Their bug report requires a login so I have no idea if this is a known issue or not, and I don't think I will be able to figure out how to their setup works.

But a workaround appears to be a patch:

diff src/lasso-2.8.2/lasso/lasso.c src/lasso-2.8.2/lasso/lasso.c.patched:
294c294
<   xmlSetStructuredErrorFunc(NULL, lasso_xml_structured_error_func);
---
>   xmlSetStructuredErrorFunc(NULL, (xmlStructuredErrorFunc)lasso_xml_structured_error_func);

A cleaner solution would be to set LIBXML_VERSION somehow to 2.13.3 (which is current in arch), as lasso has a check that fixes the compile issue:

#if LIBXML_VERSION >= 21200
    const xmlError *error
#else
    xmlErrorPtr error
#endif

azmeuk commented on 2019-08-26 15:26 (UTC) (edited on 2019-08-26 15:26 (UTC) by azmeuk)

There is an error at build:

make[5]: Leaving directory '/home/eloi/.cache/yay/lasso/src/lasso-2.5.1/lasso/xml/ecp'
make[5]: Entering directory '/home/eloi/.cache/yay/lasso/src/lasso-2.5.1/lasso/xml'
  CC       tools.lo
tools.c:60:10: fatal error: xmlsec/soap.h: No such file or directory
   60 | #include <xmlsec/soap.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
make[5]: *** [Makefile:1043: tools.lo] Error 1
make[5]: Leaving directory '/home/eloi/.cache/yay/lasso/src/lasso-2.5.1/lasso/xml'
make[4]: *** [Makefile:1083: all-recursive] Error 1
make[4]: Leaving directory '/home/eloi/.cache/yay/lasso/src/lasso-2.5.1/lasso/xml'
make[3]: *** [Makefile:721: all-recursive] Error 1
make[3]: Leaving directory '/home/eloi/.cache/yay/lasso/src/lasso-2.5.1/lasso'
make[2]: *** [Makefile:548: all] Error 2
make[2]: Leaving directory '/home/eloi/.cache/yay/lasso/src/lasso-2.5.1/lasso'
make[1]: *** [Makefile:565: all-recursive] Error 1
make[1]: Leaving directory '/home/eloi/.cache/yay/lasso/src/lasso-2.5.1'
make: *** [Makefile:471: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
Error making: lasso

wutowat commented on 2018-08-11 12:03 (UTC)

The dependency on jdk is not optimal. Any jdk (e.g. openjdk) would do.