bugSimulavr: an AVR simulator - Bugs: bug #65945, string sub-command REGEX, mode...

 
 

bug #65945: string sub-command REGEX, mode MATCH needs at least 5 arguments total to command

Submitter:  Ryan Carsten Schmidt <ryandesign>
Submitted:  Wed 03 Jul 2024 09:06:47 PM UTC
   
 
Category:  Configure Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Component Version:  * simulavr
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 03 Jul 2024 10:00:37 PM UTC, comment #2: 

However, using my patch, "make check" then fails:


cd /opt/local/var/macports/build/_Volumes_Shared_macports-ports_emulators_simulavr/simulavr/work/build/regress && /bin/bash -c echo\ 'no\ python\ interpreter\ found,\ can't\ run\ regression\ test!'
/bin/sh: -c: line 0: unexpected EOF while looking for matching `''
/bin/sh: -c: line 1: syntax error: unexpected end of file
make[3]: *** [regress/CMakeFiles/check-regress] Error 2
make[2]: *** [regress/CMakeFiles/check-regress.dir/all] Error 2
make[1]: *** [CMakeFiles/check.dir/rule] Error 2
make: *** [check] Error 2


Ryan Carsten Schmidt <ryandesign>
Wed 03 Jul 2024 09:44:48 PM UTC, comment #1: 

I'm attaching the patch I used to work around the problem.

(file #56222)

Ryan Carsten Schmidt <ryandesign>
Wed 03 Jul 2024 09:06:47 PM UTC, original submission:  

Your cmake setup does various things automatically that I don't want. For example, if python is found with some modules, it builds the web site and manual. To prevent cmake from finding python, I use the documented method of doing that—

https://cmake.org/cmake/help/latest/variable/CMAKE_DISABLE_FIND_PACKAGE_PackageName.html

—I add the cmake flag -DCMAKE_DISABLE_FIND_PACKAGE_PythonInterp=ON. This causes the following error:


CMake Error at CMakeLists.txt:33 (string):
  string sub-command REGEX, mode MATCH needs at least 5 arguments total to
  command.


Ryan Carsten Schmidt <ryandesign>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #56222:  CMakeLists.txt.patch added by ryandesign (819B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ryandesign (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-07-03 ryandesign Attached File- Added CMakeLists.txt.patch, #56222

    Back to the top

    Powered by Savane 3.15-e283.
    Corresponding source code