Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo Alt (http://www.linux-archive.org/gentoo-alt/)
-   -   2 open issues (http://www.linux-archive.org/gentoo-alt/420596-2-open-issues.html)

Al 08-31-2010 12:08 AM

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

Fabian Groffen 08-31-2010 06:26 AM

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

Al 09-03-2010 01:54 PM

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


All times are GMT. The time now is 11:52 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.