Bug 201977 - x11-toolkits/gtk30 is failing to build on powerpc
Summary: x11-toolkits/gtk30 is failing to build on powerpc
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: powerpc Any
: --- Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-29 19:10 UTC by herminio.hernandezjr
Modified: 2016-01-17 11:31 UTC (History)
5 users (show)

See Also:


Attachments
error (3.66 KB, text/plain)
2015-07-29 19:10 UTC, herminio.hernandezjr
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description herminio.hernandezjr 2015-07-29 19:10:03 UTC
Created attachment 159369 [details]
error

I am trying to install xfce which requires gtk30. The port is failing to build. I am attaching the error I am seeing.
Comment 1 Koop Mast freebsd_committer freebsd_triage 2015-07-29 20:58:27 UTC
The log doesn't actualy mentioned why it failing. Do you see anything in dmesg about a process crashing? Also which version of FreeBSD is this and 32/64bit?
Comment 2 Justin Hibbits freebsd_committer freebsd_triage 2015-07-29 21:02:13 UTC
I recall running into this a while back myself.  My solution was to USE_GCC.  Can you try setting USE_GCC=yes?  I think it's simply a problem with our base gcc and binutils being too old.
Comment 3 herminio.hernandezjr 2015-07-29 22:22:47 UTC
This is a 32bit powerpc iBook G4.  I do not see anything in dmesg that would indicate a crash. I tried to make the port again and I keep getting this

gtkcssselector.c:990: internal compiler error: internal inconsistency failure

then I see

gmake[6] *** [libgtk_3_la-gtkcssselector.lo] error 1
Comment 4 herminio.hernandezjr 2015-07-29 22:24:49 UTC
When I try USE_GCC=yes I get this error:

unknown version of GCC specified
Comment 5 herminio.hernandezjr 2015-07-31 00:59:41 UTC
Here is the full output

gmake[6]: Entering directory '/usr/ports/x11-toolkits/gtk30/work/gtk+-3.14.15/gtk'
  CC       libgtk_3_la-gtkcssselector.lo
Makefile:4350: recipe for target 'libgtk_3_la-gtkcssselector.lo' failed
gmake[6]: Leaving directory '/usr/ports/x11-toolkits/gtk30/work/gtk+-3.14.15/gtk'
Makefile:6189: recipe for target 'all-recursive' failed
gmake[5]: Leaving directory '/usr/ports/x11-toolkits/gtk30/work/gtk+-3.14.15/gtk'
Makefile:2347: recipe for target 'all' failed
gmake[4]: Leaving directory '/usr/ports/x11-toolkits/gtk30/work/gtk+-3.14.15/gtk'
Makefile:711: recipe for target 'all-recursive' failed
gmake[3]: Leaving directory '/usr/ports/x11-toolkits/gtk30/work/gtk+-3.14.15'
Makefile:609: recipe for target 'all' failed
gmake[2]: Leaving directory '/usr/ports/x11-toolkits/gtk30/work/gtk+-3.14.15'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/x11-toolkits/gtk30
*** Error code 1

Stop.
make: stopped in /usr/ports/x11-toolkits/gtk30
Comment 6 herminio.hernandezjr 2015-07-31 01:02:24 UTC
I tried building the port just now and got this error.

gmake[6]: Entering directory '/usr/ports/x11-toolkits/gtk30/work/gtk+-3.14.15/gtk'
  CC       libgtk_3_la-gtkcssselector.lo
gtkcssselector.c: In function 'gtk_css_selector_class_tree_get_change':
gtkcssselector.c:990: internal compiler error: internal consistency failure
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.freebsd.org/support.html> for instructions.
Makefile:4350: recipe for target 'libgtk_3_la-gtkcssselector.lo' failed
gmake[6]: *** [libgtk_3_la-gtkcssselector.lo] Error 1
gmake[6]: Leaving directory '/usr/ports/x11-toolkits/gtk30/work/gtk+-3.14.15/gtk'
Makefile:6189: recipe for target 'all-recursive' failed
gmake[5]: *** [all-recursive] Error 1
gmake[5]: Leaving directory '/usr/ports/x11-toolkits/gtk30/work/gtk+-3.14.15/gtk'
Makefile:2347: recipe for target 'all' failed
gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory '/usr/ports/x11-toolkits/gtk30/work/gtk+-3.14.15/gtk'
Makefile:711: recipe for target 'all-recursive' failed
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory '/usr/ports/x11-toolkits/gtk30/work/gtk+-3.14.15'
Makefile:609: recipe for target 'all' failed
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory '/usr/ports/x11-toolkits/gtk30/work/gtk+-3.14.15'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/x11-toolkits/gtk30
*** Error code 1

Stop.
Comment 7 Curtis 2015-07-31 01:45:55 UTC
I encountered the same error when building on a PowerBook G4 and is caused by using the stock version of GCC.  Updating to version 4.8 will solve the build problem.