Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 124818

Summary: mpage 2.5.4 fails (gcc4) (patch attached)
Product: Gentoo Linux Reporter: Patrizio Bassi <patrizio.bassi>
Component: [OLD] GCC PortingAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2005.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 117482    

Description Patrizio Bassi 2006-03-03 09:03:54 UTC
>>> Compiling source in /var/tmp/portage/mpage-2.5.4/work/mpage-2.5.4 ...
gcc -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -ffast-math -DPAGE_DEF=\"A4\" -DLIBDIR=\"/usr/share/mpage\" -DDEFAULT_ENCODING=1 -DDEFAULT_DUPLEX=0 -DDEFAULTSMARGIN=18  -DSPOOLER=BSD_SPOOLER  -c -o mpage.o mpage.c
In file included from mpage.c:20:
mpage.h:175: error: array type has incomplete element type
make: *** [mpage.o] Error 1

!!! ERROR: app-text/mpage-2.5.4 failed.
Call stack:
  ebuild.sh, line 1933:   Called dyn_compile
  ebuild.sh, line 971:   Called src_compile


patch is from fedora cvs 

http://cvs.fedora.redhat.com/viewcvs/*checkout*/devel/mpage/mpage-gcc4.patch?rev=1.1

tested..works
Comment 1 Mark Loeser (RETIRED) gentoo-dev 2006-03-16 23:49:20 UTC
Fixed, thanks.