Bug#375038: privoxy: not able to compile from source

2006-07-29 Thread Roland Rosenfeld
tags 375038 unreproducible
thanks

On Sun, 25 Jun 2006, Kamaraju Kusumanchi wrote:

 I now observed that the package can be built with pbuilder+pdebuild
 but cannot be built by dpkg-buildpackage. So I am suspecting that
 the dependencies are not correct? But I am not very sure.

I think that this proofs, that the dependencies are correct.  The
package builds in a clean environment (pbuilder), while it does not
build in your normal environment, where you may have changed something
(but I don't have and idea what this could be).


On Mon, 26 Jun 2006, I wrote:

 cd doc/source
 jade -ihtml -t sgml -D.. -d ldp.dsl#html -iuser-man -V nochunks \
   user-manual.sgml  user-manual.html

I know, this causes the same error on your system, but maybe you can
reduce the problem causing situation a bit by trying out the same with
a minimal SGML file.  Simply create a copy of user-manual.sgml and
strip off anything which isn't needed to reproduce the error
messages.  With this technique you may find out what the problem
really is or you can write a bug report against some of the SGML
tools, jade or whatever causes this problem on your system.

I'm quite sure, that this isn't a bug in the privoxy package but some
bug in your build environment, that causes this trouble.

Ciao

Roland


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



Bug#375038: privoxy: not able to compile from source

2006-07-02 Thread Roland Rosenfeld
On Mon, 26 Jun 2006, Kamaraju Kusumanchi wrote:

 --- ldp.dsl.in  2006-06-26 12:42:46.0 +0200
 +++ ldp.dsl 2006-06-26 12:42:59.0 +0200
 -!ENTITY docbook.dsl SYSTEM @DKPREFIX@/html/docbook.dsl CDATA dsssl
 +!ENTITY docbook.dsl SYSTEM 
 /usr/share/sgml/docbook/stylesheet/dsssl/modular/html/docbook.dsl CDATA 
 dsssl
 -!ENTITY docbook.dsl SYSTEM @DKPREFIX@/print/docbook.dsl CDATA dsssl
 +!ENTITY docbook.dsl SYSTEM 
 /usr/share/sgml/docbook/stylesheet/dsssl/modular/print/docbook.dsl CDATA 
 dsssl

 The output is also same.

 Is @DKPREFIX@ replaced by the same path
 (/usr/share/sgml/docbook/stylesheet/dsssl/modular/print/docbook.dsl)
 on your system? Does this file (docbook.dsl) exist on your system?
 
 yes. This file does exist.
 
 On
 my system it exists in docbook-dsssl 1.79-4 and has the following
 size/timestamp:
 
 -rw-r--r-- 1 root root 8674 2006-04-01 14:10 
 /usr/share/sgml/docbook/stylesheet/dsssl/modular/print/docbook.dsl
 
 
 I also have the same version of docbook-dssl. For me the timestamp is
 a bit different.

 $ls -al /usr/share/sgml/docbook/stylesheet/dsssl/modular/print/docbook.dsl
 -rw-r--r--  1 root root 8674 2006-04-01 07:10
 /usr/share/sgml/docbook/stylesheet/dsssl/modular/print/docbook.dsl

Maybe because we are living in different time zones...

But now I don't have an idea, what's going wrong on your system.
Maybe there's still some file which is preloaded and causes this
trouble with jade, but I don't understand it.

Tscho

Roland

-- 
 * [EMAIL PROTECTED] * http://www.spinnaker.de/ *


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



Bug#375038: privoxy: not able to compile from source

2006-06-26 Thread Roland Rosenfeld
On Sun, 25 Jun 2006, Kamaraju Kusumanchi wrote:

 
  I now observed that the package can be built with pbuilder+pdebuild
  but cannot be built by dpkg-buildpackage. So I am suspecting that the
  dependencies are not correct? But I am not very sure.
 
 That's what I did here, too.
 
 Could you please try the dpkg-buildpackage method? The commands would be
 
 $sudo apt-get build-dep privoxy
 $apt-get source privoxy
 $cd privoxy-3.0.3-2/
 $dpkg-buildpackage -us -uc -rfakeroot 21 | tee build.log
 
 What happens then? Are you able to compile using this method?

Yes, that works for me without problems (on etch AMD64).

I think your problem is not directly in privoxy but depends on jade.
Please try the following after the (failed) build run (the build run
is necessary to create ldp.dsl from ldp.dsl.in).

cd doc/source
jade -ihtml -t sgml -D.. -d ldp.dsl#html -iuser-man -V nochunks \
  user-manual.sgml  user-manual.html

Does this create the same error messages?

If so, please have a look at ldp.dsl on your system using the command
diff -u ldp.dsl.in ldp.dsl

On my system I get the following output:

--- ldp.dsl.in  2006-06-26 12:42:46.0 +0200
+++ ldp.dsl 2006-06-26 12:42:59.0 +0200
@@ -2,11 +2,11 @@
 !ENTITY % html IGNORE
 ![%html;[
 !ENTITY % print IGNORE
-!ENTITY docbook.dsl SYSTEM @DKPREFIX@/html/docbook.dsl CDATA dsssl
+!ENTITY docbook.dsl SYSTEM 
/usr/share/sgml/docbook/stylesheet/dsssl/modular/html/docbook.dsl CDATA dsssl
 ]]
 !ENTITY % print INCLUDE
 ![%print;[
-!ENTITY docbook.dsl SYSTEM @DKPREFIX@/print/docbook.dsl CDATA dsssl
+!ENTITY docbook.dsl SYSTEM 
/usr/share/sgml/docbook/stylesheet/dsssl/modular/print/docbook.dsl CDATA 
dsssl
 ]]
 ]

