[Bug 275843] net/samba416: linker error on 15-CURRENT

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 19 Dec 2023 19:08:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275843

            Bug ID: 275843
           Summary: net/samba416: linker error on 15-CURRENT
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: timur@FreeBSD.org
          Reporter: cy@FreeBSD.org
          Assignee: timur@FreeBSD.org
             Flags: maintainer-feedback?(timur@FreeBSD.org)

Following linker error under 15-CURRENT:

[501/501] Linking bin/default/lib/replace/libreplace-samba4.so
runner ['cc', '-Wl,--as-needed',
'-Wl,--version-script=/export/wrkdir/amd64/export/freebsd/git/ports/net/samba416/work/samba-4.16.11/bin/default/lib/replace/replace.vscript',
'-shared', 'lib/replace/replace.c.3.o', 'lib/replace/strptime.c.3.o',
'lib/replace/xattr.c.3.o',
'-o/export/wrkdir/amd64/export/freebsd/git/ports/net/samba416/work/samba-4.16.11/bin/default/lib/replace/libreplace-samba4.so',
'-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/usr/local/lib',
'-Wl,-rpath,/usr/local/lib:/usr/lib', '-fstack-protector-strong',
'-L/usr/local/lib', '-Wl,-z,relro,-z,now', '-Wl,--export-dynamic',
'-Wl,--allow-shlib-undefined']
ld: error: version script assignment of 'local' to symbol '_end' failed: symbol
not defined
ld: error: version script assignment of 'local' to symbol '__bss_start' failed:
symbol not defined
ld: error: version script assignment of 'local' to symbol '_edata' failed:
symbol not defined
cc: error: linker command failed with exit code 1 (use -v to see invocation)

Waf: Leaving directory
`/export/wrkdir/amd64/export/freebsd/git/ports/net/samba416/work/samba-4.16.11/bin/default'
Build failed
 -> task in 'replace' failed with exit status 1: 
        {task 70310285533584: cshlib replace.c.3.o,strptime.c.3.o,xattr.c.3.o
-> libreplace-samba4.so}
['cc', '-Wl,--as-needed',
'-Wl,--version-script=/export/wrkdir/amd64/export/freebsd/git/ports/net/samba416/work/samba-4.16.11/bin/default/lib/replace/replace.vscript',
'-shared', 'lib/replace/replace.c.3.o', 'lib/replace/strptime.c.3.o',
'lib/replace/xattr.c.3.o',
'-o/export/wrkdir/amd64/export/freebsd/git/ports/net/samba416/work/samba-4.16.11/bin/default/lib/replace/libreplace-samba4.so',
'-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/usr/local/lib',
'-Wl,-rpath,/usr/local/lib:/usr/lib', '-fstack-protector-strong',
'-L/usr/local/lib', '-Wl,-z,relro,-z,now', '-Wl,--export-dynamic',
'-Wl,--allow-shlib-undefined']
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /export/freebsd/git/ports/net/samba416
*** Error code 1

Stop.
make: stopped in /export/freebsd/git/ports/net/samba416
bob$ 

Initially discovered with poudriere build.

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