Bug#431964: tex4ht: unsable after texlive transition (tex4ht.env not found)

2007-08-24 Thread Kapil Hari Paranjape
retitle 431964 tex4ht.env is not found
tags 431964 = confirmed patch 
thanks

Hello,

On Mon, 06 Aug 2007, Kapil Hari Paranjape wrote:
 I seem to recall having a perfectly working version of tex4ht when
 my system had only tetex and no texlive packages at all.

The problem is that tex4ht.postinst does not run texhash.

When the package was split into tex4ht and tex4ht-common, the
texhash part was only run in tex4ht-common.postinst since that
was the one installing the style files. BUT, tex4ht.env is actually
a part of tex4ht! My mistake.

I am also re-titling this bug since this has nothing to do with the
texlive transition --- except that the transition caused it to be
noticed!

I will fix this in the next upload.

Regards,

Kapil.
--

Index: debian/changelog
===
--- debian/changelog	(revision 4464)
+++ debian/changelog	(working copy)
@@ -1,3 +1,11 @@
+tex4ht (20070821-2) UNRELEASED; urgency=low
+
+  * debian/tex4ht.{postinst,postrm}: run texhash to ensure
+that tex4ht.env entry in the search lists is updated.
+Closes: #431964.
+
+ -- Kapil Hari Paranjape [EMAIL PROTECTED]  Sat, 25 Aug 2007 09:34:35 +0530
+
 tex4ht (20070821-1) unstable; urgency=low
 
   * New upstream release (2007_08_21_01:16).
Index: debian/tex4ht.postinst
===
--- debian/tex4ht.postinst	(revision 0)
+++ debian/tex4ht.postinst	(revision 0)
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -e
+
+# Update the kpathsea lists
+texhash
+
+#DEBHELPER#
Index: debian/tex4ht.postrm
===
--- debian/tex4ht.postrm	(revision 0)
+++ debian/tex4ht.postrm	(revision 0)
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+if [ $1 = purge ] ; then
+  command -v texhash  /dev/null 21  texhash || true
+fi
+
+#DEBHELPER#


Bug#431964: tex4ht: unsable after texlive transition (tex4ht.env not found)

2007-08-06 Thread Alexander Wuerstlein

An upgrade from sarge does not seem to be the real problem but having tetex
installed is, at least in my case.

After 'apt-get install texlive' (which also removes tetex) it just works[tm].
So perhaps tex4ht should depend on texlive.



Ciao,

Alexander Wuerstlein.


pgpdYAdfVgbcc.pgp
Description: PGP signature


Bug#431964: tex4ht: unsable after texlive transition (tex4ht.env not found)

2007-08-06 Thread Kapil Hari Paranjape
Hello,

Thanks for your report and investigation.

On Mon, 06 Aug 2007, Alexander Wuerstlein wrote:
 An upgrade from sarge does not seem to be the real problem but having tetex
 installed is, at least in my case.
 
 After 'apt-get install texlive' (which also removes tetex) it just works[tm].
 So perhaps tex4ht should depend on texlive.

The problem seems to be due to some mixture of tetex and texlive
packages. Could you tell me what combination caused problems so that I
can introduce the appropriate Conflicts?

I seem to recall having a perfectly working version of tex4ht when
my system had only tetex and no texlive packages at all.

By the way, the file 90tex4ht.cnf file (under /etc/texmf/texmf.d)
is due to become 80tex4ht.cnf in order to be used with texlive (see #428044).
Since this file provides file locations for tex it could perhaps also be
blamed for *this* bug.

Regards,

Kapil.
--



signature.asc
Description: Digital signature


Bug#431964: tex4ht: unsable after texlive transition (tex4ht.env not found)

2007-08-05 Thread Alexander Wuerstlein

Hello,

I can confirm that this bug exists on stable/etch:

| [EMAIL PROTECTED]:doc-tst/tex4ht-tst]# tex4ht doctest.dvi
| 
| tex4ht.c (2006-09-13-14:27 kpathsea)
| tex4ht doctest.dvi
| --- warning --- Can't find/open file `tex4ht.env | .tex4ht'
| --- error --- Illegal storage address

| [EMAIL PROTECTED]:doc-tst/tex4ht-tst]# apt-cache policy tex4ht
| tex4ht:
|   Installed: 20060913-1
|   Candidate: 20060913-1
|   Version table:
|  *** 20060913-1 0
|1050 http://debian.informatik.uni-erlangen.de etch/main Packages
| 100 /var/lib/dpkg/status

I've attached an strace of a tex4ht run.

I suspect that this bug might be due to some configuration file containing the
old texmf paths to be left over from oldstable which i upgraded from. I will
try to confirm this by doing a fresh install somewhere and keep you posted.




Ciao,

Alexander Wuerstlein.


pgpmTT1iyZ3d9.pgp
Description: PGP signature


Bug#431964: tex4ht: unsable after texlive transition (tex4ht.env not found)

2007-08-05 Thread Alexander Wuerstlein

Oops, forgot the attachment, sorry.


Ciao,

Alexander Wuerstlein.
execve(/usr/bin/tex4ht, [tex4ht, doctest.dvi], [/* 86 vars */]) = 0
uname({sys=Linux, node=faui05, ...}) = 0
brk(0)  = 0x806
access(/etc/ld.so.nohwcap, F_OK)  = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7f9d000
access(/etc/ld.so.preload, R_OK)  = -1 ENOENT (No such file or directory)
open(/etc/ld.so.cache, O_RDONLY)  = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=146529, ...}) = 0
mmap2(NULL, 146529, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f79000
close(3)= 0
access(/etc/ld.so.nohwcap, F_OK)  = -1 ENOENT (No such file or directory)
open(/usr/lib/libkpathsea.so.4, O_RDONLY) = 3
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\'\0..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=67484, ...}) = 0
mmap2(NULL, 76204, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0xb7f66000
mmap2(0xb7f76000, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10) = 0xb7f76000
mmap2(0xb7f77000, 6572, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f77000
close(3)= 0
access(/etc/ld.so.nohwcap, F_OK)  = -1 ENOENT (No such file or directory)
open(/lib/tls/libc.so.6, O_RDONLY)= 3
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240O\1..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1241392, ...}) = 0
mmap2(NULL, 1251484, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0xb7e34000
mmap2(0xb7f5c000, 28672, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x127) = 0xb7f5c000
mmap2(0xb7f63000, 10396, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f63000
close(3)= 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7e33000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7e32000
mprotect(0xb7f5c000, 20480, PROT_READ)  = 0
set_thread_area({entry_number:-1 - 6, base_addr:0xb7e33ba0, limit:1048575, 
seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, 
useable:1}) = 0
munmap(0xb7f79000, 146529)  = 0
rt_sigaction(SIGSEGV, {0x804bc70, [SEGV], SA_RESTART}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGFPE, {0x804bc70, [FPE], SA_RESTART}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {0x804bc70, [INT], SA_RESTART}, {SIG_DFL}, 8) = 0
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 4), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7f9c000
write(1, \n, 29) = 29
write(1, tex4ht.c (2006-09-13-14:27 kpath..., 37) = 37
write(1, tex4ht doctest.dvi \n, 20)   = 20
brk(0)  = 0x806
brk(0x8081000)  = 0x8081000
rt_sigaction(SIGINT, {SIG_IGN}, {0x804bc70, [INT], SA_RESTART}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
clone(child_stack=0, flags=CLONE_PARENT_SETTID|SIGCHLD, 
parent_tidptr=0xbfbf6084) = 21625
waitpid(21625, [{WIFEXITED(s)  WEXITSTATUS(s) == 0}], 0) = 21625
rt_sigaction(SIGINT, {0x804bc70, [INT], SA_RESTART}, NULL, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
stat64(/home/cip/adm/snalwuer/bin/tex4ht, 0xbfbf4780) = -1 ENOENT (No such 
file or directory)
stat64(/home/cip/adm/snalwuer/opt/bin/tex4ht, 0xbfbf4780) = -1 ENOENT (No 
such file or directory)
stat64(/opt/SUNWut/bin/tex4ht, 0xbfbf4780) = -1 ENOENT (No such file or 
directory)
stat64(/opt/SUNWut/sbin/tex4ht, 0xbfbf4780) = -1 ENOENT (No such file or 
directory)
stat64(/opt/SUNWut/lib/tex4ht, 0xbfbf4780) = -1 ENOENT (No such file or 
directory)
stat64(/bin/tex4ht, 0xbfbf4780)   = -1 ENOENT (No such file or directory)
stat64(/sbin/tex4ht, 0xbfbf4780)  = -1 ENOENT (No such file or directory)
stat64(/usr/local/bin/tex4ht, 0xbfbf4780) = -1 ENOENT (No such file or 
directory)
stat64(/usr/bin/tex4ht, {st_mode=S_IFREG|0755, st_size=80192, ...}) = 0
open(/usr/bin/tex4ht, O_RDONLY)   = 3
close(3)= 0
lstat64(/usr, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64(/usr/bin, {st_mode=S_IFDIR|0755, st_size=86016, ...}) = 0
lstat64(/usr/bin/tex4ht, {st_mode=S_IFREG|0755, st_size=80192, ...}) = 0
open(doctest.dvi, O_RDONLY)   = 3
open(doctest.idv, O_WRONLY|O_CREAT|O_TRUNC, 0666) = 4
open(tex4ht.env, O_RDONLY)= -1 ENOENT (No such file or directory)
open(.tex4ht, O_RDONLY)   = -1 ENOENT (No such file or directory)
open(/home/cip/adm/snalwuer/tex4ht.env, O_RDONLY) = -1 ENOENT (No such file 
or directory)
open(/home/cip/adm/snalwuer/.tex4ht, O_RDONLY) = -1 ENOENT (No such file or 
directory)
stat64(/usr/share/texmf/web2c, {st_mode=S_IFDIR|0755, 

Bug#431964: tex4ht: unsable after texlive transition (tex4ht.env not found)

2007-07-08 Thread Kapil Hari Paranjape
Hello,

On Fri, 06 Jul 2007, J=E9r=F4me LELONG wrote:
 Package: tex4ht
 Version: 20060913-1
 Severity: important
=20
 Since the  texlive transition, tex4ht  has stopped working  because it
 doesn't find  tex4ht.env in the  right place anymore. TeX  now expects
 to find  tex4ht.env at  /etc/texmf/tex/tex4ht/ and  not  at
 /etc/tex4ht/.=20

I am using tex4ht with texlive on stable/etch and have not seen any problem.

This may be a problem with testing or unstable due to #428044. I
have to update my testing and unstable chroots when I get to a
fast link to try this out.

Regards,

Kapil.
--



signature.asc
Description: Digital signature


Bug#431964: tex4ht: unsable after texlive transition (tex4ht.env not found)

2007-07-06 Thread Jérôme LELONG
Package: tex4ht
Version: 20060913-1
Severity: important

Since the  texlive transition, tex4ht  has stopped working  because it
doesn't find  tex4ht.env in the  right place anymore. TeX  now expects
to find  tex4ht.env at  /etc/texmf/tex/tex4ht/ and  not  at
/etc/tex4ht/. 

A  temporary workaround is  to make  the following  link in  your home
directory

ln -s /etc/tex4ht/tex4ht.env .tex4ht

as  mentioned at

https://bugs.launchpad.net/ubuntu/+source/tex4ht/+bug/90741

This bug completely breaks tex4ht. 

Best regards, Jérôme.


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

Kernel: Linux 2.6.21-aphro-jl (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 tex4ht depends on:
ii  libc6 2.5-9+b1   GNU C Library: Shared libraries
ii  libkpathsea4  2007-12TeX Live: path search library for 
ii  tex4ht-common 20060913-1 LaTeX and TeX for Hypertext (HTML)
ii  texlive-base-bin  2007-12TeX Live: Essential binaries

tex4ht recommends no packages.

-- no debconf information