Is @DKPREFIX@ replaced by the same path
(/usr/share/sgml/docbook/stylesheet/dsssl/modular/print/docbook.dsl)
on your system? Does this file (docbook.dsl) exist on your system? On
my system it exists in docbook-dsssl 1.79-4 and has the following
size/timestamp:

-rw-r--r-- 1 root root 8674 2006-04-01 14:10 
/usr/share/sgml/docbook/stylesheet/dsssl/modular/print/docbook.dsl

Maybe this brings us nearer to the center of the problem.

Tscho

Roland

-- 
 * [EMAIL PROTECTED] * http://www.spinnaker.de/ *


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



Bug#375038: privoxy: not able to compile from source

2006-06-26 Thread Kamaraju Kusumanchi

On 6/26/06, Roland Rosenfeld [EMAIL PROTECTED] wrote:

On Sun, 25 Jun 2006, Kamaraju Kusumanchi wrote:

 
  I now observed that the package can be built with pbuilder+pdebuild
  but cannot be built by dpkg-buildpackage. So I am suspecting that the
  dependencies are not correct? But I am not very sure.
 
 That's what I did here, too.

 Could you please try the dpkg-buildpackage method? The commands would be

 $sudo apt-get build-dep privoxy
 $apt-get source privoxy
 $cd privoxy-3.0.3-2/
 $dpkg-buildpackage -us -uc -rfakeroot 21 | tee build.log

 What happens then? Are you able to compile using this method?

Yes, that works for me without problems (on etch AMD64).


I am using Sid

$uname -a
Linux kusumanchi 2.6.16-2-686 #2 Mon May 22 23:10:59 UTC 2006 i686 GNU/Linux





I think your problem is not directly in privoxy but depends on jade.
Please try the following after the (failed) build run (the build run
is necessary to create ldp.dsl from ldp.dsl.in).

cd doc/source
jade -ihtml -t sgml -D.. -d ldp.dsl#html -iuser-man -V nochunks \
  user-manual.sgml  user-manual.html

Does this create the same error messages?


Yes.



If so, please have a look at ldp.dsl on your system using the command
diff -u ldp.dsl.in ldp.dsl

On my system I get the following output:

--- ldp.dsl.in  2006-06-26 12:42:46.0 +0200
+++ ldp.dsl 2006-06-26 12:42:59.0 +0200
@@ -2,11 +2,11 @@
 !ENTITY % html IGNORE
 ![%html;[
 !ENTITY % print IGNORE
-!ENTITY docbook.dsl SYSTEM @DKPREFIX@/html/docbook.dsl CDATA dsssl
+!ENTITY docbook.dsl SYSTEM 
/usr/share/sgml/docbook/stylesheet/dsssl/modular/html/docbook.dsl CDATA dsssl
 ]]
 !ENTITY % print INCLUDE
 ![%print;[
-!ENTITY docbook.dsl SYSTEM @DKPREFIX@/print/docbook.dsl CDATA dsssl
+!ENTITY docbook.dsl SYSTEM 
/usr/share/sgml/docbook/stylesheet/dsssl/modular/print/docbook.dsl CDATA dsssl
 ]]
 ]


