You are not logged in.

#1 2013-03-08 21:22:43

fishmael
Member
Registered: 2013-03-08
Posts: 1

Failure when building mingw-w64-gcc-base

This is the error message I receive when trying to build mingw-w64-gcc-base:

echo @set srcdir /tmp/yaourt-tmp-username/aur-mingw-w64-gcc-base/src/gcc-4.7.2/gcc >> gcc-vers.texiT
if [ -n "(GCC) " ]; then \
  echo "@set VERSION_PACKAGE (GCC) " >> gcc-vers.texiT; \
fi
echo "@set BUGURL @uref{http://gcc.gnu.org/bugs.html}" >> gcc-vers.texiT; \
mv -f gcc-vers.texiT gcc-vers.texi
if [ xinfo = xinfo ]; then \
    makeinfo --split-size=5000000 --no-split -I . -I /tmp/yaourt-tmp-username/aur-mingw-w64-gcc-base/src/gcc-4.7.2/gcc/doc \
        -I /tmp/yaourt-tmp-username/aur-mingw-w64-gcc-base/src/gcc-4.7.2/gcc/doc/include -o doc/cpp.info /tmp/yaourt-tmp-username/aur-mingw-w64-gcc-base/src/gcc-4.7.2/gcc/doc/cpp.texi; \
fi
/tmp/yaourt-tmp-username/aur-mingw-w64-gcc-base/src/gcc-4.7.2/gcc/doc/cppopts.texi:806: @itemx must follow @item
make[1]: *** [doc/cpp.info] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-username/aur-mingw-w64-gcc-base/src/gcc-build-i686-w64-mingw32/gcc'
make: *** [all-gcc] Error 2

Does anyone have any ideas?

Thanks in advance.

Offline

#2 2013-03-09 09:26:57

qpalz
Member
From: Hong Kong
Registered: 2012-08-08
Posts: 18

Re: Failure when building mingw-w64-gcc-base

I have this problem too. I have tried this patch: http://gcc.gnu.org/ml/gcc-patches/2012-10/msg02505.html but it shows: 1 out of 13 hunks FAILED -- saving rejects to file gcc/doc/invoke.texi.rej

Last edited by qpalz (2013-03-09 09:27:41)

Offline

#3 2013-03-14 04:53:44

naelstrof
Member
Registered: 2011-10-21
Posts: 13

Re: Failure when building mingw-w64-gcc-base

Ah, it's due to the recent texinfo update. It can be fixed with this patch:
https://bugs.archlinux.org/task/34000?getfile=10101

This particular patch still misses a single @itemx, so the compile will still error out. It's pretty simple to spot the error, fix the error, and recompile with makepkg -e however.

Email me if you still have trouble, I've gotten it working.

Offline

#4 2013-03-15 16:30:38

pnoq
Member
Registered: 2013-03-06
Posts: 1

Re: Failure when building mingw-w64-gcc-base

i got the same problem, applied the patch still recieving build errors, which i'm afraid are too low level for me.

my main effort is to get gtk compiled with mingw as described on bbs.archlinux.org/viewtopic.php?id=150873.

would be really pleased if someone could upload a working patch! i see myself migrating to fedora with this issue; hope it doesn't come that far...

Offline

#5 2013-03-17 15:11:39

naelstrof
Member
Registered: 2011-10-21
Posts: 13

Re: Failure when building mingw-w64-gcc-base

Here, use my patch instead: http://farmpolice.com/content/files/tex … inux.patch

It worked for me, what it fixed is these various errors:

../../gcc/ada/gnat-style.texi:45: unknown command `hfill'
doc/projects.texi:51: @pxref reference to nonexistent node `Scenarios
  in Projects'
doc/projects.texi:363: @pxref reference to nonexistent node `Organizing
  Projects into Subsystems'
doc/projects.texi:391: @xref reference to nonexistent node `Project
  Extension'
../../gcc/doc/invoke.texi:5615: @itemx must follow @item

And several others that I cannot remember, the patch makes it so gcc compiles normally for mingw on archlinux. Good luck!

Offline

#6 2013-04-05 18:36:58

mobidyc
Member
Registered: 2013-04-05
Posts: 1

Re: Failure when building mingw-w64-gcc-base

thank you,
you saved my day. wink

Offline

#7 2013-10-04 16:51:56

SandraaBCN
Member
Registered: 2013-10-04
Posts: 1

Re: Failure when building mingw-w64-gcc-base

Sorry but can somebody tell me how to use patch?
I already have installed patch from AUR so what is the nex step?
thanks from Spain ;-)

Last edited by SandraaBCN (2013-10-04 16:52:07)

Offline

Board footer

Powered by FluxBB