From owner-freebsd-gnome@FreeBSD.ORG Wed Dec 17 23:07:35 2014 Return-Path: Delivered-To: gnome@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B4BED362 for ; Wed, 17 Dec 2014 23:07:35 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A0C90DBE for ; Wed, 17 Dec 2014 23:07:35 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sBHN7Z3d083152 for ; Wed, 17 Dec 2014 23:07:35 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: maintainer-feedback requested: [Bug 196078] [patch] unbreak x11-fm/sushi build on FreeBSD 8 Date: Wed, 17 Dec 2014 23:07:35 +0000 X-Bugzilla-Type: request Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Dec 2014 23:07:35 -0000 Don Lewis has reassigned Bugzilla Automation 's request for maintainer-feedback to gnome@FreeBSD.org: Bug 196078: [patch] unbreak x11-fm/sushi build on FreeBSD 8 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196078 --- Description --- Created attachment 150698 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=150698&action=edit patch to unbreak x11-fm/sushi build on FreeBSD 8 After the patch in PR 196031 to unbreak the build of www/webkit-gtk3 on FreeBSD 8, the build of x11-fm/sushi fails with these errors: GISCAN Sushi-1.0.gir /usr/local/lib/libwebkitgtk-3.0.so: undefined reference to `_ZSt25__throw_bad_function_callv@GLIBCXX_3.4.14' /usr/local/lib/libwebkitgtk-3.0.so: undefined reference to `_ZNSt18condition_variable4waitERSt11unique_lockISt5mutexE@GLIBCXX_3.4.11' /usr/local/lib/libjavascriptcoregtk-3.0.so: undefined reference to `_ZNSt6chrono3_V212system_clock3nowEv@GLIBCXX_3.4.19' /usr/local/lib/libwebkitgtk-3.0.so: undefined reference to `_ZSt15__once_callable@GLIBCXX_3.4.11' /usr/local/lib/libwebkitgtk-3.0.so: undefined reference to `_ZNSt8__detail15_List_node_base7_M_hookEPS0_@GLIBCXX_3.4.15' /usr/local/lib/libwebkitgtk-3.0.so: undefined reference to `_ZSt11__once_call@GLIBCXX_3.4.11' /usr/local/lib/libwebkitgtk-3.0.so: undefined reference to `_ZNSt18condition_variableD1Ev@GLIBCXX_3.4.11' /usr/local/lib/libwebkitgtk-3.0.so: undefined reference to `_ZSt20__throw_system_errori@GLIBCXX_3.4.11' /usr/local/lib/libwebkitgtk-3.0.so: undefined reference to `_ZNSt18condition_variable10notify_oneEv@GLIBCXX_3.4.11' /usr/local/lib/libwebkitgtk-3.0.so: undefined reference to `_ZNSt18condition_variableC1Ev@GLIBCXX_3.4.11' /usr/local/lib/libjavascriptcoregtk-3.0.so: undefined reference to `_ZNSt18condition_variable10notify_allEv@GLIBCXX_3.4.11' /usr/local/lib/libwebkitgtk-3.0.so: undefined reference to `_ZNSt6chrono3_V212steady_clock3nowEv@GLIBCXX_3.4.19' /usr/local/lib/libwebkitgtk-3.0.so: undefined reference to `__once_proxy@GLIBCXX_3.4.11' Makefile:672: recipe for target 'sushi-start' failed This patch adds USES=compiler:c++11-lib, which should be a no-op if the base compiler is clang, but should force the use of gcc and binutils from ports and also adds -L/usr/local/lib/gcc48 to LDFLAGS. After that change, the build still fails, but with this error: GISCAN Sushi-1.0.gir /libexec/ld-elf.so.1: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.14 required b y /usr/local/lib/libwebkitgtk-3.0.so.0 not found Command '['/wrkdirs/usr/ports/x11-fm/sushi/work/sushi-3.12.0/src/tmp-introspectj KttWB/Sushi-1.0', '--introspect-dump=/wrkdirs/usr/ports/x11-fm/sushi/work/sushi- 3.12.0/src/tmp-introspectjKttWB/functions.txt,/wrkdirs/usr/ports/x11-fm/sushi/w o rk/sushi-3.12.0/src/tmp-introspectjKttWB/dump.xml']' returned non-zero exit stat us 1 /usr/local/share/gobject-introspection-1.0/Makefile.introspection:153: recipe fo r target 'Sushi-1.0.gir' failed gmake[2]: *** [Sushi-1.0.gir] Error 1 For some reason, the linker is using libstdc++.so from base instead of version installed by the gcc port. Fortunately, just adding -lstdc++ to LDFLAGS fixes this problem, so that change is also included in the patch. I don't know if this is the best fix, but it unbreaks the build for me. --- Comment #1 from Bugzilla Automation --- Auto-assigned to maintainer gnome@FreeBSD.org