The output is also same.



Is @DKPREFIX@ replaced by the same path
(/usr/share/sgml/docbook/stylesheet/dsssl/modular/print/docbook.dsl)
on your system? Does this file (docbook.dsl) exist on your system?


yes. This file does exist.


On
my system it exists in docbook-dsssl 1.79-4 and has the following
size/timestamp:

-rw-r--r-- 1 root root 8674 2006-04-01 14:10 
/usr/share/sgml/docbook/stylesheet/dsssl/modular/print/docbook.dsl



I also have the same version of docbook-dssl. For me the timestamp is
a bit different.

$ls -al /usr/share/sgml/docbook/stylesheet/dsssl/modular/print/docbook.dsl
-rw-r--r--  1 root root 8674 2006-04-01 07:10
/usr/share/sgml/docbook/stylesheet/dsssl/modular/print/docbook.dsl

$apt-cache policy docbook-dsssl
docbook-dsssl:
 Installed: 1.79-4
 Candidate: 1.79-4
 Version table:
*** 1.79-4 0
   500 http://ftp.us.debian.org sid/main Packages
   100 /var/lib/dpkg/status


thanks
raju

--
http://kamaraju.googlepages.com/cornell-bazaar
http://groups.google.com/group/cornell-bazaar/about


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



Bug#375038: privoxy: not able to compile from source

2006-06-25 Thread Roland Rosenfeld
On Thu, 22 Jun 2006, Kamaraju Kusumanchi wrote:

 The commands I used are
 
 $sudo apt-get build-dep privoxy
 $apt-get source privoxy
 $cd privoxy-3.0.3-2/
 $dpkg-buildpackage -us -uc -rfakeroot 21 | tee build.log
[...]
 cd doc/source  jade  -ihtml -t sgml  -D.. -d ldp.dsl#html -iuser-man -V 
 nochunks user-manual.sgml  temp/privoxy-user-manual.html
 jade:user-manual.sgml:1:58:W: cannot generate system identifier for public 
 text -//OASIS//DTD DocBook V3.1//EN
 jade:user-manual.sgml:27:0:E: reference to entity ARTICLE for which no 
 system identifier could be generated
 jade:user-manual.sgml:1:0: entity was defined here

I cannot reproduce this problem with a current Debian sid system
(chroot just upgraded).

It seems to me that you have some problem with the jade or
docbook-dsssl packages.  Currently I use jade jade 1.2.1-47 and
docbook-dsssl 1.79-4.  What versions of these programs are you using?

Tscho

Roland

-- 
 * [EMAIL PROTECTED] * http://www.spinnaker.de/ *


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



Bug#375038: privoxy: not able to compile from source

2006-06-25 Thread Kamaraju Kusumanchi

I cannot reproduce this problem with a current Debian sid system
(chroot just upgraded).

It seems to me that you have some problem with the jade or
docbook-dsssl packages.  Currently I use jade jade 1.2.1-47 and
docbook-dsssl 1.79-4.  What versions of these programs are you using?



I am also using the same versions.

$dpkg -l jade docbook-dsssl
ii  docbook-dsssl  1.79-4 modular DocBook DSSSL stylesheets, for print
ii  jade   1.2.1-47   James Clark's DSSSL Engine

I now observed that the package can be built with pbuilder+pdebuild
but cannot be built by dpkg-buildpackage. So I am suspecting that the
dependencies are not correct? But I am not very sure.

raju

--
http://kamaraju.googlepages.com/cornell-bazaar
http://groups.google.com/group/cornell-bazaar/about


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



Bug#375038: privoxy: not able to compile from source

