Opened 19 years ago

Closed 19 years ago

#4816 closed defect (fixed)

xfig fails to build

Reported by: iqgrande Owned by: pguyot (Paul Guyot)
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

Hello. I am running Mac OS X 10.4.2 and Xcode 2.1 with gcc33 installed additionally along with X11.app and X11SDK. When I try to install, Xfig fails. The error messages are below.

tibook:~ iqgrande$ sudo port -d -v install xfig Password: DEBUG: Found port in file:///opt/local/var/db/dports/sources/ rsync.rsync.opendarwin.org_dpupdate_dports/graphics/xfig DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ rsync.rsync.opendarwin.org_dpupdate_dports/graphics/xfig DEBUG: Requested variant powerpc is not provided by port xfig. DEBUG: Requested variant darwin is not provided by port xfig. DEBUG: Requested variant macosx is not provided by port xfig. DEBUG: Found port in file:///opt/local/var/db/dports/sources/ rsync.rsync.opendarwin.org_dpupdate_dports/x11/Xaw3d DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ rsync.rsync.opendarwin.org_dpupdate_dports/x11/Xaw3d DEBUG: Searching for dependency: Xaw3d DEBUG: Found Dependency: receipt exists for Xaw3d DEBUG: Found port in file:///opt/local/var/db/dports/sources/ rsync.rsync.opendarwin.org_dpupdate_dports/graphics/libpng DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ rsync.rsync.opendarwin.org_dpupdate_dports/graphics/libpng DEBUG: Searching for dependency: libpng DEBUG: Found Dependency: receipt exists for libpng DEBUG: Found port in file:///opt/local/var/db/dports/sources/ rsync.rsync.opendarwin.org_dpupdate_dports/graphics/jpeg DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ rsync.rsync.opendarwin.org_dpupdate_dports/graphics/jpeg DEBUG: Searching for dependency: jpeg DEBUG: Found Dependency: receipt exists for jpeg DEBUG: Found port in file:///opt/local/var/db/dports/sources/ rsync.rsync.opendarwin.org_dpupdate_dports/print/ghostscript DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ rsync.rsync.opendarwin.org_dpupdate_dports/print/ghostscript DEBUG: Searching for dependency: ghostscript DEBUG: Found Dependency: receipt exists for ghostscript DEBUG: Found port in file:///opt/local/var/db/dports/sources/ rsync.rsync.opendarwin.org_dpupdate_dports/print/transfig DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ rsync.rsync.opendarwin.org_dpupdate_dports/print/transfig DEBUG: Searching for dependency: transfig DEBUG: Found Dependency: receipt exists for transfig DEBUG: Skipping completed com.apple.main (xfig) DEBUG: No TGZ archive: /opt/local/var/db/dports/packages/darwin/powerpc/ xfig-3.2.4_4.powerpc.tgz DEBUG: Skipping unarchive (xfig) since no archive found DEBUG: Skipping completed com.apple.unarchive (xfig) DEBUG: Skipping completed com.apple.fetch (xfig) ---> Verifying checksum(s) for xfig DEBUG: Executing com.apple.checksum (xfig) ---> Checksumming xfig-3.2.4-Xaw3d-1.5E.udiff DEBUG: Correct (md5) checksum for xfig-3.2.4-Xaw3d-1.5E.udiff ---> Checksumming xfig.3.2.4.full.tar.gz DEBUG: Correct (md5) checksum for xfig.3.2.4.full.tar.gz ---> Extracting xfig DEBUG: Executing com.apple.extract (xfig) ---> Extracting xfig.3.2.4.full.tar.gz DEBUG: setting option extract.args to /opt/local/var/db/dports/distfiles/xfig/xfig.3.2.4.full.tar.gz DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_graphics_xfig/ work" && gzip -dc /opt/local/var/db/dports/distfiles/xfig/xfig.3.2.4.full.tar.gz | gnutar --no-same- owner -xf -' DEBUG: Executing com.apple.patch (xfig) ---> Applying patches to xfig ---> Applying /opt/local/var/db/dports/distfiles/xfig/xfig-3.2.4-Xaw3d-1.5E.udiff DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_graphics_xfig/ work/xfig.3.2.4" && patch -p0' patching file Imakefile patching file figx.h patching file w_cmdpanel.c patching file w_indpanel.c patching file w_layers.c patching file w_library.c patching file w_modepanel.c patching file w_mousefun.c patching file w_rulers.c patching file w_util.c ---> Applying /opt/local/var/db/dports/sources/rsync.rsync.opendarwin.org_dpupdate_dports/ graphics/xfig/files/patch-Imakefile DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_graphics_xfig/ work/xfig.3.2.4" && patch -p0' patching file Imakefile DEBUG: Executing proc-post-com.apple.patch-patch-0 ---> Configuring xfig DEBUG: Executing com.apple.configure (xfig) DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_graphics_xfig/ work/xfig.3.2.4" && xmkmf' imake -DUseInstalled -I/usr/X11R6/lib/X11/config make: Nothing to be done for `Makefiles'. ---> Building xfig with target all DEBUG: Executing com.apple.build (xfig) DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_graphics_xfig/ work/xfig.3.2.4" && make all' rm -f d_arc.o /usr/bin/cc -c -g -Os -Wall -Wpointer-arith -no-cpp-precomp -I/opt/local/include -I/opt/local/ include -I/usr/include/X11/Xaw3d -I/usr/X11R6/include -DDARWIN - DNO_ALLOCA -DCSRG_BASED -DXAW3D -DUSE_JPEG -DI18N - DSETLOCALE d_arc.c In file included from d_arc.c:30: w_canvas.h:37: warning: type defaults to 'int' in declaration of 'canvas_selected' d_arc.c: In function 'init_arc_c_drawing': d_arc.c:125: warning: implicit declaration of function 'center_marker' d_arc.c: In function 'cancel_arc': d_arc.c:141: warning: implicit declaration of function 'free_arc' d_arc.c:150: warning: implicit declaration of function 'erase_lengths' d_arc.c: In function 'create_arcobject': d_arc.c:238: warning: implicit declaration of function 'compute_arccenter' d_arc.c:240: warning: implicit declaration of function 'beep' d_arc.c:261: warning: implicit declaration of function 'compute_direction' d_arc.c:288: warning: implicit declaration of function 'redisplay_arc' d_arc.c:196: warning: unused variable 'i' d_arc.c: In function 'resizing_arc': d_arc.c:308: warning: implicit declaration of function 'compute_3p_angle' d_arc.c: In function 'elastic_arc': d_arc.c:348: warning: implicit declaration of function 'draw_arc' rm -f d_arcbox.o /usr/bin/cc -c -g -Os -Wall -Wpointer-arith -no-cpp-precomp -I/opt/local/include -I/opt/local/ include -I/usr/include/X11/Xaw3d -I/usr/X11R6/include -DDARWIN - DNO_ALLOCA -DCSRG_BASED -DXAW3D -DUSE_JPEG -DI18N - DSETLOCALE d_arcbox.c In file included from d_arcbox.c:26: w_canvas.h:37: warning: type defaults to 'int' in declaration of 'canvas_selected' d_arcbox.c: In function 'create_arc_boxobject': d_arcbox.c:84: warning: implicit declaration of function 'erase_box_lengths' d_arcbox.c:87: warning: implicit declaration of function 'beep' d_arcbox.c:119: warning: implicit declaration of function 'append_point' d_arcbox.c:126: warning: implicit declaration of function 'redisplay_line' rm -f d_box.o /usr/bin/cc -c -g -Os -Wall -Wpointer-arith -no-cpp-precomp -I/opt/local/include -I/opt/local/ include -I/usr/include/X11/Xaw3d -I/usr/X11R6/include -DDARWIN - DNO_ALLOCA -DCSRG_BASED -DXAW3D -DUSE_JPEG -DI18N - DSETLOCALE d_box.c In file included from d_box.c:27: w_canvas.h:37: warning: type defaults to 'int' in declaration of 'canvas_selected' d_box.c: In function 'box_drawing_selected': d_box.c:44: warning: implicit declaration of function 'set_cursor' d_box.c: In function 'cancel_box': d_box.c:70: warning: implicit declaration of function 'erase_box_lengths' d_box.c: In function 'create_boxobject': d_box.c:87: warning: implicit declaration of function 'beep' d_box.c:88: warning: implicit declaration of function 'put_msg' d_box.c:118: warning: implicit declaration of function 'append_point' d_box.c:125: warning: implicit declaration of function 'redisplay_line' rm -f d_ellipse.o /usr/bin/cc -c -g -Os -Wall -Wpointer-arith -no-cpp-precomp -I/opt/local/include -I/opt/local/ include -I/usr/include/X11/Xaw3d -I/usr/X11R6/include -DDARWIN - DNO_ALLOCA -DCSRG_BASED -DXAW3D -DUSE_JPEG -DI18N - DSETLOCALE d_ellipse.c In file included from d_ellipse.c:26: w_canvas.h:37: warning: type defaults to 'int' in declaration of 'canvas_selected' d_ellipse.c: In function 'circle_ellipse_byradius_drawing_selected': d_ellipse.c:52: warning: implicit declaration of function 'set_cursor' d_ellipse.c: In function 'init_ellipsebyradius_drawing': d_ellipse.c:65: warning: implicit declaration of function 'center_marker' d_ellipse.c: In function 'create_ellipsebyrad': d_ellipse.c:120: warning: implicit declaration of function 'redisplay_ellipse' d_ellipse.c: At top level: d_ellipse.c:126: warning: return type defaults to 'int' d_ellipse.c: In function 'circle_ellipse_bydiameter_drawing_selected': d_ellipse.c:135: warning: control reaches end of non-void function rm -f d_picobj.o /usr/bin/cc -c -g -Os -Wall -Wpointer-arith -no-cpp-precomp -I/opt/local/include -I/opt/local/ include -I/usr/include/X11/Xaw3d -I/usr/X11R6/include -DDARWIN - DNO_ALLOCA -DCSRG_BASED -DXAW3D -DUSE_JPEG -DI18N - DSETLOCALE d_picobj.c In file included from d_picobj.c:27: w_canvas.h:37: warning: type defaults to 'int' in declaration of 'canvas_selected' d_picobj.c: In function 'picobj_drawing_selected': d_picobj.c:46: warning: implicit declaration of function 'set_cursor' d_picobj.c: In function 'init_picobj_drawing': d_picobj.c:54: warning: implicit declaration of function 'init_box_drawing' d_picobj.c: In function 'create_picobj': d_picobj.c:75: warning: implicit declaration of function 'erase_lengths' d_picobj.c:117: warning: implicit declaration of function 'append_point' d_picobj.c:123: warning: implicit declaration of function 'redisplay_line' d_picobj.c:125: warning: implicit declaration of function 'edit_item' /usr/bin/cc -g -Os -Wall -Wpointer-arith -no-cpp-precomp -I/opt/local/include -I/opt/local/ include -I/usr/include/X11/Xaw3d -I/usr/X11R6/include -DDARWIN - DNO_ALLOCA -DCSRG_BASED -DXAW3D -DUSE_JPEG -DI18N - DSETLOCALE -c -o d_subspline.o d_subspline.c d_subspline.c:63: warning: return type defaults to 'int' d_subspline.c: In function 'free_subspline': d_subspline.c:67: warning: implicit declaration of function 'free_spline' d_subspline.c:68: warning: control reaches end of non-void function rm -f d_line.o /usr/bin/cc -c -g -Os -Wall -Wpointer-arith -no-cpp-precomp -I/opt/local/include -I/opt/local/ include -I/usr/include/X11/Xaw3d -I/usr/X11R6/include -DDARWIN - DNO_ALLOCA -DCSRG_BASED -DXAW3D -DUSE_JPEG -DI18N - DSETLOCALE d_line.c In file included from d_line.c:29: w_canvas.h:37: warning: type defaults to 'int' in declaration of 'canvas_selected' d_line.c: In function 'line_drawing_selected': d_line.c:52: warning: implicit declaration of function 'set_cursor' d_line.c: In function 'cancel_line_drawing': d_line.c:97: warning: implicit declaration of function 'erase_lengths' d_line.c:102: warning: implicit declaration of function 'free_points' d_line.c: In function 'get_intermediatepoint': d_line.c:206: warning: implicit declaration of function 'pw_vector' d_line.c:219: warning: implicit declaration of function 'append_point' d_line.c: In function 'create_lineobject': d_line.c:306: warning: implicit declaration of function 'redisplay_compound' d_line.c:311: warning: implicit declaration of function 'redisplay_line' rm -f d_regpoly.o /usr/bin/cc -c -g -Os -Wall -Wpointer-arith -no-cpp-precomp -I/opt/local/include -I/opt/local/ include -I/usr/include/X11/Xaw3d -I/usr/X11R6/include -DDARWIN - DNO_ALLOCA -DCSRG_BASED -DXAW3D -DUSE_JPEG -DI18N - DSETLOCALE d_regpoly.c In file included from d_regpoly.c:26: w_canvas.h:37: warning: type defaults to 'int' in declaration of 'canvas_selected' d_regpoly.c: In function 'regpoly_drawing_selected': d_regpoly.c:44: warning: implicit declaration of function 'set_cursor' d_regpoly.c: In function 'cancel_regpoly': d_regpoly.c:71: warning: implicit declaration of function 'erase_lengths' d_regpoly.c: In function 'create_regpoly': d_regpoly.c:131: warning: implicit declaration of function 'append_point' d_regpoly.c:137: warning: implicit declaration of function 'redisplay_line' rm -f d_spline.o /usr/bin/cc -c -g -Os -Wall -Wpointer-arith -no-cpp-precomp -I/opt/local/include -I/opt/local/ include -I/usr/include/X11/Xaw3d -I/usr/X11R6/include -DDARWIN - DNO_ALLOCA -DCSRG_BASED -DXAW3D -DUSE_JPEG -DI18N - DSETLOCALE d_spline.c In file included from d_spline.c:30: w_canvas.h:37: warning: type defaults to 'int' in declaration of 'canvas_selected' d_spline.c: In function 'spline_drawing_selected': d_spline.c:49: warning: implicit declaration of function 'set_cursor' d_spline.c: In function 'create_splineobject': d_spline.c:96: warning: implicit declaration of function 'put_msg' d_spline.c:97: warning: implicit declaration of function 'beep' d_spline.c:103: warning: implicit declaration of function 'erase_lengths' d_spline.c:149: warning: implicit declaration of function 'free_spline' d_spline.c:156: warning: implicit declaration of function 'redisplay_spline' rm -f d_text.o /usr/bin/cc -c -g -Os -Wall -Wpointer-arith -no-cpp-precomp -I/opt/local/include -I/opt/local/ include -I/usr/include/X11/Xaw3d -I/usr/X11R6/include -DDARWIN - DNO_ALLOCA -DCSRG_BASED -DXAW3D -DUSE_JPEG -DI18N - DSETLOCALE d_text.c In file included from d_text.c:23: f_util.h:22: warning: type defaults to 'int' in declaration of 'emptyfigure' In file included from d_text.c:24: d_text.h:31: warning: type defaults to 'int' in declaration of 'i18n_char_handler' d_text.h:32: warning: type defaults to 'int' in declaration of 'prefix_append_char' In file included from d_text.c:26: u_fonts.h:35: error: array type has incomplete element type u_fonts.h:35: error: array type has incomplete element type u_fonts.h:36: error: array type has incomplete element type u_fonts.h:37: error: array type has incomplete element type In file included from d_text.c:30: w_canvas.h:37: warning: type defaults to 'int' in declaration of 'canvas_selected' d_text.c: In function 'text_drawing_selected': d_text.c:190: warning: implicit declaration of function 'set_cursor' d_text.c: In function 'cancel_text_input': d_text.c:238: warning: implicit declaration of function 'redisplay_text' d_text.c: In function 'init_text_input': d_text.c:548: warning: implicit declaration of function 'toggle_textmarker' d_text.c:549: warning: implicit declaration of function 'draw_text' d_text.c: In function 'initialize_char_handler': d_text.c:804: warning: implicit declaration of function 'xim_set_spot' d_text.c: At top level: d_text.c:821: warning: return type defaults to 'int' d_text.c:831: warning: return type defaults to 'int' d_text.c:837: warning: return type defaults to 'int' d_text.c:843: warning: return type defaults to 'int' d_text.c:851: warning: return type defaults to 'int' d_text.c:856: warning: return type defaults to 'int' d_text.c:861: warning: return type defaults to 'int' d_text.c:869: warning: return type defaults to 'int' d_text.c:874: warning: return type defaults to 'int' d_text.c: In function 'draw_char_string': d_text.c:900: warning: implicit declaration of function 'i18n_text_extents' d_text.c:893: warning: unused variable 'cwidth' d_text.c: In function 'char_handler': d_text.c:985: warning: implicit declaration of function 'move_pref_to_suf' d_text.c:1002: warning: implicit declaration of function 'move_suf_to_pref' d_text.c: At top level: d_text.c:1588: warning: return type defaults to 'int' d_text.c:1616: warning: return type defaults to 'int' d_text.c:1889: warning: return type defaults to 'int' d_text.c: In function 'xim_set_ic_geometry': d_text.c:1896: warning: 'return' with no value, in function returning non-void d_text.c: In function 'xim_initialize': d_text.c:1958: warning: 'return' with no value, in function returning non-void d_text.c:1939: warning: unused variable 'im_event_mask' d_text.c: At top level: d_text.c:2022: warning: return type defaults to 'int' d_text.c:2086: warning: return type defaults to 'int' d_text.c:2096: warning: return type defaults to 'int' make: * [d_text.o] Error 1 Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_graphics_xfig/ work/xfig.3.2.4" && make all" returned error 2 Command output: d_text.c: At top level: d_text.c:821: warning: return type defaults to 'int' d_text.c:831: warning: return type defaults to 'int' d_text.c:837: warning: return type defaults to 'int' d_text.c:843: warning: return type defaults to 'int' d_text.c:851: warning: return type defaults to 'int' d_text.c:856: warning: return type defaults to 'int' d_text.c:861: warning: return type defaults to 'int' d_text.c:869: warning: return type defaults to 'int' d_text.c:874: warning: return type defaults to 'int' d_text.c: In function 'draw_char_string': d_text.c:900: warning: implicit declaration of function 'i18n_text_extents' d_text.c:893: warning: unused variable 'cwidth' d_text.c: In function 'char_handler': d_text.c:985: warning: implicit declaration of function 'move_pref_to_suf' d_text.c:1002: warning: implicit declaration of function 'move_suf_to_pref' d_text.c: At top level: d_text.c:1588: warning: return type defaults to 'int' d_text.c:1616: warning: return type defaults to 'int' d_text.c:1889: warning: return type defaults to 'int' d_text.c: In function 'xim_set_ic_geometry': d_text.c:1896: warning: 'return' with no value, in function returning non-void d_text.c: In function 'xim_initialize': d_text.c:1958: warning: 'return' with no value, in function returning non-void d_text.c:1939: warning: unused variable 'im_event_mask' d_text.c: At top level: d_text.c:2022: warning: return type defaults to 'int' d_text.c:2086: warning: return type defaults to 'int' d_text.c:2096: warning: return type defaults to 'int' make: * [d_text.o] Error 1

Warning: the following items did not execute (for xfig): com.apple.activate com.apple.build com.apple.destroot com.apple.archive com.apple.install

Change History (1)

comment:1 Changed 19 years ago by pguyot (Paul Guyot)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.