Bug 113108 - devel/g-wrap does not build ( C99 inline functions..)
Summary: devel/g-wrap does not build ( C99 inline functions..)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-29 06:10 UTC by robbak
Modified: 2007-05-29 22:00 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description robbak 2007-05-29 06:10:05 UTC
	devel/g-wrap fails to build with the following errors on the system noted above:

Script started on Tue May 29 14:40:50 2007
[robbak@boffin /usr/ports/devel/g-wrap]$ sudo make __MAKE_CONF=/dev/null clean buuild
Password:
===>  Cleaning for guile-1.6.8_3
----8< snip
 cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../g-wrap -I../../.. -I../../../guile -I../../../libffi/include -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -O2 -fno-strict-aliasing -pipe -fPIC -Wall -Wmissing-prototypes -Werror -std=gnu99 -MT libgw_guile_gw_glib_la-gw-glib.lo -MD -MP -MF .deps/libgw_guile_gw_glib_la-gw-glib.Tpo -c gw-glib.c  -fPIC -DPIC -o .libs/libgw_guile_gw_glib_la-gw-glib.o
cc1: warnings being treated as errors
In file included from /usr/local/include/glib-2.0/glib/gstring.h:32,
                 from /usr/local/include/glib-2.0/glib/giochannel.h:32,
                 from /usr/local/include/glib-2.0/glib.h:47,
                 from gw-glib.c:5:
/usr/local/include/glib-2.0/glib/gutils.h:277: warning: C99 inline functions are not supported; using GNU89
/usr/local/include/glib-2.0/glib/gutils.h:277: warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute
/usr/local/include/glib-2.0/glib/gutils.h:291: warning: C99 inline functions are not supported; using GNU89
----8< snip similar lines...
gmake[4]: *** [libgw_guile_gw_glib_la-gw-glib.lo] Error 1
gmake[4]: Leaving directory `/usr/ports/devel/g-wrap/work/g-wrap-1.9.6/guile/g-wrap/gw'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/ports/devel/g-wrap/work/g-wrap-1.9.6/guile/g-wrap'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/devel/g-wrap/work/g-wrap-1.9.6/guile'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/devel/g-wrap/work/g-wrap-1.9.6'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/devel/g-wrap.

Fix: 

As a work-around, the compiled package can be used for now.
How-To-Repeat: 	cd /usr/ports/devel/g-wrap; make build
Comment 1 Edwin Groothuis freebsd_committer 2007-05-29 06:10:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer
Comment 2 Joe Marcus Clarke freebsd_committer 2007-05-29 21:52:25 UTC
State Changed
From-To: open->closed

This is now fixed.
Comment 3 dfilter service freebsd_committer 2007-05-29 21:52:29 UTC
marcus      2007-05-29 20:52:20 UTC

  FreeBSD ports repository

  Modified files:
    devel/g-wrap         Makefile 
  Log:
  Add --disable-Werror to fix the build with GCC 4.2
  
  PR:             113108
  
  Revision  Changes    Path
  1.44      +1 -0      ports/devel/g-wrap/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"