2006-06-25 Thread Roland Rosenfeld
On Sun, 25 Jun 2006, Kamaraju Kusumanchi wrote:

 I cannot reproduce this problem with a current Debian sid system
 (chroot just upgraded).

 It seems to me that you have some problem with the jade or
 docbook-dsssl packages.  Currently I use jade jade 1.2.1-47 and
 docbook-dsssl 1.79-4.  What versions of these programs are you using?

 I am also using the same versions.
 
 $dpkg -l jade docbook-dsssl
 ii  docbook-dsssl  1.79-4 modular DocBook DSSSL stylesheets, for 
 print
 ii  jade   1.2.1-47   James Clark's DSSSL Engine
 
 I now observed that the package can be built with pbuilder+pdebuild
 but cannot be built by dpkg-buildpackage. So I am suspecting that the
 dependencies are not correct? But I am not very sure.

That's what I did here, too.
So the dependencies should be correct, otherwise the package wouldn't
build in the pbuilder environment.  But maybe there's something
installed on your normal system, which causes the trouble?  Maybe some
Build-Conflicts-entry is missing to work correct?  But that's hard for
me to find out until I cannot reproduce the problem...

Tscho

Roland

-- 
 * [EMAIL PROTECTED] * http://www.spinnaker.de/ *


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



Bug#375038: privoxy: not able to compile from source

2006-06-25 Thread Kamaraju Kusumanchi


 I now observed that the package can be built with pbuilder+pdebuild
 but cannot be built by dpkg-buildpackage. So I am suspecting that the
 dependencies are not correct? But I am not very sure.

That's what I did here, too.


Could you please try the dpkg-buildpackage method? The commands would be

$sudo apt-get build-dep privoxy
$apt-get source privoxy
$cd privoxy-3.0.3-2/
$dpkg-buildpackage -us -uc -rfakeroot 21 | tee build.log

What happens then? Are you able to compile using this method?

thanks
raju


--
http://kamaraju.googlepages.com/cornell-bazaar
http://groups.google.com/group/cornell-bazaar/about


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



Bug#375038: privoxy: not able to compile from source

2006-06-22 Thread Kamaraju Kusumanchi
Package: privoxy
Version: 3.0.3-2-1
Severity: normal


The commands I used are

$sudo apt-get build-dep privoxy
$apt-get source privoxy
$cd privoxy-3.0.3-2/
$dpkg-buildpackage -us -uc -rfakeroot 21 | tee build.log

In the end the errors I receive are as follows.


