[Slackbuilds-users] xmlsec1-1.2.23 fails to build on Slackware64 14.2 with seamonkey-2.46-x86_64-1_slack14.2
Konrad J Hambrick
kjhambrick at gmail.com
Sat Jan 7 12:41:51 UTC 2017
Thanks for the feedback Willy.
I've been fooling with Pat's seamonkey-2.46 SlackBuild and it does throw an
error when trying to install several *.h files.
output from the SlackBuild:
# grep 'cannot stat' /tmp/seamonkey.SlackBuild-2.46-x86_64.log
cp: cannot stat 'mozilla/dist/include/nspr/*.h': No such file or directory
cp: cannot stat 'mozilla/dist/include/nspr/obsolete/*.h': No such file or
directory
cp: cannot stat 'mozilla/dist/include/nspr/private/*.h': No such file or
directory
cp: cannot stat 'mozilla/dist/include/*.tbl': No such file or directory
cp: cannot stat 'mozilla/dist/include/*.msg': No such file or directory
cp: cannot stat 'mozilla/dist/include/*.h': No such file or directory
cp: cannot stat 'mozilla/dist/sdk/include/*': No such file or directory
cp: cannot stat
'/tmp/package-seamonkey/usr/lib64/seamonkey-2.46/libfreebl3.chk': No such
file or directory
cp: cannot stat
'/tmp/package-seamonkey/usr/lib64/seamonkey-2.46/libfreebl3.so': No such
file or directory
The missing files were in the original seamonkey-2.46.source.tar.xz file
and after the SlackBuild, the files are still 'in there'.
# these are the ones wanted by xmlsec
#
# ls -la /tmp/seamonkey-2.46/mozilla/nsprpub/pr/include/obsolete
total 40
drwxr-xr-x 2 root root 4096 Dec 13 20:08 .
drwxr-xr-x 5 root root 4096 Dec 13 20:08 ..
-rw-r--r-- 1 root root 659 Dec 13 20:08 Makefile.in
-rw-r--r-- 1 root root 6945 Dec 13 20:08 pralarm.h
-rw-r--r-- 1 root root 5642 Dec 13 20:08 probslet.h
-rw-r--r-- 1 root root 4914 Dec 13 20:08 protypes.h
-rw-r--r-- 1 root root 2060 Dec 13 20:08 prsem.h
Not sure about the fix but this line in the seamonkey.SlackBuild is one I
am going to fool with and try the seamonkey.SlackBuild again:
<<snip>>
:
# Install nspr/nss headers.
for includedir in nspr nspr/obsolete nspr/private ; do
mkdir -p $PKG/usr/include/seamonkey-${VERSION}/$includedir
cp -aL mozilla/dist/include/${includedir}/*.h
$PKG/usr/include/seamonkey-${VERSION}/$includedir
done
:
<<snip>>
Maybe the 'fix' is as simple as changing the 'root' directory for the
'Install nspr/nss headers' for-loop ?
Thanks again All'Y'All !
-- kjh
On Sat, Jan 7, 2017 at 6:12 AM, Willy Sudiarto Raharjo <
willysr at slackbuilds.org> wrote:
> > 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
>
> Hi
>
> 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
>
>
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20170107/4b61acd7/attachment-0001.html>
More information about the SlackBuilds-users
mailing list