[MacPorts] #33014: vstr build failure with clang: ld: duplicate symbol _vstr_ref_del in .libs/fix.o and .libs/assert_loop.o
MacPorts
noreply at macports.org
Wed Jan 25 18:20:08 PST 2012
#33014: vstr build failure with clang: ld: duplicate symbol _vstr_ref_del in
.libs/fix.o and .libs/assert_loop.o
-------------------------------+--------------------------------------------
Reporter: djcc04@… | Owner: ryandesign@…
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Resolution: | Keywords: clang
Port: vstr |
-------------------------------+--------------------------------------------
Changes (by djcc04@…):
* status: closed => reopened
* resolution: fixed =>
Comment:
Hi Ryan,
I installed macports clang, and added the modification to the Portfile.
I still get a build error. It is still the duplicate object, however it
is reported by clang. I've added my Portfile below the break to make sure
I've added the lines correctly.
:info:build ld: duplicate symbol _vstr_ref_del in .libs/fix.o and
.libs/assert_loop.o for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v
to see invocation)
---------------.-.- Portfile -.-.-----------------------------
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c
-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 55144 2009-08-07 03:10:31Z toby at macports.org $
PortSystem 1.0
name vstr
version 1.0.15
categories devel
maintainers nomaintainer
description Vstr string library
long_description Vstr is a safe and fast string library for C.
homepage http://www.and.org/vstr/
platforms darwin
master_sites ${homepage}${version}/ \
ftp://ftp.and.org/pub/james/vstr/${version}/
use_bzip2 yes
use_parallel_build yes
checksums md5 578061d198bfe2d30b28b75ef8d92ceb \
sha1 4d2c19cb83f30239b3800abc5c9eda4f24dd0b78 \
rmd160 4b10b3b62a86e9c910f3e45439b9cb862e6f8eba
# ld: duplicate symbol _vstr_ref_del in .libs/fix.o and
.libs/assert_loop.o
if {${configure.compiler} == "llvm-gcc-4.2"} {
configure.compiler clang
}
configure.args --mandir=${prefix}/share/man
--
Ticket URL: <https://trac.macports.org/ticket/33014#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list