ports/161136: editors/gobby: CLANG:

Oliver Hartmann ohartman at zedat.fu-berlin.de
Thu Sep 29 22:30:08 UTC 2011


>Number:         161136
>Category:       ports
>Synopsis:       editors/gobby: CLANG:
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 29 22:30:08 UTC 2011
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list