LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 08-29-2018, 11:35 AM   #1
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,076

Rep: Reputation: 153Reputation: 153
Question Building chromium on -current


I know there have been few posts regarding chromium already, but I don't think I have seen anyone being successful. I'm trying to build this on an rpi3 using the latest -current using the same SlackBuild that AlienBob uses.

The build script seems to be hanging here:
Code:
...
-- Performing Test HAS_MAYBE_UNINITIALIZED
-- Performing Test HAS_MAYBE_UNINITIALIZED - Success
-- Native target architecture is ARM
-- Threads enabled.
-- Doxygen disabled.
It has not moved any further in over 5 hours. I see this process running at %100:
Code:
2094 root      20   0  827268  11912   8020 R 100.6   1.2 331:23.12 /usr/bin/go run /tmp/build/tmp-chromium/chromium-68.0.3440.84/third_party/llvm/bindings/go/conftest.go
So my question for those who have tried building from source, is this an expected behavior for this process to "hang" at this point?

Before building this, I attempted to use the deb package, but I'm getting undefined symbol problems.

Code:
/usr/lib/chromium/chromium: symbol lookup error: /usr/lib/chromium/chromium: undefined symbol: UCNV_TO_U_CALLBACK_SKIP_60
Anyhow, been meaning to give this a try (building Chromium) for a long time now. Thanks for any help you may provide!
 
Old 08-29-2018, 11:48 AM   #2
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 717

Rep: Reputation: 554Reputation: 554Reputation: 554Reputation: 554Reputation: 554Reputation: 554
"go" is screwed. I don't know what's wrong with it.

Code:
removepkg gcc-go
and try again.
 
1 members found this post helpful.
Old 08-29-2018, 12:24 PM   #3
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,076

Original Poster
Rep: Reputation: 153Reputation: 153
Quote:
Originally Posted by drmozes View Post
"go" is screwed. I don't know what's wrong with it.

Code:
removepkg gcc-go
and try again.
Thank you good doctor for the quick reply. I'll report back later.
 
Old 08-29-2018, 08:20 PM   #4
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,076

Original Poster
Rep: Reputation: 153Reputation: 153
Blah! No go. The build got this far:
Code:
/tmp/build/tmp-chromium/chromium-68.0.3440.84/buildtools/third_party/libc++abi/trunk/src/cxa_handlers.cpp:88:52: error: invalid operands of types ‘char [8]’ and ‘c
onst uint64_t’ {aka ‘const long long unsigned int’} to binary ‘operator&’                                                                                          
                 (unwind_exception->exception_class & get_vendor_and_language) ==                                                                                  
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~                                                                                      
At global scope:                                                                                                                                                   
cc1plus: warning: unrecognized command line option ‘-Wno-c++11-narrowing’                                                                                          
[41/415] c++ -MMD -MF /tmp/build/tmp-chromium/chromium-68.0.3440.84/buildtools/third_party/libc++abi/trunk/src/fallback_malloc.o.d  -I/tmp/build/tmp-chromium/chromium-68.0.3440.84/out_bootstrap/gen -I/tmp/build/tmp-chromium/chromium-68.0.3440.84 -DNO_TCMALLOC -D__STDC_FORMAT_MACROS -O2 -g0 -D_FILE_OFFSET_BITS=64 -D__STDC_CON
STANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -DNO_TCMALLOC -D__STDC_FORMAT_MACROS -O2 -g0 -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D_
_STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -DLIBCXXABI_SILENT_TERMINATE -D_LIBCXXABI_NO_EXCEPTIONS -std=c++14 -Wno-c++11-narrowing -nostdinc++ -isystem/tmp
/build/tmp-chromium/chromium-68.0.3440.84/buildtools/third_party/libc++/trunk/include -isystem/tmp/build/tmp-chromium/chromium-68.0.3440.84/buildtools/third_party/
libc++abi/trunk/include -c /tmp/build/tmp-chromium/chromium-68.0.3440.84/buildtools/third_party/libc++abi/trunk/src/fallback_malloc.cpp -o /tmp/build/tmp-chromium/
chromium-68.0.3440.84/buildtools/third_party/libc++abi/trunk/src/fallback_malloc.o                                                                                 
[42/415] c++ -MMD -MF /tmp/build/tmp-chromium/chromium-68.0.3440.84/buildtools/third_party/libc++abi/trunk/src/private_typeinfo.o.d  -I/tmp/build/tmp-chromium/chro
mium-68.0.3440.84/out_bootstrap/gen -I/tmp/build/tmp-chromium/chromium-68.0.3440.84 -DNO_TCMALLOC -D__STDC_FORMAT_MACROS -O2 -g0 -D_FILE_OFFSET_BITS=64 -D__STDC_CO
NSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -DNO_TCMALLOC -D__STDC_FORMAT_MACROS -O2 -g0 -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D
__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -DLIBCXXABI_SILENT_TERMINATE -D_LIBCXXABI_NO_EXCEPTIONS -std=c++14 -Wno-c++11-narrowing -nostdinc++ -isystem/tm
p/build/tmp-chromium/chromium-68.0.3440.84/buildtools/third_party/libc++/trunk/include -isystem/tmp/build/tmp-chromium/chromium-68.0.3440.84/buildtools/third_party
/libc++abi/trunk/include -c /tmp/build/tmp-chromium/chromium-68.0.3440.84/buildtools/third_party/libc++abi/trunk/src/private_typeinfo.cpp -o /tmp/build/tmp-chromiu
m/chromium-68.0.3440.84/buildtools/third_party/libc++abi/trunk/src/private_typeinfo.o                                                                              
[43/415] c++ -MMD -MF /tmp/build/tmp-chromium/chromium-68.0.3440.84/buildtools/third_party/libc++/trunk/src/string.o.d  -I/tmp/build/tmp-chromium/chromium-68.0.344
0.84/out_bootstrap/gen -I/tmp/build/tmp-chromium/chromium-68.0.3440.84 -DNO_TCMALLOC -D__STDC_FORMAT_MACROS -O2 -g0 -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS
 -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -DNO_TCMALLOC -D__STDC_FORMAT_MACROS -O2 -g0 -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT
