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 751625 - build error with pure wayland
build error with pure wayland
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: .General
3.16.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
: 752646 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2015-06-29 02:21 UTC by nick
Modified: 2015-07-26 12:39 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix build error when no x11 stuff (276 bytes, patch)
2015-06-29 19:25 UTC, nick
committed Details | Review
this patch is needed too for fix. (2.17 KB, patch)
2015-07-09 23:54 UTC, nick
none Details | Review

Description nick 2015-06-29 02:21:26 UTC
gtk-3.16.4 cannot build with that:

./configure --prefix=/usr --build=x86_64-linux-gnu --host=x86_64-linux-gnu 
--sysconfdir=/etc --localstatedir=/var --disable-schemas-compile 
--disable-x11-backend --disable-broadway-backend --disable-xinerama 
--disable-xrandr --disable-xfixes --disable-xcomposite --disable-xdamage 
--disable-glibtest --disable-cups --disable-papi --disable-cloudprint --without-x 
--disable-largefile --enable-wayland-backend

So i get that:

CCLD     libgtk-3.la
CC       queryimmodules.o
CCLD     gtk-query-immodules-3.0
./.libs/libgtk-3.so: undefined reference to `PANGO_IS_FC_FONT_MAP'
./.libs/libgtk-3.so: undefined reference to `PANGO_FC_FONT_MAP'
collect2: error: ld returned 1 exit status


everythings stock arch-linux packages with latest update.
Comment 1 nick 2015-06-29 03:32:47 UTC
i think i didnt link to pango. removing X11 stuff cause disabling pango?
Comment 2 nick 2015-06-29 19:25:45 UTC
Created attachment 306319 [details] [review]
fix build error when no x11 stuff
Comment 3 Emmanuele Bassi (:ebassi) 2015-06-29 19:43:23 UTC
Thanks for your patch! I've pushed it, with a commit message, to the master branch of GTK+.

For the future, could you please attach patches generated via `git format-patch` or, better yet, via git-bz? That helps speeding up reviewing and pushing them to the repository.

Thanks again!
Comment 4 nick 2015-06-29 20:52:30 UTC
(In reply to Emmanuele Bassi (:ebassi) from comment #3)
> Thanks for your patch! I've pushed it, with a commit message, to the master
> branch of GTK+.
> 
> For the future, could you please attach patches generated via `git
> format-patch` or, better yet, via git-bz? That helps speeding up reviewing
> and pushing them to the repository.
> 
> Thanks again!

i am able to do it. thanks.
Comment 5 nick 2015-07-09 23:54:08 UTC
Created attachment 307185 [details] [review]
this patch is needed too for fix.

Please see id:750892
Comment 6 Ross Burton 2015-07-20 23:00:06 UTC
*** Bug 752646 has been marked as a duplicate of this bug. ***
Comment 7 Matthias Clasen 2015-07-26 04:36:50 UTC
Pushed a slightly different fix
Comment 8 nick 2015-07-26 12:39:59 UTC
the fix confirmed on master. thanks.