Skip to content

Instantly share code, notes, and snippets.

View wlach's full-sized avatar
👋

Will Lachance wlach

👋
View GitHub Profile
(mozregression) wlach@antwerp mozregression % dist/main/main
/Users/wlach/src/mozregression/dist/main/mozregression/pings.yaml
Traceback (most recent call last):
File "mozregression/main.py", line 35, in <module>
from mozregression.telemetry import send_telemetry_ping_oop
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "/Users/wlach/src/mozregression/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
exec(bytecode, module.__dict__)
---
$schema: moz://mozilla.org/schemas/glean/metrics/1-0-0
used.default:
os:
type: string
description: >
The name of the os
notification_emails: [wlachance@mozilla.com]
bugs: [http://bugzilla.org/1234]
from glean import Glean, Configuration
from glean import (load_metrics,
load_pings)
config = Configuration()
config.ping_tag = "mozregression-test-tag"
config.log_pings = True
Glean.initialize(
application_id="mozregression",
1
2
3
*** Reading local file: /app/logs/missioncontrol/missioncontrol_etl/2020-01-15T22:40:35/3.log
[2020-01-15 23:14:06,576] {models.py:1359} INFO - Dependencies all met for <TaskInstance: missioncontrol.missioncontrol_etl 2020-01-15T22:40:35.339783+00:00 [queued]>
[2020-01-15 23:14:06,579] {models.py:1359} INFO - Dependencies all met for <TaskInstance: missioncontrol.missioncontrol_etl 2020-01-15T22:40:35.339783+00:00 [queued]>
[2020-01-15 23:14:06,580] {models.py:1571} INFO -
--------------------------------------------------------------------------------
#!/bin/sh
# Based on http://hpc.sourceforge.net/buildf2c with curl replaced by wget
############################################################
# This UNIX script builds the f2c FORTRAN --> C translator #
# under Mac OS X. #
#!/bin/sh
############################################################
# This UNIX script builds the f2c FORTRAN --> C translator #
# under Mac OS X. #
# Make this script executable with "chmod +x buildf2c" #
(module
(type (;0;) (func (param i32 i32 i32) (result i32)))
(type (;1;) (func (param i32) (result i32)))
(type (;2;) (func (param i32)))
(type (;3;) (func (param i32 i32) (result i32)))
(type (;4;) (func (result i32)))
(type (;5;) (func (param i32 i32)))
(type (;6;) (func))
(type (;7;) (func (param i32 i32 i32 i32) (result i32)))
(import "env" "abortStackOverflow" (func (;0;) (type 2)))
f2c: source not found, skipping: gfortran -Wall -g -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops -print-libgcc-file-name
Traceback (most recent call last):
File "/Users/wlach/src/pyodide-native-mac/cpython/build/3.7.0/host/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/Users/wlach/src/pyodide-native-mac/cpython/build/3.7.0/host/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/Users/wlach/src/pyodide-native-mac/pyodide_build/__main__.py", line 32, in <module>
main()
File "/Users/wlach/src/pyodide-native-mac/pyodide_build/__main__.py", line 26, in main
args.func(args)
diff --git a/cpython/Makefile b/cpython/Makefile
index 357d152..72ae284 100644
--- a/cpython/Makefile
+++ b/cpython/Makefile
@@ -6,6 +6,8 @@ ROOT=$(abspath .)
HOSTINSTALL=$(ROOT)/build/$(PYVERSION)/host
HOSTBUILD=$(HOSTINSTALL)/Python-$(PYVERSION)
HOSTPYTHON=$(HOSTINSTALL)/bin/python3$(EXE)
+HOSTPYTHON_CPPFLAGS="-I/usr/local/opt/openssl/include"
+HOSTPYTHON_LDFLAGS="-L/usr/local/opt/openssl/lib"
/src/emsdk/emsdk/emscripten/tag-1.38.30/emcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -I. -I./Include -I/src/cpython/build/sqlite-autoconf-3270200 -I/src/cpython/build/bzip2-1.0.2 -I -c ./Modules/_sqlite/cache.c -o Modules/cache.o
./Modules/_sqlite/cache.c:260:9: error: use of undeclared identifier 'MODULE_NAME'
MODULE_NAME "Node", /* tp_name */
^
./Modules/_sqlite/cache.c:302:9: error: use of undeclared identifier 'MODULE_NAME'
MODULE_NAME ".Cache", /* tp_name */
^
2 errors generated.
shared:ERROR: compiler frontend failed to generate LLVM bitcode, halting
Makefile:1851: recipe for target 'Modules/cache.o' failed