cvs commit: ports/x11/gmrun Makefile ports/x11/gmrun/files patch-src__gtkcompletionline.cc patch-src__gtkcompletionline.h

QAT at FreeBSD.org QAT at FreeBSD.org
Wed Jan 20 19:04:10 UTC 2010


The Restless Daemon identified a bad_C++_code error while trying to build:
 gmrun-0.9.2_7 maintained by ports at FreeBSD.org
 Makefile ident: $FreeBSD: ports/x11/gmrun/Makefile,v 1.31 2010/01/20 18:59:52 garga Exp $

Excerpt from http://QAT.TecNik93.com/logs/8-STABLE-NPD/gmrun-0.9.2_7.log :

checking for gtk+-2.0 >= 2.0.5... yes
checking GTK_CFLAGS... -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2  
checking GTK_LIBS... -pthread -L/usr/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lgio-2.0 -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lpangoft2-1.0 -lXfixes -lcairo -lX11 -lpango-1.0 -lm -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0  
updating cache ./config.cache
creating ./config.status
creating Makefile
creating src/Makefile
creating config/Makefile
creating gmrun.spec
creating config.h
===>  Building for gmrun-0.9.2_7
gmake  all-recursive
gmake[1]: Entering directory `/work/a/ports/x11/gmrun/work/gmrun-0.9.2'
Making all in src
gmake[2]: Entering directory `/work/a/ports/x11/gmrun/work/gmrun-0.9.2/src'
c++ -DHAVE_CONFIG_H -I. -I. -I.. -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2     -I/usr/local/include  -O2 -pipe -fno-strict-aliasing -c gtkcompletionline.cc
c++ -DHAVE_CONFIG_H -I. -I. -I.. -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2     -I/usr/local/include  -O2 -pipe -fno-strict-aliasing -c history.cc
c++ -DHAVE_CONFIG_H -I. -I. -I.. -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2     -I/usr/local/include  -O2 -pipe -fno-strict-aliasing -c main.cc
c++ -DHAVE_CONFIG_H -I. -I. -I.. -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2     -I/usr/local/include  -O2 -pipe -fno-strict-aliasing -c prefs.cc
gtkcompletionline.cc: In function 'void generate_execs()':
gtkcompletionline.cc:411: error: invalid conversion from 'int (*)(const dirent*)' to 'int (*)(dirent*)'
gtkcompletionline.cc:411: error:   initializing argument 3 of 'int scandir(const char*, dirent***, int (*)(dirent*), int (*)(const void*, const void*))'
gtkcompletionline.cc:411: error: invalid conversion from 'int (*)(const dirent**, const dirent**)' to 'int (*)(const void*, const void*)'
gtkcompletionline.cc:411: error:   initializing argument 4 of 'int scandir(const char*, dirent***, int (*)(dirent*), int (*)(const void*, const void*))'
gtkcompletionline.cc: In function 'int generate_dirlist(const char*)':
gtkcompletionline.cc:511: error: invalid conversion from 'int (*)(const dirent*)' to 'int (*)(dirent*)'
gtkcompletionline.cc:511: error:   initializing argument 3 of 'int scandir(const char*, dirent***, int (*)(dirent*), int (*)(const void*, const void*))'
gtkcompletionline.cc:511: error: invalid conversion from 'int (*)(const dirent**, const dirent**)' to 'int (*)(const void*, const void*)'
gtkcompletionline.cc:511: error:   initializing argument 4 of 'int scandir(const char*, dirent***, int (*)(dirent*), int (*)(const void*, const void*))'
gmake[2]: *** [gtkcompletionline.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: Leaving directory `/work/a/ports/x11/gmrun/work/gmrun-0.9.2/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/work/a/ports/x11/gmrun/work/gmrun-0.9.2'
gmake: *** [all-recursive-am] Error 2
*** Error code 1

Stop in /a/ports/x11/gmrun.
================================================================
build of /usr/ports/x11/gmrun ended at Wed Jan 20 19:04:05 UTC 2010

PortsMon page for the port:
http://portsmon.freebsd.org/portoverview.py?category=x11&portname=gmrun

The build which triggered this BotMail was done under
tinderbox-3.3_3; dsversion: 3.2.1 on RELENG_8 on amd64, kern.smp.cpus: 8
with tinderd_flags="-nullfs -plistcheck -onceonly" and ccache support, with the
"official" up-to-date Ports Tree, with the following vars set:
NOPORTDOCS=yes,  NOPORTEXAMPLES=yes, NOPORTDATA=yes, FORCE_PACKAGE=yes.

A description of the testing process can be found here:
http://T32.TecNik93.com/FreeBSD/QA-Tindy/


Thanks for your work on making FreeBSD better,

--
QAT - your friendly neighborhood Daemon,
preparing  a heck of an error trapping system:
 - "HMC and EOI?"
 - "Halt, Melt and Catch fire or Execute Operator Immediately."



More information about the freebsd-ports mailing list