Bug#447790: texmacs: a better fix

2008-01-02 Thread Atsuhito Kohda
On Wed, 2 Jan 2008 04:43:00 +0100, Jordi Burguet Castell wrote:

 Hi,

Hi Jordi,

 The command is now named pfbtopfa instead of pfb2pfa, in the package
 ghostscript.

Thanks for reporting but it sounds to me that you misunderstand
a problem.  pfb2pfa is in the package texlive-font-utils and
we already fixed dependency of texmacs (1.0.6.11-2) package. 

pfbtopfa in ghostscript is irrelevant here.
Please see bug#446092 for details if necessary.

Regards,  2008-1-2(Wed)

-- 
 Debian Developer  Debian JP Developer - much more I18N of Debian
 Atsuhito Kohda kohda AT debian.org
 Department of Math., Univ. of Tokushima



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#447790: texmacs: a better fix

2008-01-01 Thread Jordi Burguet Castell
Package: texmacs
Version: 1:1.0.6.11-1
Followup-For: Bug #447790

Hi,

The command is now named pfbtopfa instead of pfb2pfa, in the package
ghostscript.

I tried to compile from CVS using debug info and found that the
problem is in line 395 of
Graphics/Renderer/printer.cpp:
system (pfb2pfa, u, v);
It seems to me that more than just renaming pfb2pfa - pfbtopfa,
which by the way solves the problem, the function
generate_tex_fonts() should check if
that call to system() went fine and handle a possible error more
nicely without crashing.

I copy the full backtrace below:

#0  0x2b5dc21e4fd5 in raise () from /lib/libc.so.6
#1  0x2b5dc21e6a30 in abort () from /lib/libc.so.6
#2  0x006bf96f in fatal_error ([EMAIL PROTECTED],
[EMAIL PROTECTED],
[EMAIL PROTECTED]) at ./Kernel/Types/string.cpp:349
#3  0x00592c57 in load_string ([EMAIL PROTECTED],
[EMAIL PROTECTED], fatal=true) at
./System/Files/file.cpp:93
#4  0x0069384a in printer_rep::generate_tex_fonts (this=0x19b9468) at
./Graphics/Renderer/printer.cpp:397
#5  0x00697ccc in ~printer_rep (this=0x19b9468) at
./Graphics/Renderer/printer.cpp:119
#6  0x00505a81 in edit_main_rep::print (this=0x2086038,
[EMAIL PROTECTED], conform=false, first=1,
last=100) at ./Edit/Editor/edit_main.cpp:208
#7  0x00504728 in edit_main_rep::print_to_file
(this=0x2086038, [EMAIL PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED]) at ./Edit/Editor/edit_main.cpp:218
#8  0x005dcc2b in tmg_print_to_file (arg1=0x2b5dc404eef0) at
Guile/Glue/glue_editor.cpp:2525
#9  0x007992a1 in deval ()
#10 0x0079f673 in scm_dapply ()
#11 0x0058e94d in TeXmacs_call (args=0x7fffea3e5be0) at
./Guile/Scheme/evaluate.cpp:153
#12 0x007e6047 in scm_c_with_throw_handler ()
#13 0x0058e87d in TeXmacs_lazy_call_scm (args=0x7fffea3e5be0)
at ./Guile/Scheme/evaluate.cpp:173
#14 0x007e63d5 in scm_c_catch ()
#15 0x007e64e4 in scm_internal_catch ()
#16 0x0058e575 in TeXmacs_call_scm (args=0x7fffea3e5be0) at
./Guile/Scheme/evaluate.cpp:180
#17 0x0058e7f3 in call_scheme (fun=0x2b5dc404f1d0) at
./Guile/Scheme/evaluate.cpp:186
#18 0x00653802 in call ([EMAIL PROTECTED]) at
./Guile/Scheme/object.cpp:347
#19 0x00655161 in exec_pending_commands () at
./Guile/Scheme/object.cpp:385
#20 0x007035a8 in tm_server_rep::interpose_handler (this=0xb58718) at
./Texmacs/Server/tm_server.cpp:301
#21 0x00701df5 in texmacs_interpose_handler () at
./Texmacs/Server/tm_server.cpp:47
#22 0x0078bcd1 in x_gui_rep::event_loop (this=0xbc1248) at
./Plugins/X11/x_loop.cpp:365
#23 0x0078270e in gui_start_loop () at ./Plugins/X11/x_init.cpp:821
#24 0x006dde27 in TeXmacs_main (argc=1, argv=0x7fffea3e6898)
at ./Texmacs/Texmacs/texmacs.cpp:226
#25 0x0058e3bf in new_call_back (closure=0x0, argc=1,
argv=0x7fffea3e6898) at
./Guile/Scheme/evaluate.cpp:29
#26 0x007ae99f in invoke_main_func ()
#27 0x007fad7a in c_body ()
#28 0x007e63d5 in scm_c_catch ()
#29 0x007fb152 in scm_i_with_continuation_barrier ()
#30 0x007fb1eb in scm_c_with_continuation_barrier ()
#31 0x007e55d3 in scm_i_with_guile_and_parent ()
#32 0x007ae963 in scm_boot_guile ()
#33 0x0058ec18 in start_guile (argc=1, argv=0x7fffea3e6898,
call_back=0x6dc3c8 TeXmacs_main(int,
char**)) at ./Guile/Scheme/evaluate.cpp:37
#34 0x006dc3c1 in main (argc=1, argv=0x7fffea3e6898) at
./Texmacs/Texmacs/texmacs.cpp:290



-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.23-1-amd64 (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/bash

Versions of packages texmacs depends on:
ii  ghostscript [gs-gp 8.61.dfsg.1~svn8187-2 The GPL Ghostscript PostScript/PDF
ii  groff  1.18.1.1-13   GNU troff text-formatting system
ii  gs-gpl 8.61.dfsg.1~svn8187-2 Transitional package
ii  guile-1.8-libs 1.8.2+1-2 Main Guile libraries
ii  libc6  2.7-3 GNU C Library: Shared libraries
ii  libfreetype6   2.3.5-1+b1FreeType 2 font engine, shared lib
ii  libgcc11:4.2.2-3 GCC support library
ii  libgmp3c2  2:4.2.2+dfsg-1Multiprecision arithmetic library
ii  libltdl3   1.5.24-2  A system independent dlopen wrappe
ii  libstdc++6 4.2.2-3   The GNU Standard C++ Library v3
ii  libx11-6   2:1.0.3-7 X11 client-side library
ii  libxext6   1:1.0.3-2 X11 miscellaneous extension librar
ii  texlive-base   2007-13   TeX Live: Essential programs and f
ii  texlive-base-bin   2007-14   TeX Live: Essential binaries
ii  texlive-extra-util 2007-14   TeX Live: TeX