Bug 274626

Summary: multimedia/totem-pl-parser: fix build with lld 17
Product: Ports & Packages Reporter: Dimitry Andric <dim>
Component: Individual Port(s)Assignee: freebsd-gnome (Nobody) <gnome>
Status: Closed FIXED    
Severity: Affects Only Me CC: fluffy
Priority: --- Flags: fluffy: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 273753    
Attachments:
Description Flags
multimedia/totem-pl-parser: fix build with lld 17 none

Description Dimitry Andric freebsd_committer freebsd_triage 2023-10-21 12:27:39 UTC
Building multimedia/totem-pl-parser with lld 17 results in the following
link errors:

  ld: error: version script assignment of 'LIBTOTEM_PL_PARSER_MINI_1.0' to symbol 'totem_disc_media_type_get_type' failed: symbol not defined
  ld: error: version script assignment of 'LIBTOTEM_PL_PARSER_MINI_1.0' to symbol 'totemplparser_marshal_VOID__STRING_STRING_STRING' failed: symbol not defined

The mentioned symbols no longer exist in libtotem-pl-parser, and can be
deleted from the linker version script.
Comment 1 Dimitry Andric freebsd_committer freebsd_triage 2023-10-21 12:28:06 UTC
Created attachment 245774 [details]
multimedia/totem-pl-parser: fix build with lld 17
Comment 2 Dima Panov freebsd_committer freebsd_triage 2023-10-21 23:06:57 UTC
(In reply to Dimitry Andric from comment #1)

Please ship it.

And now you have approval for any future lld/llvm fixes for gnome@ ports as well as you already have it for any desktop@ ports

Dima, on behalf of gnome@
Comment 3 commit-hook freebsd_committer freebsd_triage 2023-10-26 16:39:12 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=275b35b570bdb46a16d3b87cf7c06ffaa97ff0fd

commit 275b35b570bdb46a16d3b87cf7c06ffaa97ff0fd
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2023-10-21 12:24:48 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2023-10-26 16:37:05 +0000

    multimedia/totem-pl-parser: fix build with lld 17

    Building multimedia/totem-pl-parser with lld 17 results in the following
    link errors:

      ld: error: version script assignment of 'LIBTOTEM_PL_PARSER_MINI_1.0' to symbol 'totem_disc_media_type_get_type' failed: symbol not defined
      ld: error: version script assignment of 'LIBTOTEM_PL_PARSER_MINI_1.0' to symbol 'totemplparser_marshal_VOID__STRING_STRING_STRING' failed: symbol not defined

    The mentioned symbols no longer exist in libtotem-pl-parser, and can be
    deleted from the linker version script.

    PR:             274626
    Approved by:    gnome (blanket)
    MFH:            2023Q4

 .../files/patch-plparse_plparser.map (new)             | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)