Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Apr 2020 13:40:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 245742] pkg-static: bus error when running make package
Message-ID:  <bug-245742-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 245742
           Summary: pkg-static: bus error when running make package
           Product: Base System
           Version: 12.0-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: andymenderunix@gmail.com

I am working on an update to math/py-numpy and I encountered a strange error
when running "make package":
root@hp-proliant:/usr/ports/math/py-numpy # make package
=3D=3D=3D>  Building package for py37-numpy-1.18.2
Child process pid=3D87206 terminated abnormally: Bus error
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/math/py-numpy
*** Error code 1

Stop.
make: stopped in /usr/ports/math/py-numpy

I extracted some extra info from the core dump file via lldb:
lldb -f /usr/local/sbin/pkg-static -c pkg-static.core -bobt
warning: ignoring unknown option: -bobt
(lldb) target create "/usr/local/sbin/pkg-static" --core "pkg-static.core"
Core file '/usr/ports/math/py-numpy/pkg-static.core' (x86_64) was loaded.
(lldb) bt
* thread #1, name =3D 'pkg-static', stop reason =3D signal SIGBUS
  * frame #0: 0x000000000052e3ca pkg-static`sha256_update + 58
    frame #1: 0x00000000004e724e pkg-static`pkg_checksum_hash_sha256_file +=
 142
    frame #2: 0x00000000004e67d1 pkg-static`pkg_checksum_fileat + 97
    frame #3: 0x00000000004e6fe5 pkg-static`pkg_checksum_generate_fileat + =
181
    frame #4: 0x00000000005392d5 pkg-static`meta_file + 517
    frame #5: 0x000000000053660c pkg-static`plist_parse_line + 332
    frame #6: 0x0000000000538478 pkg-static`ports_parse_plist + 184
    frame #7: 0x0000000000535f72 pkg-static`load_metadata + 642
    frame #8: 0x0000000000535c40 pkg-static`pkg_create + 112
    frame #9: 0x00000000003aee1c pkg-static`exec_create + 1004
    frame #10: 0x00000000003b3ab8 pkg-static`main + 2840
    frame #11: 0x00000000003a910f pkg-static`_start(ap=3D<unavailable>,
cleanup=3D<unavailable>) at crt1.c:76:7

My pkg version: 1.14.2

An earlier version of the math/py-numpy port (the one currently in the Ports
Collection) builds and installs properly. The only odd thing I noticed is t=
hat
it doesn't have a pkg-plist file, but after generating it I get the same er=
ror.

This bug is reminiscent of bug #225412, but it has never been solved.

--=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-245742-227>