[Bug 282526] www/gohugo: fails to build with LLVM 19.1.2

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 03 Nov 2024 22:10:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282526

            Bug ID: 282526
           Summary: www/gohugo: fails to build with LLVM 19.1.2
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: doceng@FreeBSD.org
          Reporter: kenrap@kennethraplee.com
             Flags: maintainer-feedback?(doceng@FreeBSD.org)
          Assignee: doceng@FreeBSD.org

% uname -aKU
FreeBSD freebsd 15.0-CURRENT FreeBSD 15.0-CURRENT #0 main-n273419-523913c94371:
Sun Nov  3 03:45:54 PST 2024    
root@freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG amd64 1500026
1500026

The following is a gdb backtrace of the coredump:

Reading symbols from hugo...
(No debugging symbols found in hugo)

warning: exec file is newer than core file.
[New LWP 452354]

warning: .dynamic section for "/usr/local/lib/libwebp.so.7" is not at the
expected address (wrong library or version mismatch?)

warning: .dynamic section for "/usr/local/lib/libsass.so.1" is not at the
expected address (wrong library or version mismatch?)

warning: .dynamic section for "/usr/local/lib/libsharpyuv.so.0" is not at the
expected address (wrong library or version mismatch?)
Core was generated by `/wrkdirs/usr/ports/www/gohugo/work/bin/hugo gen man
--dir man/man1/'.
Program terminated with signal SIGSEGV, Segmentation fault.
Invalid permissions for mapped object.
#0  0x000000082735e000 in ?? () from /usr/local/lib/libsass.so.1
(gdb) bt
#0  0x000000082735e000 in ?? () from /usr/local/lib/libsass.so.1
#1  0x0000000827537a6a in Sass::Parser::css_error(std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> > const&,
std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> > const&, std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool) () from
/usr/local/lib/libsass.so.1
#2  0x0000000827479cbe in
Sass::Comment::perform(Sass::Operation<Sass::SupportsCondition*>*) () from
/usr/local/lib/libsass.so.1
#3  0x000034c8fec6a47d in objlist_call_init (list=list@entry=0x824bbb990,
lockstate=lockstate@entry=0x824bbb780) at /usr/src/libexec/rtld-elf/rtld.c:3118
#4  0x000034c8fec69039 in _rtld (sp=<optimized out>, exit_proc=0x824bbba00,
objp=0x824bbba08) at /usr/src/libexec/rtld-elf/rtld.c:964
#5  0x000034c8fec65d89 in rtld_start () at
/usr/src/libexec/rtld-elf/amd64/rtld_start.S:40

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