emacs +x11
Ken Preslan
ken at preslan.org
Fri Jan 21 15:46:55 PST 2011
I recently upgraded my installation of the "emacs +x11" port and I'm
getting an error. I did a "port uninstall emacs ; port clean emacs" and
I still get the error.
# port install emacs +x11
---> Computing dependencies for emacs
---> Fetching emacs
---> Verifying checksum(s) for emacs
---> Extracting emacs
---> Configuring emacs
---> Building emacs
Error: Target org.macports.build returned: shell command failed (see log
for details)
Log for emacs is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_editors_emacs/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
The interesting part of main.log appears to be:
:msg:main ---> Building emacs
:debug:build build phase started at Fri Jan 21 17:00:51 CST 2011
:debug:build Executing org.macports.build (emacs)
:debug:build Environment: CPATH='/opt/local/include'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_editors_emacs/work/.CC_PRINT_OPTIONS'
LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:build Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_editors_emacs/work/emacs-23.2"
&& /usr/bin/make -j2 all'
:info:build cd lib-src; /usr/bin/make all - --jobserver-fds=6,7 -j
\
:info:build CC='/usr/bin/gcc-4.2' CFLAGS='-O2 -arch x86_64'
CPPFLAGS='-I/opt/local/include' \
:info:build LDFLAGS='-L/opt/local/lib -arch x86_64
-L/opt/local/lib' MAKE='/usr/bin/make'
:info:build make[1]: Nothing to be done for `all'.
:info:build boot=bootstrap-emacs; \
:info:build if [ ! -x "src/$boot" ]; then
\
:info:build cd src; /usr/bin/make all - --jobserver-fds=6,7 -j
\
:info:build CC='/usr/bin/gcc-4.2' CFLAGS='-O2 -arch x86_64'
CPPFLAGS='-I/opt/local/include' \
:info:build LDFLAGS='-L/opt/local/lib -arch x86_64
-L/opt/local/lib' MAKE='/usr/bin/make' BOOTSTRAPEMACS="$boot"; \
:info:build fi;
:info:build cd ../lwlib/; /usr/bin/make - --jobserver-fds=6,7 -
--jobserver-fds=6,7 -j CC='/usr/bin/gcc-4.2' CFLAGS='-O2 -arch x86_64'
MAKE='/usr/bin/make' "C_SWITCH_X_SITE=-I/opt/local/include
-I/opt/local/include -I/opt/local/include/freetype2"
"C_SWITCH_X_MACHINE=" "C_SWITCH_X_SYSTEM=" "C_SWITCH_MACHINE="
"C_SWITCH_SYSTEM="
:info:build make[2]: Nothing to be done for `all'.
:info:build /usr/bin/gcc-4.2 -prebind -Xlinker -headerpad -Xlinker 690
-L/opt/local/lib -arch x86_64 -L/opt/local/lib -o temacs pre-crt0.o
dispnew.o frame.o scroll.o xdisp.o menu.o xmenu.o window.o charset.o
coding.o category.o ccl.o character.o chartab.o cm.o term.o terminal.o
xfaces.o xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o
image.o xsettings.o xgselect.o emacs.o keyboard.o macros.o keymap.o
sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o
dired.o filemode.o cmds.o casetab.o casefiddle.o indent.o search.o
regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o
floatfns.o fns.o font.o print.o lread.o syntax.o unexmacosx.o bytecode.o
process.o callproc.o region-cache.o sound.o atimer.o doprnt.o strftime.o
intervals.o textprop.o composite.o md5.o xfont.o ftfont.o xftfont.o
ftxfont.o terminfo.o lastfile.o widget.o mktime.o ../lwlib/liblw.a
-L/opt/local/lib -lXaw -lXmu -lXt -lSM -lICE -lXext -ltiff -ljpeg -lpng
-lz -lm -lgif -lXpm -lX11 -lXrender -L/opt/local/lib -lXft -lncurses
:info:build Undefined symbols:
:info:build "_FcFontSetDestroy", referenced from:
:info:build _ftfont_lookup_cache in ftfont.o
:info:build _ftfont_list_family in ftfont.o
:info:build _ftfont_list in ftfont.o
:info:build "_FcCharSetAddChar", referenced from:
:info:build _ftfont_get_charset in ftfont.o
:info:build _ftfont_spec_pattern in ftfont.o
:info:build "_FcNameConstant", referenced from:
:info:build _xftfont_add_rendering_parameters in xftfont.o
:info:build _xftfont_add_rendering_parameters in xftfont.o
:info:build _xftfont_add_rendering_parameters in xftfont.o
:info:build "_FT_Done_Face", referenced from:
:info:build _ftfont_close in ftfont.o
:info:build _ftfont_open in ftfont.o
:info:build _ftfont_pattern_entity in ftfont.o
...
It goes on about not being able to find reference for a while.
I can "cd" into the right place in the /opt/local tree and run the
gcc-4.2 line by hand. If I add "-lfontconfig -lfreetype" on to the end
of the line, it links correctly.
I hadn't update for a while, so it did a whole bunch of ports when I
updated this time. I don't have a list of what it did anymore, so I don't
know which port is the culprit.
Does anybody have any ideas?
Thanks!
--
Ken Preslan <ken at preslan.org>
More information about the macports-users
mailing list