First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 80760
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 110948
Assigned To: Philip Walls (RETIRED) <malverian@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Stéphane Gimenez <gentoo@gim.name>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
tranfig-3.2.4-gcc4.patch allows transfig-3.2.4 to compile against gcc-4 patch Stéphane Gimenez 2005-02-04 11:29 0000 1.66 KB Details | Diff
Makefile.patch dirty patch for dirty makefile to make sure compilation fails if one subdir fails to compile patch Fabian Groffen 2005-06-15 12:10 0000 435 bytes Details | Diff
transfig-3.2.4-r1.ebuild.diff changes made to make it compile on GCC 4 and fail as soon as one subdir fails patch Fabian Groffen 2005-06-15 12:12 0000 929 bytes Details | Diff
ebuild.diff patch to the ebuild with includes the gcc4 patch and adds virtual/x11 dependency patch Fabian Groffen 2005-08-13 03:03 0000 934 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 80760 depends on: Show dependency tree
Bug 80760 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-02-04 11:28 0000
Hi, here's a patch which allows transfig-3.2.4 to compile against gcc-4.0
Ask me if you want me to forward this patch upstream.

Regards.

------- Comment #1 From Stéphane Gimenez 2005-02-04 11:29:53 0000 -------
Created an attachment (id=50366) [details]
allows transfig-3.2.4 to compile against gcc-4

------- Comment #2 From Fabian Groffen 2005-06-15 12:07:42 0000 -------
surpisingly, the ebuild just continues and reports the merge TO BE SUCCESSFUL! 
This is however a bug in the Makefile generated and seems to be fixable by
patching the Makefile afterwards.  No idea whether this is generic.  It is
scary.  See attach 1 which follows this post.

using the patch supplied, the compilation runs further on GCC 4.0.0 OS X Tiger,
but make finally dies with:
/bin/sh: line 1: rman: command not found
make: *** [fig2dev.1.html] Error 127

I guess this should have been a dependency for OSX, as Gentoo Linux systems seem
to have this tool by default without having the rman ebuild installed actually.
 See separate bug for rman 3.1 compiles fine on OSX.

After applying the two patches, the ebuild finally compiled on OS X Portage. 
The ebuild diff is attached secondly below.  The assumed name for the originally
supplied patch is ${P}-gcc-4.0.patch = transfig-3.2.4-gcc-4.0.patch

------- Comment #3 From Fabian Groffen 2005-06-15 12:10:36 0000 -------
Created an attachment (id=61295) [details]
dirty patch for dirty makefile to make sure compilation fails if one subdir
fails to compile

This patch makes sure the whole compilation fails if one subdir (fig2dev for
instance) fails, which happens on Portage OSX with GCC 4.0.  Before this patch
the ebuild just continues and reports build to be fine, while in fact the quite
important fig2dev tool is missing.

------- Comment #4 From Fabian Groffen 2005-06-15 12:12:26 0000 -------
Created an attachment (id=61296) [details]
changes made to make it compile on GCC 4 and fail as soon as one subdir fails

This patch shows the changes I had to make to get the ebuild to compile on
Portage OSX with GCC 4.0

------- Comment #5 From Fabian Groffen 2005-08-13 03:00:32 0000 -------
malverian,

the ebuild (transfig-3.2.4-r2) uses xmkmf and rman which is provided by X, hence
I added the dependency for virtual/x11

Are the changes to the ebuild okay with you (see next post with attach), and
would you like to check them in, or allow me to check them in?

Adding ppc-macos as this bug also solves compilation issue on OSX 10.4 (which
uses GCC4)

------- Comment #6 From Fabian Groffen 2005-08-13 03:03:02 0000 -------
Created an attachment (id=65819) [details]
patch to the ebuild with includes the gcc4 patch and adds virtual/x11
dependency

the used patch is the one supplied by gim initially.

------- Comment #7 From Fabian Groffen 2005-10-31 10:32:28 0000 -------
this is solved now.

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

First Last Prev Next    No search results available      Search page      Enter new bug