RESOLVED WONTFIX 76990
[GTK] Build failure: missing 'libgpg-error' and 'atk' dependencies
https://bugs.webkit.org/show_bug.cgi?id=76990
Summary [GTK] Build failure: missing 'libgpg-error' and 'atk' dependencies
Grzegorz Czajkowski
Reported 2012-01-25 01:13:59 PST
Add 'libgpg-error' and 'atk' libraries that are required with higher version than exist in Ubuntu 10.10 for successfully compile WebKitGTK. This patch doesn't improve WebKit's build for new OS like Ubunutu 11.10 but without it WebKitGtk can not be built with older stuff.
Attachments
proposed patch (2.33 KB, patch)
2012-01-25 01:15 PST, Grzegorz Czajkowski
gustavo: review-
Grzegorz Czajkowski
Comment 1 2012-01-25 01:15:11 PST
Created attachment 123896 [details] proposed patch
Grzegorz Czajkowski
Comment 2 2012-01-25 01:31:07 PST
CC'ing developers related with WebKitGtk and Build System.
Martin Robinson
Comment 3 2012-01-25 08:04:08 PST
Before this point the jhbuild file has been used to bring in proper dependencies to ensure consistent test results. I'm not sure this is the appropriate fix. Where are these dependencies coming from? It might be an accident that we require such a new version of ATK.
Grzegorz Czajkowski
Comment 4 2012-01-26 06:59:34 PST
(In reply to comment #3) > Before this point the jhbuild file has been used to bring in proper dependencies to ensure consistent test results. I'm not sure this is the appropriate fix. Where are these dependencies coming from? It might be an accident that we require such a new version of ATK. Logs from jhbuild: *** Configuring libgcrypt *** [9/17] .... .... checking for GPG Error - version >= 1.8... no configure: error: libgpg-error is needed. See ftp://ftp.gnupg.org/gcrypt/libgpg-error/ . *** Error during phase configure of libgcrypt: ########## Error running ./configure --prefix /home/gczajkowski/sources/webkit.org/WebKit/WebKitBuild/Dependencies/Root --libdir '/home/gczajkowski/sources/webkit.org/WebKit/WebKitBuild/Dependencies/Root/lib' --disable-static --disable-gtk-doc *** [9/17] *** module gnutls not built due to non buildable libgcrypt *** [11/17] *** module glib-networking not built due to non buildable gnutls *** [12/17] *** module gnome-icon-theme not built due to non buildable gtk+ *** [13/17] *** module libsoup not built due to non buildable glib-networking *** [14/17]
Martin Robinson
Comment 5 2012-01-26 07:07:40 PST
(In reply to comment #4) > (In reply to comment #3) > > Before this point the jhbuild file has been used to bring in proper dependencies to ensure consistent test results. I'm not sure this is the appropriate fix. Where are these dependencies coming from? It might be an accident that we require such a new version of ATK. > > Logs from jhbuild: > *** Configuring libgcrypt *** [9/17] > .... > .... > checking for GPG Error - version >= 1.8... no > configure: error: libgpg-error is needed. > See ftp://ftp.gnupg.org/gcrypt/libgpg-error/ . > *** Error during phase configure of libgcrypt: ########## Error running ./configure --prefix /home/gczajkowski/sources/webkit.org/WebKit/WebKitBuild/Dependencies/Root --libdir '/home/gczajkowski/sources/webkit.org/WebKit/WebKitBuild/Dependencies/Root/lib' --disable-static --disable-gtk-doc *** [9/17] > > *** module gnutls not built due to non buildable libgcrypt *** [11/17] > *** module glib-networking not built due to non buildable gnutls *** [12/17] > *** module gnome-icon-theme not built due to non buildable gtk+ *** [13/17] > *** module libsoup not built due to non buildable glib-networking *** [14/17] The dependency, in particular, is listed here: http://trac.webkit.org/wiki/BuildingGtk If there are others that are missing we should list them.
Grzegorz Czajkowski
Comment 6 2012-01-26 23:33:16 PST
(In reply to comment #5) > (In reply to comment #4) > > (In reply to comment #3) > > > Before this point the jhbuild file has been used to bring in proper dependencies to ensure consistent test results. I'm not sure this is the appropriate fix. Where are these dependencies coming from? It might be an accident that we require such a new version of ATK. > > > > Logs from jhbuild: > > *** Configuring libgcrypt *** [9/17] > > .... > > .... > > checking for GPG Error - version >= 1.8... no > > configure: error: libgpg-error is needed. > > See ftp://ftp.gnupg.org/gcrypt/libgpg-error/ . > > *** Error during phase configure of libgcrypt: ########## Error running ./configure --prefix /home/gczajkowski/sources/webkit.org/WebKit/WebKitBuild/Dependencies/Root --libdir '/home/gczajkowski/sources/webkit.org/WebKit/WebKitBuild/Dependencies/Root/lib' --disable-static --disable-gtk-doc *** [9/17] > > > > *** module gnutls not built due to non buildable libgcrypt *** [11/17] > > *** module glib-networking not built due to non buildable gnutls *** [12/17] > > *** module gnome-icon-theme not built due to non buildable gtk+ *** [13/17] > > *** module libsoup not built due to non buildable glib-networking *** [14/17] > > The dependency, in particular, is listed here: http://trac.webkit.org/wiki/BuildingGtk If there are others that are missing we should list them. All dependencies from http://trac.webkit.org/wiki/BuildingGtk are installed and I my opinion all of them are listed. The main problem is that libgcrpyt which is downloaded and complied by jhbuild requires higher version of libgpg-error (>=1.8) than is available in Ubuntu 10.10 (libgpg-error-dev 1.6-1ubuntu2), even after apt-get update, upgrade. I agree with you that it can't be proper fix but my idea was adding libgpg-error as it's done for gnutls which requires libgcrypt and p11-kit. The same issue occurs for atk.
Gustavo Noronha (kov)
Comment 7 2012-01-30 04:35:50 PST
Comment on attachment 123896 [details] proposed patch gcrypt, gnutls, p11-kit were added in a hurry, we were actually planning to remove them, actually, and make them dependencies that you should install via your package manager; if you remove those, do you still have problems? ATK may make more sense, though, since we rely on it directly and it should not bring a list of deps of its own
Gustavo Noronha (kov)
Comment 8 2012-03-27 10:54:45 PDT
Closing this as per my explanation.
Note You need to log in before you can comment on or make changes to this bug.