NetBSD Problem Report #53116
From john@platypus.nextvr.com Tue Mar 20 20:58:34 2018
Return-Path: <john@platypus.nextvr.com>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 65CFF7A167
for <gnats-bugs@gnats.NetBSD.org>; Tue, 20 Mar 2018 20:58:34 +0000 (UTC)
Message-Id: <20180320194104.DF6A8DCED58@platypus.nextvr.com>
Date: Tue, 20 Mar 2018 19:41:04 +0000 (UTC)
From: john@ziaspace.com
Reply-To: john@ziaspace.com
To: gnats-bugs@NetBSD.org
Subject: fonts/harfbuzz fails to build on Clear Linux
X-Send-Pr-Version: 3.95
>Number: 53116
>Category: pkg
>Synopsis: fonts/harfbuzz fails to build on Clear Linux
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Mar 20 21:00:00 +0000 2018
>Last-Modified: Wed Mar 21 15:25:00 +0000 2018
>Originator: John Klos
>Release: Linux 4.15.9-538.native #1 SMP Thu Mar 15 22:20:57 UTC 2018 x86_64 GNU/Linux
>Organization:
>Environment:
System: Linux 4.15.9-538.native #1 SMP Thu Mar 15 22:20:57 UTC 2018 x86_64 GNU/Linux
Architecture: x86_64
Machine: amd64
>Description:
With a clean system, with pkgsrc from today, and with no other packages
installed, try to install something which has fonts/harfbuzz as a
dependency:
...
CCLD test-subset-hmtx
CCLD test-unicode
../../src/.libs/libharfbuzz.so: undefined reference to `__gxx_personality_v0'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:924: test-version] Error 1
make[3]: *** Waiting for unfinished jobs....
../../src/.libs/libharfbuzz.so: undefined reference to `__gxx_personality_v0'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:880: test-ot-color] Error 1
../../src/.libs/libharfbuzz.so: undefined reference to `__gxx_personality_v0'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:864: test-common] Error 1
../../src/.libs/libharfbuzz.so: undefined reference to `__gxx_personality_v0'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:860: test-c] Error 1
../../src/.libs/libharfbuzz.so: undefined reference to `__gxx_personality_v0'
collect2: error: ld returned 1 exit status
../../src/.libs/libharfbuzz.so: undefined reference to `__gxx_personality_v0'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:896: test-shape] Error 1
make[3]: *** [Makefile:852: test-blob] Error 1
../../src/.libs/libharfbuzz.so: undefined reference to `__gxx_personality_v0'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:876: test-object] Error 1
make[3]: Leaving directory '/usr/pkgsrc/fonts/harfbuzz/work/harfbuzz-1.7.6/test/api'
make[2]: *** [Makefile:423: all-recursive] Error 1
make[2]: Leaving directory '/usr/pkgsrc/fonts/harfbuzz/work/harfbuzz-1.7.6/test'
make[1]: *** [Makefile:514: all-recursive] Error 1
make[1]: Leaving directory '/usr/pkgsrc/fonts/harfbuzz/work/harfbuzz-1.7.6'
make: *** [Makefile:446: all] Error 2
*** Error code 2
Stop.
bmake[6]: stopped in /usr/pkgsrc/fonts/harfbuzz
*** Error code 1
>How-To-Repeat:
>Fix:
>Audit-Trail:
From: Benny Siegert <bsiegert@gmail.com>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/53116: fonts/harfbuzz fails to build on Clear Linux
Date: Wed, 21 Mar 2018 15:23:09 +0000
> CCLD test-subset-hmtx
> CCLD test-unicode
The problem is that the build should be using a CXXLD rule, i.e. link with
the C++ compiler.
> ../../src/.libs/libharfbuzz.so: undefined reference to
`__gxx_personality_v0'
This is typically an error you get when trying to link C++ code with the C
compiler.
--
Benny
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.