Skip to contentSkip to conversation

config update

Buildroot Heikki Lindholm 2 participants 6 messages Jul 17, 2007 – Jul 27, 2007

lore
Share & tools
lore
#0 lore raw

Hello,

I just updated my OS X buildroot and, recent changes breaking it, I have to ask, why was packages/config updated? It worked just fine - even on OS X - before the bump to linux 2.6.21* config system. Were there features missing from the old version or something?

-- Heikki Lindholm

#1 lore raw
Quoted 3 lines · Heikki Lindholm

Hello,

I just updated my OS X buildroot and, recent changes breaking it, I have

Can you please be more specific as to how it broke? TIA,

Quoted 3 lines

to ask, why was packages/config updated? It worked just fine - even on OS X - before the bump to linux 2.6.21* config system. Were there features missing from the old version or something?

The i18n support was basically not working right. Apart from better colour-handling (vie the respective env vars, see source) this was about the only reason for the update. As to the libintl breakage, please refer to several bug-reports in the bugtracker.

As said above, please show me what broke so we can fix it up for good.

#2 lore raw

Bernhard Fischer kirjoitti:

Quoted 8 lines · Heikki Lindholm
Quoted 4 lines

Hello,

I just updated my OS X buildroot and, recent changes breaking it, I have

Can you please be more specific as to how it broke?

Well, basically, it was easier to fix than thought, and I posted a patch already:
http://buildroot.uclibc.org/lists/buildroot/2007-July/003659.html

The two culprits for the breakage are:
(1) foo.h includes features.h, which doesn't exist on OS X. Referring to my above patch, this could also be fixed in the Makefile by not including foo.h on OS X, but IMHO that's trickier (uname).
(2) The linking was changed so, that ncurses wasn't linked in on OS X anymore

BUT I also noted another breakage, which I'm clueless about:
http://buildroot.uclibc.org/lists/buildroot/2007-July/003658.html
I'm using the same config I was with an older version (for example, rev 18688 worked).

Quoted 11 lines
Quoted 5 lines

to ask, why was packages/config updated? It worked just fine - even on OS X - before the bump to linux 2.6.21* config system. Were there features missing from the old version or something?

The i18n support was basically not working right. Apart from better colour-handling (vie the respective env vars, see source) this was about the only reason for the update. As to the libintl breakage, please refer to several bug-reports in the bugtracker.

Fair enough. I did skim through the libintl reports, but those didn't apply on OS X -- or my installation, at least.

-- Heikki Lindholm

#3 lore raw
Quoted 10 lines · Heikki Lindholm

Bernhard Fischer kirjoitti:

Quoted 5 lines · Heikki Lindholm
Quoted 3 lines

Hello,

I just updated my OS X buildroot and, recent changes breaking it, I have

Can you please be more specific as to how it broke?

Well, basically, it was easier to fix than thought, and I posted a patch already:
http://buildroot.uclibc.org/lists/buildroot/2007-July/003659.html

I'm curious if you need the same patch if you make menuconfig with e.g. linux-2.6.21.5.
If so, then please fix this upstream first. If not then there must be something different going on and we need to track that down.

Quoted 11 lines

The two culprits for the breakage are:
(1) foo.h includes features.h, which doesn't exist on OS X. Referring to my above patch, this could also be fixed in the Makefile by not including foo.h on OS X, but IMHO that's trickier (uname).
(2) The linking was changed so, that ncurses wasn't linked in on OS X anymore

BUT I also noted another breakage, which I'm clueless about:
http://buildroot.uclibc.org/lists/buildroot/2007-July/003658.html
I'm using the same config I was with an older version (for example, rev 18688 worked).

Do you have SYSROOT set in your .config?

You're using 4.1.2 and there was a reason why i only enabled sysroot for gcc >= 4.2.0 (IIRC sjhill changed this, so you're better off to ask him why he enabled sysroot support for 4.1.2.. I figure that it worked for him else he wouldn't have enabled it. Perhaps it was erroneously enabled, i wouldn't know.)

#4 lore raw

Bernhard Fischer kirjoitti:

Quoted 12 lines · Heikki Lindholm
Quoted 11 lines

Bernhard Fischer kirjoitti:

Quoted 7 lines · Heikki Lindholm
Quoted 4 lines

Hello,

I just updated my OS X buildroot and, recent changes breaking it, I have

Can you please be more specific as to how it broke?

Quoted 7 lines
Quoted 3 lines

Well, basically, it was easier to fix than thought, and I posted a patch already:
http://buildroot.uclibc.org/lists/buildroot/2007-July/003659.html

I'm curious if you need the same patch if you make menuconfig with e.g. linux-2.6.21.5.

2.6.21* wont' work, but 2.6.22 has fixed the problem with linking. It also doesn't have the foo.h problem at all.

Quoted 11 lines

If so, then please fix this upstream first. If not then there must be something different going on and we need to track that down.

Quoted 7 lines

The two culprits for the breakage are:
(1) foo.h includes features.h, which doesn't exist on OS X. Referring to my above patch, this could also be fixed in the Makefile by not including foo.h on OS X, but IMHO that's trickier (uname).
(2) The linking was changed so, that ncurses wasn't linked in on OS X anymore

Quoted 7 lines
Quoted 4 lines

BUT I also noted another breakage, which I'm clueless about:
http://buildroot.uclibc.org/lists/buildroot/2007-July/003658.html
I'm using the same config I was with an older version (for example, rev 18688 worked).

Do you have SYSROOT set in your .config?

I think the whole concept was introduced when I wasn't following buildroot development much. The old config file I used doesn't have any symbols containing SYSROOT.

Quoted 5 lines

You're using 4.1.2 and there was a reason why i only enabled sysroot for gcc >= 4.2.0 (IIRC sjhill changed this, so you're better off to ask him why he enabled sysroot support for 4.1.2.. I figure that it worked for him else he wouldn't have enabled it. Perhaps it was erroneously enabled, i wouldn't know.)

Maybe I'll just give 4.2.0 a shot, if that's the new standard(?)

-- Heikki Lindholm

#5 lore raw
Quoted 7 lines · Heikki Lindholm

Bernhard Fischer kirjoitti:

Quoted 2 lines

I'm curious if you need the same patch if you make menuconfig with e.g. linux-2.6.21.5.

2.6.21* wont' work, but 2.6.22 has fixed the problem with linking. It also doesn't have the foo.h problem at all.

Earlier today, i touched these curses affair. Perhaps it behaves now?

If not, then please pull the mconf from 2.6.22.x and send a diff for me to apply

Quoted 7 lines
Quoted 5 lines

You're using 4.1.2 and there was a reason why i only enabled sysroot for gcc >= 4.2.0 (IIRC sjhill changed this, so you're better off to ask him why he enabled sysroot support for 4.1.2.. I figure that it worked for him else he wouldn't have enabled it. Perhaps it was erroneously enabled, i wouldn't know.)

Maybe I'll just give 4.2.0 a shot, if that's the new standard(?)

actually the current stable and supported release is by now 4.2.1