gcc -c -pipe -O2 -g   -pthread -Wall   cgi.c -o cgi.o
gcc -c -pipe -O2 -g   -pthread -Wall   cgiedit.c -o cgiedit.o
gcc -c -pipe -O2 -g   -pthread -Wall   cgisimple.c -o cgisimple.o
gcc -c -pipe -O2 -g   -pthread -Wall   deanimate.c -o deanimate.o
gcc -c -pipe -O2 -g   -pthread -Wall   encode.c -o encode.o
gcc -c -pipe -O2 -g   -pthread -Wall   errlog.c -o errlog.o
gcc -c -pipe -O2 -g   -pthread -Wall   filters.c -o filters.o
gcc -c -pipe -O2 -g   -pthread -Wall   gateway.c -o gateway.o
gcc -c -pipe -O2 -g   -pthread -Wall   jbsockets.c -o jbsockets.o
gcc -c -pipe -O2 -g   -pthread -Wall   jcc.c -o jcc.o
gcc -c -pipe -O2 -g   -pthread -Wall   killpopup.c -o killpopup.o
gcc -c -pipe -O2 -g   -pthread -Wall   list.c -o list.o
list.c: In function 'list_is_valid':
list.c:253: warning: statement with no effect
gcc -c -pipe -O2 -g   -pthread -Wall   loadcfg.c -o loadcfg.o
gcc -c -pipe -O2 -g   -pthread -Wall   loaders.c -o loaders.o
gcc -c -pipe -O2 -g   -pthread -Wall   miscutil.c -o miscutil.o
gcc -c -pipe -O2 -g   -pthread -Wall   parsers.c -o parsers.o
gcc -c -pipe -O2 -g   -pthread -Wall   ssplit.c -o ssplit.o
gcc -c -pipe -O2 -g   -pthread -Wall   urlmatch.c -o urlmatch.o
gcc -c -pipe -O2 -g   -pthread -Wall   pcrs.c -o pcrs.o
gcc  -pthread -o privoxy actions.o cgi.o cgiedit.o cgisimple.o deanimate.o 
encode.o errlog.o filters.o gateway.o jbsockets.o jcc.o killpopup.o list.o 
loadcfg.o loaders.o miscutil.o parsers.o ssplit.o urlmatch.o  pcrs.o   -lnsl  
-lpcre -lpcreposix   
grep -v '^#MASTER#' default.action.master  default.action
make[1]: Leaving directory `/home/rajulocal/practice/privoxy/privoxy-3.0.3-2'
[ -d doc/pdf ] || mkdir doc/pdf
/usr/bin/make dok-pdf
make[1]: Entering directory `/home/rajulocal/practice/privoxy/privoxy-3.0.3-2'
Setting doc version and status to 3.0.3, stable
rm -f -r doc/source/*bak doc/source/*/*bak
Setting docs to stable 3.0.3
rm -f -r doc/source/*bak doc/source/*/*bak
mkdir -p doc/source/temp # this directory not in cvs
cd doc/source  jade  -ihtml -t sgml  -D.. -d ldp.dsl#html -iuser-man -V 
nochunks user-manual.sgml  temp/privoxy-user-manual.html
jade:user-manual.sgml:1:58:W: cannot generate system identifier for public text 
-//OASIS//DTD DocBook V3.1//EN
jade:user-manual.sgml:27:0:E: reference to entity ARTICLE for which no system 
identifier could be generated
jade:user-manual.sgml:1:0: entity was defined here
jade:user-manual.sgml:27:0:E: DTD did not contain element declaration for 
document type name
jade:user-manual.sgml:47:12:E: there is no attribute ID
jade:user-manual.sgml:47:19:E: element ARTICLE undefined
jade:user-manual.sgml:48:10:E: element ARTHEADER undefined
jade:user-manual.sgml:50:6:E: element TITLE undefined
jade:user-manual.sgml:52:8:E: element PUBDATE undefined
jade:user-manual.sgml:53:11:E: element SUBSCRIPT undefined
jade:user-manual.sgml:56:15:E: there is no attribute LINKEND
jade:user-manual.sgml:56:26:E: element LINK undefined
jade:user-manual.sgml:56:53:E: general entity copy not defined and no default 
entity
jade:user-manual.sgml:57:12:E: there is no attribute URL
jade:user-manual.sgml:57:37:E: element ULINK undefined
jade:user-manual.sgml:61:8:E: element PUBDATE undefined
jade:user-manual.sgml:76:9:E: element ABSTRACT undefined
jade:user-manual.sgml:88:6:E: element PARA undefined
jade:user-manual.sgml:89:16:E: element CITETITLE undefined
jade:user-manual.sgml:91:31:E: element ULINK undefined
jade:user-manual.sgml:91:44:E: element APPLICATION undefined
jade:privoxy.sgml:29:5:E: element PARA undefined
jade:privoxy.sgml:30:13:E: element APPLICATION undefined
jade:privoxy.sgml:33:38:E: element APPLICATION undefined
jade:privoxy.sgml:35:21:E: element APPLICATION undefined
jade:privoxy.sgml:39:5:E: element PARA undefined
jade:privoxy.sgml:40:13:E: element APPLICATION undefined
jade:privoxy.sgml:40:60:E: element APPLICATION undefined
jade:user-manual.sgml:98:6:E: element PARA undefined
jade:user-manual.sgml:99:51:E: element CITETITLE undefined
jade:user-manual.sgml:100:43:E: element ULINK undefined
jade:user-manual.sgml:101:40:E: element LINK undefined
jade:user-manual.sgml:113:13:E: there is no attribute LABEL
jade:user-manual.sgml:113:20:E: there is no attribute ID
jade:user-manual.sgml:113:34:E: element SECT1 undefined
jade:user-manual.sgml:113:41:E: element TITLE undefined
jade:user-manual.sgml:114:5:E: element PARA undefined
jade:user-manual.sgml:116:13:E: element APPLICATION undefined
jade:user-manual.sgml:136:10:E: there is no attribute ID
jade:user-manual.sgml:136:20:E: element SECT2 undefined
jade:user-manual.sgml:136:27:E: element TITLE undefined
jade:user-manual.sgml:137:5:E: element PARA undefined
jade:user-manual.sgml:138:28:E: element APPLICATION undefined