Opened 3 years ago
Closed 16 months ago
#63144 closed defect (fixed)
cryptlib @3.4.5: error: use of undeclared identifier 'GPROF_COUNT'
Reported by: | cooljeanius (Eric Gallager) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.1 |
Keywords: | catalina bigsur | Cc: | |
Port: | cryptlib |
Description
Trying to build cryptlib on Big Sur with Xcode 12.5.1 results in the following error:
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cryptlib/cryptlib/work/cl345' make[1]: *** [Darwin] Error 2 make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cryptlib/cryptlib/work/cl345' make: *** [default] Error 2 make: *** Waiting for unfinished jobs.... /usr/bin/clang -Os -isystem/opt/local/include -arch x86_64 -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -DFIXED_SEED=0x6d942a11e870e3ca -Wno-pointer-sign -Wno-switch -fPIC -fno-common -DOSVERSION=20 -fomit-frame-pointer -o ./shared-obj/cmp_rd.o session/cmp_rd.c /usr/bin/clang -Os -isystem/opt/local/include -arch x86_64 -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -DFIXED_SEED=0x6d942a11e870e3ca -Wno-pointer-sign -Wno-switch -fPIC -fno-common -DOSVERSION=20 -fomit-frame-pointer -o ./shared-obj/cmp_rdmsg.o session/cmp_rdmsg.c random/unix.c:506:30: error: use of undeclared identifier 'GPROF_COUNT' { 3, { CTL_KERN, KERN_PROF, GPROF_COUNT }, 10 }, ^ 1 error generated. make[2]: *** [shared-obj/unix.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cryptlib/cryptlib/work/cl345' make[1]: *** [Darwin] Error 2 make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cryptlib/cryptlib/work/cl345' make: *** [shared] Error 2 make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cryptlib/cryptlib/work/cl345' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cryptlib/cryptlib/work/cl345" && /usr/bin/make -j16 -w default shared CC="/usr/bin/clang" PREFIX="/opt/local" Exit code: 2 Error: Failed to build cryptlib: command execution failed DEBUG: Error code: CHILDSTATUS 26777 2
Will attach log next.
Attachments (1)
Change History (3)
Changed 3 years ago by cooljeanius (Eric Gallager)
Attachment: | cryptlib_main.log added |
---|
comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign removed |
---|---|
Keywords: | catalina bigsur added |
Owner: | set to ryandesign |
Status: | new → accepted |
Agreed. GPROF_COUNT
is no longer defined in the system <sys/gmon.h> header as of macOS Catalina.
It looks like this problem has already been fixed in the beta version of cryptlib 3.4.6 available on the developer's site.
comment:2 Changed 16 months ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
cryptlib was updated to 3.4.6 in [28339b5ed26bf7f548707ef4553400f87cf5aff9/macports-ports] which should have fixed this.
Note: See
TracTickets for help on using
tickets.
main.log for cryptlib