Bug 253330

Summary: x11/mrxvt-devel: fix ld: errors: duplicate symbol in FreeBSD 13
Product: Ports & Packages Reporter: Jose G. Juanino <jjuanino>
Component: Individual Port(s)Assignee: Lars Engels <lme>
Status: Closed FIXED    
Severity: Affects Some People CC: lme
Priority: --- Flags: koobs: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Fix error: duplicate symbol: error none

Description Jose G. Juanino 2021-02-07 22:13:22 UTC
Created attachment 222249 [details]
Fix error: duplicate symbol: error

Hi,

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 freebsd_triage 2021-02-07 22:31:21 UTC
Committed, thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 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

Log:
  x11/mxrvt-devel:

  - 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

Changes:
  head/x11/mrxvt-devel/Makefile
Comment 3 Kubilay Kocak freebsd_committer freebsd_triage 2021-02-09 01:45:48 UTC
^Triage: Re-open pending merge
Comment 4 Lars Engels freebsd_committer freebsd_triage 2022-04-03 11:24:34 UTC
Back to the pool. I don't maintain the port anymore.
Comment 5 Mark Linimon freebsd_committer freebsd_triage 2024-02-08 03:34:48 UTC
^Triage: assign to committer.  Close this because the merge-quarterly is long OBE.