_MACROS -pthread -pipe -fno-exceptions -D_LIBCPP_NO_EXCEPTIONS -D_LIBCPP_BUILDING_LIBRARY -DLIBCXX_BUILDING_LIBCXXABI -std=c++14 -Wno-c++11-narrowing -nostdinc++ -
isystem/tmp/build/tmp-chromium/chromium-68.0.3440.84/buildtools/third_party/libc++/trunk/include -isystem/tmp/build/tmp-chromium/chromium-68.0.3440.84/buildtools/t
hird_party/libc++abi/trunk/include -c /tmp/build/tmp-chromium/chromium-68.0.3440.84/buildtools/third_party/libc++/trunk/src/string.cpp -o /tmp/build/tmp-chromium/c
hromium-68.0.3440.84/buildtools/third_party/libc++/trunk/src/string.o                                                                                              
[44/415] c++ -MMD -MF /tmp/build/tmp-chromium/chromium-68.0.3440.84/buildtools/third_party/libc++abi/trunk/src/cxa_demangle.o.d  -I/tmp/build/tmp-chromium/chromium
-68.0.3440.84/out_bootstrap/gen -I/tmp/build/tmp-chromium/chromium-68.0.3440.84 -DNO_TCMALLOC -D__STDC_FORMAT_MACROS -O2 -g0 -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTA
NT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -DNO_TCMALLOC -D__STDC_FORMAT_MACROS -O2 -g0 -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__ST
DC_FORMAT_MACROS -pthread -pipe -fno-exceptions -DLIBCXXABI_SILENT_TERMINATE -D_LIBCXXABI_NO_EXCEPTIONS -std=c++14 -Wno-c++11-narrowing -nostdinc++ -isystem/tmp/bu
ild/tmp-chromium/chromium-68.0.3440.84/buildtools/third_party/libc++/trunk/include -isystem/tmp/build/tmp-chromium/chromium-68.0.3440.84/buildtools/third_party/lib
c++abi/trunk/include -c /tmp/build/tmp-chromium/chromium-68.0.3440.84/buildtools/third_party/libc++abi/trunk/src/cxa_demangle.cpp -o /tmp/build/tmp-chromium/chromi
um-68.0.3440.84/buildtools/third_party/libc++abi/trunk/src/cxa_demangle.o                                                                                          
[45/415] c++ -MMD -MF /tmp/build/tmp-chromium/chromium-68.0.3440.84/buildtools/third_party/libc++/trunk/src/locale.o.d  -I/tmp/build/tmp-chromium/chromium-68.0.344
0.84/out_bootstrap/gen -I/tmp/build/tmp-chromium/chromium-68.0.3440.84 -DNO_TCMALLOC -D__STDC_FORMAT_MACROS -O2 -g0 -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS
 -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -DNO_TCMALLOC -D__STDC_FORMAT_MACROS -O2 -g0 -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT
