Opened 12 years ago

Closed 10 years ago

#36455 closed defect (fixed)

octave-image 1.0.10 - build failure

Reported by: yeli.feng@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: octave-image

Description (last modified by mf2k (Frank Schima))

on Mac OS X 10.8.2


:info:build graycomatrix.cc: In function 'octave_value_list Fgraycomatrix(const octave_value_list&, int)':
:info:build graycomatrix.cc:98:40: warning: 'Array<T>::Array(octave_idx_type) [with T = int, octave_idx_type = int]' is deprecated (declared at /opt/local/include/octave-3.6.3/octave/../octave/Array.h:179)
:info:build deriche.cc: In function 'octave_value_list Fderiche(const octave_value_list&, int)':
:info:build deriche.cc:102:9: error: 'ArrayN' was not declared in this scope
:info:build deriche.cc:102:16: error: expected primary-expression before 'double'
:info:build deriche.cc:102:16: error: expected ';' before 'double'
:info:build deriche.cc:103:37: error: 'b' was not declared in this scope

Attachments (1)

main.log (136.4 KB) - added by yeli.feng@… 12 years ago.

Download all attachments as: .zip

Change History (6)

Changed 12 years ago by yeli.feng@…

Attachment: main.log added

comment:1 Changed 12 years ago by basmac

Fails for me as well on 10.8.2 xcode 4.5

---> Building octave-image DEBUG: Executing org.macports.build (octave-image) DEBUG: Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-image/octave-image/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.8' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-image/octave-image/work/image-1.0.10" && /usr/bin/make -j8 -w all' DEBUG: Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-image/octave-image/work/image-1.0.10" && /usr/bin/make -j8 -w all make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-image/octave-image/work/image-1.0.10' make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-image/octave-image/work/image-1.0.10/src' mkoctfile spatial_filtering.cc mkoctfile bilateral.cc mkoctfile custom_gaussian_smoothing.cc mkoctfile bwlabel.cc mkoctfile bwfill.cc mkoctfile rotate_scale.cc mkoctfile hough_line.cc mkoctfile graycomatrix.cc mkoctfile deriche.cc mkoctfile bwdist.cc mkoctfile nonmax_supress.cc mkoctfile jpgwrite.cc -ljpeg mkoctfile jpgread.cc -ljpeg mkoctfile pngread.cc -lpng mkoctfile pngwrite.cc -lpng pngread.cc: In function 'canvas* load_canvas(char*)': pngread.cc:234:15: error: invalid use of incomplete type 'struct png_info' /opt/local/include/png.h:727:16: error: forward declaration of 'struct png_info' pngread.cc:246:15: error: invalid use of incomplete type 'struct png_info' /opt/local/include/png.h:727:16: error: forward declaration of 'struct png_info' pngread.cc:254:15: error: invalid use of incomplete type 'struct png_info' /opt/local/include/png.h:727:16: error: forward declaration of 'struct png_info' pngread.cc:260:15: error: invalid use of incomplete type 'struct png_info' /opt/local/include/png.h:727:16: error: forward declaration of 'struct png_info' make[1]: * [pngread.oct] Error 1 make[1]: * Waiting for unfinished jobs.... make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-image/octave-image/work/image-1.0.10/src' make: * [build] Error 2 make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-image/octave-image/work/image-1.0.10' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-image/octave-image/work/image-1.0.10" && /usr/bin/make -j8 -w all Exit code: 2 Error: org.macports.build for port octave-image returned: command execution failed DEBUG: Error code: CHILDSTATUS 80286 2 DEBUG: 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

"$procedure $targetname" Warning: targets not executed for octave-image: org.macports.activate org.macports.build org.macports.destroot org.macports.install Please see the log file for port octave-image for details:

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

To report a bug, follow the instructions in the guide:

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

Error: Processing of port octave-image failed bash-3.2#

Version 0, edited 12 years ago by basmac (next)

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

So there are at least two different problems here. The one yeli.feng reported I don't know what to do about. The whole octave situation in MacPorts is somewhat neglected and out of date and is in need of someone taking charge of it and updating and fixing it all. The problem barry.j.mcinnes reported is the usual incompatibility with libpng 1.5, which might resolve itself by updating octave-image to a newer version, or we might have to patch it like we've patched other ports.

comment:3 Changed 12 years ago by mf2k (Frank Schima)

Port: octave-image added

comment:4 Changed 12 years ago by mf2k (Frank Schima)

Description: modified (diff)

In the future, please do not paste the entire main.log into the description.

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

Resolution: fixed
Status: newclosed

Please do:

sudo port clean octave-image
sudo port selfupdate

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

Note: See TracTickets for help on using tickets.