pete.goodeve | 1 Jan 03:54 2011
Picon

System Rebuild strangeness

Hi,

I've hit another problem that I can't understand that maybe someone
can clear up for me.

A couple of days ago (as I mentioned) I successfully built a (GCC2)
system from SVN source.  The jam ran smoothly, I installed the resulting
image, and it all seemed fine.

Today, I wanted to try a small patch [seeing what Travis' PopUpMenu patch
actually might do], so I modified PopUpMenu.cpp (and nothing else), and
ran 'jam -q' from the 'haiku' directory again.  This time, it failed
-- nowhere near that modification.  Below is the tail end of the output,
from where it apparently started going wrong.  (Looking at the generation
of libbe.so earlier in the text, it appears to have gone normally.  The
size of the file is identical to the original build.)

I have the suspicion that the problem is somewhere in the link operation
rather than libbe.so itself, but that's just a guess.

I actually went on and replaced libbe.so in the installed partition,
and everything still seems to work.  (I couldn't see any effect of the patch,
but I did look at an objdump disassembly, and the added code is there.)

Explanation appreciated.

	-- Pete --

---------

(Continue reading)

John Scipione | 1 Jan 20:34 2011
Picon

Re: System Rebuild strangeness


On Dec 31, 2010, at 9:54 PM, pete.goodeve@... wrote:

> Hi,
>
> I've hit another problem that I can't understand that maybe someone
> can clear up for me.
>
> A couple of days ago (as I mentioned) I successfully built a (GCC2)
> system from SVN source.  The jam ran smoothly, I installed the  
> resulting
> image, and it all seemed fine.
>
> Today, I wanted to try a small patch [seeing what Travis' PopUpMenu  
> patch
> actually might do], so I modified PopUpMenu.cpp (and nothing else),  
> and
> ran 'jam -q' from the 'haiku' directory again.  This time, it failed
> -- nowhere near that modification.  Below is the tail end of the  
> output,
> from where it apparently started going wrong.  (Looking at the  
> generation
> of libbe.so earlier in the text, it appears to have gone normally.   
> The
> size of the file is identical to the original build.)
>
> I have the suspicion that the problem is somewhere in the link  
> operation
> rather than libbe.so itself, but that's just a guess.
>
(Continue reading)

Rene Gollent | 1 Jan 21:52 2011
Picon

Re: System Rebuild strangeness

On Sat, Jan 1, 2011 at 2:34 PM, John Scipione <jscipione@...> wrote:
> Judging from the error message I think that this change might be to blame.
>
> http://dev.haiku-os.org/changeset/40053
>

That change has nothing whatsoever to do with Pete's problem based on
timestamps alone. Chances are the patches he applied changed something
which the build system didn't detect/handle properly so some objects
are mismatched now. Simplest solution would probably be a jam clean
and then try building again.

Regards,

Rene

Clemens Zeidler | 2 Jan 04:14 2011

Parsing mail header using parse_header

Hi,

in my imap test app I use the parse_header function *) to fill the mail  
attributes. I figured out that this function is the reason why mail  
downloading is that slow. Don't know the exact reason but without parsing  
the header, fetching mails is reasonable fast.

My guest is that rfc2047_to_utf8 is too slow, furthermore much more  
information is parsed then needed.

Has somebody an idea or a better parsing algorithm? (Oliver? :-))

thanks,
	Clemens

*)
http://haiku.it.su.se:8180/source/xref/src/kits/mail/mail_util.cpp

Clemens Zeidler | 2 Jan 04:42 2011

Re: Lua bindings for the Haiku API - Volunteers?

Am 29.12.2010, 17:36 Uhr, schrieb Ryan Leavengood <leavengood@...>:

> On 12/29/10, Donn Cave <donn@...> wrote:
>>
>> There's more, but I think those are the biggies.  Get that all
>> coded up in a conveniently parseable format, and any fool could
>> generate comprehensive bindings for his or her favorite language!
> This is an excellent idea! You don't happen to have done some of this
> work already have you?
> Are there any formats that already exist for this sort of thing, like
> something from COM or CORBA or such things with thoroughly specified
> interfaces?
> Though maybe just coding up something fairly simple is the easiest.
> Parsing it is not really the hard part. The h

yes the cleanest way would be to describe the haiku api with an IDL  
(interface description language) Take a look at android IDL which comes  
 from OpenBinder which is designed by a former Be developer.

