You are not logged in.
Pages: 1
I'm trying to compile Chromium.
My makekg.conf is unmodified, except I've added -march=native and -mtune=native to the C/CXXFLAGS and I've uncommented the -j2 makeflag since my machine has two logical processors.
The error is:
CXX(host) out/Release/obj.host/v8_nosnapshot.x64/gen/libraries.o
CXX(host) out/Release/obj.host/v8_nosnapshot.x64/gen/experimental-libraries.o
CXX(host) out/Release/obj.host/v8_nosnapshot.x64/gen/trig-table.o
CXX(host) out/Release/obj.host/v8_nosnapshot.x64/v8/src/snapshot-empty.o
AR(host) out/Release/obj.host/third_party/icu/libicudata.a
AR(target) out/Release/obj.target/build/linux/libspeechd.a
TOUCH out/Release/obj.target/build/linux/ssl.stamp
AR(target) out/Release/obj.target/ppapi/libppapi_host.a
AR(target) out/Release/obj.target/chrome/libplugin.a
ACTION Generating Inspector protocol backend sources from protocol.json out/Release/obj/gen/blink/InspectorBackendDispatcher.cpp
ACTION Computing dependencies between IDL files, and generating global scope constructor IDLs files and list of Event interfaces out/Release/obj/gen/blink/InterfaceDependencies.txt
Traceback (most recent call last):
File "scripts/compute_dependencies.py", line 569, in <module>
main()
File "scripts/compute_dependencies.py", line 542, in main
with open(options.idl_files_list) as idl_files_list:
IOError: [Errno 2] No such file or directory: '../../../../out/gypfiles/third_party/WebKit/Source/bindings/idl_files_list.tmp'
third_party/WebKit/Source/bindings/interface_dependencies.target.mk:13: recipe for target 'out/Release/obj/gen/blink/InterfaceDependencies.txt' failed
make: *** [out/Release/obj/gen/blink/InterfaceDependencies.txt] Error 1
make: *** Waiting for unfinished jobs....I don't know what extra information is needed to solve this error, but to start off with, I'm using gcc 4.8.2-8, lib32-gcc-libs 4.8.2-8, and lib32-zlib 1.2.8-1 (GCC was compiled from source via Yaourt/ABS; the lib32 libraries were downloaded from archlinux.org/packages/)
My system is x86_64.
Last edited by ThePacman (2014-04-14 13:31:58)
Fedora believes in "software freedom" - that is, restricting user software choices to those deemed appropriately licensed by The Powers That Be.
Arch believes in "freedom", as well - the user has control over his or her system and can do what he wants with it.
https://fedoraproject.org/wiki/Forbidden_items | https://wiki.archlinux.org/index.php/The_Arch_Way
Offline
Not sure what is wrong... could be due to your custom gcc packages? Anyway, as a positive control, why not try compiling in a clean chroot and see if you get the same errors? Try clean-chroot-manager from the AUR. For chromium, you need to enable [multilib] as you know. With ccm it's:
% sudo ccm c
% sudo ccm m
% sudo ccm sc = create
m = enable multilib
s = compile
It's all in the ccm man page.
Offline
Not sure what is wrong... could be due to your custom gcc packages? Anyway, as a positive control, why not try compiling in a clean chroot and see if you get the same errors? Try clean-chroot-manager from the AUR. For chromium, you need to enable [multilib] as you know. With ccm it's:
% sudo ccm c % sudo ccm m % sudo ccm sc = create
m = enable multilib
s = compileIt's all in the ccm man page.
ARGH. I cannot get ccm to work.
I'm logged in as james, but running sudo ccm gives me:
$ sudo ccm
logname: no login name
------------------------------------------------------------
No config file found so creating a fresh one in:
/root
/bin
/sbin
/var/spool/mail
/srv/ftp
/srv/http
/
/
/
/home/james
/
/
/var/lib/ntp
/var/lib/lightdm
/
/var/lib/tor
/srv/deluge
/var/lib/mysql
/home/peter/.config/clean-chroot-manager.conf
Edit this file before invoking clean-chroot-manager again.
------------------------------------------------------------
su: user does not exist
$ I've already scoured the manpage, and there has been no configuration file created in any location. There's nothing for me to edit.
I found a reference to $HOMEDIR in /usr/bin/ccm, but even after setting that variable to /home/james, I got the exact same error.
I suspected a problem with it trying to call su, so I tried running it from a login shell, but to no avail.
Fedora believes in "software freedom" - that is, restricting user software choices to those deemed appropriately licensed by The Powers That Be.
Arch believes in "freedom", as well - the user has control over his or her system and can do what he wants with it.
https://fedoraproject.org/wiki/Forbidden_items | https://wiki.archlinux.org/index.php/The_Arch_Way
Offline
After much fiddling, I got it working from a VT. It also works with screen. (The problem was it kept trying to call $(logname), which doesn't work from a regular shell.)
It's going to take a while for everything to download (unreliable 6 Mbit DSL with other people using it) so I'll report back once it's finished.
Fedora believes in "software freedom" - that is, restricting user software choices to those deemed appropriately licensed by The Powers That Be.
Arch believes in "freedom", as well - the user has control over his or her system and can do what he wants with it.
https://fedoraproject.org/wiki/Forbidden_items | https://wiki.archlinux.org/index.php/The_Arch_Way
Offline
What is the output of the following from your regular shell?
lognameand
id -u -nLast edited by graysky (2014-04-14 21:13:39)
Offline
What is the output of the following from your regular shell?
lognameand
id -u -n
logname says 'logname: no login name', even when launching a login shell (zsh -, sudo su --login james, su -l, etc.)
id -u -n says james, and id -u by itself says 1000
If I do everything from within a screen or a VT, though, logname works.
I got the CCM program working, and started to get Chromium compiling when it complained there was no chromium.install file.
The problem was my umask of 027, so I discarded that and made the build folder publicly accessible, but when I run sudo ccm s I get this:
----> Attempting to build package...
==> Creating clean working copy [james]...done
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
error: failed retrieving file 'chroot_local.db' from disk : Couldn't open file /repo/chroot_local.db
error: failed to update chroot_local (download library error)
:: Starting full system upgrade...
there is nothing to do
==> Making package: chromium 34.0.1847.116-1 (Tue Apr 15 08:30:25 CDT 2014)
==> Retrieving sources...
-> Found chromium-34.0.1847.116.tar.xz
-> Found naclsdk_nacl_linux_x86-12773.tgz
-> Found naclsdk_pnacl_linux_x86-12773.tgz
-> Found naclsdk_pnacl_translator-12773.tgz
-> Found naclsdk_pnacl_translator-12773.tgz.sha1hash
-> Found chromium.desktop
-> Found chromium.default
-> Found chromium-gn-r1.patch
-> Found chromium-depot-tools-r0.patch
-> Found chromium.sh
==> Validating source files with sha256sums...
chromium-34.0.1847.116.tar.xz ... Passed
naclsdk_nacl_linux_x86-12773.tgz ... Passed
naclsdk_pnacl_linux_x86-12773.tgz ... Passed
naclsdk_pnacl_translator-12773.tgz ... Passed
naclsdk_pnacl_translator-12773.tgz.sha1hash ... Passed
chromium.desktop ... Passed
chromium.default ... Passed
chromium-gn-r1.patch ... Passed
chromium-depot-tools-r0.patch ... Passed
chromium.sh ... Passed
==> Making package: chromium 34.0.1847.116-1 (Tue Apr 15 08:30:29 CDT 2014)
==> Checking runtime dependencies...
warning: database file for 'chroot_local' does not exist
==> Installing missing dependencies...
warning: database file for 'chroot_local' does not exist
:: There are 7 providers available for ttf-font:
:: Repository extra
1) ttf-bitstream-vera 2) ttf-dejavu 3) ttf-freefont
4) ttf-linux-libertine
:: Repository community
5) ttf-droid 6) ttf-liberation 7) ttf-ubuntu-font-family
Enter a number (default=1):
error: failed to prepare transaction (could not find database)
==> ERROR: 'pacman' failed to install missing dependencies.
==> ERROR: Build failed, check /ccm/chroot64/james/buildFedora believes in "software freedom" - that is, restricting user software choices to those deemed appropriately licensed by The Powers That Be.
Arch believes in "freedom", as well - the user has control over his or her system and can do what he wants with it.
https://fedoraproject.org/wiki/Forbidden_items | https://wiki.archlinux.org/index.php/The_Arch_Way
Offline
Not sure what's going on with the logname issue... I cannot replicate on my box. Post the output of `cat ~/.config/clean-chroot-manager.conf`
Offline
Pages: 1