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
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
Component Version:  * simulavr
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

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>

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

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

    Votes

    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.

     

    History

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.16.
    Corresponding source code