bugSimulavr: an AVR simulator - Bugs: bug #65948, Abort trap: 6 when running...

 
 

bug #65948: Abort trap: 6 when running help2man on macOS

Submitter:  Ryan Carsten Schmidt <ryandesign>
Submitted:  Wed 03 Jul 2024 09:59:09 PM UTC
   
 
Category:  Documentation 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:18:07 PM UTC, comment #1: 

Similarly, "make check" fails because it tries to run simulavr; you need to set DYLD_LIBRARY_PATH when running the tests too.

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

Building 1.1.0 using "make doc" on macOS fails:


sh: line 1: 35563 Abort trap: 6           /opt/local/var/macports/build/_Volumes_Shared_macports-ports_emulators_simulavr/simulavr/work/build/app/simulavr --help 2> /dev/null
help2man: can't get `--help' info from /opt/local/var/macports/build/_Volumes_Shared_macports-ports_emulators_simulavr/simulavr/work/build/app/simulavr
Try `--no-discard-stderr' if option outputs to stderr
make[3]: *** [doc/simulavr.1.gz] Error 134
make[2]: *** [doc/CMakeFiles/doc-man.dir/all] Error 2
make[1]: *** [doc/CMakeFiles/doc.dir/rule] Error 2
make: *** [doc] Error 2


This occurs because the simulavr executable is linked with the libsim.dylib dynamic library which has not yet been installed. At the time that you run help2man, you need to set the DYLD_LIBRARY_PATH environment variable to the absolute path to the directory where libsim.dylib is located at build time.

Ryan Carsten Schmidt <ryandesign>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

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.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.15-e283.
    Corresponding source code