Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
pg_overlay chromium
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Princess Nell
l33t
l33t


Joined: 15 Apr 2005
Posts: 914

PostPosted: Sun Sep 25, 2016 10:15 pm    Post subject: pg_overlay chromium Reply with quote

I'm wondering what the magic USE flag combination is to get it compiled these days? 53.0.2785.103 is the latest that builds here.

Default USE flags changed with .116 from inox -iridium -ungoogled to -inox -iridium ungoogled, and it no longer builds. Switching back to inox -ungoogled doesn't work either.
Back to top
View user's profile Send private message
Perfect Gentleman
Veteran
Veteran


Joined: 18 May 2014
Posts: 1245

PostPosted: Mon Sep 26, 2016 1:54 am    Post subject: Reply with quote

1 - latest is 53.0.2785.134
2 - inox and ungoogled are up-to-date, iridium is out-of-date.
i built it with inox, now i use ungoogled.
i've deleted ebuilds of previous versions
do you built chromium with -O3 ?
Back to top
View user's profile Send private message
Princess Nell
l33t
l33t


Joined: 15 Apr 2005
Posts: 914

PostPosted: Mon Sep 26, 2016 10:23 pm    Post subject: Reply with quote

Compile dies some three hours in.

Code:

CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"


Code:

# emerge -v chromium
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] www-client/chromium-53.0.2785.134::local_overlay [53.0.2785.103::local_overlay] USE="gnome-keyring (pic) proprietary-codecs tcmalloc ungoogled* -cups -custom-cflags -gn -gnome (-gtk3) -hangouts -inox* -iridiu
m -kerberos (-neon) -pulseaudio (-selinux) -system-ffmpeg {-test} -vaapi -widevine" L10N="de -am -ar -bg -bn -ca -cs -da -el -en-GB -es -es-419 -et -fa -fi -fil -fr -gu -he -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml -mr -ms
-nb -nl -pl -pt-BR -pt-PT -ro -ru -sk -sl -sr -sv -sw -ta -te -th -tr -uk -vi -zh-CN -zh-TW" 0 KiB

Total: 1 package (1 upgrade), Size of downloads: 0 KiB


