Bug 253330 - x11/mrxvt-devel: fix ld: errors: duplicate symbol in FreeBSD 13
Summary: x11/mrxvt-devel: fix ld: errors: duplicate symbol in FreeBSD 13
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Lars Engels
Depends on:
Reported: 2021-02-07 22:13 UTC by jjuanino
Modified: 2021-02-09 01:45 UTC (History)
1 user (show)

See Also:
koobs: maintainer-feedback+
koobs: merge-quarterly?

Fix error: duplicate symbol: error (351 bytes, patch)
2021-02-07 22:13 UTC, jjuanino
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description jjuanino 2021-02-07 22:13:22 UTC
Created attachment 222249 [details]
Fix error: duplicate symbol: error


in FreeBSD 13 version, compiling x11/mrxvt-devel leads to following errors:

ld: error: duplicate symbol: macroFnNames
>>> defined at command.c
>>>            command.o:(macroFnNames)
>>> defined at scrollbar-xterm.c
>>>            scrollbar-xterm.o:(.bss+0x0)

The proposed patch fix this issue. Regards
Comment 1 Lars Engels freebsd_committer 2021-02-07 22:31:21 UTC
Committed, thanks!
Comment 2 commit-hook freebsd_committer 2021-02-07 22:31:46 UTC
A commit references this bug:

Author: lme
Date: Sun Feb  7 22:31:03 UTC 2021
New revision: 564656
URL: https://svnweb.freebsd.org/changeset/ports/564656


  - Fix build by adding -fnocommon to CFLAGS [1]
  - Add missing LIB_DEPENDS and USE_XORG components

  PR:		253330 [1]
  Submitted by:	jjuanino <jjuanino@gmail.com>
  MFH:		2021Q1

Comment 3 Kubilay Kocak freebsd_committer freebsd_triage 2021-02-09 01:45:48 UTC
^Triage: Re-open pending merge