[SERVER-22809] scons should warn earlier about unknown options Created: 23/Feb/16  Updated: 23/Feb/16  Resolved: 23/Feb/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: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-21802 split scons command line parsing into... Closed
Operating System: ALL
Steps To Reproduce:

scons --cpppath=/opt/local/include and --libpath=/opt/local/lib

Participants:

 Description   

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

For 3.0.8, we were running scons with --cpppath=/opt/local/include and --libpath=/opt/local/lib. Under 3.2.3, these arguments do nothing, and consequently scons exited with an error that it could not find OpenSSL.

It was not until after I fixed this problem by specifying the cpppath and libpath another way that I was given the error:

SCons Error: no such option: --cpppath

Such errors should be printed immediately, and a configuration error should not prevent the message about unknown options from being printed, because it may very well be that the configuration error was caused by the user not knowing that one of your configuration options has changed.



 Comments   
Comment by Eric Milkie [ 23/Feb/16 ]

Please follow the linked ticket for updates.

Comment by Ryan Schmidt [ 23/Feb/16 ]

That would be great, thanks.

Comment by Eric Milkie [ 23/Feb/16 ]

Hi Ryan,
I myself have run into this issue back in December. We have scheduled a work ticket to fix this behavior for the next release: SERVER-21802.
-Eric

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