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

Bug 141416

Summary: emerge of media-gfx/transfig 3.2.4-r1 failed
Product: Gentoo Linux Reporter: Evgeniy Dushistov <dushistov>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: fauli
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Evgeniy Dushistov 2006-07-22 11:46:52 UTC
I have gcc:
$gcc --version
gcc (GCC) 4.1.1 (Gentoo 4.1.1)

During emerge I got messages that: "you should not use varargs.h, that \" missed and so on",
there are patch in
/usr/portage/media-gfx/transfig/files/transfig-3.2.4-gcc-3.3.patch
which fix this, but for unknown for me reasons it applied only if I have gcc 3.3,
I remove this check:

if [ "$(gcc-major-version)" -eq "3" -a "$(gcc-minor-version)" -ge "3" ]
    then
    epatch  ${FILESDIR}/${P}-gcc-3.3.patch
    fi

and all works fine
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2006-07-22 11:51:40 UTC
This is known, -r2 works with GCC 4.1, see bug #140903
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-07-22 11:53:32 UTC

*** This bug has been marked as a duplicate of 140903 ***