_MACROS -pthread -pipe -fno-exceptions -D_LIBCPP_NO_EXCEPTIONS -D_LIBCPP_BUILDING_LIBRARY -DLIBCXX_BUILDING_LIBCXXABI -std=c++14 -Wno-c++11-narrowing -nostdinc++ -
isystem/tmp/build/tmp-chromium/chromium-68.0.3440.84/buildtools/third_party/libc++/trunk/include -isystem/tmp/build/tmp-chromium/chromium-68.0.3440.84/buildtools/t
hird_party/libc++abi/trunk/include -c /tmp/build/tmp-chromium/chromium-68.0.3440.84/buildtools/third_party/libc++/trunk/src/locale.cpp -o /tmp/build/tmp-chromium/c
hromium-68.0.3440.84/buildtools/third_party/libc++/trunk/src/locale.o                                                                                              
ninja: build stopped: subcommand failed.                                                                                                                           
Command '['ninja', '-C', '/tmp/build/tmp-chromium/chromium-68.0.3440.84/out_bootstrap', '-w', 'dupbuild=err', '-v', 'gn']' returned non-zero exit status 1         
Building gn manually in a temporary directory for bootstrapping...                                                                                                 
-- Generating ninja build files.                                                                                                                                   
./chromium.SlackBuild: line 875: out/Release/gn: No such file or directory                                                                                         
-- Compiling the lot.                                                                                                                                              
ninja: Entering directory `out/Release'                                                                                                                            
ninja: fatal: chdir to 'out/Release' - No such file or directory                                                                                                   
-- Manually installing everything.                                                                                                                                 
install: cannot stat 'out/Release/chrome': No such file or directory                                                                                               
./chromium.SlackBuild FAILED at line 907
 
Old 08-31-2018, 05:12 AM   #5
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 717

Rep: Reputation: 554Reputation: 554Reputation: 554Reputation: 554Reputation: 554Reputation: 554
Quote:
Originally Posted by stormtracknole View Post
Blah! No go. The build got this far:
Code:
/tmp/build/tmp-chromium/chromium-68.0.3440.84/buildtools/third_party/libc++abi/trunk/src/cxa_handlers.cpp:88:52: error: invalid operands of types ‘char [8]’ and ‘c
onst uint64_t’ {aka ‘const long long unsigned int’} to binary ‘operator&’                                                                                          
                 (unwind_exception->exception_class & get_vendor_and_language) ==                                                                                  
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
You should go hunting for source patches for this.
 
Old 08-31-2018, 09:11 PM   #6
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,076

Original Poster
Rep: Reputation: 153Reputation: 153
Quote:
Originally Posted by drmozes View Post
You should go hunting for source patches for this.
I spent most of the day looking at some patches that are out there, but nothing was sticking out. So, I went back to the method of trying to get the raspbian binary to work. Instead of stripping the contents out of the *.deb package, I just copied the contents from raspbian machine that I have running. THAT worked! It had a different binary (/usr/bin/chromium-browser) vs /usr/bin/chromium. In the end though, Chromium might have felt a little snappier compared to Firefox, but not enough to go through an entire compilation process I think. I need to find the patches that the Raspbian folks used for comparison purposes at least.

Thank you for the pointers as always drmozes!
 
  


Reply

Tags
arm, chromium, google, raspberry


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] current locking up after chromium is launched camorri Slackware 6 07-12-2018 05:44 PM
Chromium os source and building questions Shadowmeph Linux - Mobile 0 08-19-2014 12:45 AM
Font rendering in Chromium 21, slackware 64-current fogpipe Slackware 3 04-22-2013 03:43 PM
Error building Chromium 64-current sorinm Slackware 3 07-28-2012 02:45 PM
[SOLVED] issue building chromium from slackbuilds trademark91 Slackware 7 07-24-2011 09:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 01:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration