Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#41284 closed defect (fixed)

octave-miscellaneous: build fails

Reported by: maurice.v@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: mavericks Cc: jsalort (Julien Salort)
Port: octave-miscellaneous

Description (last modified by ryandesign (Ryan Carsten Schmidt))

sudo port install octave-optim
Password:
--->  Computing dependencies for octave-optim
--->  Dependencies to be installed: octave-miscellaneous
--->  Building octave-miscellaneous
Error: org.macports.build for port octave-miscellaneous returned: command execution failed
Error: Failed to install octave-miscellaneous
Please see the log file for port octave-miscellaneous for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-miscellaneous/octave-miscellaneous/main.log
Error: The following dependencies were not installed: octave-miscellaneous
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port octave-optim failed

Attachments (4)

main.log (7.4 KB) - added by maurice.v@… 10 years ago.
new log file after cleaning
main.2.log (122.1 KB) - added by jsalort (Julien Salort) 10 years ago.
main.3.log (128.6 KB) - added by jsalort (Julien Salort) 10 years ago.
Logfile: fails at configure
main.4.log (128.8 KB) - added by maurice.v@… 10 years ago.

Download all attachments as: .zip

Change History (15)

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: mavericks added; maverick octave-optim octave removed
Port: octave-miscellaneous added; octave-optim removed
Summary: octave-optimoctave-miscellaneous: build fails

This was not a clean attempt; please clean and try again.

comment:2 Changed 10 years ago by maurice.v@…

already done many times

---> Computing dependencies for octave-optim ---> Dependencies to be installed: octave-miscellaneous ---> Fetching archive for octave-miscellaneous ---> Attempting to fetch octave-miscellaneous-1.2.0_0.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/octave-miscellaneous ---> Attempting to fetch octave-miscellaneous-1.2.0_0.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/octave-miscellaneous ---> Attempting to fetch octave-miscellaneous-1.2.0_0.darwin_13.x86_64.tbz2 from http://packages.macports.org/octave-miscellaneous ---> Fetching distfiles for octave-miscellaneous ---> Verifying checksums for octave-miscellaneous ---> Extracting octave-miscellaneous ---> Configuring octave-miscellaneous ---> Building octave-miscellaneous Error: org.macports.build for port octave-miscellaneous returned: command execution failed Error: Failed to install octave-miscellaneous Please see the log file for port octave-miscellaneous for details:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-miscellaneous/octave-miscellaneous/main.log

Error: The following dependencies were not installed: octave-miscellaneous To report a bug, follow the instructions in the guide:

http://guide.macports.org/#project.tickets

Error: Processing of port octave-optim failed

comment:3 in reply to:  2 Changed 10 years ago by larryv (Lawrence Velázquez)

Replying to maurice.v@…:

already done many times

But you have not provided a clean log. Please clean, try again, and attach the resulting main.log immediately.

Changed 10 years ago by maurice.v@…

Attachment: main.log added

new log file after cleaning

comment:4 Changed 10 years ago by maurice.v@…

done. Any idea? or suggestions that I can try ?

comment:5 Changed 10 years ago by jsalort (Julien Salort)

Cc: lists@… added

Cc Me!

Changed 10 years ago by jsalort (Julien Salort)

Attachment: main.2.log added

comment:6 Changed 10 years ago by jsalort (Julien Salort)

I have the same problem here. The relevant error is:

:info:build partarray.cc:42:31: error: variable length array of non-POD element type 'Array<octave_idx_type>'
:info:build   Array<octave_idx_type> bidc [maxdims], eidc [maxdims];
:info:build                               ^

I wonder if this is really a macports-specific issue. Shouldn't maxdims be declared const ? Anyhow, this was reported in Octave bug tracker, e.g.:

https://savannah.gnu.org/bugs/?func=detailitem&item_id=38339

But this bug is marked as "closed", with the conclusion that partarray should be removed... So, I am not sure why it wasn't. I will ask on Octave mailing list.

comment:7 Changed 10 years ago by maurice.v@…

is it possible to compile it manually ? I am really a "idiot" for these things!

comment:8 Changed 10 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: newclosed

Please do:

sudo port clean octave-miscellaneous
sudo port selfupdate

and then try installing it again. Should be fixed with r114034.

Changed 10 years ago by jsalort (Julien Salort)

Attachment: main.3.log added

Logfile: fails at configure

comment:9 in reply to:  8 Changed 10 years ago by jsalort (Julien Salort)

Replying to michaelld@…:

Please do:

sudo port clean octave-miscellaneous
sudo port selfupdate

and then try installing it again. Should be fixed with r114034.

I am afraid it still does not work for me. But I do not understand the error message (see log).

Changed 10 years ago by maurice.v@…

Attachment: main.4.log added

comment:10 Changed 10 years ago by maurice.v@…

same here (log attached)

comment:11 Changed 10 years ago by maurice.v@…

now it works!! thanks to all!

Note: See TracTickets for help on using tickets.