>>> Verifying ebuild manifests
[...]
[15917/19357] x86_64-pc-linux-gnu-g++ -MMD -MF obj/chrome/browser/ui/libgtk2ui/gtk2ui.select_file_dialog_impl_kde.o.d -DV8_DEPRECATION_WARNINGS -D_FILE_OFFSET_BITS=64 -DDISABLE_NACL -DCHROMIUM_BUILD -DUI_COMPOSITOR_IMAGE_TRAN
SPORT -DUSE_AURA=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DUSE_X11=1 -DUSE_CLIPBOARD_AURAX11=1 -DENABLE_WEBRTC=1 -DENABLE_MEDIA_ROUTER=1 -DUSE_PROPRIETARY_CODECS -DENABLE_PEPPER_CDMS -
DENABLE_NOTIFICATIONS -DUSE_UDEV -DTRACING_IS_OFFICIAL_BUILD=1 -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PDF=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_PRINTING=1 -DENABLE_BASIC_PR
INTING=1 -DENABLE_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_SUPERVISED_USERS=1 -DENABLE_MDNS=1 -DENABLE_SERVICE_DISCOVERY=1 -DV8_USE_EXTERNAL_STARTUP_DATA -DLIBGTK2UI_IMPLEMENTATION -DUSE_SYSTEM_MINIZIP -DTOOL
KIT_VIEWS=1 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DU_NOEXCEPT= -DU_STATIC_IMPLEMENTATION -DSK_SUPPORT_GPU=1 -DSK_IGNORE_DW_GRAY_FIX -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DUSE_LIBPCI=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS
=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -D_FORTIFY_SOURCE=2 -Igen/shim_headers/libflac/target -Igen/shim_headers/snappy/target -Igen/shim_headers/harfbuzz-ng/tar
get -Igen/shim_headers/zlib/target -Igen/shim_headers/libevent/target -Igen -I../../third_party/khronos -I../../gpu -I../.. -I../../skia/config -Igen/angle -I../../third_party/WebKit/Source -I../../third_party/icu/source/comm
on -I../../third_party/icu/source/i18n -Igen/components -I../../third_party/WebKit -Igen/third_party/WebKit -I../../third_party/skia/include/core -I../../third_party/skia/include/effects -I../../third_party/skia/include/pdf -
I../../third_party/skia/include/gpu -I../../third_party/skia/include/lazy -I../../third_party/skia/include/pathops -I../../third_party/skia/include/pipe -I../../third_party/skia/include/ports -I../../third_party/skia/include/
utils -I../../skia/ext -I../../third_party/boringssl/src/include -Igen/ui/resources -Igen/ui/views/resources -Igen/chrome -fstack-protector --param=ssp-buffer-size=4  -pthread -fno-strict-aliasing -Wall -Wno-extra -Wno-unused
-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Wno-unused-local-typedefs -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include
/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib
-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gtk-unix-print-2.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/
include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include
/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -m64 -march=x86-64 -O2 -fno-ident -fdata-sections -ffunction-sections -funwind-tables -O2 -march=native -pipe -fno-exceptions -fno-rtti -fno-threadsafe-statics
-fvisibility-inlines-hidden -std=gnu++11 -Wno-narrowing  -c ../../chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc -o obj/chrome/browser/ui/libgtk2ui/gtk2ui.select_file_dialog_impl_kde.o
FAILED: x86_64-pc-linux-gnu-g++ -MMD -MF obj/chrome/browser/ui/libgtk2ui/gtk2ui.native_theme_gtk2.o.d -DV8_DEPRECATION_WARNINGS -D_FILE_OFFSET_BITS=64 -DDISABLE_NACL -DCHROMIUM_BUILD -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA
=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DUSE_X11=1 -DUSE_CLIPBOARD_AURAX11=1 -DENABLE_WEBRTC=1 -DENABLE_MEDIA_ROUTER=1 -DUSE_PROPRIETARY_CODECS -DENABLE_PEPPER_CDMS -DENABLE_NOTIFICA
TIONS -DUSE_UDEV -DTRACING_IS_OFFICIAL_BUILD=1 -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PDF=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABL
E_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_SUPERVISED_USERS=1 -DENABLE_MDNS=1 -DENABLE_SERVICE_DISCOVERY=1 -DV8_USE_EXTERNAL_STARTUP_DATA -DLIBGTK2UI_IMPLEMENTATION -DUSE_SYSTEM_MINIZIP -DTOOLKIT_VIEWS=1 -DU_
USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DU_NOEXCEPT= -DU_STATIC_IMPLEMENTATION -DSK_SUPPORT_GPU=1 -DSK_IGNORE_DW_GRAY_FIX -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DUSE_LIBPCI=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -D__STDC_CONS
TANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -D_FORTIFY_SOURCE=2 -Igen/shim_headers/libflac/target -Igen/shim_headers/snappy/target -Igen/shim_headers/harfbuzz-ng/target -Igen/shim_h
eaders/zlib/target -Igen/shim_headers/libevent/target -Igen -I../../third_party/khronos -I../../gpu -I../.. -I../../skia/config -Igen/angle -I../../third_party/WebKit/Source -I../../third_party/icu/source/common -I../../third
_party/icu/source/i18n -Igen/components -I../../third_party/WebKit -Igen/third_party/WebKit -I../../third_party/skia/include/core -I../../third_party/skia/include/effects -I../../third_party/skia/include/pdf -I../../third_par
ty/skia/include/gpu -I../../third_party/skia/include/lazy -I../../third_party/skia/include/pathops -I../../third_party/skia/include/pipe -I../../third_party/skia/include/ports -I../../third_party/skia/include/utils -I../../sk
ia/ext -I../../third_party/boringssl/src/include -Igen/ui/resources -Igen/ui/views/resources -Igen/chrome -fstack-protector --param=ssp-buffer-size=4  -pthread -fno-strict-aliasing -Wall -Wno-extra -Wno-unused-parameter -Wno-
missing-field-initializers -fvisibility=hidden -pipe -fPIC -Wno-unused-local-typedefs -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/in
clude/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib6
4/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gtk-unix-print-2.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr
/lib64/glib-2.0/include -I/usr/include/freetype2 -m64 -march=x86-64 -O2 -fno-ident -fdata-sections -ffunction-sections -funwind-tables -O2 -march=native -pipe -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inl
ines-hidden -std=gnu++11 -Wno-narrowing  -c ../../chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc -o obj/chrome/browser/ui/libgtk2ui/gtk2ui.native_theme_gtk2.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
../../chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc: In member function ‘GtkWidget* libgtk2ui::NativeThemeGtk2::GetLabel() const’:
../../chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc:518:48: error: ‘gtk_widget_get_style_context’ was not declared in this scope
         gtk_widget_get_style_context(fake_label), "gtkstyle-fallback");
                                                ^
../../chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc:518:70: error: ‘gtk_style_context_add_class’ was not declared in this scope
         gtk_widget_get_style_context(fake_label), "gtkstyle-fallback");
                                                                      ^
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
ninja: build stopped: subcommand failed.
 * ERROR: www-client/chromium-53.0.2785.134::local_overlay failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line 133:  Called src_compile
 *   environment, line 5088:  Called die
 * The specific snippet of code:
 *       eninja -C out/Release ${ninja_targets} || die;
 *
 * If you need support, post the output of `emerge --info '=www-client/chromium-53.0.2785.134::local_overlay'`,
 * the complete build log and the output of `emerge -pqv '=www-client/chromium-53.0.2785.134::local_overlay'`.
 *
 * MemTotal:       16108288 kB
 * SwapTotal:       8388604 kB
 *
 * The complete build log is located at '/var/tmp/portage/www-client/chromium-53.0.2785.134/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/chromium-53.0.2785.134/temp/environment'.
 * Working directory: '/var/tmp/portage/www-client/chromium-53.0.2785.134/work/chromium-53.0.2785.134'
 * S: '/var/tmp/portage/www-client/chromium-53.0.2785.134/work/chromium-53.0.2785.134'

>>> Failed to emerge www-client/chromium-53.0.2785.134, Log file:

I did not find any reference to gtk_widget_get_style_context in the gtk-2.0 headers, only gtk-3.0
Code:

$ find /usr/include/ -type f |xargs grep -il gtk_widget_get_style_context
/usr/include/gtk-3.0/gtk/gtkwidget.h
/usr/include/gtk-3.0/gtk/deprecated/gtkstyle.h
$

Maybe I need the gtk3 USE flag? I should know in about 3.5 hours ...
Back to top
View user's profile Send private message
Perfect Gentleman
Veteran
Veteran


Joined: 18 May 2014
Posts: 1245

PostPosted: Tue Sep 27, 2016 10:11 am    Post subject: Reply with quote

Code:
[ebuild   R    ] www-client/chromium-53.0.2785.134::pg_overlay  USE="custom-cflags gtk3 (pic) proprietary-codecs pulseaudio tcmalloc ungoogled vaapi -cups -gn -gnome -gnome-keyring -hangouts -inox -iridium -kerberos (-neon) (-selinux) -system-ffmpeg {-test} -widevine" L10N="ru -am -ar -bg -bn -ca -cs -da -de -el -en-GB -es -es-419 -et -fa -fi -fil -fr -gu -he -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml -mr -ms -nb -nl -pl -pt-BR -pt-PT -ro -sk -sl -sr -sv -sw -ta -te -th -tr -uk -vi -zh-CN -zh-TW" 0 KiB

those are my flags.
there are new patches for gtk3. maybe they are the reason.
Back to top
View user's profile Send private message
Juippisi
Developer
Developer


Joined: 30 Sep 2005
Posts: 721
Location: /home

PostPosted: Tue Sep 27, 2016 1:32 pm    Post subject: Reply with quote

Had the same problem as Nell, it wouldnt compile.

I added gtk3 USE flag as PG suggested, and www-client/chromium-53.0.2785.134 with "ungoogled" USE built fine. Thanks PG for the ebuild!

EDIT:
Code:
[ebuild   R    ] www-client/chromium-53.0.2785.134::pg_overlay  USE="cups gtk3 (pic) proprietary-codecs pulseaudio system-ffmpeg tcmalloc ungoogled -custom-cflags -gn -gnome -gnome-keyring -hangouts -inox -iridium -kerberos (-neon) (-selinux) {-test} -vaapi -widevine"
Back to top
View user's profile Send private message
Perfect Gentleman
Veteran
Veteran


Joined: 18 May 2014
Posts: 1245

PostPosted: Tue Sep 27, 2016 3:22 pm    Post subject: Reply with quote

Juippisi wrote:
Thanks PG for the ebuild!

Always welcome.

I slightly modified ebuild, and now debian patches won't be applied if gtk3 is not used, but for ungoogled use gtk3. Don't know how to solve it for now.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30822
Location: here

PostPosted: Tue Sep 27, 2016 4:11 pm    Post subject: Reply with quote

Perfect Gentleman wrote:
I slightly modified ebuild, and now debian patches won't be applied if gtk3 is not used, but for ungoogled use gtk3. Don't know how to solve it for now.

Not sure if I understand, but forcing gtk3 when set ungoogled
Code:
REQUIRED_USE="gn? ( gnome gnome-keyring !tcmalloc )
        ungoogled? ( gtk3 )
        ?? ( inox iridium ungoogled )"

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Princess Nell
l33t
l33t


Joined: 15 Apr 2005
Posts: 914

PostPosted: Tue Sep 27, 2016 11:15 pm    Post subject: Reply with quote

I added the gtk3 USE flag and it still failed in the same place. But that was with the version of the ebuild in place yesterday, I will try the new one.
Back to top
View user's profile Send private message
Perfect Gentleman
Veteran
Veteran


Joined: 18 May 2014
Posts: 1245

PostPosted: Wed Sep 28, 2016 1:51 am    Post subject: Reply with quote

Princess Nell wrote:
I added the gtk3 USE flag and it still failed in the same place. But that was with the version of the ebuild in place yesterday, I will try the new one.

did you unmask that use flag ?
Back to top
View user's profile Send private message
Juippisi
Developer
Developer


Joined: 30 Sep 2005
Posts: 721
Location: /home

PostPosted: Wed Sep 28, 2016 4:54 am    Post subject: Reply with quote

Perfect Gentleman wrote:
I slightly modified ebuild, and now debian patches won't be applied if gtk3 is not used, but for ungoogled use gtk3. Don't know how to solve it for now.


Are ungoogled and gtk3 somehow related? Would the chromium build with "-gtk3 -ungoogled"?

Anyway, is anyone else able to install extensions from chrome webstore? It just gives me the "Available on chrome" and takes me to Google Chrome download page. I have to manually download the .crx file and drag and drop it from a file manager. Is this intended or have I done something wrong?

Code:
[ebuild   R    ] www-client/chromium-53.0.2785.134::pg_overlay  USE="cups custom-cflags gtk3 (pic) proprietary-codecs pulseaudio system-ffmpeg tcmalloc ungoogled vaapi -gn -gnome -gnome-keyring -hangouts -inox -iridium -kerberos (-neon) (-selinux) {-test} -widevine"


might try with +gn next, hate the gnome-keyring dependency tho...
Back to top
View user's profile Send private message
Perfect Gentleman
Veteran
Veteran


Joined: 18 May 2014
Posts: 1245

PostPosted: Wed Sep 28, 2016 5:16 am    Post subject: Reply with quote

Juippisi wrote:

Are ungoogled and gtk3 somehow related? Would the chromium build with "-gtk3 -ungoogled"?

No, they are not related, but ungoogled uses debian patches which include patches for gtk3 (honestly speaking, it's me who uncludes those patches as i'm using gtk3 theming). I'm going to separate them, but for now i don't know how.

Quote:
Anyway, is anyone else able to install extensions from chrome webstore? It just gives me the "Available on chrome" and takes me to Google Chrome download page. I have to manually download the .crx file and drag and drop it from a file manager. Is this intended or have I done something wrong?

you can't install extensions from chrome webstore using inox/ungoogled patches. for installation you should use script from https://github.com/gcarq/inox-patchset/issues/7
Back to top
View user's profile Send private message
ph0nics
n00b
n00b


Joined: 18 Aug 2011
Posts: 3
Location: /dev/char

PostPosted: Thu Sep 29, 2016 3:51 pm    Post subject: Reply with quote

I prefer gtk2 due to the existance of a patch that supports showing thumbnails in the file dialog over the default list.
This should make -gtk3 ungoogled work fine.

Code:
--- a/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc
+++ b/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc
@@ -138,11 +138,6 @@
       gtk_widget_get_style_context(widget), stateMap[state], &color);
   G_GNUC_END_IGNORE_DEPRECATIONS
 
