Skip to content

Instantly share code, notes, and snippets.

View coreyoconnor's full-sized avatar

Corey O'Connor coreyoconnor

View GitHub Profile
lazy val client = crossProject(JSPlatform)
.withoutSuffixFor(JSPlatform)
.crossType(CrossType.Full)
.dependsOn(shared)
.enablePlugins(glngn.sbt.Client)
.settings(
name := "glngn-client",
commonSettings,
lazy val client = glngn.sbt.InternalClient("glngn-client", file("client"))
.dependsOn(shared)
.settings(
commonSettings
)
.jsSettings(
Compile/mainClass := Some("glngn.client.Main"),
coverageEnabled := false
machine: must succeed: xwininfo -root -tree | sed 's/.*0x[0-9a-f]* \"\([^\"]*\)\".*/\1/; t; d'
machine# [ 54.564100] dbus-daemon[777]: [session uid=1000 pid=775] Activating service name='org.kde.ActivityManager' requested by ':1.12' (uid=1000 pid=909 comm="/run/current-system/sw/bin/plasmashell ")
machine: exit status 0
(0.30 seconds)
machine: must succeed: xwininfo -root -tree | sed 's/.*0x[0-9a-f]* \"\([^\"]*\)\".*/\1/; t; d'
machine: exit status 0
(0.22 seconds)
machine# [ 56.153277] dbus-daemon[777]: [session uid=1000 pid=775] Successfully activated service 'org.kde.ActivityManager'
machine# [ 56.220160] xsession[758]: System timezone has been changed, new timezone is "UTC"
machine: must succeed: xwininfo -root -tree | sed 's/.*0x[0-9a-f]* \"\([^\"]*\)\".*/\1/; t; d'
Thread 1 "runTests" received signal SIGSEGV, Segmentation fault.
0x000000000058318b in fakeit::VirtualTableBase::setMethod (method=0x582960 <fakeit::MockImpl<ProjectManager>::unmocked()>, index=<optimized out>, this=0x18381e0)
at /home/coconnor/Development/kdenlive-dev/kdenlive/tests/fakeit.hpp:5695
5695 _firstMethod[index] = method;
(gdb) bt
#0 0x000000000058318b in fakeit::VirtualTableBase::setMethod (method=0x582960 <fakeit::MockImpl<ProjectManager>::unmocked()>, index=<optimized out>, this=0x18381e0)
at /home/coconnor/Development/kdenlive-dev/kdenlive/tests/fakeit.hpp:5695
#1 fakeit::VirtualTable<ProjectManager>::initAll (value=0x582960 <fakeit::MockImpl<ProjectManager>::unmocked()>, this=0x18381e0)
at /home/coconnor/Development/kdenlive-dev/kdenlive/tests/fakeit.hpp:5780
#2 fakeit::MockImpl<ProjectManager>::createFakeInstance () at /home/coconnor/Development/kdenlive-dev/kdenlive/tests/fakeit.hpp:8186
#4 0x00000000008497d1 in TimelineItemModel::index (this=0x36b3ea0, row=1, column=<optimized out>, parent=...)
at /home/coconnor/Development/kdenlive-dev/kdenlive/src/timeline2/model/timelineitemmodel.cpp:96
#5 0x000015554f791f9f in ?? () from /nix/store/xw6801rp6hfs10vxq9nqyfzjxcwyz92m-qtbase-5.12.0/lib/libQt5Core.so.5
#6 0x000015554f7944d5 in ?? () from /nix/store/xw6801rp6hfs10vxq9nqyfzjxcwyz92m-qtbase-5.12.0/lib/libQt5Core.so.5
#7 0x000015554f79661c in ?? () from /nix/store/xw6801rp6hfs10vxq9nqyfzjxcwyz92m-qtbase-5.12.0/lib/libQt5Core.so.5
#8 0x000015554f79888d in ?? () from /nix/store/xw6801rp6hfs10vxq9nqyfzjxcwyz92m-qtbase-5.12.0/lib/libQt5Core.so.5
#9 0x000015554f79a471 in ?? () from /nix/store/xw6801rp6hfs10vxq9nqyfzjxcwyz92m-qtbase-5.12.0/lib/libQt5Core.so.5
#10 0x000015554f7f359b in QMetaObject::activate(QObject*, int, int, void**) () from /nix/store/xw6801rp6hfs10vxq9nqyfzjxcwyz92m-qtbase-5.12.0/lib/libQt5Core.so.5
#11 0x000015554f76b43e in QAbstractItemModel::rowsInserted(QModelIndex cons
[info] Compiling to native code (3498 ms)
[error] clang-5.0: warning: -Wl,-lc++abi: 'linker' input unused [-Wunused-command-line-argument]
[error] clang-5.0: warning: argument unused during compilation: '-stdlib=libc++' [-Wunused-command-line-argument]
[error] clang-5.0: warning: -Wl,-lc++abi: 'linker' input unused [-Wunused-command-line-argument]
[error] clang-5.0: warning: argument unused during compilation: '-stdlib=libc++' [-Wunused-command-line-argument]
[error] clang-5.0: warning: -Wl,-lc++abi: 'linker' input unused [-Wunused-command-line-argument]
[error] clang-5.0: warning: argument unused during compilation: '-stdlib=libc++' [-Wunused-command-line-argument]
[error] clang-5.0: warning: -Wl,-lc++abi: 'linker' input unused [-Wunused-command-line-argument]
[error] clang-5.0: warning: argument unused during compilation: '-stdlib=libc++' [-Wunused-command-line-argument]
[error] target/scala-2.11/native/lib/optional/re2.cpp.o: In function `scalanative_cre2_find_named_capturing_groups':
lazy val stage = taskKey[File]("stage")
val allProjectCompiles = ScopeFilter(inAnyProject, inConfigurations(Compile))
lazy val dev = crossProject(JVMPlatform, NativePlatform)
.crossType(CrossType.Full)
.withoutSuffixFor(JVMPlatform)
.settings(
scalaVersion := "2.11.12",
libraryDependencies += "org.scalactic" %% "scalactic" % "3.0.5",
@coreyoconnor
coreyoconnor / gist:75256127c97c910c602d7146286d2ed3
Created June 19, 2018 17:43
scala native scribe linking error
~~~
[info] Linking (1414 ms)
[error] cannot link: @java.util.Calendar$::getInstance_java.util.Calendar
[error] cannot link: @java.util.Calendar::setTimeInMillis_i64_unit
[error] unable to link
[error] (devNative/compile:nativeLink) unable to link
[error] Total time: 3 s, completed Jun 19, 2018 10:42:42 AM
>
~~~
self: super:
let
lib = self.lib;
in with lib;
let
inherit (self) boehmgc libunwind re2 llvmPackages zlib makeWrapper;
c-pkgs = [ re2 zlib boehmgc libunwind llvmPackages.libraries.libcxxabi ];
cplus-pkgs = [ llvmPackages.libraries.libcxx ];
CPATH = makeSearchPathOutput "dev" "include" c-pkgs;
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
11916 coconnor 39 19 0.251t 281912 20072 S 0.0 0.4 1:52.78 baloo_file
254861 coconnor 20 0 0.251t 15820 8488 S 0.0 0.0 0:05.15 baloorunner