Bug 201205 - www/chromium: Fail to build chromium 43.0.2357.130 on FreeBSD 10.1
Summary: www/chromium: Fail to build chromium 43.0.2357.130 on FreeBSD 10.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-chromium (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-29 16:24 UTC by Ting-Wei Lan
Modified: 2015-07-01 04:00 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (chromium)


Attachments
poudriere bulk log (493.79 KB, text/plain)
2015-06-29 16:24 UTC, Ting-Wei Lan
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ting-Wei Lan 2015-06-29 16:24:59 UTC
Created attachment 158164 [details]
poudriere bulk log

Build log:

[5490/16864] ACTION Generating C++ API bundle code for schemas
FAILED: cd ../../extensions/common/api; python ../../../tools/json_schema_compiler/compiler.py "--root=../../.." "--destdir=../../../out/Release/gen" "--namespace=extensions::core_api::%(namespace)s" "--generator=cpp-bundle-schema" "--include-rules=" alarms.idl app_current_window_internal.idl app_runtime.idl app_view_guest_internal.json app_window.idl audio.idl bluetooth.idl bluetooth_low_energy.idl bluetooth_private.json bluetooth_socket.idl cast_channel.idl document_scan.idl dns.idl events.json extensions_manifest_types.json extension_options_internal.idl extension_view_internal.json extension_types.json guest_view_internal.json management.json hid.idl idle.json mime_handler_private.idl mime_handler_view_guest_internal.json mojo_private.idl networking_private.idl power.idl printer_provider.idl printer_provider_internal.idl runtime.json serial.idl socket.idl sockets_tcp.idl sockets_tcp_server.idl sockets_udp.idl storage.json surface_worker_internal.json system_cpu.idl system_display.idl system_memory.idl system_network.idl system_storage.idl test.json usb.idl virtual_keyboard_private.json web_request.json web_view_internal.json web_request_internal.json
Traceback (most recent call last):
  File "../../../tools/json_schema_compiler/compiler.py", line 191, in <module>
    opts.namespace, opts.impl_dir, include_rules)
  File "../../../tools/json_schema_compiler/compiler.py", line 53, in GenerateSchema
    api_def = schema_loader.LoadSchema(schema)
  File "/wrkdirs/usr/ports/www/chromium/work/chromium-43.0.2357.130/tools/json_schema_compiler/schema_loader.py", line 90, in LoadSchema
    api_defs = idl_schema.Load(schema_path)
  File "/wrkdirs/usr/ports/www/chromium/work/chromium-43.0.2357.130/tools/json_schema_compiler/idl_schema.py", line 525, in Load
    return Process(contents, filename)
  File "/wrkdirs/usr/ports/www/chromium/work/chromium-43.0.2357.130/tools/json_schema_compiler/idl_schema.py", line 535, in Process
    idl = idl_parser.IDLParser().ParseData(contents, filename)
  File "/wrkdirs/usr/ports/www/chromium/work/chromium-43.0.2357.130/tools/json_schema_compiler/../../ppapi/generators/idl_parser.py", line 906, in __init__
    IDLLexer.__init__(self)
  File "/wrkdirs/usr/ports/www/chromium/work/chromium-43.0.2357.130/tools/json_schema_compiler/../../ppapi/generators/idl_lexer.py", line 215, in __init__
    self.lexobj = lex.lex(object=self, lextab=None, optimize=0)
  File "/usr/local/lib/python2.7/site-packages/ply/lex.py", line 893, in lex
    if '.' not in lextab:
TypeError: argument of type 'NoneType' is not iterable
ninja: build stopped: subcommand failed.
===> Compilation failed unexpectedly.
Comment 1 Rene Ladan freebsd_committer freebsd_triage 2015-06-29 17:10:55 UTC
What is the output of 'make showconfig' and what is your architecture (i386 / amd64) ?
Comment 2 Ting-Wei Lan 2015-06-29 17:14:12 UTC
===> The following configuration options are available for chromium-43.0.2357.130:
     CODECS=on: Compile and enable patented codecs like H.264
     DEBUG=off: Build with debugging support
     GCONF=on: GConf configuration backend support
     KERBEROS=on: Kerberos support
     PULSEAUDIO=on: PulseAudio sound server support
     TEST=off: Build and/or run tests

architecture is amd64.
Comment 3 Rene Ladan freebsd_committer freebsd_triage 2015-06-29 17:21:11 UTC
What happens if you build with PULSEAUDIO=off ?
Comment 4 Ting-Wei Lan 2015-06-29 17:45:26 UTC
I still get the same result.
Comment 5 Rene Ladan freebsd_committer freebsd_triage 2015-06-30 18:28:37 UTC
Ah, it turns out that the update of devel/py-ply caused this failure. That port is updated in r390980 to fix the build of chromium.
Comment 6 Ting-Wei Lan 2015-07-01 04:00:20 UTC
Thanks. It builds now.