Skip to content

Instantly share code, notes, and snippets.

View cbrake's full-sized avatar

Cliff Brake cbrake

View GitHub Profile
@cbrake
cbrake / log.txt
Created September 18, 2015 12:58
meteor 1.2 crash
=> Started proxy.
=> Started MongoDB.
W20150918-08:46:20.734(-4)? (STDERR)
W20150918-08:46:20.735(-4)? (STDERR) /home/cbrake/.meteor/packages/meteor-tool/.1.1.7-rc.16.wsdrno++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:245
W20150918-08:46:20.735(-4)? (STDERR) throw(ex);
W20150918-08:46:20.735(-4)? (STDERR) ^
W20150918-08:46:20.735(-4)? (STDERR) TypeError: Object [object Object] has no method 'npmRequire'
=> Exited with code: 8
@cbrake
cbrake / cmake build error
Last active August 29, 2015 14:20
angstrom dizzy SDK issue
[cbrake@mars build-arm]$ cmake ../ -DCMAKE_TOOLCHAIN_FILE=./angstrom.cmake
-- The C compiler identification is GNU 4.9.3
-- The CXX compiler identification is GNU 4.9.3
-- Check for working C compiler: /usr/local/oecore-x86_64/sysroots/x86_64-angstromsdk-linux/usr/bin/arm-angstrom-linux-gnueabi/arm-angstrom-linux-gnueabi-gcc
-- Check for working C compiler: /usr/local/oecore-x86_64/sysroots/x86_64-angstromsdk-linux/usr/bin/arm-angstrom-linux-gnueabi/arm-angstrom-linux-gnueabi-gcc -- broken
CMake Error at /usr/share/cmake-3.2/Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler
"/usr/local/oecore-x86_64/sysroots/x86_64-angstromsdk-linux/usr/bin/arm-angstrom-linux-gnueabi/arm-angstrom-linux-gnueabi-gcc"
is not able to compile a simple test program.
@cbrake
cbrake / populate_sdk.error
Created April 1, 2015 22:11
populate_sdk error
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_configure (log file is located at /scratch/fmc-accuload/oe-build-bbb/build/tmp-angstrom_v2014_12-glibc/work/x86_64-angstromsdk-linux/gcc-crosssdk-initial-x86_64/4.9.1-r0/temp/log.do_configure.23863)
ERROR: Logfile of failure stored in: /scratch/fmc-accuload/oe-build-bbb/build/tmp-angstrom_v2014_12-glibc/work/x86_64-angstromsdk-linux/gcc-crosssdk-initial-x86_64/4.9.1-r0/temp/log.do_configure.23863
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
| DEBUG: Executing shell function autotools_preconfigure
CXXFLAGS = -DNDEBUG -g -O2
# -O3 fails to link on Cygwin GCC version 4.5.3
# -fPIC is supported. Please report any breakage of -fPIC as a bug.
# CXXFLAGS += -fPIC
# the following options reduce code size, but breaks link or makes link very slow on some systems
# CXXFLAGS += -ffunction-sections -fdata-sections
# LDFLAGS += -Wl,--gc-sections
ARFLAGS = -cr # ar needs the dash on OpenBSD
RANLIB = ranlib
CP = cp
@cbrake
cbrake / gist:8464375
Created January 16, 2014 22:05
QtCreator error
17:02:49: Running steps for project QtTest...
17:02:49: Starting: "/usr/local/oecore-x86_64/sysroots/x86_64-angstromsdk-linux/usr/bin/qmake2" /home/cbrake/QtTest/QtTest.pro -r -spec linux-gnueabi-oe-g++
sh: 1: -d: not found
17:02:49: The process "/usr/local/oecore-x86_64/sysroots/x86_64-angstromsdk-linux/usr/bin/qmake2" exited normally.
17:02:49: Starting: "/usr/bin/make"
../QtTest/mainwindow.ui -o ui_mainwindow.h
make: execvp: ../QtTest/mainwindow.ui: Permission denied
make: *** [ui_mainwindow.h] Error 127
17:02:49: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project QtTest (kit: Block)
@cbrake
cbrake / gist:5628386
Created May 22, 2013 15:15
Chromium OE build failure with ARM cortex-A8 hard FP
DEBUG: Executing shell function do_compile
ninja: Entering directory `/scratch/oe/oe-build-core-4/build/tmp-angstrom_next-eglibc/work/cortexa8hf-vfp-neon-angstrom-linux-gnueabi/chromium/24.0.1312.52-r2/chromium-24.0.1312.52/out/Release'
[1/10856] CC obj/third_party/libwebp/enc/libwebp_enc.alpha.o
[2/10856] CC obj/third_party/libwebp/enc/libwebp_enc.config.o
[3/10856] CC obj/third_party/libwebp/enc/libwebp_enc.analysis.o
[4/10856] CC obj/third_party/libwebp/enc/libwebp_enc.cost.o
[5/10856] CC obj/third_party/libwebp/enc/libwebp_enc.backward_references.o
[6/10856] CC obj/third_party/libwebp/enc/libwebp_enc.frame.o
[7/10856] CC obj/third_party/libwebp/enc/libwebp_enc.filter.o
[8/10856] CC obj/third_party/libwebp/enc/libwebp_enc.layer.o
@cbrake
cbrake / gist:5092651
Last active March 4, 2022 14:35
systemd network hotplugging
DESCRIPTION = "Network Hotplug"
LICENSE = "CLOSED"
PR = "r1"
SRC_URI = " \
file://network@.service \
file://network.rules \
"
@cbrake
cbrake / 99-usb-serial.rules
Created December 19, 2012 14:47
USB Serial udev rules
# /etc/udev/rules.d/99-usb-serial.rules
# udevadm info --attribute-walk -n /dev/ttyUSB0 |grep serial (can be used to get serial number)
# udevadm control --reload-rules (reload rules)
# udevadm trigger (re-add all devices)
# see https://wiki.archlinux.org/index.php/Bus_pirate
# for some reason, ATTRS{bInterfaceNumber}=="00" is not working, hence the use of ENV{}
# single USB/serial adapters
SUBSYSTEM=="tty", ATTRS{serial}=="A900TUKZ", SYMLINK+="ttyUSB_bub_1"
SUBSYSTEM=="tty", ATTRS{serial}=="A700fdWb", SYMLINK+="ttyUSB_bub_2"
@cbrake
cbrake / gist:3776448
Created September 24, 2012 15:09
USB NIC hotplugging under systemd
systemd: network@.service
# currently, the BindTo is not working
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/sbin/ifup %i
ExecStop=/sbin/ifdown %i
StandardOutput=syslog+console
DEBUG: Marking task 37 (/scratch/oe/oe-build-core-testing2/sources/openembedded-core/meta/recipes-devtools/binutils/binutils-cross_2.22.bb, do_rm_work) as buildable
DEBUG: Stamp current task 37 (/scratch/oe/oe-build-core-testing2/sources/openembedded-core/meta/recipes-devtools/binutils/binutils-cross_2.22.bb, do_rm_work)
DEBUG: Stampfile /scratch/oe/oe-build-core-testing2/build/tmp-angstrom_v2012_x-eglibc/stamps/work-shared/gcc-4.7.1.0+git1+d07e24f4ab59f264d68d21838795349faab5dede-r9.do_fetch.b2b7ffd0989c8b6712007d253daaea58 not available
NOTE: Running task 183 of 196 (ID: 4, /scratch/oe/oe-build-core-testing2/sources/openembedded-core/meta/recipes-devtools/gcc/gcc-cross-initial_4.7.bb, do_fetch)
NOTE: package gcc-cross-initial-4.7.1.0+git1+d07e24f4ab59f264d68d21838795349faab5dede-r9: task do_fetch: Started