cnhnln | 5 Dec 10:58 2006
Picon

how to build a livecd?

how to build a livecd?
like ftp://ftp.netbsd.org/pub/NetBSD/misc/xtraeme/ ,
ftp://iso.netbsd.org/pub/NetBSD/iso/livecd

thanks 

Emil Hessman | 5 Dec 12:46 2006
Picon

Re: how translat pkgsrc documentation?

See http://www.netbsd.org/developers/translate.html

Adrien Auzanneau | 5 Dec 17:41 2006

Re: how to build a livecd?


Le 5 déc. 06 à 10:58, cnhnln a écrit :

> how to build a livecd?
> like ftp://ftp.netbsd.org/pub/NetBSD/misc/xtraeme/ ,
> ftp://iso.netbsd.org/pub/NetBSD/iso/livecd
>

Hope it'll answer all your questions:

http://wiki.netbsd.se/index.php/How_to_build_your_own_NetBSD_LiveCD

Tx yazzy for this tuts...

Have a nice day,

-adrien

Hubert Feyrer | 5 Dec 18:42 2006
Picon

Variable 'port' has not been declared.


Since a few days ago, I'm getting the error below when rebuilding any of 
the htdocs/Ports/*/index.html pages:

 	% make index.html
 	[xsltproc] index.xml -> index.html
 	runtime error: file file:///usr/cvs/htdocs/share/xsl/portpage.xsl line 40
 	element value-of
 	Variable 'port' has not been declared.
 	xmlXPathCompiledEval: evaluation failed
 	runtime error: file file:///usr/cvs/htdocs/share/xsl/portpage.xsl line 40
 	element value-of
 	XPath evaluation returned no result.
 	*** Error code 10

I don't remember changing any of the installed packages, and htdocs has no 
local changes.

Has anyone seen this before?

  - Hubert

Mike M. Volokhov | 7 Dec 15:22 2006
Picon

Re: Variable 'port' has not been declared.

Hubert Feyrer <hubert <at> feyrer.de> wrote:
> 
> Since a few days ago, I'm getting the error below when rebuilding any of 
> the htdocs/Ports/*/index.html pages:
> 
> 	% make index.html
> 	[xsltproc] index.xml -> index.html
> 	runtime error: file file:///usr/cvs/htdocs/share/xsl/portpage.xsl 
> 	line 40
> 	element value-of
> 	Variable 'port' has not been declared.
> 	xmlXPathCompiledEval: evaluation failed
> 	runtime error: file file:///usr/cvs/htdocs/share/xsl/portpage.xsl 
> 	line 40
> 	element value-of
> 	XPath evaluation returned no result.
> 	*** Error code 10
> 
> I don't remember changing any of the installed packages, and htdocs has no 
> local changes.
> 
> Has anyone seen this before?

I've found answer in the XSLT REC: It is not an error to pass a
parameter x to a template that does not have an xsl:param element
for x; the parameter is simply ignored. Hence the "Variable 'port'
has not been declared" message. Looks like a fixed bug in xsltproc.

I've update portpage.xsl, could you check it again, please?

(Continue reading)

Hubert Feyrer | 7 Dec 20:49 2006
Picon

Re: Variable 'port' has not been declared.

On Thu, 7 Dec 2006, Mike M. Volokhov wrote:
> I've found answer in the XSLT REC: It is not an error to pass a
> parameter x to a template that does not have an xsl:param element
> for x; the parameter is simply ignored. Hence the "Variable 'port'
> has not been declared" message. Looks like a fixed bug in xsltproc.
>
> I've update portpage.xsl, could you check it again, please?

Works, thanks!

As tou seem to be on top of all this: can you recommend some ressource 
(webpage preferred) on where to learn about XSLT and possibly whatever 
else is involved in the translation of our .xml files to HTML/PDF?

  - Hubert

Hubert Feyrer | 7 Dec 21:04 2006
Picon

Re: Variable 'port' has not been declared.

On Thu, 7 Dec 2006, Hubert Feyrer wrote:
> Works, thanks!

BTW, I seem to get similar errors now while building in htdocs/guide/en:

 	runtime error: file file:///usr/cvs/htdocs/share/xsl/netbsd-docbook-html-chunk.xsl line 64
element param
 	Unexpected XSLT element 'param'.
 	...

Can you fix, please?

  - Hubert

Hubert Feyrer | 7 Dec 23:21 2006
Picon

on segfaulting xsltproc


For the record:

I've helped debug someone's segfaulting xsltproc over the past few weeks, 
and we've found the cause of the segfaults now. The user had the following 
line in /usr/pkg/share/xml/catalog:

        <nextCatalog catalog="/usr/pkg/share/xml/catalog" />

With the file loading itself again and again, the resulting segfault 
(probably due to some stack overflow) is no big surprise.

I'm not sure (yet...) where that line comes from, but if you see your 
system behave in a similar way, that's where you can start looking.

  - Hubert

Mike M. Volokhov | 8 Dec 09:16 2006
Picon

Re: Variable 'port' has not been declared.

Hubert Feyrer <hubert <at> feyrer.de> wrote:
> On Thu, 7 Dec 2006, Hubert Feyrer wrote:
> >Works, thanks!
> 
> BTW, I seem to get similar errors now while building in htdocs/guide/en:
> 
> 	runtime error: file 
> 	file:///usr/cvs/htdocs/share/xsl/netbsd-docbook-html-chunk.xsl line 
> 	64 element param
> 	Unexpected XSLT element 'param'.
> 	...
> 
> Can you fix, please?

Should be fixed now. See also my commit message for some guidelines.

It would be nice if someone can rebuild the whole site (I can't
do this yourself - very slow workstation with 128M RAM here).

--
Mishka.

Mike M. Volokhov | 8 Dec 11:50 2006
Picon

Re: on segfaulting xsltproc

Hubert Feyrer <hubert <at> feyrer.de> wrote:
> 
> For the record:
> 
> I've helped debug someone's segfaulting xsltproc over the past few weeks, 
> and we've found the cause of the segfaults now. The user had the following 
> line in /usr/pkg/share/xml/catalog:
> 
>        <nextCatalog catalog="/usr/pkg/share/xml/catalog" />
> 
> With the file loading itself again and again, the resulting segfault 
> (probably due to some stack overflow) is no big surprise.
> 
> I'm not sure (yet...) where that line comes from, but if you see your 
> system behave in a similar way, that's where you can start looking.

I've traced the problem a bit. This is a fault of libxml2 (catalog
processing is its work). You can see a problem report at
http://bugzilla.gnome.org/show_bug.cgi?id=383687  The report also
contains test harness to check is you affected. :)

Would hope Daniel (or someone from libxml2 team) will fix that quickly.

--
Mishka.


Gmane