Opened 13 years ago

Closed 13 years ago

#28261 closed defect (fixed)

fvwm 2.5.31 fails to build with undefined symbols

Reported by: ses@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: fvwm2

Description (last modified by ryandesign (Ryan Carsten Schmidt))

From the log:

:info:build mv -f .deps/menugeometry.Tpo .deps/menugeometry.Po
:info:build /usr/bin/gcc-4.2 -DFVWM_MODULEDIR=\"/opt/local/libexec/fvwm/2.5.31\" -DFVWM_DATADI
R=\"/opt/local/share/fvwm\" -DFVWM_CONFDIR=\"/opt/local/etc\" -DFVWM_COLORSET_PRIVATE=1 -DLOCA
LEDIR=\"/opt/local/share/locale\" -Wall -Wno-implicit-int -pipe -O2 -arch x86_64  -L/opt/local
/lib -arch x86_64 -o fvwm menus.o style.o borders.o events.o move_resize.o builtins.o add_wind
ow.o icons.o fvwm.o frame.o placement.o virtual.o menustyle.o conditional.o ewmh.o stack.o ses
sion.o colorset.o functions.o ewmh_events.o gnome.o geometry.o module_list.o focus.o windowlis
t.o functable.o menuitem.o expand.o module_interface.o menubindings.o decorations.o ewmh_icons
.o update.o bindings.o misc.o cursor.o colormaps.o modconf.o ewmh_conf.o read.o schedule.o men
ucmd.o ewmh_names.o icccm2.o windowshade.o focus_policy.o repeat.o execcontext.o menugeometry.
o menudim.o condrc.o -L../libs -lfvwm -L/opt/local/lib -lXft   -L/opt/local/lib -R/opt/local/l
ib -lXpm  -lSM -lICE -lXinerama -lXext -lX11  -lm -liconv -lXrender -lXcursor  -lpng -lz -L/op
t/local/lib -lrsvg-2 -lgio-2.0 -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 -lpng14 -lgthr
ead-2.0 -lglib-2.0 -lintl -liconv -lcairo    
:info:build Undefined symbols:
:info:build   "_FcPatternPrint", referenced from:
:info:build       _FftPrintPatternInfo in libfvwm.a(Fft.o)
:info:build   "_FcPatternAddMatrix", referenced from:
:info:build       _FftGetRotatedFont in libfvwm.a(Fft.o)
:info:build       _FftGetFont in libfvwm.a(Fft.o)
:info:build   "_FcPatternDuplicate", referenced from:
:info:build       _FftGetRotatedFont in libfvwm.a(Fft.o)
:info:build   "_FcPatternDestroy", referenced from:
:info:build       _FftGetRotatedFont in libfvwm.a(Fft.o)
:info:build       _FftGetFont in libfvwm.a(Fft.o)
:info:build       _FftGetFont in libfvwm.a(Fft.o)
:info:build       _FftGetFont in libfvwm.a(Fft.o)
:info:build       _FftGetFont in libfvwm.a(Fft.o)
:info:build   "_FcPatternGetMatrix", referenced from:
:info:build       _FftPrintPatternInfo in libfvwm.a(Fft.o)
:info:build       _FftGetRotatedFont in libfvwm.a(Fft.o)
:info:build       _FftGetFont in libfvwm.a(Fft.o)
:info:build   "_FcPatternDel", referenced from:
:info:build       _FftGetRotatedFont in libfvwm.a(Fft.o)
:info:build       _FftGetFont in libfvwm.a(Fft.o)
:info:build ld: symbol(s) not found
:info:build collect2: ld returned 1 exit status
:info:build make[2]: *** [fvwm] Error 1
:info:build make[1]: *** [all-recursive] Error 1
:info:build make: *** [all] Error 2
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_fvwm2/work/fvwm-2.5.31" && /usr/bin/make -j4 all " returned error 2

Attachments (1)

main.log (211.9 KB) - added by ses@… 13 years ago.
build log

Download all attachments as: .zip

Change History (4)

Changed 13 years ago by ses@…

Attachment: main.log added

build log

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

Description: modified (diff)

Those are probably fontconfig symbols.

comment:2 Changed 13 years ago by Christoph.Ender@…

Possible hotfix: Add the line:

build.args          LIBS=-lfontconfig LDFLAGS=-L/opt/local/lib

to the portfile:

/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/x11/fvwm2/Portfile

comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Resolution: fixed
Status: newclosed

They fixed it in 2.6.0. I updated the port to 2.6.3 in r84815.

Note: See TracTickets for help on using tickets.