FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Alt

 
 
LinkBack Thread Tools
 
Old 08-31-2010, 12:08 AM
Al
 
Default 2 open issues

Before turning back to big gcc I wanted to emerge all other stuff from
the solaris howto. Most is done.

1.) gawk:

Symptom: While emerge --oneshot gawk emerge dies:

i686-pc-cygwin-gcc -L/home/prefix/gentoo/usr/lib
-R/home/prefix/gentoo/usr/lib -L/home/prefix/gentoo/lib
-R/home/prefix/gentoo/lib -o filefuncs.so.0.0.1 -shared -Wl,-soname
-Wl,filefuncs.so.0 filefuncs.o
filefuncs.o:filefuncs.c.text+0x1e): undefined reference to `_make_builtin'
[... lots of this ... ]
filefuncs.o:filefuncs.c.text+0x10f1): undefined reference to `_update_ERRNO'
collect2: ld returned 1 exit status
make: *** [filefuncs.so.0.0.1] Error 1

Reason: unknown


2.) coreutils: breaks following emergings

Symptom: After emerging of coreutils succeeding emergings break. The
files "config.status" get corrupted during generation.

This is reproducable. Tested with wget. config.status is truncated at
top and out of order at bottom. The file ws broken in to tests in
exactly the same way.

Reason: unknown

Which tool does configure use that could do this damage?
Why are parts in wrong order? Multi processes?

The Cygwin coreutils work fine and have the same version. So there is
a solution. Unfortunatly the Cygwin patch for coreutils has a few
thousend lines without doc. Next thing I could try, is to blindly
apply it.

Al
 
Old 08-31-2010, 06:26 AM
Fabian Groffen
 
Default 2 open issues

On 31-08-2010 02:08:18 +0200, Al wrote:
> Before turning back to big gcc I wanted to emerge all other stuff from
> the solaris howto. Most is done.
>
> 1.) gawk:
>
> Symptom: While emerge --oneshot gawk emerge dies:
>
> i686-pc-cygwin-gcc -L/home/prefix/gentoo/usr/lib
> -R/home/prefix/gentoo/usr/lib -L/home/prefix/gentoo/lib
> -R/home/prefix/gentoo/lib -o filefuncs.so.0.0.1 -shared -Wl,-soname
> -Wl,filefuncs.so.0 filefuncs.o
> filefuncs.o:filefuncs.c.text+0x1e): undefined reference to `_make_builtin'
> [... lots of this ... ]
> filefuncs.o:filefuncs.c.text+0x10f1): undefined reference to `_update_ERRNO'
> collect2: ld returned 1 exit status
> make: *** [filefuncs.so.0.0.1] Error 1
>
> Reason: unknown

shouldn't try to build the lib on cygwin, I think.

> 2.) coreutils: breaks following emergings
>
> Symptom: After emerging of coreutils succeeding emergings break. The
> files "config.status" get corrupted during generation.
>
> This is reproducable. Tested with wget. config.status is truncated at
> top and out of order at bottom. The file ws broken in to tests in
> exactly the same way.
>
> Reason: unknown
>
> Which tool does configure use that could do this damage?
> Why are parts in wrong order? Multi processes?

hmmm, weird.

> The Cygwin coreutils work fine and have the same version. So there is
> a solution. Unfortunatly the Cygwin patch for coreutils has a few
> thousend lines without doc. Next thing I could try, is to blindly
> apply it.

see if it applies indeed, if not then they do something else first.


--
Fabian Groffen
Gentoo on a different level
 
Old 09-03-2010, 01:54 PM
Al
 
Default 2 open issues

>
> hmmm, weird.
>
>> The Cygwin coreutils work fine and have the same version. So there is
>> a solution. Unfortunatly the Cygwin patch for coreutils has a few
>> thousend lines without doc. Next thing I could try, is to blindly
>> apply it.
>
> see if it applies indeed, if not then they do something else first.

Great! It works. Additionally the compilation of coreutils brought a
big boost of performance. It feels more like native Linux now.

One conflict I got with

# interix has no method to determine mounted filesystems
epatch "${FILESDIR}"/${PN}-8.5-interix-warn-mount.patch

Commented it out for now.

Quick and dirty what is required for the ebuild:

epatch "${FILESDIR}"/${PN}-8.5-cygwin.patch
einfo "Running autoreconf:"
autoreconf
mkdir -p man/install.td/
cp /usr/bin/install.exe.manifest man/install.td/install.exe.manifest
mkdir src
cp /usr/bin/install.exe.manifest src/ginstall.exe.manifest
cp /usr/bin/install.exe.manifest
/home/prefix/gentoo/usr/bin/install.exe.manifest


Al
 

Thread Tools




All times are GMT. The time now is 06:10 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org