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. Fix: Use the legacy gcc 4.2 of the base system. How-To-Repeat: Build editors/gobby with CLANG
Responsible Changed From-To: freebsd-ports-bugs->sbz Over to maintainer (via the GNATS Auto Assign Tool)
State Changed From-To: open->feedback 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.
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 committer&maintainer timeout (sbz ; 122 days) / last commit: 1 days ago
Using USE_GGC= 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
State Changed From-To: open->closed 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.