From nobody@FreeBSD.org  Thu Sep 29 22:28:33 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id C1AC61065676
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 29 Sep 2011 22:28:33 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id A736E8FC16
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 29 Sep 2011 22:28:33 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p8TMSXc7060345
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 29 Sep 2011 22:28:33 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p8TMSXiQ060344;
	Thu, 29 Sep 2011 22:28:33 GMT
	(envelope-from nobody)
Message-Id: <201109292228.p8TMSXiQ060344@red.freebsd.org>
Date: Thu, 29 Sep 2011 22:28:33 GMT
From: Oliver Hartmann <ohartman@zedat.fu-berlin.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: editors/gobby: CLANG: 
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         161136
>Category:       ports
>Synopsis:       editors/gobby: CLANG:
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    sbz
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 29 22:30:08 UTC 2011
>Closed-Date:    Thu Aug 23 15:27:28 UTC 2012
>Last-Modified:  Thu Aug 23 15:27:28 UTC 2012
>Originator:     Oliver Hartmann
>Release:        FreeBSD 9.0-BETA3/amd64 and FreeBSD 10.0-CURRENT/amd64
>Organization:
FU Berlin
>Environment:
>Description:
Building editors/gobby (0.4.12) with CLANG fails with the below showed error:

In file included from src/config.cpp:39:
./inc/config.hpp:463:7: error: explicit specialization of 'serialise::default_context_to<Glib::ustring>' after instantiation
class default_context_to<Glib::ustring>: public context_base_to<Glib::ustring>
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./inc/config.hpp:83:5: note: implicit instantiation first required here
                                serialise::default_context_to<DataType>()
                                ^
src/config.cpp:388:18: error: unknown type name 'data_type'
        to_string(const data_type& from) const
                        ^
src/config.cpp:388:2: error: template specialization requires 'template<>'
        to_string(const data_type& from) const
        ^
mv -f .deps/gobby-icon.Tpo .deps/gobby-icon.Po
clang++ -DHAVE_CONFIG_H -I. -I./inc  -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include/libxml++-2.6 -I/usr/local/include/libxml++-2.6/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/glib-2.0 -I/usr/local/include/gtkmm-2.4 -I/usr/local/lib/gtkmm-2.4/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/gtk-unix-print-2.0 -I/usr/local/include/gdkmm-2.4 -I/usr/local/lib/gdkmm-2.4/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/pango-1.0 -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/drm -I/usr/local/lib/gtk-2
 .0/include -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/gtksourceview-2.0 -I/usr/local/include/gtkspell-2.0    -I../inc/ -DLOCALE_DIR=\""/usr/local/share/locale"\" -DICONS_DIR=\""/usr/local/share/gobby/icons"\"   -I/usr/local/include  -O3 -pipe -fno-strict-aliasing -march=native -MT gobby-regex.o -MD -MP -MF .deps/gobby-regex.Tpo -c -o gobby-regex.o `test -f 'src/regex.cpp' || echo './'`src/regex.cpp
3 errors generated.
gmake[2]: *** [gobby-config.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
mv -f .deps/gobby-regex.Tpo .deps/gobby-regex.Po
mv -f .deps/gobby-ipc.Tpo .deps/gobby-ipc.Po
mv -f .deps/gobby-encoding.Tpo .deps/gobby-encoding.Po
gmake[2]: Leaving directory `/usr/ports/editors/gobby/work/gobby-0.4.12'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/editors/gobby/work/gobby-0.4.12'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/editors/gobby.
*** Error code 1

Stop in /usr/ports/editors/gobby.

>How-To-Repeat:
Build editors/gobby with CLANG
>Fix:
Use the legacy gcc 4.2 of the base system.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->sbz 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Sep 29 22:30:18 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=161136 
State-Changed-From-To: open->feedback 
State-Changed-By: crees 
State-Changed-When: Fri Sep 30 19:41:08 UTC 2011 
State-Changed-Why:  
Is there any evidence that the port _requires_ gcc, rather than simply 
failing with clang? If it's left as-is, it still gets picked up on 
exp-runs and someone interested can fix it, if a USE_GCC is stuck in 
it'll never get fixed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=161136 

From: Sofian Brabez <sbz@FreeBSD.org>
To: bug-followup@FreeBSD.org, ohartman@zedat.fu-berlin.de
Cc:  
Subject: Re: ports/161136: editors/gobby: CLANG:
Date: Mon, 10 Oct 2011 15:56:48 +0200

 Hi,
 
 Please, if you want to see devel/gobby ready to build with CLANG, provide me a patch,
 otherwise, I'll close the pr as I'm not a clang user.
 
 Regards
 
 --
 Sofian Brabez
State-Changed-From-To: feedback->open 
State-Changed-By: pgollucci 
State-Changed-When: Thu Feb 9 02:35:10 UTC 2012 
State-Changed-Why:  
committer&maintainer timeout (sbz ; 122 days) / last commit: 1 days ago 

http://www.freebsd.org/cgi/query-pr.cgi?pr=161136 

From: "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To: bug-followup@FreeBSD.org, ohartman@zedat.fu-berlin.de
Cc:  
Subject: Re: ports/161136: editors/gobby: CLANG:
Date: Thu, 09 Feb 2012 20:37:09 +0100

 This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
 --------------enigE5334031CFD2D37A89D81D85
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable
 
 Using
 
 USE_GGC=3D	4.6+
 
 on FreeBSD 10.0-CURRENT/amd64 seems to circumference the problem with
 CLANG - temporarily. CLANG still doesn't build editors/gobby correctly,
 the error is still the same.
 
 Regards,
 Oliver
 
 
 --------------enigE5334031CFD2D37A89D81D85
 Content-Type: application/pgp-signature; name="signature.asc"
 Content-Description: OpenPGP digital signature
 Content-Disposition: attachment; filename="signature.asc"
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.18 (FreeBSD)
 
 iQEcBAEBAgAGBQJPNCBrAAoJEOgBcD7A/5N8qioIALqwpNJ4Jcl6ltc5Eb0PbOOU
 i85iqCum+JiJI7klLV9vrg4qV4vC1MRYrCrMWhQHdhXxhFABQvNJ/XMl5er8qmtV
 T93YRGytyboPLBFEcWY/BvRIOBO7wM7VkIfq1lhTImZlqqRdze9CNP5CUtBgNmAN
 Rch+pGIEVWgRaIxgttFTU+UUzWnHsRmrGZrn/7DiUjtg+mxpv5I0rDGfkKhW04i7
 lPAI3E1eTkkhebHVrGmhsVkfYWEeDHdw0228Hj5nltszdKznfYDurvicA/8m5202
 uV27lUMRN0Jm2V+xyBqoQUT141M7wpcze5+EeTE9bMCKjfvs0juXjouNy5nI5dM=
 =CfNs
 -----END PGP SIGNATURE-----
 
 --------------enigE5334031CFD2D37A89D81D85--
State-Changed-From-To: open->closed 
State-Changed-By: sbz 
State-Changed-When: Thu Aug 23 15:27:27 UTC 2012 
State-Changed-Why:  
Gobby doesn't build with clang upstream, a ticket is filled in the 
upstream bugtracker https://gobby.0x539.de/trac/ticket/600. I close this 
pr. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=161136 
>Unformatted:
