A bit premature, that was.  Mingw-gcc also needs a fix.

The command 'ulimit -S -s unlimited' causes a problem here.

CompileScript: <<
  #!/bin/sh -ev
  ulimit -S -s unlimited
  mkdir darwin
  cd darwin
  ../configure %c
  make
<<


Now, why is that since if I simply say 'ulimit -S -s unlimited', it  
works.  But if the info file does it, it doesn't....?

<<
$ sudo fink install mingw-gcc
The following package will be installed or updated:
  mingw-gcc
Setting runtime build-lock...
dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-mingw-gcc-4.1.0-2 / 
sw/src/fink.build
dpkg-deb: building package `fink-buildlock-mingw-gcc-4.1.0-2' in `/sw/ 
src/fink.build/fink-buildlock-mingw- 
gcc-4.1.0-2_2009.01.14-00.17.02_darwin-powerpc.deb'.
Installing build-lock package...
/sw/bin/dpkg-lockwait -i /sw/src/fink.build/fink-buildlock-mingw- 
gcc-4.1.0-2_2009.01.14-00.17.02_darwin-powerpc.deb
Selecting previously deselected package fink-buildlock-mingw- 
gcc-4.1.0-2.
(Reading database ... 100264 files and directories currently installed.)
Unpacking fink-buildlock-mingw-gcc-4.1.0-2 (from .../fink-buildlock- 
mingw-gcc-4.1.0-2_2009.01.14-00.17.02_darwin-powerpc.deb) ...
Setting up fink-buildlock-mingw-gcc-4.1.0-2 (2009.01.14-00.17.02) ...
bzip2 -dc /sw/src/gcc-4.1.0.tar.bz2 | /sw/bin/tar -xf -  --no-same- 
owner --no-same-permissions
/usr/bin/sed -i.bak -e 's|LIBGCC2_INCLUDES = -I$(srcdir)/../winsup/ 
w32api|LIBGCC2_INCLUDES = -I/sw/lib/mingw/i686-pc-mingw32|' -e '12s|^$| 
CRTSTUFF_CFLAGS += -isystem /sw/lib/mingw/i686-pc-mingw32|' gcc/config/ 
i386/t-cygming
/var/tmp/tmp.1.72jiEu
#!/bin/sh -ev
  ulimit -S -s unlimited
/var/tmp/tmp.1.72jiEu: line 2: ulimit: stack size: cannot modify  
limit: Invalid argument
### execution of /var/tmp/tmp.1.72jiEu failed, exit code 1
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-mingw-gcc-4.1.0-2
(Reading database ... 100265 files and directories currently installed.)
Removing fink-buildlock-mingw-gcc-4.1.0-2 ...
Failed: phase compiling: mingw-gcc-4.1.0-2 failed

Before reporting any errors, please run "fink selfupdate" and
try again.  If you continue to have issues, please check to see if the
FAQ on fink's website solves the problem.  If not, ask on the fink-users
or fink-beginners mailing lists, with a carbon copy to the maintainer:

        ASARI Takashi <[email protected]>

Note that this is preferable to emailing the maintainer directly, since
most fink package maintainers do not have access to all possible
hardware and software configurations.
<<




Edelleenlähetetty viesti alkaa:

> Lähettäjä: Asko Kauppi <[email protected]>
> Päiväys: 14. tammikuuta 2009 klo 0:17.32
> Vastaanottaja: Martin Costabel <[email protected]>
> Kopio: Thomas Kho <[email protected]>, fink- 
> [email protected]
> Aihe: Vastaus: [Fink-devel] Fwd: fink mingw-gcc build error
>
>
> Seems to solve it for me (tested on PPC).  Please check it in.   :)
>
> THANKS!
>
> And you might make a note that this package is without an active  
> maintainer?
>
> -asko
>
>
> Martin Costabel kirjoitti 13.1.2009 kello 23:38:
>
>> Asko Kauppi wrote:
>> []
>>
>>> Does anyone else have this problem; does the package work nice on   
>>> Intel 10.5?
>>
>> No, not for me; I get the same error.
>>
>>>     $ makeinfo --version
>>>     makeinfo (GNU texinfo) 4.11
>>
>> The package has, in its Makefile, a test about which it says
>>
>> # For an installed makeinfo, we require it to be from texinfo 4.2 or
>> # higher, else we use the "missing" dummy.
>>
>> Unfortunately, it then only looks for 4.2 to 4.9 and does not  
>> recognize 4.11 or (in my case) 4.13. This is clearly a bug in the  
>> sources which should be fixed in the package. In the Fink package,  
>> this test is not really necessary, so that a quick and dirty patch  
>> like the following will work:
>>
>> PatchScript: perl -pi -e 's,\|4.*9,|[4-9,' Makefile.in
>>
>> If this works for you and no maintainer shows up, I can check it in.
>>
>> -- 
>> Martin
>>
>


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Fink-devel mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to