Hubert Feyrer | 16 Oct 05:24 2006
Picon

bridging the gap between Wiki & XML


People complain that the DocBook/XML toolchain is too unwieldy/complicted 
to setup on the one hand, and (other people) that DocBook is the way to go 
to separate design from content.

As an idea to maybe bridge that gap, I've found that the MoinMoin Wiki 
software can export a page as DocBook. For an example, goto 
http://moinmoin.wikiwikiweb.de/ and at the "More Actions" dropdown menu 
select "Render as DocBook".

Long-term I'd like to get back to the NetBSD Guide as our "handbook" in 
XML, and having the rest of the website in something more wieldy that 
would be nice. We could collect data like what we have in 
htdocs/Documentation now, and when it's ripe moce it as a chapter to the 
Guide.

Of course that would need someone to move all the contents once more... 
:(

  - Hubert

Hubert Feyrer | 16 Oct 05:29 2006
Picon

Re: bridging the gap between Wiki & XML

On Mon, 16 Oct 2006, Hubert Feyrer wrote:
> Of course that would need someone to move all the contents once more... :(

Apparently there's a DocBook import scheduled for v1.6[1].
I wonder if it would be worth the effort to also look into a converter for 
our old 'list' files (which we still happen to have :-/)

  - Hubert

[1] http://moinmoin.wikiwikiweb.de/FeatureRequests/ImportDocBookWhishlist?highlight=%28docbook%29

Narayana Prasad | 16 Oct 07:36 2006

linux cross-compilation

Hi
    I found the information at 
http://www.bluedonkey.org/cgi-bin/twiki/bin/view/Netbsd/MandrakeLinuxBuild 
very useful and still applicable(except for the patch part) to the 
NetBSDD3.0.1 release. I think it will be worthwhile to mention that link 
at http://www.netbsd.org/Documentation/ under a kernel FAQ like "Is it 
possible to compile NetBSD from linux?" or "Other Information" section.

Thanks
Prasad

Lubomir Kundrak | 16 Oct 08:52 2006
Picon

Re: linux cross-compilation

Hello, Prasad!

I find that patch to carry the only piece of information missing from
the current documentation. As -current doesn't build correctly on MDK it
should IMHO be considered a bug and the patch should be imported instead
of noting the bug in the documentation.

Kind regards,
Lubo

On Po, 2006-10-16 at 11:06 +0530, Narayana Prasad wrote:
> Hi
>     I found the information at 
> http://www.bluedonkey.org/cgi-bin/twiki/bin/view/Netbsd/MandrakeLinuxBuild 
> very useful and still applicable(except for the patch part) to the 
> NetBSDD3.0.1 release. I think it will be worthwhile to mention that link 
> at http://www.netbsd.org/Documentation/ under a kernel FAQ like "Is it 
> possible to compile NetBSD from linux?" or "Other Information" section.
> 
> Thanks
> Prasad
> 
> 
> 
> 
--

-- 
Lubomir Kundrak (Red Hat Security Response Team)

Narayana Prasad | 16 Oct 09:11 2006

Re: linux cross-compilation

Hi Lubo
    Sorry for not being clear the first time. The patch is not required 
for the 3.0.1. The author of the article had documented the steps in May 
2003 and what i was trying to say is that the patch is no longer 
required. However, there is one change in the patch that NetBSD 
distribution doesnt have. The lack of this change causes a re-definition 
warning for every C file being compiled and the patch is not critical. 
The rest of the documention is primarily 2 steps - one is to build the 
tools(which is essential for cross-compilation from linux) and the 
second is to build the kernel itself.

Also only when i read the comments inside build.sh did i realize that it 
was intended for use on all POSIX shells. This  was not evident to me 
from the NetBSD documentation. Searching through mailing lists was 
giving me hits on problem reports rather than solutions. So i thought 
that it will be useful for others to know that cross-compiling NetBSD 
from linux is not rocket-science. If these steps are already covered 
somewhere in the NetBSD documentation can you please point me to that 
and in that case, there wouldnt be a need to add new documentation.

Thanks
Prasad

Lubomir Kundrak wrote:
> Hello, Prasad!
>
> I find that patch to carry the only piece of information missing from
> the current documentation. As -current doesn't build correctly on MDK it
> should IMHO be considered a bug and the patch should be imported instead
> of noting the bug in the documentation.
(Continue reading)

Alan Barrett | 16 Oct 10:00 2006

Re: linux cross-compilation

On Mon, 16 Oct 2006, Narayana Prasad wrote:
>    I found the information at 
> http://www.bluedonkey.org/cgi-bin/twiki/bin/view/Netbsd/MandrakeLinuxBuild 
> very useful and still applicable(except for the patch part) to the 
> NetBSDD3.0.1 release. I think it will be worthwhile to mention that link 
> at http://www.netbsd.org/Documentation/ under a kernel FAQ like "Is it 
> possible to compile NetBSD from linux?" or "Other Information" section.

I'd rather fix the bugs than point to an out of date web page that
describes a workaround.

You mentioned that the patch <http://www.bluedonkey.org/twiki/pub/
Netbsd/MandrakeLinuxBuild/linux-20030527.patch> is no longer necessary,
and the only other special instructions seem to be overriding LIBC and
LIBM on the build.sh command line.

Can you confirm that overriding LIBC and LIBM is both necessary and
sufficient to get the build to work?  What errors do you get if you fail
to override those variables?

--apb (Alan Barrett)

Alan Barrett | 16 Oct 10:06 2006

Re: linux cross-compilation

On Mon, 16 Oct 2006, Lubomir Kundrak wrote:
> As -current doesn't build correctly on MDK it should IMHO be
> considered a bug and the patch should be imported instead of noting
> the bug in the documentation.

Now we have one person saying that the patch is not necessary, and
one person saying it is necessary, so I am confused.

Please explain what errors you get when building -current on any
kind of Linux where build.sh doesn't just work.

--apb (Alan Barrett)

Alan Barrett | 16 Oct 20:55 2006

Re: linux cross-compilation

On Mon, 16 Oct 2006, Narayana Prasad wrote:
>    I had not tried without the LIBC and LIBM overrides. I tried it now
> and it is compiling just fine. It still has another couple of hours of
> compilation to go before it is done, but i think its safe to say that
> the overrides are not needed.

Thanks.

You also said "However, there is one change in the patch that NetBSD
distribution doesnt have. The lack of this change causes a re-definition
warning for every C file being compiled and the patch is not critical."

Could you give more detail about that?

> Also Lubo has pointed me to some more relevant documentation regarding
> cross-compilation. So my original request to add a linux specific faq
> is now moot.

OK.

--apb (Alan Barrett)

Alan Barrett | 16 Oct 21:46 2006

Re: linux cross-compilation

On Tue, 17 Oct 2006, Narayana Prasad wrote:
> >You also said "However, there is one change in the patch that NetBSD
> >distribution doesnt have. The lack of this change causes a re-definition
> >warning for every C file being compiled and the patch is not critical."
> >
> >Could you give more detail about that?
>    The change is in /usr/src/tools/compat/db.h to have a #ifndef 
> __BIT_TYPES_DEFINED__ around the
> #define __BIT_TYPES_DEFINED__ to avoid compilation warnings(redefinition 
> warnings).

Thank you.  Revision 1.4 of tools/compat/db.h now contains that change.
I will request a pullup to the netbsd-3 branch.

--apb (Alan Barrett)

Rainer Brinkmöller | 21 Oct 22:54 2006
Picon

german translation of NetBSD/xen index and howto (xml) update 200610212245

Hi,

because of changes in the original NetBSD Port Xen index and howto,
I'd update the german translation.

The xml-File and the diff outputs can be downloaded from 
http://xen-forum.net/nbsdxeninf.html

Rainer


Gmane