This has various advantages e.g.:
- language independent, codebindings could be generated for every IDL  
interface automatically just the code for the code generation has to be  
written for every language.
- other stuff like IPC (inter process call) classes could also be  
generated from idl files
- interface introspection
- ...

	Clemens

(Continue reading)

pete.goodeve | 2 Jan 08:19 2011
Picon

Re: System Rebuild strangeness

On Sat, Jan 01, 2011 at 03:52:29PM -0500, Rene Gollent wrote:
> On Sat, Jan 1, 2011 at 2:34 PM, John Scipione <jscipione@...> wrote:
> > Judging from the error message I think that this change might be to blame.
> > http://dev.haiku-os.org/changeset/40053
> 
> That change has nothing whatsoever to do with Pete's problem based on
> timestamps alone. Chances are the patches he applied changed something
> which the build system didn't detect/handle properly so some objects
> are mismatched now. Simplest solution would probably be a jam clean
> and then try building again.

Thanks.  Yes, that's what I did in the end, and it worked... eventually.
Unfortunately the first rebuild after the clean KDL'd (!), and then the
next build failed in sort of the same way as the the one that had trouble
before, but in a different place.  One more clean and rebuild got it all
the way through, though.

Cheers,
	-- Pete --

Ingo Weinhold | 2 Jan 14:29 2011
Picon
Picon

Re: System Rebuild strangeness

On 2011-01-02 at 08:19:03 [+0100], pete.goodeve@... wrote:
> On Sat, Jan 01, 2011 at 03:52:29PM -0500, Rene Gollent wrote:
> > On Sat, Jan 1, 2011 at 2:34 PM, John Scipione <jscipione@...> wrote:
> > > Judging from the error message I think that this change might be to 
> > > blame.
> > > http://dev.haiku-os.org/changeset/40053
> > 
> > That change has nothing whatsoever to do with Pete's problem based on
> > timestamps alone. Chances are the patches he applied changed something
> > which the build system didn't detect/handle properly so some objects
> > are mismatched now. Simplest solution would probably be a jam clean
> > and then try building again.
> 
> Thanks.  Yes, that's what I did in the end, and it worked... eventually.
> Unfortunately the first rebuild after the clean KDL'd (!), and then the
> next build failed in sort of the same way as the the one that had trouble
> before, but in a different place.  One more clean and rebuild got it all
> the way through, though.

Since building Haiku works fine for other people, that suggests your problems 
are specific to your system, e.g. a corrupt file system or hardware/driver 
issues.

CU, Ingo

Grzegorz Dąbrowski | 2 Jan 15:53 2011
Picon

Re: System Rebuild strangeness

On Sun, Jan 2, 2011 at 2:29 PM, Ingo Weinhold <ingo_weinhold@...> wrote:
> Since building Haiku works fine for other people, that suggests your problems
> are specific to your system, e.g. a corrupt file system or hardware/driver
> issues.

I have similar issues from time to time. Sometimes reboot helps,
sometimes I have to remove objects.

--

-- 
Grzegorz Dąbrowski (kaliber)
http://tiltos.com
http://home.gna.org/pingwinek/

Travis D. Reed | 2 Jan 17:52 2011
Picon

Re: System Rebuild strangeness

In other news, I think the patch stopped working a few changesets ago:(
On Jan 2, 2011 8:54 AM, "Grzegorz Dąbrowski" <grzegorz.dabrowski-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> On Sun, Jan 2, 2011 at 2:29 PM, Ingo Weinhold <ingo_weinhold-Mmb7MZpHnFY@public.gmane.org> wrote:
> > Since building Haiku works fine for other people, that suggests your problems
> > are specific to your system, e.g. a corrupt file system or hardware/driver
> > issues.
>
> I have similar issues from time to time. Sometimes reboot helps,
> sometimes I have to remove objects.
>
> --
> Grzegorz Dąbrowski (kaliber)
> http://tiltos.com
> http://home.gna.org/pingwinek/
>

Ryan Leavengood | 3 Jan 07:10 2011
Picon

Terminal 'Visor' functionality

On the Haiku mailing list I posted this, which may be more useful to
people on this list:

http://www.freelists.org/post/haiku/Terminal-Visor-functionality

Apologies to those people on both lists, but at least I just sent a link here :)

--

-- 
Regards,
Ryan


Gmane