Package: swi-prolog-nox
Version: 5.8.2-2
Severity: important
Tags: squeeze

The swi-prolog-sgml package was merged into swi-prolog-nox in January 2010.
However, this seems to have stopped SGML predicates from working.

Steps to Reproduce:
1. Install swi-prolog and swi-prolog-sgml from the stable Lenny repository.
2. Execute the following command at the terminal:
swipl -g "open('test.xml', write, Output), xml_write(Output, element(test, [],
[]), []), close(Output)."
3. Upgrade swi-prolog to the version in testing Squeeze.  This should install
-nox and remove the -sgml package because it has been merged into -nox.
4. Execute the same command as in step #2.

Expected Result:
1. After step #2, Prolog creates a small demo XML file.
2. After step #4, Prolog recreates the same file.

Actual Result:
1. After step #2, Prolog creates the demo XML file as expected.
2. After step #4, Prolog outputs the following error message:
% library(swi_hooks) compiled into pce_swi_hooks 0.00 sec, 2,060 bytes
ERROR: Prolog initialisation failed:
ERROR: '<meta-call>'/1: Undefined procedure: xml_write/3



-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages swi-prolog-nox depends on:
ii  libc6                     2.11.1-3       Embedded GNU C Library: Shared lib
ii  libgmp3-dev               2:4.3.2+dfsg-1 Multiprecision arithmetic library 
ii  libgmp3c2                 2:4.3.2+dfsg-1 Multiprecision arithmetic library
ii  libncurses5               5.7+20100313-2 shared libraries for terminal hand
ii  libreadline-dev           6.1-3          GNU readline and history libraries
ii  libreadline6              6.1-3          GNU readline and history libraries

swi-prolog-nox recommends no packages.

Versions of packages swi-prolog-nox suggests:
ii  prolog-el                     1.22-1     Emacs major mode for editing Prolo
ii  swi-prolog-doc                5.6.59-1   Documentation for SWI-Prolog inter

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to