[Slackbuilds-users] xmlsec1-1.2.23 fails to build on Slackware64 14.2 with seamonkey-2.46-x86_64-1_slack14.2

Willy Sudiarto Raharjo willysr at slackbuilds.org
Sat Jan 7 12:12:15 UTC 2017

> The latest xmlsec SlackBuild fails with the latest Seamonkey Package for
> Slackware64 14.2.
> Pat's latest seamonkey2.46 was released with an empty ~/nspr/obsolete/
> directory and there are indirect references to obsolete/protypes.h in the
> xmlsec source via nspr/pratom.h.
> OTOH, mozilla-nspr DOES include the obsolete/*.h files and xmlsec includes
> a configure option:  --with-mozilla-ver=
> This config overrides the default seamonkey-nspr/ files.
> There may be ( probably is ) a better way to do this ( maybe via the
> Seamonkey Spec File ??? ) but attached a patch that works ( :) at least for
> the time being :) )
> This is the make error using the original xmlsec.SlackBuild:
> make[3]: Entering directory '/tmp/SBo/xmlsec1-1.2.23/src/nss'
>   CC       libxmlsec1_nss_la-app.lo
> In file included from /usr/include/seamonkey-2.46/nspr/pratom.h:14:0,
>                  from /usr/include/seamonkey-2.46/nspr/nspr.h:9,
>                  from app.c:14:
> /usr/include/seamonkey-2.46/nspr/prtypes.h:574:31: fatal error:
> obsolete/protypes.h: No such file or directory
> compilation terminated.
> Makefile:612: recipe for target 'libxmlsec1_nss_la-app.lo' failed
> make[3]: *** [libxmlsec1_nss_la-app.lo] Error 1
> make[3]: Leaving directory '/tmp/SBo/xmlsec1-1.2.23/src/nss'
> Makefile:694: recipe for target 'all-recursive' failed
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory '/tmp/SBo/xmlsec1-1.2.23/src'
> Makefile:725: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/tmp/SBo/xmlsec1-1.2.23'
> Makefile:543: recipe for target 'all' failed
> make: *** [all] Error 2


Thanks for reporting Konrad

i send your analysis to Patrick and see if it will be patched in
Slackware's seamonkey.

If there's no update for seamonkey before next public update, i will
update xmlsec to use mozilla-nss' header files.

Willy Sudiarto Raharjo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20170107/8083eec6/attachment.asc>

More information about the SlackBuilds-users mailing list