Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

pg_overlay chromium

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
72 posts
  • 1
  • 2
  • 3
  • Next
Author
Message
Princess Nell
l33t
l33t
User avatar
Posts: 947
Joined: Fri Apr 15, 2005 1:00 pm

pg_overlay chromium

  • Quote

Post by Princess Nell » Sun Sep 25, 2016 10:15 pm

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.
Top
Perfect Gentleman
Veteran
Veteran
User avatar
Posts: 1301
Joined: Sun May 18, 2014 10:16 am
Contact:
Contact Perfect Gentleman
Website

  • Quote

Post by Perfect Gentleman » Mon Sep 26, 2016 1:54 am

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 ?
Top
Princess Nell
l33t
l33t
User avatar
Posts: 947
Joined: Fri Apr 15, 2005 1:00 pm

  • Quote

Post by Princess Nell » Mon Sep 26, 2016 10:23 pm

Compile dies some three hours in.

Code: Select all

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

Code: Select all

# 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: Select all

$ 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 ...
Top
Perfect Gentleman
Veteran
Veteran
User avatar
Posts: 1301
Joined: Sun May 18, 2014 10:16 am
Contact:
Contact Perfect Gentleman
Website

  • Quote

Post by Perfect Gentleman » Tue Sep 27, 2016 10:11 am

Code: Select all

[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.
Top
Juippisi
Developer
Developer
User avatar
Posts: 783
Joined: Fri Sep 30, 2005 3:51 pm
Location: /home

  • Quote

Post by Juippisi » Tue Sep 27, 2016 1:32 pm

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: Select all

[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"
Top
Perfect Gentleman
Veteran
Veteran
User avatar
Posts: 1301
Joined: Sun May 18, 2014 10:16 am
Contact:
Contact Perfect Gentleman
Website

  • Quote

Post by Perfect Gentleman » Tue Sep 27, 2016 3:22 pm

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.
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Tue Sep 27, 2016 4:11 pm

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: Select all

REQUIRED_USE="gn? ( gnome gnome-keyring !tcmalloc )
        ungoogled? ( gtk3 )
        ?? ( inox iridium ungoogled )"
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
Princess Nell
l33t
l33t
User avatar
Posts: 947
Joined: Fri Apr 15, 2005 1:00 pm

  • Quote

Post by Princess Nell » Tue Sep 27, 2016 11:15 pm

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.
Top
Perfect Gentleman
Veteran
Veteran
User avatar
Posts: 1301
Joined: Sun May 18, 2014 10:16 am
Contact:
Contact Perfect Gentleman
Website

  • Quote

Post by Perfect Gentleman » Wed Sep 28, 2016 1:51 am

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 ?
Top
Juippisi
Developer
Developer
User avatar
Posts: 783
Joined: Fri Sep 30, 2005 3:51 pm
Location: /home

  • Quote

Post by Juippisi » Wed Sep 28, 2016 4:54 am

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: Select all

[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...
Top
Perfect Gentleman
Veteran
Veteran
User avatar
Posts: 1301
Joined: Sun May 18, 2014 10:16 am
Contact:
Contact Perfect Gentleman
Website

  • Quote

Post by Perfect Gentleman » Wed Sep 28, 2016 5:16 am

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.
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
Top
ph0nics
n00b
n00b
User avatar
Posts: 3
Joined: Thu Aug 18, 2011 9:14 pm
Location: /dev/char

  • Quote

Post by ph0nics » Thu Sep 29, 2016 3:51 pm

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: Select all

--- 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;
 }
Top
Perfect Gentleman
Veteran
Veteran
User avatar
Posts: 1301
Joined: Sun May 18, 2014 10:16 am
Contact:
Contact Perfect Gentleman
Website

  • Quote

Post by Perfect Gentleman » Sun Oct 02, 2016 4:25 am

there was error in ebuild with compilation with use=inox, now it's fixed.
Top
Princess Nell
l33t
l33t
User avatar
Posts: 947
Joined: Fri Apr 15, 2005 1:00 pm

  • Quote

Post by Princess Nell » Sun Oct 02, 2016 8:05 am

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

Code: Select all

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".
Top
Perfect Gentleman
Veteran
Veteran
User avatar
Posts: 1301
Joined: Sun May 18, 2014 10:16 am
Contact:
Contact Perfect Gentleman
Website

  • Quote

Post by Perfect Gentleman » Sun Oct 02, 2016 8:10 am

post your

Code: Select all

$ emerge -avtp chromium
,

mine

Code: Select all

[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
Top
Juippisi
Developer
Developer
User avatar
Posts: 783
Joined: Fri Sep 30, 2005 3:51 pm
Location: /home

  • Quote

Post by Juippisi » Sun Oct 02, 2016 8:12 am

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

As PG asked, have you unmasked gtk3?
Top
Juippisi
Developer
Developer
User avatar
Posts: 783
Joined: Fri Sep 30, 2005 3:51 pm
Location: /home

  • Quote

Post by Juippisi » Sun Oct 02, 2016 8:49 am

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?
Top
Perfect Gentleman
Veteran
Veteran
User avatar
Posts: 1301
Joined: Sun May 18, 2014 10:16 am
Contact:
Contact Perfect Gentleman
Website

  • Quote

Post by Perfect Gentleman » Sun Oct 02, 2016 10:18 am

@Princess Nell, just built fine with inox and gtk2

Code: Select all

[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.
Top
Juippisi
Developer
Developer
User avatar
Posts: 783
Joined: Fri Sep 30, 2005 3:51 pm
Location: /home

  • Quote

Post by Juippisi » Sun Oct 02, 2016 4:37 pm

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.
Top
Perfect Gentleman
Veteran
Veteran
User avatar
Posts: 1301
Joined: Sun May 18, 2014 10:16 am
Contact:
Contact Perfect Gentleman
Website

  • Quote

Post by Perfect Gentleman » Sun Oct 02, 2016 4:46 pm

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
Top
Princess Nell
l33t
l33t
User avatar
Posts: 947
Joined: Fri Apr 15, 2005 1:00 pm

  • Quote

Post by Princess Nell » Sun Oct 02, 2016 8:57 pm

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

Code: Select all

[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.
Top
Juippisi
Developer
Developer
User avatar
Posts: 783
Joined: Fri Sep 30, 2005 3:51 pm
Location: /home

  • Quote

Post by Juippisi » Mon Oct 03, 2016 4:23 am

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: Select all

# 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.
Top
Perfect Gentleman
Veteran
Veteran
User avatar
Posts: 1301
Joined: Sun May 18, 2014 10:16 am
Contact:
Contact Perfect Gentleman
Website

  • Quote

Post by Perfect Gentleman » Mon Oct 03, 2016 4:35 am

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: Select all

[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: Select all

 ~ $ 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
Top
Princess Nell
l33t
l33t
User avatar
Posts: 947
Joined: Fri Apr 15, 2005 1:00 pm

  • Quote

Post by Princess Nell » Mon Oct 03, 2016 9:11 pm

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.
Top
Princess Nell
l33t
l33t
User avatar
Posts: 947
Joined: Fri Apr 15, 2005 1:00 pm

  • Quote

Post by Princess Nell » Tue Oct 04, 2016 11:25 am

I've finally had a successful compile with custom-cflags and inox.
Top
Post Reply

72 posts
  • 1
  • 2
  • 3
  • Next

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic