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 585401 - Compile error with epiphany 2.27
Compile error with epiphany 2.27
Status: RESOLVED FIXED
Product: gwget
Classification: Deprecated
Component: general
1.0.x
Other Linux
: Normal normal
: ---
Assigned To: David Sedeño Fernández
David Sedeño Fernández
: 595816 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-06-11 01:46 UTC by Christoph Wickert
Modified: 2009-10-03 17:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
complete build log (50.43 KB, text/plain)
2009-06-11 01:47 UTC, Christoph Wickert
  Details
patch to fix epiphany 2.27 include (605 bytes, patch)
2009-06-15 19:00 UTC, David Sedeño Fernández
rejected Details | Review
Patch I'll use in openSUSE (2.96 KB, patch)
2009-08-05 12:43 UTC, Vincent Untz
committed Details | Review

Description Christoph Wickert 2009-06-11 01:46:43 UTC
I'm trying to rebuild gwget 1.0.1 (not available in BZ) against epiphany 2.27 with gcc 4.4.0, so I patched configure.ac as I previously in bug # 571789, but no luck:

In file included from ephy-gwget-extension.c:32:
/usr/include/epiphany/2.27/epiphany/ephy-embed-single.h:21:2: error: #error "Only <epiphany/epiphany.h> can be included directly."
In file included from /usr/include/epiphany/2.27/epiphany/ephy-embed-single.h:27,
                 from ephy-gwget-extension.c:32:
/usr/include/epiphany/2.27/epiphany/ephy-embed.h:21:2: error: #error "Only <epiphany/epiphany.h> can be included directly."
In file included from /usr/include/epiphany/2.27/epiphany/ephy-embed.h:27,
                 from /usr/include/epiphany/2.27/epiphany/ephy-embed-single.h:27,
                 from ephy-gwget-extension.c:32:
/usr/include/epiphany/2.27/epiphany/ephy-embed-event.h:22:2: error: #error "Only <epiphany/epiphany.h> can be included directly."
mv -f .deps/ephy-gwget.Tpo .deps/ephy-gwget.Plo
In file included from ephy-gwget-extension.c:33:
/usr/include/epiphany/2.27/epiphany/ephy-embed-shell.h:21:2: error: #error "Only <epiphany/epiphany.h> can be included directly."
../src/gwget-application.c: In function 'gwget_application_open_uri':
../src/gwget-application.c:156: warning: implicit declaration of function 'strlen'
../src/gwget-application.c:156: warning: incompatible implicit declaration of built-in function 'strlen'
make[2]: *** [ephy-gwget-extension.lo] Error 1
Comment 1 Christoph Wickert 2009-06-11 01:47:50 UTC
Created attachment 136311 [details]
complete build log
Comment 2 David Sedeño Fernández 2009-06-15 19:00:39 UTC
Created attachment 136656 [details] [review]
patch to fix epiphany 2.27 include

Can you please test this patch? It seems that epiphany have changed the method to include it's files. Thanks.
Comment 3 Christoph Wickert 2009-06-15 21:03:35 UTC
Doesn't change a thing, still the same error.
Comment 4 Vincent Untz 2009-08-05 12:43:56 UTC
Created attachment 139940 [details] [review]
Patch I'll use in openSUSE

Seems to work (it at least builds ;-))
Comment 5 David Sedeño Fernández 2009-08-14 17:54:22 UTC
Patch committed to git. Thanks Vincent.
Comment 6 David Sedeño Fernández 2009-10-03 17:03:01 UTC
*** Bug 595816 has been marked as a duplicate of this bug. ***