Opened 5 years ago

Closed 4 years ago

#59877 closed defect (fixed)

mozjs60 +universal: mozbuild.configure.options.InvalidOptionError: Unknown option: --disable-dependency-tracking

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: haspatch Cc:
Port: mozjs60

Description

Traceback (most recent call last):
  File "../../../configure.py", line 127, in <module>
    sys.exit(main(sys.argv))
  File "../../../configure.py", line 29, in main
    sandbox.run(os.path.join(os.path.dirname(__file__), 'moz.configure'))
  File "/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-ryandesign-fork_lang_mozjs60/mozjs60/work/mozjs-60.8.0-x86_64/python/mozbuild/mozbuild/configure/__init__.py", line 424, in run
    raise InvalidOptionError('Unknown option: %s' % without_value)
mozbuild.configure.options.InvalidOptionError: Unknown option: --disable-dependency-tracking
Command failed:  cd "/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-ryandesign-fork_lang_mozjs60/mozjs60/work/mozjs-60.8.0-x86_64/js/src/obj" && ../configure --prefix=/opt/local --disable-dependency-tracking --with-system-nspr --disable-readline --disable-dependency-tracking --host=x86_64-apple-darwin17 --build=x86_64-apple-darwin17 --target=x86_64-apple-darwin17
Exit code: 1

Attachments (1)

mozjs60.patch (2.2 KB) - added by Ionic (Mihai Moldovan) 5 years ago.
universal build fixes

Download all attachments as: .zip

Change History (6)

comment:1 Changed 5 years ago by kencu (Ken)

fixing that error just leads to others, I found.

comment:2 Changed 5 years ago by Ionic (Mihai Moldovan)

I believe that the set of --build=... arguments should also be --host=... arguments, yes.

Changed 5 years ago by Ionic (Mihai Moldovan)

Attachment: mozjs60.patch added

universal build fixes

comment:3 Changed 5 years ago by Ionic (Mihai Moldovan)

Keywords: haspatch added

This fixes the issues for me, minus trace mode issues, that are caused by the package looking for the CLT receipt... but I probably don't care enough to diagnose and fix that (currently).

comment:4 Changed 5 years ago by someuser12

Thanks, this fixes the issue for me also (Mac OS 10.11.6, macports 2.6.2).

comment:5 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

In 2f4557e58601393587e365b9011c8d1633338f2b/macports-ports (master):

mozjs60: Fix universal variant

Closes: #59877

Thank you for the patch, Mihai.

Note: See TracTickets for help on using tickets.