bugGNU Octave - Bugs: bug #67254, pkg install -forge control error...

 
 

bug #67254: pkg install -forge control error make: *** [__control_helper_functions__.oct] Error 1)

Submitter:  None
Submitted:  Sat 28 Jun 2025 01:46:58 AM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  None Assigned to:  None
Originator Name:  Matt Harmsworth Originator Email:  -email is unavailable-
Open/Closed:  * Open Release:  * 10.2.0
Release:  Operating System:  * Mac OS
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Sat 28 Jun 2025 12:59:21 PM UTC, comment #6: 

And there is no Fortran compiler installed.

Torsten Lilge <ttl>
Group Member
Sat 28 Jun 2025 12:51:08 PM UTC, comment #5: 

Are you using Macports for the "extra" packages?

I see:


checking for /usr/bin/clang++ option to enable C++11 features... unsupported
checking for /usr/bin/clang++ option to enable C++98 features... unsupported


This is bad, it looks like your compiler is broken somehow.
You may wantt to ask for help on Macports forums.

Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>
Sat 28 Jun 2025 12:29:15 PM UTC, comment #4: 

Thanks so much for your help. Please for give me for my ignorance. Here is a listing of the output from the pkg install -verbose in Octave.
Thanks again for all your help!!

Also my email is harmswm@icloud.com. It says it doesn't exist but it does.

(file #57341)

Anonymous
Sat 28 Jun 2025 10:50:51 AM UTC, comment #3: 

Please run with "pkg install -verbose" and  find and cut and paste the compile line for _control_helper_function_. On my computer I see:


          /usr/local/bin/mkoctfile-11.0.0 --verbose -w -c MA02ID.f; mv MA02ID.f x && \
                /usr/local/bin/mkoctfile-11.0.0 --verbose -c *.f ../../TG04BX.f ../../src_aux/*.f && \
                mv x MA02ID.f
/usr/local/bin/mkoctfile-11.0.0 --verbose -Wall  __control_helper_functions__.cc
clang++ -std=gnu++17 -c -I/opt/homebrew/include -I/opt/homebrew/opt/libiconv/include -I/opt/homebrew/opt/readline/include -fPIC -I/usr/local/include/octave-11.0.0/octave/.. -I/usr/local/include/octave-11.0.0/octave -I/usr/local/include  -pthread -g3 -O2 -march=native -flto=thin  -Wall   __control_helper_functions__.cc -o /var/folders/ds/5xsh6x4914x78jswflyz20c40000gn/T//oct-DvhCRp.o
gfortran -c -fPIC -g2 -O2 -march=native -std=legacy -fexceptions     -w MA02ID.f -o MA02ID.o



 % xcodebuild -version
Xcode 16.4
Build version 16F6


Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>
Sat 28 Jun 2025 10:25:00 AM UTC, comment #2: 

Thanks for the comments, I did try the setenv command in Octave but I get the same error. I am on the latest Xcode 16.4 running Sequoia 15.5 (24F74). This is also on the M1 processor.

Anonymous
Sat 28 Jun 2025 01:57:57 AM UTC, comment #1: 

What is Xcode (or clang) version? It looks like your c++ is using old standard. <cinttypes> is C++11, but for some reason that is not set.

Try (in octave):


setenv("CXX", "clang++ -std=gnu++17")
pkg install -forge -verbose control


Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>
Sat 28 Jun 2025 01:46:58 AM UTC, original submission:  

I am getting this error while trying to install the control package in Octave using the package install command. Is this something to do with the M1 processor or Xcode settings? Thanks Matt



>> pkg install -forge control
In file included from __control_helper_functions__.cc:1:
In file included from ./is_real_scalar.cc:28:
In file included from /opt/local/include/octave-10.2.0/octave/../octave/oct.h:29:
In file included from /opt/local/include/octave-10.2.0/octave/../octave/octave-config.h:98:
/opt/local/include/octave-10.2.0/octave/../octave/oct-conf-post-public.h:27:12: fatal error:
      'cinttypes' file not found
   27 | #  include <cinttypes>
      |            ^~~~~~~~~~~
1 error generated.
make: *** [__control_helper_functions__.oct] Error 1
make: *** Waiting for unfinished jobs....
cd slicot/src && \
          /opt/local/bin/mkoctfile-10.2.0 -w -c MA02ID.f; mv MA02ID.f x && \
                /opt/local/bin/mkoctfile-10.2.0 -c *.f ../../TG04BX.f ../../src_aux/*.f && \
                mv x MA02ID.f
/opt/local/bin/mkoctfile-10.2.0 -Wall  __control_helper_functions__.cc
ar -rc slicotlibrary.a slicot/src/*.o

error: pkg: error running 'make' for the control package
error: called from
    configure_make at line 123 column 9
    install at line 202 column 7
    pkg at line 619 column 9

-vertabim-

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #57341:  ControlMakeError.txt added by None (66KiB - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ttl (Posted a comment)
  • -email is unavailable- added by dasergatskov (Posted a comment)
  • -email is unavailable- added by None (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 group members can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2025-06-28 None Attached File- Added ControlMakeError.txt, #57341

    Back to the top

    Powered by Savane 3.15-e6e5.
    Corresponding source code