Epyrus • Re: Have a problem compiling,
> Are you sure you're using Python 3?
>
> That error means you're using Python 2, I think...
Oh, I need to explicitly have a
mk_options = python3 or w/e?
or however you do that.
EDIT:
I am surprised how fast you responded.
EDIT again:
0:00.23 /usr/bin/make -f client.mk -s configure
0:00.85 cd /home/localuser/epyrus2/epyrus/obj-x86_64-pc-linux-gnu
0:00.85 /home/localuser/epyrus2/epyrus/configure
0:01.21 Reexecuting in the virtualenv
0:01.38 Adding configure options from /home/localuser/epyrus2/epyrus/mozconfig
0:01.38 --enable-calendar
0:01.38 --prefix=/usr
0:01.38 --enable-application=mail
0:01.38 --enable-optimize=-O2 -w
0:01.38 --enable-jemalloc
0:01.38 --enable-strip
0:01.38 --enable-security-sqlstore
0:01.38 --enable-devtools
0:01.38 --enable-av1
0:01.38 --disable-webrtc
0:01.38 --disable-gamepad
0:01.38 --disable-tests
0:01.38 --disable-debug
0:01.38 --disable-necko-wifi
0:01.38 --disable-updater
0:01.38 --with-pthreads
0:01.38 --enable-appcompat-guid
0:01.38 --disable-safe-browsing
0:01.38 --disable-url-classifier
0:01.38 --disable-mozril-geoloc
0:01.38 --disable-nfc
0:01.39 --disable-synth-pico
0:01.39 --disable-gamepad
0:01.39 --disable-startup-notification
0:01.39 --disable-tests
0:01.39 --disable-debug
0:01.39 --disable-necko-wifi
0:01.39 --disable-dbus
0:01.39 --disable-userinfo
0:01.39 --disable-sync
0:01.39 --disable-pulseaudio
0:01.39 --disable-alsa
0:01.39 --enable-sndio
0:01.39 --disable-crashreporter
0:01.39 --enable-official-branding
0:01.39 --x-libraries=/usr/lib64
0:01.39 MOZ_PKG_SPECIAL=gtk3
0:01.39 MOZILLA_OFFICIAL=1
0:01.39 _BUILD_64=1
0:01.39 _GTK_VERSION=2
0:01.39 BASH_ARGV=([0]="/home/localuser/epyrus2/epyrus/platform/python/mozbuild/mozbuild/action/dump_env.py" [1]="/home/localuser/epyrus2/epyrus/obj-x86_64-pc-linux-gnu/_virtualenv/bin/python" [2]="/home/localuser/epyrus2/epyrus/mozconfig" [3]="/home/localuser/epyrus2/epyrus/platform")
0:01.39 BASH_ARGC=([0]="4")
0:01.47 checking for a shell... /bin/sh
0:01.52 checking for host system type... x86_64-pc-linux-gnu
0:01.52 checking for target system type... x86_64-pc-linux-gnu
0:01.55 checking whether cross compiling... no
0:01.55 checking for pkg_config... /usr/bin/pkg-config
0:01.56 checking for pkg-config version... 0.29.2
0:01.56 checking for yasm... /usr/bin/yasm
0:01.56 checking yasm version... 1.3.0
0:01.56 checking for the target C compiler... /usr/bin/gcc
0:01.56 checking whether the target C compiler can be used... Traceback (most recent call last):
0:01.56 File "/home/localuser/epyrus2/epyrus/configure.py", line 47, in <module>
0:01.56 sys.exit(main(sys.argv))
0:01.57 File "/home/localuser/epyrus2/epyrus/configure.py", line 39, in main
0:01.57 sandbox.run(os.path.join(os.path.dirname(__file__), 'moz.configure'))
0:01.57 File "/home/localuser/epyrus2/epyrus/platform/python/mozbuild/mozbuild/configure/__init__.py", line 376, in run
0:01.57 func(*args)
0:01.57 File "/home/localuser/epyrus2/epyrus/platform/python/mozbuild/mozbuild/configure/__init__.py", line 419, in _value_for
0:01.57 return self._value_for_depends(obj, need_help_dependency)
0:01.57 File "/home/localuser/epyrus2/epyrus/platform/python/mozbuild/mozbuild/util.py", line 963, in method_call
0:01.57 cache[args] = self.func(instance, *args)
0:01.57 File "/home/localuser/epyrus2/epyrus/platform/python/mozbuild/mozbuild/configure/__init__.py", line 429, in _value_for_depends
0:01.57 return obj.result
0:01.57 File "/home/localuser/epyrus2/epyrus/platform/python/mozbuild/mozbuild/util.py", line 981, in __get__
0:01.57 setattr(instance, name, self.func(instance))
0:01.57 File "/home/localuser/epyrus2/epyrus/platform/python/mozbuild/mozbuild/configure/__init__.py", line 92, in result
0:01.57 return self.func(*resolved_args)
0:01.57 File "/home/localuser/epyrus2/epyrus/platform/python/mozbuild/mozbuild/configure/__init__.py", line 951, in wrapped
0:01.57 return new_func(*args, **kwargs)
0:01.57 File "/home/localuser/epyrus2/epyrus/platform/python/mozbuild/mozbuild/configure/__init__.py", line 683, in wrapper
0:01.57 ret = template(*args, **kwargs)
0:01.57 File "/home/localuser/epyrus2/epyrus/platform/build/moz.configure/checks.configure", line 52, in wrapped
0:01.57 ret = func(*args, **kwargs)
0:01.57 File "/home/localuser/epyrus2/epyrus/platform/python/mozbuild/mozbuild/configure/__init__.py", line 951, in wrapped
0:01.57 return new_func(*args, **kwargs)
0:01.57 File "/home/localuser/epyrus2/epyrus/platform/build/moz.configure/toolchain.configure", line 653, in valid_compiler
0:01.57 info = check_compiler(wrapper + [compiler] + flags, language,
0:01.57 File "/home/localuser/epyrus2/epyrus/platform/python/mozbuild/mozbuild/configure/__init__.py", line 951, in wrapped
0:01.57 return new_func(*args, **kwargs)
0:01.57 File "/home/localuser/epyrus2/epyrus/platform/build/moz.configure/toolchain.configure", line 319, in check_compiler
0:01.57 info = get_compiler_info(compiler, language)
0:01.57 File "/home/localuser/epyrus2/epyrus/platform/python/mozbuild/mozbuild/configure/__init__.py", line 951, in wrapped
0:01.57 return new_func(*args, **kwargs)
0:01.57 File "/home/localuser/epyrus2/epyrus/platform/build/moz.configure/toolchain.configure", line 239, in get_compiler_info
0:01.57 for n, (value, condition) in enumerate(preprocessor_checks.iteritems()):
0:01.57 AttributeError: 'collections.OrderedDict' object has no attribute 'iteritems'
0:01.60 *** Fix above errors and then restart with\
0:01.60 "/usr/bin/make -f client.mk build"
0:01.60 make: *** [client.mk:370: configure] Error 1
[localuser@localhost epyrus]$ nano mozconfig
[localuser@localhost epyrus]$ ./mach build
0:00.23 /usr/bin/make -f client.mk -s configure
0:01.47 cd /home/localuser/epyrus2/epyrus/obj-x86_64-pc-linux-gnu
0:01.47 /home/localuser/epyrus2/epyrus/configure
0:01.83 Reexecuting in the virtualenv
0:02.00 Adding configure options from /home/localuser/epyrus2/epyrus/mozconfig
0:02.00 --enable-calendar
0:02.00 --prefix=/usr
0:02.00 --enable-application=mail
0:02.00 --enable-optimize=-O2 -w
0:02.00 --enable-jemalloc
0:02.00 --enable-strip
0:02.00 --enable-security-sqlstore
0:02.00 --enable-devtools
0:02.00 --enable-av1
0:02.00 --disable-webrtc
0:02.00 --disable-gamepad
0:02.00 --disable-tests
0:02.00 --disable-debug
0:02.00 --disable-necko-wifi
0:02.00 --disable-updater
0:02.00 --with-pthreads
0:02.00 --enable-appcompat-guid
0:02.00 --disable-safe-browsing
0:02.00 --disable-url-classifier
0:02.00 --disable-mozril-geoloc
0:02.00 --disable-nfc
0:02.00 --disable-synth-pico
0:02.00 --disable-gamepad
0:02.00 --disable-startup-notification
0:02.01 --disable-tests
0:02.01 --disable-debug
0:02.01 --disable-necko-wifi
0:02.01 --disable-dbus
0:02.01 --disable-userinfo
0:02.01 --disable-sync
0:02.01 --disable-pulseaudio
0:02.01 --disable-alsa
0:02.01 --enable-sndio
0:02.01 --disable-crashreporter
0:02.01 --enable-official-branding
0:02.01 --x-libraries=/usr/lib64
0:02.01 MOZILLA_OFFICIAL=1
0:02.01 MOZ_PKG_SPECIAL=gtk3
0:02.01 _BUILD_64=1
0:02.01 _GTK_VERSION=3
0:02.01 BASH_ARGV=([0]="/home/localuser/epyrus2/epyrus/platform/python/mozbuild/mozbuild/action/dump_env.py" [1]="/home/localuser/epyrus2/epyrus/obj-x86_64-pc-linux-gnu/_virtualenv/bin/python" [2]="/home/localuser/epyrus2/epyrus/mozconfig" [3]="/home/localuser/epyrus2/epyrus/platform")
0:02.01 BASH_ARGC=([0]="4")
0:02.09 checking for a shell... /bin/sh
0:02.14 checking for host system type... x86_64-pc-linux-gnu
0:02.14 checking for target system type... x86_64-pc-linux-gnu
0:02.17 checking whether cross compiling... no
0:02.17 checking for pkg_config... /usr/bin/pkg-config
0:02.18 checking for pkg-config version... 0.29.2
0:02.18 checking for yasm... /usr/bin/yasm
0:02.18 checking yasm version... 1.3.0
0:02.18 checking for the target C compiler... /usr/bin/gcc
0:02.18 checking whether the target C compiler can be used... Traceback (most recent call last):
0:02.30 File "/home/localuser/epyrus2/epyrus/configure.py", line 47, in <module>
0:02.30 sys.exit(main(sys.argv))
0:02.30 File "/home/localuser/epyrus2/epyrus/configure.py", line 39, in main
0:02.30 sandbox.run(os.path.join(os.path.dirname(__file__), 'moz.configure'))
0:02.30 File "/home/localuser/epyrus2/epyrus/platform/python/mozbuild/mozbuild/configure/__init__.py", line 376, in run
0:02.30 func(*args)
0:02.30 File "/home/localuser/epyrus2/epyrus/platform/python/mozbuild/mozbuild/configure/__init__.py", line 419, in _value_for
0:02.30 return self._value_for_depends(obj, need_help_dependency)
0:02.30 File "/home/localuser/epyrus2/epyrus/platform/python/mozbuild/mozbuild/util.py", line 963, in method_call
0:02.30 cache[args] = self.func(instance, *args)
0:02.30 File "/home/localuser/epyrus2/epyrus/platform/python/mozbuild/mozbuild/configure/__init__.py", line 429, in _value_for_depends
0:02.30 return obj.result
0:02.30 File "/home/localuser/epyrus2/epyrus/platform/python/mozbuild/mozbuild/util.py", line 981, in __get__
0:02.30 setattr(instance, name, self.func(instance))
0:02.30 File "/home/localuser/epyrus2/epyrus/platform/python/mozbuild/mozbuild/configure/__init__.py", line 92, in result
0:02.30 return self.func(*resolved_args)
0:02.30 File "/home/localuser/epyrus2/epyrus/platform/python/mozbuild/mozbuild/configure/__init__.py", line 951, in wrapped
0:02.30 return new_func(*args, **kwargs)
0:02.30 File "/home/localuser/epyrus2/epyrus/platform/python/mozbuild/mozbuild/configure/__init__.py", line 683, in wrapper
0:02.30 ret = template(*args, **kwargs)
0:02.30 File "/home/localuser/epyrus2/epyrus/platform/build/moz.configure/checks.configure", line 52, in wrapped
0:02.30 ret = func(*args, **kwargs)
0:02.31 File "/home/localuser/epyrus2/epyrus/platform/python/mozbuild/mozbuild/configure/__init__.py", line 951, in wrapped
0:02.31 return new_func(*args, **kwargs)
0:02.31 File "/home/localuser/epyrus2/epyrus/platform/build/moz.configure/toolchain.configure", line 653, in valid_compiler
0:02.31 info = check_compiler(wrapper + [compiler] + flags, language,
0:02.31 File "/home/localuser/epyrus2/epyrus/platform/python/mozbuild/mozbuild/configure/__init__.py", line 951, in wrapped
0:02.31 return new_func(*args, **kwargs)
0:02.31 File "/home/localuser/epyrus2/epyrus/platform/build/moz.configure/toolchain.configure", line 319, in check_compiler
0:02.31 info = get_compiler_info(compiler, language)
0:02.31 File "/home/localuser/epyrus2/epyrus/platform/python/mozbuild/mozbuild/configure/__init__.py", line 951, in wrapped
0:02.31 return new_func(*args, **kwargs)
0:02.31 File "/home/localuser/epyrus2/epyrus/platform/build/moz.configure/toolchain.configure", line 239, in get_compiler_info
0:02.31 for n, (value, condition) in enumerate(preprocessor_checks.iteritems()):
0:02.31 AttributeError: 'collections.OrderedDict' object has no attribute 'iteritems'
0:02.33 *** Fix above errors and then restart with\
0:02.33 "/usr/bin/make -f client.mk build"
0:02.33 make: *** [client.mk:370: configure] Error 1
* * *