public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-embedded] crossdev failed during building uclibc
@ 2007-02-24 17:20 Jakub Ladman
  2007-02-24 22:04 ` jozef maslik
  2007-02-25  3:46 ` [gentoo-embedded] Embeded Gentoo mentioned in Linux Journal Heath Holcomb
  0 siblings, 2 replies; 10+ messages in thread
From: Jakub Ladman @ 2007-02-24 17:20 UTC (permalink / raw
  To: gentoo-embedded

[-- Attachment #1: Type: text/plain, Size: 1774 bytes --]

Hi there
Me and my friend have both encountered this problem:

hovado ~ # crossdev --g 3.4.6-r2 --k 2.4.26-r1 -t mips-pc-linux-uclibc
--------------------------------------------------------------------------------
 * Host Portage ARCH:     x86
 * Target Portage ARCH:   mips
 * Target System:         mips-pc-linux-uclibc
 * Stage:                 4 (C/C++ compiler)

 * binutils:              binutils-[latest]
 * gcc:                   gcc-3.4.6-r2
 * headers:               mips-headers-2.4.26-r1
 * libc:                  uclibc-[latest]

 * PORTDIR_OVERLAY:       /usr/local/portage
 * PORT_LOGDIR:           /var/log/portage
 * PKGDIR:                /usr/portage/packages/cross/mips-pc-linux-uclibc
 * PORTAGE_TMPDIR:        /var/tmp/cross/mips-pc-linux-uclibc
  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -
 * Forcing the latest versions of binutils-config/gcc-config ...          [ 
ok ]
 * Log: /var/log/portage/cross-mips-pc-linux-uclibc-binutils.log
 * Emerging cross-binutils ...                                            [ 
ok ]
 * Log: /var/log/portage/cross-mips-pc-linux-uclibc-gcc-stage1.log
 * Emerging cross-gcc-stage1 ...                                          [ 
ok ]
 * Log: /var/log/portage/cross-mips-pc-linux-uclibc-mips-headers.log
 * Emerging cross-mips-headers ...                                        [ 
ok ]
 * Log: /var/log/portage/cross-mips-pc-linux-uclibc-uclibc.log
 * Emerging cross-uclibc ...

 * uclibc failed :(
 * If you file a bug, please attach the following logfiles:
 * /var/log/portage/cross-mips-pc-linux-uclibc-info.log
 * /var/log/portage/cross-mips-pc-linux-uclibc-uclibc.log
hovado ~ #

Do anybody know how to fix it?

There are crossdev logs in attachments.

Thank you.
Jakub Ladman


[-- Attachment #2: crossdev_logs.tar.bz2 --]
[-- Type: application/x-tbz, Size: 9890 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-embedded] crossdev failed during building uclibc
  2007-02-24 17:20 [gentoo-embedded] crossdev failed during building uclibc Jakub Ladman
@ 2007-02-24 22:04 ` jozef maslik
  2007-02-25 10:18   ` Jakub Ladman
  2007-02-25  3:46 ` [gentoo-embedded] Embeded Gentoo mentioned in Linux Journal Heath Holcomb
  1 sibling, 1 reply; 10+ messages in thread
From: jozef maslik @ 2007-02-24 22:04 UTC (permalink / raw
  To: gentoo-embedded

Hello !

Have you read /var/log/portage/cross-mips-pc-linux-uclibc-uclibc.log ?

If you have not read it, please read it and try:

You do not have a codesets.txt file.  Please create this
file in the extra/locale directory by running something like:
  find /var/tmp/cross/mips-pc-linux-uclibc/portage/cross-mips-pc-linux-uclibc/uclibc-0.9.28.1/work/uClibc-0.9.28.1/extra/locale/charmaps
-name "*.pairs" > \
        /var/tmp/cross/mips-pc-linux-uclibc/portage/cross-mips-pc-linux-uclibc/uclibc-0.9.28.1/work/uClibc-0.9.28.1/extra/locale/codesets.txt
and then edit that file to disable/enable the codesets you wish to support.

make: *** [codesets.txt] Error 1

... and mail again... :)

On 2/24/07, Jakub Ladman <ladmanj@volny.cz> wrote:
> Hi there
> Me and my friend have both encountered this problem:
>
> hovado ~ # crossdev --g 3.4.6-r2 --k 2.4.26-r1 -t mips-pc-linux-uclibc
> --------------------------------------------------------------------------------
>  * Host Portage ARCH:     x86
>  * Target Portage ARCH:   mips
>  * Target System:         mips-pc-linux-uclibc
>  * Stage:                 4 (C/C++ compiler)
>
>  * binutils:              binutils-[latest]
>  * gcc:                   gcc-3.4.6-r2
>  * headers:               mips-headers-2.4.26-r1
>  * libc:                  uclibc-[latest]
>
>  * PORTDIR_OVERLAY:       /usr/local/portage
>  * PORT_LOGDIR:           /var/log/portage
>  * PKGDIR:                /usr/portage/packages/cross/mips-pc-linux-uclibc
>  * PORTAGE_TMPDIR:        /var/tmp/cross/mips-pc-linux-uclibc
>   _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -
>  * Forcing the latest versions of binutils-config/gcc-config ...          [
> ok ]
>  * Log: /var/log/portage/cross-mips-pc-linux-uclibc-binutils.log
>  * Emerging cross-binutils ...                                            [
> ok ]
>  * Log: /var/log/portage/cross-mips-pc-linux-uclibc-gcc-stage1.log
>  * Emerging cross-gcc-stage1 ...                                          [
> ok ]
>  * Log: /var/log/portage/cross-mips-pc-linux-uclibc-mips-headers.log
>  * Emerging cross-mips-headers ...                                        [
> ok ]
>  * Log: /var/log/portage/cross-mips-pc-linux-uclibc-uclibc.log
>  * Emerging cross-uclibc ...
>
>  * uclibc failed :(
>  * If you file a bug, please attach the following logfiles:
>  * /var/log/portage/cross-mips-pc-linux-uclibc-info.log
>  * /var/log/portage/cross-mips-pc-linux-uclibc-uclibc.log
> hovado ~ #
>
> Do anybody know how to fix it?
>
> There are crossdev logs in attachments.
>
> Thank you.
> Jakub Ladman
>
>
>
-- 
gentoo-embedded@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* [gentoo-embedded] Embeded Gentoo mentioned in Linux Journal
  2007-02-24 17:20 [gentoo-embedded] crossdev failed during building uclibc Jakub Ladman
  2007-02-24 22:04 ` jozef maslik
@ 2007-02-25  3:46 ` Heath Holcomb
  2007-02-25  8:09   ` Wernfried Haas
  1 sibling, 1 reply; 10+ messages in thread
From: Heath Holcomb @ 2007-02-25  3:46 UTC (permalink / raw
  To: gentoo-embedded

Embedded Gentoo is mentioned in the current Linux Journal (March 2007).  
A guy (Chad) built a media player using a flash drive and needed a Linux 
build that had a small footprint.

Just thought you would like to know.

--
heath
-- 
gentoo-embedded@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-embedded] Embeded Gentoo mentioned in Linux Journal
  2007-02-25  3:46 ` [gentoo-embedded] Embeded Gentoo mentioned in Linux Journal Heath Holcomb
@ 2007-02-25  8:09   ` Wernfried Haas
  0 siblings, 0 replies; 10+ messages in thread
From: Wernfried Haas @ 2007-02-25  8:09 UTC (permalink / raw
  To: gentoo-embedded; +Cc: gwn-feedback

[-- Attachment #1: Type: text/plain, Size: 535 bytes --]

On Sat, Feb 24, 2007 at 09:46:18PM -0600, Heath Holcomb wrote:
> Embedded Gentoo is mentioned in the current Linux Journal (March 2007).  A guy (Chad) built a media player using a flash drive and 
> needed a Linux build that had a small footprint.
> 
> Just thought you would like to know.

I guess the GWN folks are (hence cc:'ed them).

cheers,
	Wernfried

-- 
Wernfried Haas (amne) - amne at gentoo dot org
Gentoo Forums: http://forums.gentoo.org
IRC: #gentoo-forums on freenode - email: forum-mods at gentoo dot org

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-embedded] crossdev failed during building uclibc
  2007-02-24 22:04 ` jozef maslik
@ 2007-02-25 10:18   ` Jakub Ladman
  2007-02-25 11:14     ` jozef maslik
  0 siblings, 1 reply; 10+ messages in thread
From: Jakub Ladman @ 2007-02-25 10:18 UTC (permalink / raw
  To: gentoo-embedded

Dne sobota 24 únor 2007 23:04 jozef maslik napsal(a):
> Hello !
>
> Have you read /var/log/portage/cross-mips-pc-linux-uclibc-uclibc.log ?
>
> If you have not read it, please read it and try:

Yes i have tryed it out, but it will be overwritten everytime i run crossdev - 
of course, emerge allways unpacks everything from distfiles while cleans 
previous try.

Thank you
Jakub Ladman

>
> You do not have a codesets.txt file.  Please create this
> file in the extra/locale directory by running something like:
>   find
> /var/tmp/cross/mips-pc-linux-uclibc/portage/cross-mips-pc-linux-uclibc/ucli
>bc-0.9.28.1/work/uClibc-0.9.28.1/extra/locale/charmaps -name "*.pairs" > \
>        
> /var/tmp/cross/mips-pc-linux-uclibc/portage/cross-mips-pc-linux-uclibc/ucli
>bc-0.9.28.1/work/uClibc-0.9.28.1/extra/locale/codesets.txt and then edit
> that file to disable/enable the codesets you wish to support.
>
> make: *** [codesets.txt] Error 1
>
> ... and mail again... :)
>
> On 2/24/07, Jakub Ladman <ladmanj@volny.cz> wrote:
> > Hi there
> > Me and my friend have both encountered this problem:
> >
> > hovado ~ # crossdev --g 3.4.6-r2 --k 2.4.26-r1 -t mips-pc-linux-uclibc
> > -------------------------------------------------------------------------
> >------- * Host Portage ARCH:     x86
> >  * Target Portage ARCH:   mips
> >  * Target System:         mips-pc-linux-uclibc
> >  * Stage:                 4 (C/C++ compiler)
> >
> >  * binutils:              binutils-[latest]
> >  * gcc:                   gcc-3.4.6-r2
> >  * headers:               mips-headers-2.4.26-r1
> >  * libc:                  uclibc-[latest]
> >
> >  * PORTDIR_OVERLAY:       /usr/local/portage
> >  * PORT_LOGDIR:           /var/log/portage
> >  * PKGDIR:               
> > /usr/portage/packages/cross/mips-pc-linux-uclibc * PORTAGE_TMPDIR:       
> > /var/tmp/cross/mips-pc-linux-uclibc
> >   _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  - 
> > _  - * Forcing the latest versions of binutils-config/gcc-config ...     
> >     [ ok ]
> >  * Log: /var/log/portage/cross-mips-pc-linux-uclibc-binutils.log
> >  * Emerging cross-binutils ...                                           
> > [ ok ]
> >  * Log: /var/log/portage/cross-mips-pc-linux-uclibc-gcc-stage1.log
> >  * Emerging cross-gcc-stage1 ...                                         
> > [ ok ]
> >  * Log: /var/log/portage/cross-mips-pc-linux-uclibc-mips-headers.log
> >  * Emerging cross-mips-headers ...                                       
> > [ ok ]
> >  * Log: /var/log/portage/cross-mips-pc-linux-uclibc-uclibc.log
> >  * Emerging cross-uclibc ...
> >
> >  * uclibc failed :(
> >  * If you file a bug, please attach the following logfiles:
> >  * /var/log/portage/cross-mips-pc-linux-uclibc-info.log
> >  * /var/log/portage/cross-mips-pc-linux-uclibc-uclibc.log
> > hovado ~ #
> >
> > Do anybody know how to fix it?
> >
> > There are crossdev logs in attachments.
> >
> > Thank you.
> > Jakub Ladman
--
gentoo-embedded@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-embedded] crossdev failed during building uclibc
  2007-02-25 10:18   ` Jakub Ladman
@ 2007-02-25 11:14     ` jozef maslik
  2007-03-04 18:32       ` Jakub Ladman
  0 siblings, 1 reply; 10+ messages in thread
From: jozef maslik @ 2007-02-25 11:14 UTC (permalink / raw
  To: gentoo-embedded

You can try atomic operations with ebuild:
1. ebuild /usr/local/portage/cross-mips-pc-linux-uclibc/uclibc-0.9.28.1.ebuild
fetch unpack
    (unpacking and patching sources is in unpack part of uclibc-0.9.28.1.ebuild)
2. modify sources
3. ebuild /usr/local/portage/cross-mips-pc-linux-uclibc/uclibc-0.9.28.1.ebuild
compile install qmerge

please check path to your .ebuild
(/usr/local/portage/cross-mips-pc-linux-uclibc/uclibc-0.9.28.1.ebuild)

On 2/25/07, Jakub Ladman <ladmanj@volny.cz> wrote:
> Dne sobota 24 únor 2007 23:04 jozef maslik napsal(a):
> > Hello !
> >
> > Have you read /var/log/portage/cross-mips-pc-linux-uclibc-uclibc.log ?
> >
> > If you have not read it, please read it and try:
>
> Yes i have tryed it out, but it will be overwritten everytime i run crossdev -
> of course, emerge allways unpacks everything from distfiles while cleans
> previous try.
>
> Thank you
> Jakub Ladman
>
> >
> > You do not have a codesets.txt file.  Please create this
> > file in the extra/locale directory by running something like:
> >   find
> > /var/tmp/cross/mips-pc-linux-uclibc/portage/cross-mips-pc-linux-uclibc/ucli
> >bc-0.9.28.1/work/uClibc-0.9.28.1/extra/locale/charmaps -name "*.pairs" > \
> >
> > /var/tmp/cross/mips-pc-linux-uclibc/portage/cross-mips-pc-linux-uclibc/ucli
> >bc-0.9.28.1/work/uClibc-0.9.28.1/extra/locale/codesets.txt and then edit
> > that file to disable/enable the codesets you wish to support.
> >
> > make: *** [codesets.txt] Error 1
> >
> > ... and mail again... :)
> >
> > On 2/24/07, Jakub Ladman <ladmanj@volny.cz> wrote:
> > > Hi there
> > > Me and my friend have both encountered this problem:
> > >
> > > hovado ~ # crossdev --g 3.4.6-r2 --k 2.4.26-r1 -t mips-pc-linux-uclibc
> > > -------------------------------------------------------------------------
> > >------- * Host Portage ARCH:     x86
> > >  * Target Portage ARCH:   mips
> > >  * Target System:         mips-pc-linux-uclibc
> > >  * Stage:                 4 (C/C++ compiler)
> > >
> > >  * binutils:              binutils-[latest]
> > >  * gcc:                   gcc-3.4.6-r2
> > >  * headers:               mips-headers-2.4.26-r1
> > >  * libc:                  uclibc-[latest]
> > >
> > >  * PORTDIR_OVERLAY:       /usr/local/portage
> > >  * PORT_LOGDIR:           /var/log/portage
> > >  * PKGDIR:
> > > /usr/portage/packages/cross/mips-pc-linux-uclibc * PORTAGE_TMPDIR:
> > > /var/tmp/cross/mips-pc-linux-uclibc
> > >   _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -
> > > _  - * Forcing the latest versions of binutils-config/gcc-config ...
> > >     [ ok ]
> > >  * Log: /var/log/portage/cross-mips-pc-linux-uclibc-binutils.log
> > >  * Emerging cross-binutils ...
> > > [ ok ]
> > >  * Log: /var/log/portage/cross-mips-pc-linux-uclibc-gcc-stage1.log
> > >  * Emerging cross-gcc-stage1 ...
> > > [ ok ]
> > >  * Log: /var/log/portage/cross-mips-pc-linux-uclibc-mips-headers.log
> > >  * Emerging cross-mips-headers ...
> > > [ ok ]
> > >  * Log: /var/log/portage/cross-mips-pc-linux-uclibc-uclibc.log
> > >  * Emerging cross-uclibc ...
> > >
> > >  * uclibc failed :(
> > >  * If you file a bug, please attach the following logfiles:
> > >  * /var/log/portage/cross-mips-pc-linux-uclibc-info.log
> > >  * /var/log/portage/cross-mips-pc-linux-uclibc-uclibc.log
> > > hovado ~ #
> > >
> > > Do anybody know how to fix it?
> > >
> > > There are crossdev logs in attachments.
> > >
> > > Thank you.
> > > Jakub Ladman
> --
> gentoo-embedded@gentoo.org mailing list
>
>
--
gentoo-embedded@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-embedded] crossdev failed during building uclibc
  2007-02-25 11:14     ` jozef maslik
@ 2007-03-04 18:32       ` Jakub Ladman
  0 siblings, 0 replies; 10+ messages in thread
From: Jakub Ladman @ 2007-03-04 18:32 UTC (permalink / raw
  To: gentoo-embedded

Dne neděle 25 únor 2007 12:14 jozef maslik napsal(a):
> You can try atomic operations with ebuild:
> 1. ebuild
> /usr/local/portage/cross-mips-pc-linux-uclibc/uclibc-0.9.28.1.ebuild fetch
> unpack
>     (unpacking and patching sources is in unpack part of
> uclibc-0.9.28.1.ebuild) 2. modify sources
> 3. ebuild
> /usr/local/portage/cross-mips-pc-linux-uclibc/uclibc-0.9.28.1.ebuild
> compile install qmerge
>
> please check path to your .ebuild
> (/usr/local/portage/cross-mips-pc-linux-uclibc/uclibc-0.9.28.1.ebuild)
>


I have tried it, and it fails too. But some other error appears.

I thing it is very important, for sure it is one of headstones of gentoo 
embedded and it is notposible to left it uncorrected.

Jakub
--
gentoo-embedded@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-embedded] crossdev failed during building uclibc
@ 2007-03-24 14:52 ducasse.isidore
  2007-03-30  6:24 ` Mike Frysinger
  0 siblings, 1 reply; 10+ messages in thread
From: ducasse.isidore @ 2007-03-24 14:52 UTC (permalink / raw
  To: gentoo-embedded


Hi all, I've got what I suppose is the same compiletime error for uclibc: setlocale(LC_CTYPE,"en.US.UTF_8")

I've tried to patch my codesets.txt file (which already existed and contained valid names), and use ebuild manual procedure it didn't help.
 
BTW is i686-gentoo-linux-uclibc more relevant? I just want to add a tiny binary to a genkernel initrd.

May the problem be related to the unicode useflag? I switched it on to see if there's a difference; I figured none.

Here is my output for crossdev -t i686-linux-uclibc -v :

 * QA Notice: USE Flag 'crosscompile_opts_headers-only' not in IUSE for cross-i686-linux-uclibc/uclibc-0.9.28.1
rm -f *.[oa] *~ core
rm -f gen_wc8bit gen_wctype gen_locale gen_ldc gen_collate
rm -f c8tables.h wctables.h locale_tables.h lt_defines.h locale_collate.h
rm -f gen_mmap locale.mmap lmmtolso
rm -f locale_data.c uClibc_locale_data.h
/var/tmp/cross/i686-linux-uclibc/portage/cross-i686-linux-uclibc/uclibc-0.9.28.1/work/uClibc-0.9.28.1/extra/locale
gcc -O2 -Wall  -DCTYPE_PACKED=1 -DDO_WIDE_CHAR=1 -D__UCLIBC_GEN_LOCALE gen_wc8bit.c -o gen_wc8bit
gen_wc8bit.c: In function 'main':
gen_wc8bit.c:462: warning: pointer targets in assignment differ in signedness
gen_wc8bit.c:613: warning: pointer targets in assignment differ in signedness
./gen_wc8bit `cat codesets.txt`
setlocale(LC_CTYPE,"en_US.UTF-8") failed!
make: *** [c8tables.h] Erreur 1

!!! ERROR: cross-i686-linux-uclibc/uclibc-0.9.28.1 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3434:   Called src_compile
  uclibc-0.9.28.1.ebuild, line 382:   Called die
-- 
gentoo-embedded@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-embedded] crossdev failed during building uclibc
@ 2007-03-24 16:16 ducasse.isidore
  0 siblings, 0 replies; 10+ messages in thread
From: ducasse.isidore @ 2007-03-24 16:16 UTC (permalink / raw
  To: gentoo-embedded


Hi all, I've got what I suppose is the same compiletime error for uclibc: setlocale(LC_CTYPE,"en.US.UTF_8")

Following gentoo-wiki cross-compile howto, I tried

USE="-*" crossdev -t i686-linux-uclibc

which worked fine. This means dropping unicode while building the toolchain; does it mean the issued gcc won't ever compile any unicode-compliant binary?
-- 
gentoo-embedded@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-embedded] crossdev failed during building uclibc
  2007-03-24 14:52 [gentoo-embedded] crossdev failed during building uclibc ducasse.isidore
@ 2007-03-30  6:24 ` Mike Frysinger
  0 siblings, 0 replies; 10+ messages in thread
From: Mike Frysinger @ 2007-03-30  6:24 UTC (permalink / raw
  To: gentoo-embedded; +Cc: ducasse.isidore@gmail.com

[-- Attachment #1: Type: text/plain, Size: 224 bytes --]

On Saturday 24 March 2007, ducasse.isidore@gmail.com wrote:
> Hi all, I've got what I suppose is the same compiletime error for uclibc:
> setlocale(LC_CTYPE,"en.US.UTF_8")

solution: dont use nls/locale/iconv w/uClibc
-mike

[-- Attachment #2: Type: application/pgp-signature, Size: 827 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-03-30  6:26 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-24 17:20 [gentoo-embedded] crossdev failed during building uclibc Jakub Ladman
2007-02-24 22:04 ` jozef maslik
2007-02-25 10:18   ` Jakub Ladman
2007-02-25 11:14     ` jozef maslik
2007-03-04 18:32       ` Jakub Ladman
2007-02-25  3:46 ` [gentoo-embedded] Embeded Gentoo mentioned in Linux Journal Heath Holcomb
2007-02-25  8:09   ` Wernfried Haas
  -- strict thread matches above, loose matches on Subject: below --
2007-03-24 14:52 [gentoo-embedded] crossdev failed during building uclibc ducasse.isidore
2007-03-30  6:24 ` Mike Frysinger
2007-03-24 16:16 ducasse.isidore

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox