I've been wanting to get mingw-gcc to work, as well.  Had problems  
with mingw-binutils and I think the message never got to the list due  
to a 40+KB log attached (probably served me right..?).

I think I never heard of Asari on this (mailed him twice).  Maybe  
someone should take over the authorship?

-asko


Here is the essential part of the report (originally Nov 12th 2008):

<<
I'm sending this to fink-devel, since I'm not active on fink-users or  
fink-beginners. Anyways it's more of a development issue I guess.

Does anyone else have this problem; does the package work nice on  
Intel 10.5?

System:
        OS X 10.5.5 PowerPC (G4 Powerbook)

        $ fink -v
        Fink 0.28.6

        $ gcc -v
        gcc version 4.0.1 (Apple Inc. build 5484)

The tail of the build log (attached) says 'makeinfo' would be missing,  
but it's there:

        $ which makeinfo
        /sw/bin/makeinfo

        $ makeinfo --version
        makeinfo (GNU texinfo) 4.11

Any ideas what I could try about this?

-asko
<<


The log was (shortened):

$ sudo fink install mingw-binutils
...
./chew -f ../.././bfd/doc/doc.str <../.././bfd/doc/../mmo.c >mmo.tmp
/bin/sh ../.././bfd/doc/../../move-if-change mmo.tmp mmo.texi
restore=: && backupdir=".am$$" && \
        am__cwd=`pwd` && cd ../.././bfd/doc && \
        rm -rf $backupdir && mkdir $backupdir && \
        for f in ../.././bfd/doc/bfd.info ../.././bfd/doc/bfd.info- 
[0-9] ../.././bfd/doc/bfd.info-[0-9][0-9] ../.././bfd/doc/ 
bfd.i[0-9] ../.././bfd/doc/bfd.i[0-9][0-9]; do \
          if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
        done; \
        cd "$am__cwd"; \
        if /sw/src/fink.build/mingw-binutils-2.16.91-20050827-1-1/ 
binutils-2.16.91-20050827-1/missing makeinfo --split-size=5000000   - 
I ../.././bfd/doc \
         -o ../.././bfd/doc/bfd.info ../.././bfd/doc/bfd.texinfo; \
        then \
          rc=0; \
          cd ../.././bfd/doc; \
        else \
          rc=$?; \
          cd ../.././bfd/doc && \
          $restore $backupdir/* `echo "./../.././bfd/doc/bfd.info" | sed 's| 
[^/]*$||'`; \
        fi; \
        rm -rf $backupdir; exit $rc
WARNING: `makeinfo' is missing on your system.  You should only need  
it if
         you modified a `.texi' or `.texinfo' file, or any other file
         indirectly affecting the aspect of the manual.  The spurious
         call might also be the consequence of using a buggy  
`make' (AIX,
         DU, IRIX).  You might want to install the `Texinfo' package or
         the `GNU make' package.  Grab either from any GNU archive site.
make[2]: *** [../.././bfd/doc/bfd.info] Error 1
Making info in po
( if test 'x../.././bfd/po' != 'x.'; then \
            posrcprefix='../.././bfd/'; \
          else \
            posrcprefix="../"; \
          fi; \
          rm -f SRC-POTFILES-t SRC-POTFILES \
            && (sed -e '/^#/d' \
                    -e '/^[     ]*$/d' \
                    -e "s...@.*@        $posrcprefix& \\\\@" < 
../.././bfd/po/SRC-POTFILES.in \
                | sed -e '$s/\\$//') > SRC-POTFILES-t \
            && chmod a-w SRC-POTFILES-t \
            && mv SRC-POTFILES-t SRC-POTFILES )
( rm -f BLD-POTFILES-t BLD-POTFILES \
            && (sed -e '/^#/d' \
                    -e '/^[     ]*$/d' \
                    -e "s...@.*@        ../& \\\\@" < 
../.././bfd/po/BLD-POTFILES.in \
                | sed -e '$s/\\$//') > BLD-POTFILES-t \
            && chmod a-w BLD-POTFILES-t \
            && mv BLD-POTFILES-t BLD-POTFILES )
cd .. \
          && CONFIG_FILES=po/Makefile.in:po/Make-in \
             CONFIG_HEADERS= /bin/sh ./config.status
config.status: creating po/Makefile.in
config.status: executing depfiles commands
config.status: executing default commands
make[2]: Nothing to be done for `info'.
make[2]: Nothing to be done for `info-am'.
make[1]: *** [info-recursive] Error 1
make: *** [all-bfd] Error 2
### execution of make failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-mingw- 
binutils-2.16.91-20050827-1-1
(Reading database ... 108501 files and directories currently installed.)
Removing fink-buildlock-mingw-binutils-2.16.91-20050827-1-1 ...
Failed: phase compiling: mingw-binutils-2.16.91-20050827-1-1 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 <as...@sodan.ecc.u-tokyo.ac.jp>

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.
<<


Thomas Kho kirjoitti 8.1.2009 kello 23:32:

> I sent this email to the package maintainer a couple days ago but
> haven't heard a response. mingw-gcc wasn't building for me on
> 10.5/Intel because of a ulimit error, so I looked at how it was
> handled between packages gcc4 and gcc43 and applied the same. Is this
> the right fix?
>
> -Tom
>
> ---------- Forwarded message ----------
> From: Thomas Kho <t...@tommykho.com>
> Date: Sun, Jan 4, 2009 at 8:57 AM
> Subject: fink mingw-gcc build error
> To: as...@sodan.ecc.u-tokyo.ac.jp
>
>
> Hi,
>
> I get an error "ulimit: stack size: cannot modify limit: Invalid
> argument" when building mingw-gcc on 10.5/Intel.
>
> http://archive.netbsd.se/?ml=fink-beginners&a=2008-03&t=6632513 shows
> gcc4 also had the same ulimit command which was changed to ulimit -s
> `ulimit -s` in the gcc43 package.
>
> The patch below fixed it for me...could you help get this into Fink?
>
> -Tom
>
> --
>
> --- mingw-gcc.info.orig 2009-01-04 07:56:38.000000000 -0800
> +++ mingw-gcc.info      2009-01-04 08:03:23.000000000 -0800
> @@ -1,6 +1,6 @@
> Package: mingw-gcc
> Version: 4.1.0
> -Revision: 2
> +Revision: 3
> Description: GNU GCC for MinGW
> License: LGPL
> Maintainer: ASARI Takashi <as...@sodan.ecc.u-tokyo.ac.jp>
> @@ -46,7 +46,7 @@
>
> CompileScript: <<
> #!/bin/sh -ev
> - ulimit -S -s unlimited
> + ulimit -s `ulimit -s`
> mkdir darwin
> cd darwin
> ../configure %c
>
> ------------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It is the best place to buy or sell services for
> just about anything Open Source.
> http://p.sf.net/sfu/Xq1LFB
> _______________________________________________
> Fink-devel mailing list
> Fink-devel@lists.sourceforge.net
> http://news.gmane.org/gmane.os.apple.fink.devel


------------------------------------------------------------------------------
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
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to