Opened 4 years ago

Closed 4 years ago

Last modified 4 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):

https://codereview.adblockplus.org/29321352/

Description (last modified by kzar)

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 (5)

comment:1 Changed 4 years ago by kzar

  • Description modified (diff)

comment:2 Changed 4 years ago by kzar

  • Description modified (diff)

comment:3 Changed 4 years ago by kzar

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

comment:4 Changed 4 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.