-  if (color.alpha == 0.0)
-    gtk_style_context_get_background_color(
-        gtk_widget_get_style_context(gtk_widget_get_toplevel(widget)),
-        stateMap[state], &color);
-
   // Hack for default color
   if (color.alpha == 0.0)
     color = {1, 1, 1, 1};
@@ -512,11 +507,8 @@
 GtkWidget* NativeThemeGtk2::GetLabel() const {
   static GtkWidget* fake_label = NULL;
 
-  if (!fake_label) {
+  if (!fake_label)
     fake_label = gtk_label_new("");
-    gtk_style_context_add_class(
-        gtk_widget_get_style_context(fake_label), "gtkstyle-fallback");
-  }
 
   return fake_label;
 }
Back to top
View user's profile Send private message
Perfect Gentleman
Veteran
Veteran


Joined: 18 May 2014
Posts: 1245

PostPosted: Sun Oct 02, 2016 4:25 am    Post subject: Reply with quote

there was error in ebuild with compilation with use=inox, now it's fixed.
Back to top
View user's profile Send private message
Princess Nell
l33t
l33t


Joined: 15 Apr 2005
Posts: 914

PostPosted: Sun Oct 02, 2016 8:05 am    Post subject: Reply with quote

.144 still doesn't compile. Dies in the same place.
Code:

FAILED: x86_64-pc-linux-gnu-g++ -MMD -MF obj/chrome/browser/ui/libgtk2ui/gtk2ui.native_theme_gtk2.o.d -DV8_DEPRECATION_WARNINGS -D_FILE_OFFSET_BITS=64 -DDISABLE_NACL -DCHROMIUM_BUILD -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DUSE_X11=1 -DUSE_CLIPBOARD_AURAX11=1 -DENABLE_WEBRTC=1 -DENABLE_MEDIA_ROUTER=1 -DUSE_PROPRIETARY_CODECS -DENABLE_PEPPER_CDMS -DENABLE_NOTIFICATIONS -DUSE_UDEV -DTRACING_IS_OFFICIAL_BUILD=1 -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PDF=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_SUPERVISED_USERS=1 -DENABLE_MDNS=1 -DENABLE_SERVICE_DISCOVERY=1 -DV8_USE_EXTERNAL_STARTUP_DATA -DLIBGTK2UI_IMPLEMENTATION -DUSE_SYSTEM_MINIZIP -DTOOLKIT_VIEWS=1 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DU_NOEXCEPT= -DU_STATIC_IMPLEMENTATION -DSK_SUPPORT_GPU=1 -DSK_IGNORE_DW_GRAY_FIX -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DUSE_LIBPCI=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -D_FORTIFY_SOURCE=2 -Igen/shim_headers/libflac/target -Igen/shim_headers/snappy/target -Igen/shim_headers/harfbuzz-ng/target -Igen/shim_headers/zlib/target -Igen/shim_headers/libevent/target -Igen -I../../third_party/khronos -I../../gpu -I../.. -I../../skia/config -Igen/angle -I../../third_party/WebKit/Source -I../../third_party/icu/source/common -I../../third_party/icu/source/i18n -Igen/components -I../../third_party/WebKit -Igen/third_party/WebKit -I../../third_party/skia/include/core -I../../third_party/skia/include/effects -I../../third_party/skia/include/pdf -I../../third_party/skia/include/gpu -I../../third_party/skia/include/lazy -I../../third_party/skia/include/pathops -I../../third_party/skia/include/pipe -I../../third_party/skia/include/ports -I../../third_party/skia/include/utils -I../../skia/ext -I../../third_party/boringssl/src/include -Igen/ui/resources -Igen/ui/views/resources -Igen/chrome -fstack-protector --param=ssp-buffer-size=4  -pthread -fno-strict-aliasing -Wall -Wno-extra -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Wno-unused-local-typedefs -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gtk-unix-print-2.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -m64 -march=x86-64 -O2 -fno-ident -fdata-sections -ffunction-sections -funwind-tables -O2 -march=native -pipe -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -std=gnu++11 -Wno-narrowing  -c ../../chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc -o obj/chrome/browser/ui/libgtk2ui/gtk2ui.native_theme_gtk2.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
../../chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc: In member function ‘GtkWidget* libgtk2ui::NativeThemeGtk2::GetLabel() const’:
../../chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc:518:48: error: ‘gtk_widget_get_style_context’ was not declared in this scope
         gtk_widget_get_style_context(fake_label), "gtkstyle-fallback");
                                                ^
