Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#51080 closed defect (fixed)

Can't build octave-devel, but not clear error message

Reported by: grg.dll@… Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: crossd@…, detlevd (Detlev Droege), adamb2903
Port: octave-devel

Description

Hi there, I've tried to install octave-devel, but the installation stops with the following vague error:

--->  Configuring octave-devel
--->  Building octave-devel
Error: org.macports.build for port octave-devel returned: command execution failed
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port octave-devel failed

The log file does not seem to be helpful either. grg

Attachments (2)

main.log (215.0 KB) - added by grg.dll@… 8 years ago.
log file
main.2.log (484.0 KB) - added by grg.dll@… 8 years ago.
main.log

Download all attachments as: .zip

Change History (10)

Changed 8 years ago by grg.dll@…

Attachment: main.log added

log file

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

Owner: changed from macports-tickets@… to mcalhoun@…
Port: octave-devel added

The main.log file you attached does not show a build failure of octave-devel; it shows a successful activation of glib2. Either you attached the wrong main.log file, or you ran into bug #37093 which caused MacPorts to write the log to the wrong file.

Either way, please sudo port clean octave-devel, then try again, then attach the new main.log file to this ticket.

comment:2 Changed 8 years ago by rz10@…

I too am no longer able to build octave-devel. Here's the relevant portion of my log.

:info:build   CXX      libinterp/octave-value/libinterp_octave_value_liboctave_value_la-ov-classdef.lo
:info:build   CXX      libinterp/octave-value/libinterp_octave_value_liboctave_value_la-ov-colon.lo
:info:build libinterp/octave-value/ov-cell.cc:1150:19: error: no matching function for call to 'H5Giterate'
:info:build         retval2 = H5Giterate (loc_id, name, &current_item,
:info:build                   ^~~~~~~~~~
:info:build /opt/local/include/H5Gpublic.h:165:15: note: candidate function not viable: no known conversion from 'octave_hdf5_err (octave_hdf5_id, const char *, void *)' (aka 'int (int, const char *, void *)') to 'H5G_iterate_t' (aka 'int (*)(long long, const char *, void *)') for 4th argument
:info:build H5_DLL herr_t H5Giterate(hid_t loc_id, const char *name, int *idx,
:info:build               ^
:info:build 1 error generated.
:info:build make[2]: *** [libinterp/octave-value/libinterp_octave_value_liboctave_value_la-ov-cell.lo] Error 1
:info:build make[2]: *** Waiting for unfinished jobs....
:info:build libinterp/octave-value/ov-class.cc:1570:24: error: no matching function for call to 'H5Giterate'
:info:build          && (retval2 = H5Giterate (group_hid, name, &current_item,
:info:build                        ^~~~~~~~~~
:info:build /opt/local/include/H5Gpublic.h:165:15: note: candidate function not viable: no known conversion from 'octave_hdf5_err (octave_hdf5_id, const char *, void *)' (aka 'int (int, const char *, void *)') to 'H5G_iterate_t' (aka 'int (*)(long long, const char *, void *)') for 4th argument
:info:build H5_DLL herr_t H5Giterate(hid_t loc_id, const char *name, int *idx,
:info:build               ^
:info:build 1 error generated.
:info:build make[2]: *** [libinterp/octave-value/libinterp_octave_value_liboctave_value_la-ov-class.lo] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-devel/octave-devel/work/octave-2868abbc88eb'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-devel/octave-devel/work/octave-2868abbc88eb'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-devel/octave-devel/work/octave-2868abbc88eb'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-devel/octave-devel/work/octave-2868abbc88eb" && /usr/bin/make -j8 -w all 
:info:build Exit code: 2
:error:build org.macports.build for port octave-devel returned: command execution failed
:debug:build Error code: CHILDSTATUS 81800 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"portbuild::build_main org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for octave-devel: org.macports.install org.macports.build org.macports.destroot
:notice:build Please see the log file for port octave-devel for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-devel/octave-devel/main.log

Changed 8 years ago by grg.dll@…

Attachment: main.2.log added

main.log

comment:3 in reply to:  1 Changed 8 years ago by grg.dll@…

Replying to ryandesign@…:

The main.log file you attached does not show a build failure of octave-devel; it shows a successful activation of glib2. Either you attached the wrong main.log file, or you ran into bug #37093 which caused MacPorts to write the log to the wrong file.

Either way, please sudo port clean octave-devel, then try again, then attach the new main.log file to this ticket.

Done: this time I do get an error (see main.2.log) attached

comment:4 Changed 8 years ago by crossd@…

Cc: crossd@… added

Cc Me!

comment:5 Changed 8 years ago by detlevd (Detlev Droege)

Cc: detlevd@… added

Cc Me!

comment:6 Changed 8 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Status: newassigned

comment:7 Changed 8 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: assignedclosed

Hopefully, r147826 fixed the problem.
If not, please feel free to reopen.

comment:8 Changed 8 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: adam.bartley@… added
Note: See TracTickets for help on using tickets.