On Fri, Dec 14, 2012 at 6:14 PM, Uli Schlachter <[email protected]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Hi everyone,
>
> there isn't anything really exciting in here (which is a good thing for a
> rc2). Gregor finally sent in the patches that he has been sitting on and we
> got rid of a couple of weird bugs and corner cases. Of course, all of these
> were my fault, so feel free to send in your hate mails.
>
> Thanks to everyone who tested v3.5-rc1 and who provided feedback for the
> migration guide. This doesn't mean that the guide is perfect yet. So, before
> you upgrade, be sure to read it and afterward update it with all the useful
> information that you can provide:
>
>   http://awesome.naquadah.org/wiki/Awesome_3.4_to_3.5
>
> Thanks for flying awesome-airlines and have nice day,

Hello Uli,

I'm maintainer of awesome on FreeBSD ports and I'm trying to build 3.5-rc2
when i got an error, a missing header glib-unix.h.

I took a look and didn't find any port that install this file. Maybe
it came from
newer versions of glib, today we have glib 2.28 available on FreeBSD.

I replaced glib-unix.h by glib.h on awesome.c and tried to build it again,
but now i got the following error:

[ 33%] Building C object CMakeFiles/awesome.dir/objects/window.c.o
/usr/bin/cc   -O2 -pipe -I/usr/local/include -fno-strict-aliasing -O2
-pipe -I/usr/local/include -fno-strict-aliasing
-I/work/a/ports/x11-wm/awesome-devel/work/awesome-3.5-rc2
-I/usr/local/include -I/usr/local/include/gdk-pixbuf-2.0
-I/usr/local/include/cairo -I/usr/local/include/glib-2.0
-I/usr/local/include/pixman-1 -I/usr/local/include/freetype2
-I/usr/local/include/libpng15
-I/usr/local/include/startup-notification-1.0
-I/usr/local/include/lua51 -I/usr/local/include/dbus-1.0
-I/usr/local/include/dbus-1.0/include    -O1 -std=gnu99 -ggdb3
-rdynamic -fno-strict-aliasing -Wall -Wextra -Wchar-subscripts -Wundef
-Wshadow -Wcast-align -Wwrite-strings -Wsign-compare -Wunused
-Wno-unused-parameter -Wuninitialized -Winit-self -Wpointer-arith
-Wformat-nonliteral -Wno-format-zero-length -Wmissing-format-attribute
-Wmissing-prototypes -Wstrict-prototypes -o
CMakeFiles/awesome.dir/objects/window.c.o   -c
/work/a/ports/x11-wm/awesome-devel/work/awesome-3.5-rc2/objects/window.c
Linking C executable awesome
/usr/local/bin/cmake -E cmake_link_script
CMakeFiles/awesome.dir/link.txt --verbose=1
/usr/bin/cc  -O2 -pipe -I/usr/local/include -fno-strict-aliasing -O2
-pipe -I/usr/local/include -fno-strict-aliasing   -L/usr/local/lib
-export-dynamic CMakeFiles/awesome.dir/awesome.c.o
CMakeFiles/awesome.dir/banning.c.o CMakeFiles/awesome.dir/color.c.o
CMakeFiles/awesome.dir/dbus.c.o CMakeFiles/awesome.dir/draw.c.o
CMakeFiles/awesome.dir/event.c.o CMakeFiles/awesome.dir/ewmh.c.o
CMakeFiles/awesome.dir/keygrabber.c.o
CMakeFiles/awesome.dir/keyresolv.c.o CMakeFiles/awesome.dir/luaa.c.o
CMakeFiles/awesome.dir/mouse.c.o
CMakeFiles/awesome.dir/mousegrabber.c.o
CMakeFiles/awesome.dir/property.c.o CMakeFiles/awesome.dir/root.c.o
CMakeFiles/awesome.dir/screen.c.o CMakeFiles/awesome.dir/selection.c.o
CMakeFiles/awesome.dir/spawn.c.o CMakeFiles/awesome.dir/stack.c.o
CMakeFiles/awesome.dir/strut.c.o CMakeFiles/awesome.dir/systray.c.o
CMakeFiles/awesome.dir/xwindow.c.o
CMakeFiles/awesome.dir/common/atoms.c.o
CMakeFiles/awesome.dir/common/backtrace.c.o
CMakeFiles/awesome.dir/common/buffer.c.o
CMakeFiles/awesome.dir/common/luaclass.c.o
CMakeFiles/awesome.dir/common/lualib.c.o
CMakeFiles/awesome.dir/common/luaobject.c.o
CMakeFiles/awesome.dir/common/util.c.o
CMakeFiles/awesome.dir/common/version.c.o
CMakeFiles/awesome.dir/common/xcursor.c.o
CMakeFiles/awesome.dir/common/xembed.c.o
CMakeFiles/awesome.dir/common/xutil.c.o
CMakeFiles/awesome.dir/objects/button.c.o
CMakeFiles/awesome.dir/objects/client.c.o
CMakeFiles/awesome.dir/objects/drawable.c.o
CMakeFiles/awesome.dir/objects/drawin.c.o
CMakeFiles/awesome.dir/objects/key.c.o
CMakeFiles/awesome.dir/objects/tag.c.o
CMakeFiles/awesome.dir/objects/timer.c.o
CMakeFiles/awesome.dir/objects/window.c.o  -o awesome
-L/usr/local/lib -lxcb -L/usr/local/lib -lxcb -lgdk_pixbuf-2.0 -lm
-lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lX11-xcb -lX11 -lXcursor
-lxcb-randr -lxcb-xtest -lxcb-xinerama -lxcb-shape -lxcb-util
-lxcb-keysyms -lxcb-icccm -lxcb-image -lxcb-shm -lcairo -pthread
-lxcb-render -lxcb -lstartup-notification-1 -L/usr/local/lib
-lxdg-basedir /usr/local/lib/libexecinfo.so
/usr/local/lib/liblua-5.1.so -lm -L/usr/local/lib -ldbus-1 -pthread
-lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lX11-xcb
-lX11 -lXcursor -lxcb-randr -lxcb-xtest -lxcb-xinerama -lxcb-shape
-lxcb-util -lxcb-keysyms -lxcb-icccm -lxcb-image -lxcb-shm -lcairo
-lxcb-render -lstartup-notification-1 -lxdg-basedir
/usr/local/lib/libexecinfo.so /usr/local/lib/liblua-5.1.so -lm
-ldbus-1 -Wl,-rpath,/usr/local/lib:
CMakeFiles/awesome.dir/awesome.c.o: In function `main':
/work/a/ports/x11-wm/awesome-devel/work/awesome-3.5-rc2/awesome.c:364:
undefined reference to `g_unix_signal_add'
/work/a/ports/x11-wm/awesome-devel/work/awesome-3.5-rc2/awesome.c:365:
undefined reference to `g_unix_signal_add'
/work/a/ports/x11-wm/awesome-devel/work/awesome-3.5-rc2/awesome.c:366:
undefined reference to `g_unix_signal_add'
*** [awesome] Error code 1

You can see full log at
http://app.autopost.com.br/tb/errors/9-FreeBSD/awesome-devel-3.5.r2.log

Seems like it's not adding glib during link time. Could you please
help me to fix it? Is it possible
to keep awesome building with glib 2.28?

Best regards
--
Renato Botelho

-- 
To unsubscribe, send mail to [email protected].

Reply via email to