Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11085 - Sablotron won't compile
Summary: Sablotron won't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Michael Cummings (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-22 07:38 UTC by Alexander Isacson
Modified: 2003-02-04 19:42 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Isacson 2002-11-22 07:38:06 UTC
There is something wrong with the source for sablotron:

c++ -DHAVE_CONFIG_H -I. -I. -I../../autocfg -march=pentium4 -O3 -pipe -c
parser.cpp  -fPIC -DPIC -o .libs/parser.lo
parser.cpp: In static member function `static Bool
TreeConstructer::feedDocumentToParser(Situation&, void*)':
parser.cpp:429: invalid conversion from `int' to `XML_Error'
make[2]: *** [parser.lo] Error 1
make[2]: Leaving directory
`/var/tmp/portage/sablotron-0.95-r1/work/Sablot-0.95/src/engine'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sablotron-0.95-r1/work/Sablot-0.95/src'
make: *** [all-recursive] Error 1

!!! ERROR: app-text/sablotron-0.95-r1 failed.
!!! Function src_compile, Line 34, Exitcode 2
!!! (no error message)

I have tried this on both gentoo-1.4 and gentoo-1.2 Looking at other bugreports
I found that there is a new version of sablotron but I havent had time to test it.
Comment 1 Alexander Isacson 2002-11-22 07:39:13 UTC
I found this out trying to compile php. I had to set USE to -xml in order for
php not to use sablotron.
Comment 2 Michael Cummings (RETIRED) gentoo-dev 2002-11-26 09:03:11 UTC
the new version of sablotron is masked and in portage (ok, will be in a few 
minutes). let me know if that helps any. Otherwise, going to have to pass this 
on to someone that handles the php tree. (not sure where i came in on this)
Comment 3 Paul Slinski 2002-11-26 09:55:55 UTC
I'm having the same problem here. Is there any resolution other than using -xml
in the use flags?
Comment 4 Michael Cummings (RETIRED) gentoo-dev 2002-11-26 10:17:51 UTC
Paul - is that with the new version of sablotron or the old?
Comment 5 Alexander Isacson 2002-11-26 11:01:04 UTC
Nope I got the exact same problem even the 0.96 ebuild.
Comment 6 SpanKY gentoo-dev 2002-11-26 17:59:18 UTC
i dont see why -xml would make a difference considering xml is never used in the 
ebuild ... 
 
also, i might point out the ebuild is missing IUSE, and support for both pic & readline 
USE variables ... 
Comment 8 Rajiv Aaron Manglani (RETIRED) gentoo-dev 2002-11-26 20:07:53 UTC
i believe that this patch needs to be added to the ebuild:

http://download-2.gingerall.cz/download/sablot/Sablot-0.96.1.patch


SpanKY: "-xml" makes the php ebuild skip the sablotron dependency. but this bug
is really about the sablotron problem.
Comment 9 Michael Cummings (RETIRED) gentoo-dev 2002-11-26 20:46:43 UTC
Patch tested and added. Let me know if this works out for you Alexander
Comment 10 Alexander Isacson 2002-11-27 07:57:54 UTC
After emerge rsync the command 

emerge /usr/portage/app-text/sablotron/sablotron-0.96.ebuild

completed successfully

Thanks
Comment 11 Michael Cummings (RETIRED) gentoo-dev 2002-11-27 19:58:20 UTC
Rajiv was the hero, I'm the the committer. Thanks for your patience,

Mike