Opened 4 years ago

Closed 4 years ago

#2745 closed defect (duplicate)

Adblockplus Chrome won't build, wrong jsshell downloaded for jshydra on 64 bit Linux machine

Reported by: kzar Assignee: kzar
Priority: Unknown Milestone:
Module: Unknown Keywords:
Cc: snoack, greiner, trev Blocked By:
Blocking: Platform: Unknown / Cross platform
Ready: no Confidential: no
Tester: Unknown Verified working: no
Review URL(s):

Description

Environment

  • Thinkpad T450 running Ubuntu Linux 15.04
  • Linux kzar 3.19.0-21-generic #21-Ubuntu SMP Sun Jun 14 18:31:11 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
  • Fresh clone of latest Adblockplus Chrome

How to reproduce

  1. Clone Adblock Plus for Chrome from Mercurial or Git.
  2. Attempt a dev build: ./build.py -t chrome devenv

Observed behaviour

`
Traceback (most recent call last):

File "./build.py", line 16, in <module>

buildtools.build.processArgs(BASE_DIR, sys.argv)

File "/home/kzar/code/tmp/adblockpluschrome/buildtools/build.py", line 572, in processArgs

commands[command](baseDir, scriptName, opts, args, type)

File "/home/kzar/code/tmp/adblockpluschrome/buildtools/build.py", line 43, in call

return self._handler(baseDir, scriptName, opts, args, type)

File "/home/kzar/code/tmp/adblockpluschrome/buildtools/build.py", line 193, in runBuild

experimentalAPI=experimentalAPI)

File "/home/kzar/code/tmp/adblockpluschrome/buildtools/packagerChrome.py", line 330, in createBuild

convertJS(params, files)

File "/home/kzar/code/tmp/adblockpluschrome/buildtools/packagerChrome.py", line 159, in convertJS

files[file] = doRewrite(sourceFiles, args)

File "/home/kzar/code/tmp/adblockpluschrome/buildtools/jshydra/abp_rewrite.py", line 23, in doRewrite

return subprocess.check_output(command, env=env).replace('\r', )

File "/usr/lib/python2.7/subprocess.py", line 566, in check_output

process = Popen(stdout=PIPE, *popenargs, kwargs)

File "/usr/lib/python2.7/subprocess.py", line 710, in init

errread, errwrite)

File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child

raise child_exception

OSError: [Errno 2] No such file or directory
`

Expected behaviour

The build to complete successfully.

How to fix manually

Download the x86_64 version of jsshell and replace buildtools/jshydra/mozilla with the contents.

Change History (1)

comment:1 Changed 4 years ago by kzar

  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.