Opened 16 years ago

Closed 15 years ago

#15201 closed defect (fixed)

desktop-file-utils-0.15 build error

Reported by: jeffholmes@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port: desktop-file-utils

Description (last modified by blb@…)

On Macbook, Intel, running OS X 10.5.2 and XCode 3.0:

sudo port install gimp-app
--->  Building desktop-file-utils with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_desktop-file-utils/work/desktop-file-utils-0.15" && make all " returned error 2
Command output: make  all-recursive
Making all in src
make[2]: Nothing to be done for `all'.
Making all in misc
WARNING: Warnings can be ignored. :-)
if test emacs != no; then \
	  set x; \
	  list='desktop-entry-mode.el'; for p in $list; do \
            if test -f "$p"; then d=; else d="./"; fi; \
	    set x "$@" "$d$p"; shift; \
	  done; \
	  shift; \
	  EMACS=emacs /bin/sh ../elisp-comp "$@" || exit 1; \
	else : ; fi
Fatal malloc_jumpstart() error
make[2]: *** [elc-stamp] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: The following dependencies failed to build: gimp2 libgnomeui libbonoboui gnome-vfs desktop-file-utils gnome-mime-data libbonobo libglade2 libgnome esound audiofile libgnomecanvas gail libgtkhtml libmng autoconf help2man p5-locale-gettext m4 automake lcms librsvg libcroco libgsf libwmf poppler poppler-data py25-gtk py25-cairo py25-numpy fftw-3 g95
Error: Status 1 encountered during processing.

Change History (5)

comment:1 Changed 16 years ago by spambox@…

This has also happened to me on an Intel MacBook (2GHz one), OS X 10.5.2 and whatever XCode came with the install disks.

--->  Building desktop-file-utils with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_desktop-file-utils/work/desktop-file-utils-0.15" && make all " returned error 2
Command output: /usr/bin/gcc-4.0 -O2 -no-cpp-precomp -flat_namespace -undefined suppress -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -o desktop-file-validate keyfileutils.o validate.o validator.o  -L/opt/local/lib /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib
if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include   -DDATADIR="\"/opt/local/share\"" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -I/opt/local/include -L/opt/local/lib  -O2 -no-cpp-precomp -flat_namespace -undefined suppress -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -MT install.o -MD -MP -MF ".deps/install.Tpo" \
	  -c -o install.o `test -f 'install.c' || echo './'`install.c; \
	then mv -f ".deps/install.Tpo" ".deps/install.Po"; \
	else rm -f ".deps/install.Tpo"; exit 1; \
	fi
/bin/sh ../libtool --mode=link /usr/bin/gcc-4.0  -O2 -no-cpp-precomp -flat_namespace -undefined suppress -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare  -L/opt/local/lib -o desktop-file-install  keyfileutils.o validate.o install.o -L/opt/local/lib -lglib-2.0 -lintl -liconv   
/usr/bin/gcc-4.0 -O2 -no-cpp-precomp -flat_namespace -undefined suppress -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -o desktop-file-install keyfileutils.o validate.o install.o  -L/opt/local/lib /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib
if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include   -DDATADIR="\"/opt/local/share\"" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -I/opt/local/include -L/opt/local/lib  -O2 -no-cpp-precomp -flat_namespace -undefined suppress -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -MT update-desktop-database.o -MD -MP -MF ".deps/update-desktop-database.Tpo" \
	  -c -o update-desktop-database.o `test -f 'update-desktop-database.c' || echo './'`update-desktop-database.c; \
	then mv -f ".deps/update-desktop-database.Tpo" ".deps/update-desktop-database.Po"; \
	else rm -f ".deps/update-desktop-database.Tpo"; exit 1; \
	fi
/bin/sh ../libtool --mode=link /usr/bin/gcc-4.0  -O2 -no-cpp-precomp -flat_namespace -undefined suppress -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare  -L/opt/local/lib -o update-desktop-database  update-desktop-database.o -L/opt/local/lib -lglib-2.0 -lintl -liconv   
/usr/bin/gcc-4.0 -O2 -no-cpp-precomp -flat_namespace -undefined suppress -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -o update-desktop-database update-desktop-database.o  -L/opt/local/lib /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib
Making all in misc
WARNING: Warnings can be ignored. :-)
if test emacs != no; then \
	  set x; \
	  list='desktop-entry-mode.el'; for p in $list; do \
            if test -f "$p"; then d=; else d="./"; fi; \
	    set x "$@" "$d$p"; shift; \
	  done; \
	  shift; \
	  EMACS=emacs /bin/sh ../elisp-comp "$@" || exit 1; \
	else : ; fi
Fatal malloc_jumpstart() error
make[2]: *** [elc-stamp] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

comment:2 Changed 16 years ago by spambox@…

This is caused by Leopard occasionally installing with an out of date version of emacs (wtf?)

See http://discussions.apple.com/thread.jspa?messageID=5910972

Workaround:

sudo mv /usr/bin/emacs-i386 /usr/bin/emacs-i386.backup sudo /usr/libexec/dumpemacs -d emacs --version

Version should be 22.1.1

Now, make sure to sudo port clean desktop-file-utils and then retry installing it. It worked for me.

However, it's probably not good for a port build process to be depending on external emacs like that.

comment:3 Changed 16 years ago by spambox@…

gahhh... formatting above is messed up

sudo mv /usr/bin/emacs-i386 /usr/bin/emacs-i386.backup
sudo /usr/libexec/dumpemacs -d
emacs --version 

comment:4 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:5 Changed 15 years ago by blb@…

Description: modified (diff)
Keywords: desktop-file-utils removed
Port: desktop-file-utils added
Resolution: fixed
Status: newclosed

emacs support was disabled in r40951 (for ticket #15922), so this should be fixed.

Note: See TracTickets for help on using tickets.