Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#2744 closed defect (fixed)

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

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

Description (last modified by kzar)


  • 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: ./ -t chrome devenv

Observed behaviour

Traceback (most recent call last):
  File "./", line 16, in <module>, sys.argv)
  File "/home/kzar/code/tmp/adblockpluschrome/buildtools/", line 572, in processArgs
    commands[command](baseDir, scriptName, opts, args, type)
  File "/home/kzar/code/tmp/adblockpluschrome/buildtools/", line 43, in __call__
    return self._handler(baseDir, scriptName, opts, args, type)
  File "/home/kzar/code/tmp/adblockpluschrome/buildtools/", line 193, in runBuild
  File "/home/kzar/code/tmp/adblockpluschrome/buildtools/", line 330, in createBuild
    convertJS(params, files)
  File "/home/kzar/code/tmp/adblockpluschrome/buildtools/", line 159, in convertJS
    files[file] = doRewrite(sourceFiles, args)
  File "/home/kzar/code/tmp/adblockpluschrome/buildtools/jshydra/", line 23, in doRewrite
    return subprocess.check_output(command, env=env).replace('\r', '')
  File "/usr/lib/python2.7/", line 566, in check_output
    process = Popen(stdout=PIPE, *popenargs, **kwargs)
  File "/usr/lib/python2.7/", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/", 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 (5)

comment:1 Changed 5 years ago by kzar

  • Description modified (diff)

comment:2 Changed 5 years ago by kzar

  • Description modified (diff)

comment:3 Changed 5 years ago by kzar

  • Review URL(s) modified (diff)
  • Status changed from new to reviewing

comment:4 Changed 5 years ago by kzar

  • Component changed from Unknown to Build-and-Release-Tools
  • Ready set
  • Resolution set to fixed
  • Status changed from reviewing to closed
Note: See TracTickets for help on using tickets.