After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 780414 - gnome-builder-3.24.0/contrib/gd/gd-tagged-entry.c:254: undefined reference to `floor'
gnome-builder-3.24.0/contrib/gd/gd-tagged-entry.c:254: undefined reference to...
Status: RESOLVED FIXED
Product: gnome-builder
Classification: Other
Component: general
3.24.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME Builder Maintainers
GNOME Builder Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-03-22 19:17 UTC by Olav Vitters
Modified: 2017-03-22 20:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gd: ensure -lm is used when necessary (774 bytes, patch)
2017-03-22 20:06 UTC, Christian Hergert
committed Details | Review

Description Olav Vitters 2017-03-22 19:17:40 UTC
While building 3.24.0.

Full log at
http://pkgsubmit.mageia.org/uploads/failure/cauldron/core/updates_testing/20170322191240.ovitters.duvel.30722/log/gnome-builder-3.24.0-1.mga6/build.0.20170322191307.log


make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/gnome-builder-3.24.0/contrib/gd'
/bin/sh ../../libtool  --tag=CC   --mode=link gcc -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -std=gnu11 -D_GNU_SOURCE -Wall -Wcast-align -Wdeclaration-after-statement -Werror=format=2 -Wextra -Wformat-nonliteral -Wformat-security -Wmissing-include-dirs -Wnested-externs -Wno-missing-field-initializers -Wno-sign-compare -Wno-strict-aliasing -Wno-uninitialized -Wno-unused-parameter -Wpointer-arith -Wredundant-decls -Wshadow -Wswitch-default -Wswitch-enum -Wundef  -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o libgd-private.la -rpath /usr/lib64/gnome-builder libgd_private_la-gd-tagged-entry.lo libgd_private_la-gd-resources.lo -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -ldl 
libtool: link: gcc -shared -Wl,--as-needed  -fPIC -DPIC  .libs/libgd_private_la-gd-tagged-entry.o .libs/libgd_private_la-gd-resources.o   -pthread -O2 -g -fstack-protector -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags   -pthread  -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -ldl -Wl,-soname -Wl,libgd-private.so.0 -o .libs/libgd-private.so.0.0.0
.libs/libgd_private_la-gd-tagged-entry.o: In function `gd_tagged_entry_tag_panel_get_position':
/home/iurt/rpmbuild/BUILD/gnome-builder-3.24.0/contrib/gd/gd-tagged-entry.c:254: undefined reference to `floor'
Comment 1 Christian Hergert 2017-03-22 20:06:28 UTC
Created attachment 348528 [details] [review]
gd: ensure -lm is used when necessary
Comment 2 Christian Hergert 2017-03-22 20:06:53 UTC
Will push to gnome-builder-3-24 shortly.

Attachment 348528 [details] pushed as 5806789 - gd: ensure -lm is used when necessary