bugGNU Octave - Bugs: bug #57938, [octave forge] (video) error:...

 
 

bug #57938: [octave forge] (video) error: declaration of 'panic' has a different language linkage

Submitted by:  Marius Schamschula <mschamschula>
Submitted on:  Mon 02 Mar 2020 01:12:54 PM UTC  
 
Category:  Octave Forge Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  5.2.0 Operating System:  Mac OS

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 02 Mar 2020 01:12:54 PM UTC, original submission:  

While building the octave video package 2.0.0 under MacPorts (Mojave), I get the following error:

/usr/bin/clang++ -c -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -fPIC -I/opt/local/include/octave-5.2.0/octave/.. -I/opt/local/include/octave-5.2.0/octave -I/opt/local/include  -D_THREAD_SAFE -pthread -pipe -Os -std=c++11 -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -arch x86_64  -Wall -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk  -I/opt/local/include  -DPACKAGE_NAME="Octave-Forge video package" -DPACKAGE_TARNAME="octave-forge-video-package" -DPACKAGE_VERSION="2.0.0" -DPACKAGE_STRING="Octave-Forge video package 2.0.0" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" cap_ffmpeg_wrapper.cc -o /opt/local/var/macports/build/_Users_marius_Development_MacPorts_ports_math_octave-video/octave-video/work/.tmp/oct-uhPe64.o
In file included from cap_ffmpeg_wrapper.cc:18:
In file included from ./cap_ffmpeg_impl_ov.hpp:139:
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/mach/mach.h:86:33: error: declaration of 'panic' has a different language linkage
extern void                     panic(const char *, ...);
                                ^
/opt/local/include/octave-5.2.0/octave/error.h:134:6: note: previous declaration is here
void panic (const char *fmt, ...);
     ^
1 error generated.
make: *** [cap_ffmpeg_wrapper.oct] Error 1

pkg: error running `make' for the video package.

Full log attached.

Marius Schamschula <mschamschula>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #48532:  octave-video-main.log added by mschamschula (959KiB - 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 siko1056 (Updated the item)
  • -email is unavailable- added by mschamschula (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-03-02 siko1056 Summaryerror: declaration of 'panic' has a different language linkage => [octave forge] (video) error: declaration of 'panic' has a different language linkage
    2020-03-02 mschamschula Attached File- => Added octave-video-main.log, #48532

    Back to the top


    Powered by Savane 3.5