Opened 6 years ago

Closed 6 years ago

#57349 closed defect (fixed)

mongodb 4.0.3_0 fails to build on case sensitive file systems

Reported by: hapaguy (Brian Kurt Fujikawa) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: mongodb

Description

The build fails to find CommonHmac.h:

...
boost-1.60.0 -I/opt/local/include -Ibuild/MP -Isrc src/mongo/crypto/sha_block_apple.cpp
:info:build src/mongo/crypto/sha_block_apple.cpp:32:10: fatal error: 'CommonCrypto/CommonHmac.h' file not found
:info:build #include <CommonCrypto/CommonHmac.h>
:info:build          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build 1 error generated.
...

For the build to be successful on a case sensitive file system, the include file name should be: CommonHMAC.h, i.e.

$ ls /usr/include/CommonCrypto/CommonHMAC.h
/usr/include/CommonCrypto/CommonHMAC.h

Attachments (1)

mongoDB 4.0.3_0 main.log (74.7 KB) - added by hapaguy (Brian Kurt Fujikawa) 6 years ago.

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by hapaguy (Brian Kurt Fujikawa)

Attachment: mongoDB 4.0.3_0 main.log added

comment:1 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign removed
Owner: set to ryandesign
Status: newaccepted

Thanks, I'll get that fixed and reported to the developers.

comment:2 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: acceptedclosed

In 3546e610bffd43dfe148bbf286aaa50d4bf7ffcb/macports-ports (master):

mongodb: Fix build on case-sensitive filesystems

Closes: #57349

Note: See TracTickets for help on using tickets.