Bug 261257

Summary: Mk: CMake Error: Parse error in command line argument: _THREAD_SAFE with mail/evolution 3.42.3
Product: Ports & Packages Reporter: Neel Chauhan <nc>
Component: Ports FrameworkAssignee: freebsd-gnome (Nobody) <gnome>
Status: Closed FIXED    
Severity: Affects Many People CC: adridg, ports-bugs, tcberner
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Neel Chauhan freebsd_committer freebsd_triage 2022-01-16 22:59:46 UTC
When I attempt to update mail/evolution to 3.42.2 or 3.42.3, I get an error like this:

CMake Error: Parse error in command line argument: _THREAD_SAFE                 
 Should be: VAR:type=value                                                      
                                                                                
CMake Error at /usr/local/share/cmake/Modules/Internal/CheckSourceRuns.cmake:94 (try_run):
  Failed to configure test project build system.
Call Stack (most recent call first):
  /usr/local/share/cmake/Modules/CheckCSourceRuns.cmake:76 (cmake_check_source_runs)
  CMakeLists.txt:718 (CHECK_C_SOURCE_RUNS)


-- Configuring incomplete, errors occurred!                                     
See also "/wrkdirs/usr/ports/mail/evolution/work/.build/CMakeFiles/CMakeOutput.log".
See also "/wrkdirs/usr/ports/mail/evolution/work/.build/CMakeFiles/CMakeError.log".
*** Error code 1                                                                

There must be some issue with the Mk framework, since OpenBSD has mail/evolution 3.42.3.

My updates are not committed for this issue.
Comment 1 Tobias C. Berner freebsd_committer freebsd_triage 2022-01-19 11:57:42 UTC
Moin moin 

I doubt Mk/ is responsible for this. Can you provide the diff required for this error to be reproduced?


mfg Tobias
Comment 2 Adriaan de Groot freebsd_committer freebsd_triage 2022-01-24 22:25:28 UTC
I see that 3.42.3 has landed, so I'll call this "mysteriously fixed by nc@"