Opened on 07/02/2015 at 04:16:23 PM

Closed on 07/06/2015 at 11:06:12 AM

Last modified on 07/06/2015 at 11:07:10 AM

#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.

Attachments (0)

Change History (5)

comment:1 Changed on 07/02/2015 at 04:21:15 PM by kzar

  • Description modified (diff)

comment:2 Changed on 07/02/2015 at 04:22:17 PM by kzar

  • Description modified (diff)

comment:3 Changed on 07/02/2015 at 05:00:24 PM by kzar

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

comment:4 Changed on 07/06/2015 at 11:06:12 AM by kzar

  • Component changed from Unknown to Build-and-Release-Tools
  • Ready set
  • Resolution set to fixed
  • Status changed from reviewing to closed

comment:5 Changed on 07/06/2015 at 11:07:10 AM by kzar

Add Comment

Modify Ticket

Change Properties
Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from kzar.
 
Note: See TracTickets for help on using tickets.