You are not logged in.
chromium-sandbox-pie.patch compiles sandbox with -fPIE.
Please excuse my ignorance, but what's the benefit from this?
Offline
gcarq wrote:
chromium-sandbox-pie.patch compiles sandbox with -fPIE.
Please excuse my ignorance, but what's the benefit from this?
This patch compiles the chromium sandbox with -fPIE (Position Independent Executable) which means the resulting ASM instructions are position independent. PIE in combination with ASLR(Address space layout randomization) makes it very difficult to write reliable exploits, because in most cases you have to know a memory address in advance you can jump to.
The only downside of this patch is that the resulting code is slightly slower, but not noticeable.
Offline
Can I disable the stupid profile button? If yes then this is the best browser ever
chromium 44 or newer does not honor --disable-new-avatar-menu flag anymore. They closed the bug report with wontfix tag. I don't wanna use chromium anymore.
Offline
Can I disable the stupid profile button? If yes then this is the best browser ever
chromium 44 or newer does not honor --disable-new-avatar-menu flag anymore. They closed the bug report with wontfix tag. I don't wanna use chromium anymore.
Jep, the profile button is disabled. disable-new-avatar-menu.patch takes care of this.
Offline
Thanks for the explanation! So basically what you are doing is to give security more importance than speed, other than the devs, who seem to see performance as more important. I'm definitely giving you a +1 on this!
Offline
Arch3R wrote:Can I disable the stupid profile button? If yes then this is the best browser ever
chromium 44 or newer does not honor --disable-new-avatar-menu flag anymore. They closed the bug report with wontfix tag. I don't wanna use chromium anymore.Jep, the profile button is disabled. disable-new-avatar-menu.patch takes care of this.
Thanks. I'm gonna use this from now on.
Edit: I can't build it.
It keeps saying write failed or can't create and inox-bin is not on aur anymore.
Last edited by Arch3R (2015-12-07 11:27:52)
Offline
It's not working. Here's the build output
sed \
-e "s|@CHROMIUM_NAME@|inox|g" \
-e "s|@CHROMIUM_BIN@|/usr/lib/inox/inox|g" \
-e "s|@PEPPER_FLASH_DIR@|/usr/lib/PepperFlash|g" \
-e "s|@LAUNCHER_ERRMSG@|/usr/lib/inox-launcher/launcher-errmsg|g" \
chromium-launcher.in >inox-launcher
cc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong -std=c99 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/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/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro launcher-errmsg.c -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -o launcher-errmsg
Updating projects from gyp files...
/usr/lib/python2.7/genericpath.py:79: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
s1 = min(m)
Error processing node <?xml version="1.0" encoding="UTF-8"?>
<include file="${inputview_gen_js}" name="IDR_KEYBOARD_INPUTVIEW_JS" type="BINDATA" use_base_dir="false" />
Exception: 'ascii' codec can't decode byte 0xc3 in position 4: ordinal not in range(128)
Traceback (most recent call last):
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 491, in CallLoadTargetBuildFile
includes, depth, check, False)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 412, in LoadTargetBuildFile
build_file_data, PHASE_EARLY, variables, build_file_path)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1287, in ProcessVariablesAndConditionsInDict
build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1302, in ProcessVariablesAndConditionsInList
ProcessVariablesAndConditionsInDict(item, phase, variables, build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1287, in ProcessVariablesAndConditionsInDict
build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1302, in ProcessVariablesAndConditionsInList
ProcessVariablesAndConditionsInDict(item, phase, variables, build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1287, in ProcessVariablesAndConditionsInDict
build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1306, in ProcessVariablesAndConditionsInList
expanded = ExpandVariables(item, phase, variables, build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 886, in ExpandVariables
replacement = str(py_module.DoMain(parsed_contents[1:])).rstrip()
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/grit/grit_info.py", line 150, in DoMain
options.target_platform)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/grit/grit_info.py", line 94, in Inputs
files.add(grd.ToRealPath(node.GetInputPath()))
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/grit/grit/node/include.py", line 63, in GetInputPath
return os.path.relpath(self.attrs['file'], self.GetRoot().GetBaseDir())
File "/usr/lib/python2.7/posixpath.py", line 434, in relpath
i = len(commonprefix([start_list, path_list]))
File "/usr/lib/python2.7/genericpath.py", line 79, in commonprefix
s1 = min(m)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 4: ordinal not in range(128)
/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/grit/grit/node/misc.py:459: UnicodeWarning: Unicode unequal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
if abs_filename[:len(src_root_dir)] != src_root_dir:
------------------------------------------------------------------------------
Resource id not set for address_input_strings.grd (messages)!
Please update ../../tools/gritsettings/resource_ids to include an entry for address_input_strings.grd. See the comments in resource_ids for information on why you need to update that file.
------------------------------------------------------------------------------
Exception: 'address_input_strings.grd'
Traceback (most recent call last):
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 491, in CallLoadTargetBuildFile
includes, depth, check, False)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 412, in LoadTargetBuildFile
build_file_data, PHASE_EARLY, variables, build_file_path)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1287, in ProcessVariablesAndConditionsInDict
build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1302, in ProcessVariablesAndConditionsInList
ProcessVariablesAndConditionsInDict(item, phase, variables, build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1287, in ProcessVariablesAndConditionsInDict
build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1302, in ProcessVariablesAndConditionsInList
ProcessVariablesAndConditionsInDict(item, phase, variables, build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1287, in ProcessVariablesAndConditionsInDict
build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1306, in ProcessVariablesAndConditionsInList
expanded = ExpandVariables(item, phase, variables, build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 886, in ExpandVariables
replacement = str(py_module.DoMain(parsed_contents[1:])).rstrip()
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/grit/grit_info.py", line 150, in DoMain
options.target_platform)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/grit/grit_info.py", line 68, in Inputs
first_ids_file=ids_file, target_platform=target_platform)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/grit/grit/grd_reader.py", line 214, in Parse
handler.root.AssignFirstIds(filename_or_stream, defines)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/grit/grit/node/misc.py", line 480, in AssignFirstIds
raise e
KeyError: 'address_input_strings.grd'
/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/grit/grit/node/misc.py:459: UnicodeWarning: Unicode unequal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
if abs_filename[:len(src_root_dir)] != src_root_dir:
------------------------------------------------------------------------------
Resource id not set for remoting_strings.grd (messages)!
Please update ../tools/gritsettings/resource_ids to include an entry for remoting_strings.grd. See the comments in resource_ids for information on why you need to update that file.
------------------------------------------------------------------------------
Exception: 'remoting_strings.grd'
Traceback (most recent call last):
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 491, in CallLoadTargetBuildFile
includes, depth, check, False)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 412, in LoadTargetBuildFile
build_file_data, PHASE_EARLY, variables, build_file_path)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1287, in ProcessVariablesAndConditionsInDict
build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1302, in ProcessVariablesAndConditionsInList
ProcessVariablesAndConditionsInDict(item, phase, variables, build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1287, in ProcessVariablesAndConditionsInDict
build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1302, in ProcessVariablesAndConditionsInList
ProcessVariablesAndConditionsInDict(item, phase, variables, build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1287, in ProcessVariablesAndConditionsInDict
build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1306, in ProcessVariablesAndConditionsInList
expanded = ExpandVariables(item, phase, variables, build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 886, in ExpandVariables
replacement = str(py_module.DoMain(parsed_contents[1:])).rstrip()
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/grit/grit_info.py", line 150, in DoMain
options.target_platform)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/grit/grit_info.py", line 68, in Inputs
first_ids_file=ids_file, target_platform=target_platform)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/grit/grit/grd_reader.py", line 214, in Parse
handler.root.AssignFirstIds(filename_or_stream, defines)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/grit/grit/node/misc.py", line 480, in AssignFirstIds
raise e
KeyError: 'remoting_strings.grd'
Exception: 'ascii' codec can't decode byte 0xc3 in position 4: ordinal not in range(128)
Traceback (most recent call last):
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 491, in CallLoadTargetBuildFile
includes, depth, check, False)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 412, in LoadTargetBuildFile
build_file_data, PHASE_EARLY, variables, build_file_path)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1261, in ProcessVariablesAndConditionsInDict
ProcessConditionsInDict(the_dict, phase, variables, build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1140, in ProcessConditionsInDict
variables, build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1287, in ProcessVariablesAndConditionsInDict
build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1302, in ProcessVariablesAndConditionsInList
ProcessVariablesAndConditionsInDict(item, phase, variables, build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1287, in ProcessVariablesAndConditionsInDict
build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1302, in ProcessVariablesAndConditionsInList
ProcessVariablesAndConditionsInDict(item, phase, variables, build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1287, in ProcessVariablesAndConditionsInDict
build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1306, in ProcessVariablesAndConditionsInList
expanded = ExpandVariables(item, phase, variables, build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 886, in ExpandVariables
replacement = str(py_module.DoMain(parsed_contents[1:])).rstrip()
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/grit/grit_info.py", line 150, in DoMain
options.target_platform)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/grit/grit_info.py", line 103, in Inputs
return [os.path.relpath(f, cwd) for f in sorted(files)]
File "/usr/lib/python2.7/posixpath.py", line 434, in relpath
i = len(commonprefix([start_list, path_list]))
File "/usr/lib/python2.7/genericpath.py", line 79, in commonprefix
s1 = min(m)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 4: ordinal not in range(128)
/usr/lib/python2.7/genericpath.py:79: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
s1 = min(m)
Exception: 'ascii' codec can't decode byte 0xc3 in position 4: ordinal not in range(128)
Traceback (most recent call last):
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 491, in CallLoadTargetBuildFile
includes, depth, check, False)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 412, in LoadTargetBuildFile
build_file_data, PHASE_EARLY, variables, build_file_path)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1287, in ProcessVariablesAndConditionsInDict
build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1302, in ProcessVariablesAndConditionsInList
ProcessVariablesAndConditionsInDict(item, phase, variables, build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1287, in ProcessVariablesAndConditionsInDict
build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1302, in ProcessVariablesAndConditionsInList
ProcessVariablesAndConditionsInDict(item, phase, variables, build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1287, in ProcessVariablesAndConditionsInDict
build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1306, in ProcessVariablesAndConditionsInList
expanded = ExpandVariables(item, phase, variables, build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 886, in ExpandVariables
replacement = str(py_module.DoMain(parsed_contents[1:])).rstrip()
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/grit/grit_info.py", line 150, in DoMain
options.target_platform)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/grit/grit_info.py", line 103, in Inputs
return [os.path.relpath(f, cwd) for f in sorted(files)]
File "/usr/lib/python2.7/posixpath.py", line 434, in relpath
i = len(commonprefix([start_list, path_list]))
File "/usr/lib/python2.7/genericpath.py", line 79, in commonprefix
s1 = min(m)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 4: ordinal not in range(128)
Exception: 'ascii' codec can't decode byte 0xc3 in position 4: ordinal not in range(128)
Traceback (most recent call last):
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 491, in CallLoadTargetBuildFile
includes, depth, check, False)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 412, in LoadTargetBuildFile
build_file_data, PHASE_EARLY, variables, build_file_path)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1261, in ProcessVariablesAndConditionsInDict
ProcessConditionsInDict(the_dict, phase, variables, build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1140, in ProcessConditionsInDict
variables, build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1287, in ProcessVariablesAndConditionsInDict
build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1302, in ProcessVariablesAndConditionsInList
ProcessVariablesAndConditionsInDict(item, phase, variables, build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1287, in ProcessVariablesAndConditionsInDict
build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1302, in ProcessVariablesAndConditionsInList
ProcessVariablesAndConditionsInDict(item, phase, variables, build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1287, in ProcessVariablesAndConditionsInDict
build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1306, in ProcessVariablesAndConditionsInList
expanded = ExpandVariables(item, phase, variables, build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 886, in ExpandVariables
replacement = str(py_module.DoMain(parsed_contents[1:])).rstrip()
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/grit/grit_info.py", line 150, in DoMain
options.target_platform)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/grit/grit_info.py", line 103, in Inputs
return [os.path.relpath(f, cwd) for f in sorted(files)]
File "/usr/lib/python2.7/posixpath.py", line 434, in relpath
i = len(commonprefix([start_list, path_list]))
File "/usr/lib/python2.7/genericpath.py", line 79, in commonprefix
s1 = min(m)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 4: ordinal not in range(128)
------------------------------------------------------------------------------
Resource id not set for policy_templates.grd (structures)!
Please update ../tools/gritsettings/resource_ids to include an entry for policy_templates.grd. See the comments in resource_ids for information on why you need to update that file.
------------------------------------------------------------------------------
Exception: 'policy_templates.grd'
Traceback (most recent call last):
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 491, in CallLoadTargetBuildFile
includes, depth, check, False)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 412, in LoadTargetBuildFile
build_file_data, PHASE_EARLY, variables, build_file_path)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1261, in ProcessVariablesAndConditionsInDict
ProcessConditionsInDict(the_dict, phase, variables, build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1140, in ProcessConditionsInDict
variables, build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1287, in ProcessVariablesAndConditionsInDict
build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1302, in ProcessVariablesAndConditionsInList
ProcessVariablesAndConditionsInDict(item, phase, variables, build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1287, in ProcessVariablesAndConditionsInDict
build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1302, in ProcessVariablesAndConditionsInList
ProcessVariablesAndConditionsInDict(item, phase, variables, build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1287, in ProcessVariablesAndConditionsInDict
build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1306, in ProcessVariablesAndConditionsInList
expanded = ExpandVariables(item, phase, variables, build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 886, in ExpandVariables
replacement = str(py_module.DoMain(parsed_contents[1:])).rstrip()
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/grit/grit_info.py", line 150, in DoMain
options.target_platform)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/grit/grit_info.py", line 68, in Inputs
first_ids_file=ids_file, target_platform=target_platform)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/grit/grit/grd_reader.py", line 214, in Parse
handler.root.AssignFirstIds(filename_or_stream, defines)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/grit/grit/node/misc.py", line 480, in AssignFirstIds
raise e
KeyError: 'policy_templates.grd'
------------------------------------------------------------------------------
Resource id not set for ui_strings.grd (messages)!
Please update ../../tools/gritsettings/resource_ids to include an entry for ui_strings.grd. See the comments in resource_ids for information on why you need to update that file.
------------------------------------------------------------------------------
Exception: 'ui_strings.grd'
Traceback (most recent call last):
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 491, in CallLoadTargetBuildFile
includes, depth, check, False)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 412, in LoadTargetBuildFile
build_file_data, PHASE_EARLY, variables, build_file_path)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1287, in ProcessVariablesAndConditionsInDict
build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1302, in ProcessVariablesAndConditionsInList
ProcessVariablesAndConditionsInDict(item, phase, variables, build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1287, in ProcessVariablesAndConditionsInDict
build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1302, in ProcessVariablesAndConditionsInList
ProcessVariablesAndConditionsInDict(item, phase, variables, build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1287, in ProcessVariablesAndConditionsInDict
build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1306, in ProcessVariablesAndConditionsInList
expanded = ExpandVariables(item, phase, variables, build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 886, in ExpandVariables
replacement = str(py_module.DoMain(parsed_contents[1:])).rstrip()
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/grit/grit_info.py", line 150, in DoMain
options.target_platform)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/grit/grit_info.py", line 68, in Inputs
first_ids_file=ids_file, target_platform=target_platform)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/grit/grit/grd_reader.py", line 214, in Parse
handler.root.AssignFirstIds(filename_or_stream, defines)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/grit/grit/node/misc.py", line 480, in AssignFirstIds
raise e
KeyError: 'ui_strings.grd'
Exception: 'ascii' codec can't decode byte 0xc3 in position 4: ordinal not in range(128)
Traceback (most recent call last):
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 491, in CallLoadTargetBuildFile
includes, depth, check, False)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 412, in LoadTargetBuildFile
build_file_data, PHASE_EARLY, variables, build_file_path)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1287, in ProcessVariablesAndConditionsInDict
build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1302, in ProcessVariablesAndConditionsInList
ProcessVariablesAndConditionsInDict(item, phase, variables, build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1287, in ProcessVariablesAndConditionsInDict
build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1302, in ProcessVariablesAndConditionsInList
ProcessVariablesAndConditionsInDict(item, phase, variables, build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1287, in ProcessVariablesAndConditionsInDict
build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 1306, in ProcessVariablesAndConditionsInList
expanded = ExpandVariables(item, phase, variables, build_file)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/gyp/pylib/gyp/input.py", line 886, in ExpandVariables
replacement = str(py_module.DoMain(parsed_contents[1:])).rstrip()
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/grit/grit_info.py", line 150, in DoMain
options.target_platform)
File "/home/sinan/Masaüstü/inox/src/chromium-47.0.2526.73/tools/grit/grit_info.py", line 103, in Inputs
return [os.path.relpath(f, cwd) for f in sorted(files)]
File "/usr/lib/python2.7/posixpath.py", line 434, in relpath
i = len(commonprefix([start_list, path_list]))
File "/usr/lib/python2.7/genericpath.py", line 79, in commonprefix
s1 = min(m)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 4: ordinal not in range(128)
==> ERROR: A failure occurred in build().
Aborting ...
Last edited by Arch3R (2015-12-08 15:46:45)
Offline
@Arch3R
I think the problem is caused by the unicode characters in your path:
/home/sinan/Masaüstü/inox/src/
Offline
@Arch3R
I think the problem is caused by the unicode characters in your path:
Arch3R wrote:/home/sinan/Masaüstü/inox/src/
Oops you're right. That was it. my bad.
Offline
You need a couple of free GB on your harddisk to compile chromium.
As for the Inox patchset, it greatly reduces Google calls, but not entirely. With Wireshark I still see lots of calls to:
tools.google.com
apis.google.com
fonts.googleapis.com
fonts.gstatic.com
and plenty other, especially on first or second run.This is not a complaint btw, just something I've noticed
Could you post all of the calls you see maybe we could add them to our hosts.
edit: It failed.
[18105/18105] LINK chrome
==> Entering fakeroot environment...
==> Starting package()...
install -Dm755 inox-launcher "/home/user/Downloads/inox/pkg/inox/usr/bin/inox"
install -Dm755 launcher-errmsg "/home/user/Downloads/inox/pkg/inox/usr/lib/inox-launcher/launcher-errmsg"
strip --strip-all "/home/user/Downloads/inox/pkg/inox/usr/lib/inox-launcher/launcher-errmsg"
strip: '/home/user/Downloads/inox/pkg/inox/usr/lib/inox/inoxdriver': No such file
==> ERROR: A failure occurred in package().
Aborting...
gcarq updated to 47.0.2526.80-1 while it was building
Can the 5GiB done up to this point be used to speed up the process or are they to be rm -rf?
Is there a test that can be done to check if it will fail?
edit2: Spell-check in inxo-bin is enabled by default. Every keystroke typed anywhere in the browser is sent to google.
Last edited by ubone (2015-12-10 07:27:33)
Offline
@gcarq, in version 46 extension 'Recent History' was in address bar, and in version 47 it's in usual place for extensions. But in Chromium-47 it's in the address bar.
Is it bug of mine or the consequences of Inox-patches ?
Offline
gcarq updated to 47.0.2526.80-1 while it was building
Can the 5GiB done up to this point be used to speed up the process or are they to be rm -rf?
Is there a test that can be done to check if it will fail?
Oh sorry to hear that
If it is a version bump you can most likely trash the 5GiB, unfortunatly there is no quick check I'm aware of.
edit2: Spell-check in inxo-bin is enabled by default. Every keystroke typed anywhere in the browser is sent to google.
Do you have more info on this?
@gcarq, in version 46 extension 'Recent History' was in address bar, and in version 47 it's in usual place for extensions. But in Chromium-47 it's in the address bar.
Is it bug of mine or the consequences of Inox-patches ?
I've never seen an extension named 'Recent History' in inox nor chromium. What's the id of this? I just have the 'History' item in the wrench menu and of course chrome://history. (in both inox-46 and 47)
Offline
I've never seen an extension named 'Recent History' in inox nor chromium. What's the id of this? I just have the 'History' item in the wrench menu and of course chrome://history. (in both inox-46 and 47)
Offline
Applied patches to Version 47.0.2526.106 (64-bit). The problem with 'Recent History' is solved.
But still cannot drop extensions into browser in Plasma_5.
Last edited by Perfect Gentleman (2015-12-16 11:13:20)
Offline
Is there a way to disable 1/ autocomplete URL in the omnibox and 2/ the download bar from showing up? Flag existed but 6006le have removed them.
Last edited by ubone (2015-12-20 10:19:47)
Offline
Spellchecking is not working, is it okay ?
Offline
Applied patches to Version 47.0.2526.111 (64-bit). Still cannot drop extensions into browser in Plasma_5 and spellchecking is not working.
Last edited by Perfect Gentleman (2016-01-17 03:45:37)
Offline
@gcarq: I noticed another thing, when you first run Chromium, it reads the mozilla cache directory and imports every site ever visited with Firefox.
Do you thinks that should also be prevented with Inox? (I think it does).
Offline
Inox 47.0.2526.80 (64-bit) is not recognizing Widevine CDM from AUR.
Pepperflash from AUR works fine.
Is this behavior by design?
Offline
gcarq, new version is out. Also several questions remain unanswered.
Offline
I'm updating the patches to version 48 right now.
@Perfect Gentleman, Is it still an issue to drop extensions with Plasma5? If so, someone wrote a small extension downloader, maybe it fits your needs: ttps://github.com/gcarq/inox-patchset/issues/7.
I'm running xfce4 right now so I can't reproduce your issue, but if you have some hints I will look into it.
Regarding spellchecking, I think this is a side effect from disable-translation-lang-fetch.patch, because AFAIK spellchecker is using this dicts.
@ubone, Autocomplete URL is disabled, it just searches the local history.
I don't know if you can disable this behaviour completely, it has not high prio, but if you have a patch to re-enable this flags I'm happy to integrate it.
@Wilco, Thanks for mentioning, I also think this should be prevented, as it is not really a transparent feature.
Do you have some logs or hints where to start?
@Gaylaird-Culbreth, No this behavior is not by design. I don't know exactly whats the issue, but version 48 should fix this issue, because there are some new widevine patches from chromium package.
PS: For version 48 I'm starting to use Github releases, also for the binary packages.
Offline
@Perfect Gentleman, Is it still an issue to drop extensions with Plasma5? If so, someone wrote a small extension downloader, maybe it fits your needs: ttps://github.com/gcarq/inox-patchset/issues/7.
I'm running xfce4 right now so I can't reproduce your issue, but if you have some hints I will look into it.
Regarding spellchecking, I think this is a side effect from disable-translation-lang-fetch.patch, because AFAIK spellchecker is using this dicts.
Yes, the issue is still present. Extension downloader didn't work for me as Chromium doesn't let to add them (Extensions, apps, and user scripts cannot be installed from this web site).
I compiled Chromium with gtk3, maybe that is the reason of broken drag'n'drop.
Offline
@gcarq: thanks for looking into this. I think it's enough to prevent a call to first_run::AutoImport in the file chrome/browser/chrome_browser_main.cc line 1478.
Change line 1477 from
if (first_run::IsChromeFirstRun()) {
to
if (false) {
I can create a fix and test this if you want
Offline
@Perfect Gentleman, have you tried with a fresh profile since you built it with gtk3? Unlikely to be related, but I think it's worth a try.
@Wilco, that would be great thanks! :-) I will add it with the next version.
Offline
@Perfect Gentleman, have you tried with a fresh profile since you built it with gtk3? Unlikely to be related, but I think it's worth a try.
Yes, I have.
Offline