[Bug 228640] net-im/kopete fails to build with lld as the system linker due to duplicate symbols

2019-10-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228640

--- Comment #8 from commit-h...@freebsd.org ---
A commit references this bug:

Author: rakuco
Date: Sun Oct 13 14:04:02 UTC 2019
New revision: 514392
URL: https://svnweb.freebsd.org/changeset/ports/514392

Log:
  Drop LLD_UNSAFE=yes.

  The port is building fine on 12.0 and HEAD without setting this. The port's
  build system is still wrong (i.e. the port still builds the same moc-generate
  code in duplicate files), but lld seems to handle this case well.

  A proper fix was sent upstream in https://phabricator.kde.org/D24609.

  I am not bumping PORTREVISION because this only changes build dependencies.

  PR:   228640

Changes:
  head/net-im/kopete/Makefile

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 228640] net-im/kopete fails to build with lld as the system linker due to duplicate symbols

2019-10-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228640

Raphael Kubo da Costa  changed:

   What|Removed |Added

 CC||rak...@freebsd.org

--- Comment #7 from Raphael Kubo da Costa  ---
I've sent https://phabricator.kde.org/D24609 upstream, and will just remove
LLD_UNSAFE=yes in the port for now.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 228640] net-im/kopete fails to build with lld as the system linker due to duplicate symbols

2019-10-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228640

--- Comment #6 from Ed Maste  ---
(In reply to Raphael Kubo da Costa from comment #5)
> I guess lld has gotten smarter since this bug was filed?

Or the original problem was just lld being more strict about a bug which has
since been fixed upstream. In any case if it now builds with lld the LLD_UNSAFE
can be removed.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 228640] net-im/kopete fails to build with lld as the system linker due to duplicate symbols

2019-10-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228640

--- Comment #5 from Raphael Kubo da Costa  ---
Kopete's build system is still "broken" in the sense that some files rely on
automated moc processing by including "foo.moc" in the source code, and some do
not, so the build system also relies on QT_WRAP_CPP() to process some
additional files, so we end up with the moc-generated code in both moc_foo.cxx
and mocs_compilation.cpp (which contains moc-generate code not included
directly by any source files).

However, I've just tried building without LLD_UNSAFE=yes on 12.0 and HEAD and
both worked fine. I guess lld has gotten smarter since this bug was filed?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 228640] net-im/kopete fails to build with lld as the system linker due to duplicate symbols

2018-10-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228640

Tobias C. Berner  changed:

   What|Removed |Added

 Status|New |Closed
 Resolution|--- |FIXED

--- Comment #4 from Tobias C. Berner  ---
Should be fine.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 228640] net-im/kopete fails to build with lld as the system linker due to duplicate symbols

2018-06-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228640

Tobias C. Berner  changed:

   What|Removed |Added

  Flags|maintainer-feedback?(kde@Fr |maintainer-feedback+
   |eeBSD.org)  |

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 228640] net-im/kopete fails to build with lld as the system linker due to duplicate symbols

2018-06-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228640

--- Comment #3 from commit-h...@freebsd.org ---
A commit references this bug:

Author: tcberner
Date: Sun Jun 10 15:40:25 UTC 2018
New revision: 472144
URL: https://svnweb.freebsd.org/changeset/ports/472144

Log:
  net-im/kopete: add work-around to fix build on current

  PR:   228640
  Submitted by: emaste

Changes:
  head/net-im/kopete/Makefile

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 228640] net-im/kopete fails to build with lld as the system linker due to duplicate symbols

2018-06-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228640

Ed Maste  changed:

   What|Removed |Added

 Blocks||214864

--- Comment #2 from Ed Maste  ---
(In reply to Tobias C. Berner from comment #1)
It was found during the exp-run prior to becoming the default (but it seems I
missed recording that in this PR).

We may be able to work around it by setting LLD_UNSAFE=yes to use GNU ld but
ought to identify the underlying cause.


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214864
[Bug 214864] [exp-run] test build with lld as /usr/bin/ld
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 228640] net-im/kopete fails to build with lld as the system linker due to duplicate symbols

2018-06-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228640

Tobias C. Berner  changed:

   What|Removed |Added

 CC||tcber...@freebsd.org

--- Comment #1 from Tobias C. Berner  ---
My best guess is that this is a fallout from /usr/bin/ld now being lld 6.0 on
current?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 228640] net-im/kopete fails to build with lld as the system linker due to duplicate symbols

2018-05-31 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228640

Bug ID: 228640
   Summary: net-im/kopete fails to build with lld as the system
linker due to duplicate symbols
   Product: Ports & Packages
   Version: Latest
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Only Me
  Priority: ---
 Component: Individual Port(s)
  Assignee: k...@freebsd.org
  Reporter: ema...@freebsd.org
 Flags: maintainer-feedback?(k...@freebsd.org)
  Assignee: k...@freebsd.org

From
http://package18.nyi.freebsd.org/data/headamd64PR214864cxx98-default/2018-05-29_20h14m12s/logs/errors/kopete-18.04.1.log

/usr/bin/ld: error: duplicate symbol:
JDnsShutdown::qt_metacall(QMetaObject::Call, int, void**)
>>> defined at moc_qjdnsshared_p.cxx
>>>
>>> moc_qjdnsshared_p.cxx.o:(JDnsShutdown::qt_metacall(QMetaObject::Call, int, 
>>> void**)) in archive protocols/jabber/libiris/libiris_kopete.a
>>> defined at mocs_compilation.cpp
>>>mocs_compilation.cpp.o:(.text+0xB0F0) in archive 
>>> protocols/jabber/libiris/libiris_kopete.a

-- 
You are receiving this mail because:
You are the assignee for the bug.

maintainer-feedback requested: [Bug 228640] net-im/kopete fails to build with lld as the system linker due to duplicate symbols

2018-05-31 Thread bugzilla-noreply
Bugzilla Automation  has asked k...@freebsd.org for
maintainer-feedback:
Bug 228640: net-im/kopete fails to build with lld as the system linker due to
duplicate symbols
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228640



--- Description ---
From
http://package18.nyi.freebsd.org/data/headamd64PR214864cxx98-default/2018-05-29
_20h14m12s/logs/errors/kopete-18.04.1.log

/usr/bin/ld: error: duplicate symbol:
JDnsShutdown::qt_metacall(QMetaObject::Call, int, void**)
>>> defined at moc_qjdnsshared_p.cxx
>>>   
moc_qjdnsshared_p.cxx.o:(JDnsShutdown::qt_metacall(QMetaObject::Call, int,
void**)) in archive protocols/jabber/libiris/libiris_kopete.a
>>> defined at mocs_compilation.cpp
>>>mocs_compilation.cpp.o:(.text+0xB0F0) in archive
protocols/jabber/libiris/libiris_kopete.a