../../chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc:518:70: error: ‘gtk_style_context_add_class’ was not declared in this scope
         gtk_widget_get_style_context(fake_label), "gtkstyle-fallback");
                                                                      ^
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
ninja: build stopped: subcommand failed.
 * ERROR: www-client/chromium-53.0.2785.144::local_overlay failed (compile phase):

This is with USE="gtk3 -hangouts".
Back to top
View user's profile Send private message
Perfect Gentleman
Veteran
Veteran


Joined: 18 May 2014
Posts: 1245

PostPosted: Sun Oct 02, 2016 8:10 am    Post subject: Reply with quote

post your
Code:
$ emerge -avtp chromium
,

mine
Code:
[ebuild   R    ] www-client/chromium-53.0.2785.144::pg_overlay  USE="custom-cflags gtk3 inox (pic) proprietary-codecs pulseaudio tcmalloc vaapi -cups -gn -gnome -gnome-keyring -hangouts -iridium -kerberos (-neon) (-selinux) -system-ffmpeg {-test} -ungoogled -widevine" L10N="ru -am -ar -bg -bn -ca -cs -da -de -el -en-GB -es -es-419 -et -fa -fi -fil -fr -gu -he -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml -mr -ms -nb -nl -pl -pt-BR -pt-PT -ro -sk -sl -sr -sv -sw -ta -te -th -tr -uk -vi -zh-CN -zh-TW" 0 KiB
Back to top
View user's profile Send private message
Juippisi
Developer
Developer


Joined: 30 Sep 2005
Posts: 721
Location: /home

PostPosted: Sun Oct 02, 2016 8:12 am    Post subject: Reply with quote

Can you paste the output of "emerge -pv chromium::pg_overlay"

As PG asked, have you unmasked gtk3?
Back to top
View user's profile Send private message
Juippisi
Developer
Developer


Joined: 30 Sep 2005
Posts: 721
Location: /home

PostPosted: Sun Oct 02, 2016 8:49 am    Post subject: Reply with quote

By the way, how what are the differences between "ungoogled" and "inox"? Doesnt ungoogled include inox patches, and supposedly more? Why would anyone use inox if thats the case?
Back to top
View user's profile Send private message
Perfect Gentleman
Veteran
Veteran


Joined: 18 May 2014
Posts: 1245

PostPosted: Sun Oct 02, 2016 10:18 am    Post subject: Reply with quote

@Princess Nell, just built fine with inox and gtk2
Code:
[ebuild   R    ] www-client/chromium-53.0.2785.144::pg_overlay  USE="custom-cflags inox (pic) proprietary-codecs pulseaudio tcmalloc vaapi -cups -gn -gnome -gnome-keyring -gtk3* -hangouts -iridium -kerberos (-neon) (-selinux) -system-ffmpeg {-test} -ungoogled -widevine" L10N="ru -am -ar -bg -bn -ca -cs -da -de -el -en-GB -es -es-419 -et -fa -fi -fil -fr -gu -he -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml -mr -ms -nb -nl -pl -pt-BR -pt-PT -ro -sk -sl -sr -sv -sw -ta -te -th -tr -uk -vi -zh-CN -zh-TW" 0 KiB


@Juippisi, ungoogled is more comprehensive. it includes inox, but extensions cannot be updated.
Back to top
View user's profile Send private message
Juippisi
Developer
Developer


Joined: 30 Sep 2005
Posts: 721
Location: /home

PostPosted: Sun Oct 02, 2016 4:37 pm    Post subject: Reply with quote

Perfect Gentleman wrote:
@Juippisi, ungoogled is more comprehensive. it includes inox, but extensions cannot be updated.


So, with Inox I still have to manually download and drag n' drop extensions to chromium, but when theyre installed they automatically update? And with ungoogled I have to manually download AND update them? Gotta say I must try inox next if I keep using chromium.

chromium-53.0.2785.144 built fine with gtk3 flag by the way.
Back to top
View user's profile Send private message
Perfect Gentleman
Veteran
Veteran


Joined: 18 May 2014
Posts: 1245

