[SERVER-22810] fatal error: 'js-config.h' file not found Created: 23/Feb/16  Updated: 07/Mar/16  Resolved: 07/Mar/16

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: 3.2.3
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Ryan Schmidt Assignee: Andrew Morrow (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Steps To Reproduce:

scons CCFLAGS='-arch i386' LINKFLAGS='-arch i386' TARGET_ARCH=i386

Participants:

 Description   

Hello, I'm the maintainer of mongodb in MacPorts, trying to update our port from 3.0.8 to 3.2.3.

3.0.8 built fine for i386 and x86_64. 3.2.3 builds fine for x86_64 but fails as follows for i386:

In file included from <built-in>:349:
<command line>:10:10: fatal error: 'js-config.h' file not found
#include "js-config.h"
         ^
1 error generated.

Indeed, the file src/third_party/mozjs-38/platform/x86_64/osx/include/js-config.h exists, while the entire directory src/third_party/mozjs-38/platform/i386/osx is missing.

The release notes for 3.2 say "Starting in 3.2, 32-bit binaries are deprecated and will be unavailable in future releases." This implies 32-bit builds should still be possible with 3.2.x.



 Comments   
Comment by Ryan Schmidt [ 07/Mar/16 ]

Done: https://trac.macports.org/changeset/146442

Comment by Andrew Morrow (Inactive) [ 07/Mar/16 ]

Hi ryandesign -

We have actually never supported 32-bit builds of MongoDB for OS X. We definitely don't build it or test it in our continuous integration system. Additionally, 32-bit support across all target operating systems was deprecated in MongoDB 3.2, and is likely to be entirely dropped for MongoDB 3.4. Many important features, like WiredTiger, are 64-bit only.

I think it would be better if MacPorts simply dropped support for 32-bit MongoDB. If it worked in the past, that was more by chance than by design, and I think it is unlikely that we would invest time to reintroduce support.

Generated at Thu Feb 08 04:01:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.