Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Nov 2023 10:35:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 275163] math/dgl: Fails to build with GCC 13: ImportError: /usr/local/lib/python3.9/site-packages/torch/lib/libtorch_cpu.so: Undefined symbol "__assert_fail"
Message-ID:  <bug-275163-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275163

            Bug ID: 275163
           Summary: math/dgl: Fails to build with GCC 13: ImportError:
                    /usr/local/lib/python3.9/site-packages/torch/lib/libto
                    rch_cpu.so: Undefined symbol "__assert_fail"
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: yuri@freebsd.org
          Reporter: salvadore@freebsd.org
            Blocks: 273397
          Assignee: yuri@freebsd.org
             Flags: maintainer-feedback?(yuri@freebsd.org)

This bug report blocks the update of GCC_DEFAULT to 13. This webpage can he=
lp
finding a fix: https://gcc.gnu.org/gcc-13/porting_to.html

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/local/lib/python3.9/site-packages/torch/__init__.py", line 235=
, in
<module>
    from torch._C import *  # noqa: F403
ImportError: /usr/local/lib/python3.9/site-packages/torch/lib/libtorch_cpu.=
so:
Undefined symbol "__assert_fail"
ninja: build stopped: subcommand failed.

Full log:
https://pkg-status.freebsd.org/package22/data/132amd64-default-foo/2023-11-=
10_07h48m13s/logs/errors/dgl-1.1.1.log


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273397
[Bug 273397] [exp-run] Update GCC_DEFAULT to 13 etc.
--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275163-7788>