PostPosted: Sun Oct 02, 2016 4:46 pm    Post subject: Reply with quote

Juippisi wrote:
So, with Inox I still have to manually download and drag n' drop extensions to chromium, but when theyre installed they automatically update?

yes
Juippisi wrote:
And with ungoogled I have to manually download AND update them?

u'r right
Back to top
View user's profile Send private message
Princess Nell
l33t
l33t


Joined: 15 Apr 2005
Posts: 914

PostPosted: Sun Oct 02, 2016 8:57 pm    Post subject: Reply with quote

PG, you're building with more USE flag changes. I'm trying to stick to defaults as much as possible.
Code:

[ebuild     U  ] www-client/chromium-53.0.2785.144::local_overlay [53.0.2785.103::local_overlay] USE="gnome-keyring (pic) proprietary-codecs tcmalloc ungoogled* -cups -custom-cflags -gn -gnome (-gtk3) -hangouts -inox* -iridium -kerberos (-neon) -pulseaudio (-selinux) -system-ffmpeg {-test} -vaapi -widevine" L10N="-am -ar -bg -bn -ca -cs -da -de -el -en-GB -es -es-419 -et -fa -fi -fil -fr -gu -he -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml -mr -ms -nb -nl -pl -pt-BR -pt-PT -ro -ru -sk -sl -sr -sv -sw -ta -te -th -tr -uk -vi -zh-CN -zh-TW" 0 KiB

This is my current attempt with gtk3 disabled again. It's a PITA to keep testing this as the compile takes more than four hours and the problem happens after three and a bit.
Back to top
View user's profile Send private message
Juippisi
Developer
Developer


Joined: 30 Sep 2005
Posts: 721
Location: /home

PostPosted: Mon Oct 03, 2016 4:23 am    Post subject: Reply with quote

Well, looks like you havent unmasked gtk3, so thats why it didnt build before. But it should work with gtk2, if I read correctly.

Code:
# cat /etc/portage/profile/use.mask
-gtk3



If you have gnome-keyring enabled, you should also enable "gn" USE flag for chromium since it uses some new building scripts which makes chromium compile faster (I think?). I dont use gn because I dont want gnome-keyring, but that dependency is supposed to be fixed in the upcoming versions.
Back to top
View user's profile Send private message
Perfect Gentleman
Veteran
Veteran


Joined: 18 May 2014
Posts: 1245

PostPosted: Mon Oct 03, 2016 4:35 am    Post subject: Reply with quote

Princess Nell wrote:
PG, you're building with more USE flag changes. I'm trying to stick to defaults as much as possible.

I don't think it's a good idea to use default use-flags when using user's overlay.
Princess Nell wrote:

Code:

[ebuild     U  ] www-client/chromium-53.0.2785.144::local_overlay [53.0.2785.103::local_overlay] USE="gnome-keyring (pic) proprietary-codecs tcmalloc ungoogled* -cups -custom-cflags -gn -gnome (-gtk3) -hangouts -inox* -iridium -kerberos (-neon) -pulseaudio (-selinux) -system-ffmpeg {-test} -vaapi -widevine" L10N="-am -ar -bg -bn -ca -cs -da -de -el -en-GB -es -es-419 -et -fa -fi -fil -fr -gu -he -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml -mr -ms -nb -nl -pl -pt-BR -pt-PT -ro -ru -sk -sl -sr -sv -sw -ta -te -th -tr -uk -vi -zh-CN -zh-TW" 0 KiB

you've had chromium with masked gtk3 use-flag.
Code:
 ~ $ cat /etc/portage/profile/package.use.mask
www-client/chromium -gtk3

as Juippisi said, you'd better to disable gnome-keyring if you don't use gnome
Back to top
View user's profile Send private message
Princess Nell
l33t
l33t


Joined: 15 Apr 2005
Posts: 914

PostPosted: Mon Oct 03, 2016 9:11 pm    Post subject: Reply with quote

I will play with USE flags a bit more. Fact is that enabling or disabling gtk3 has absolutely no bearing on the problem in my case.
Back to top
View user's profile Send private message
Princess Nell
l33t
l33t


Joined: 15 Apr 2005
Posts: 914

PostPosted: Tue Oct 04, 2016 11:25 am    Post subject: Reply with quote

I've finally had a successful compile with custom-cflags and inox.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum