Skip to content

Instantly share code, notes, and snippets.

View hpk42's full-sized avatar

holger krekel hpk42

View GitHub Profile
GLOB sdist-make: /home/hpk/p/muacryptcc/setup.py
lint develop-inst-nodeps: /home/hpk/p/muacryptcc
lint installed: attrs==17.4.0,base58==0.2.5,check-manifest==0.36,click==6.7,configparser==3.5.0,docutils==0.14,enum34==1.1.6,flake8==3.5.0,mccabe==0.6.1,muacrypt==0.8.0.dev6,-e [email protected]:nextleap-project/muacryptcc@472f2d4943e9d785e54230031095de9dcb3616b2#egg=muacryptcc,pycodestyle==2.3.1,pyflakes==1.6.0,restructuredtext-lint==1.1.3,six==1.11.0
lint runtests: PYTHONHASHSEED='213227533'
lint runtests: commands[0] | check-manifest
lists of files in version control and sdist match
lint runtests: commands[1] | rst-lint README.rst
lint runtests: commands[2] | flake8 --ignore=E127 --ignore=E741 --max-line-length 100 muacryptcc tests
py27 inst-nodeps: /home/hpk/p/muacryptcc/.tox/dist/muacryptcc-0.1.0.zip
py27 installed: attrs==17.4.0,base58==0.2.5,cffi==1.11.4,-e git+https://github.com/hpk42/claimchain-core@5046d0c3be6c72fa1befb47f7f25e56d13c9f159#egg=claimchain,click==6.7,coverage==4.5.1,defaultcontext==1.0.3,
@hpk42
hpk42 / patch
Created September 5, 2018 13:29
diff --git a/src/dc_configure.c b/src/dc_configure.c
index 06fbf55..1855cc8 100644
--- a/src/dc_configure.c
+++ b/src/dc_configure.c
@@ -38,8 +38,11 @@
static char* read_autoconf_file(dc_context_t* context, const char* url)
{
char* filecontent = NULL;
+ char* urlcopy = NULL;
+
error[E0277]: the trait bound `rand_core::Error: std::convert::From<rand_os::rand_core::Error>` is not satisfied
--> /home/hpk/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.2/src/rngs/entropy.rs:233:23
|
233 | let mut rng = rngs::OsRng::new()?;
| ^^^^^^^^^^^^^^^^^^^ the trait `std::convert::From<rand_os::rand_core::Error>` is not implemented for `rand_core::Error`
|
= help: the following implementations were found:
<rand_core::Error as std::convert::From<rngs::jitter::TimerError>>
= note: required by `std::convert::From::from`
Compiling curve25519-dalek v1.1.3
error[E0658]: `Self` struct constructors are unstable (see issue #51994)
--> /home/hpk/.cargo/registry/src/github.com-1ecc6299db9ec823/curve25519-dalek-1.1.3/src/edwards.rs:696:9
|
696 | Self(scalar_mul::precomputed_straus::VartimePrecomputedStraus::new(static_points))
| ^^^^
error[E0658]: `Self` struct constructors are unstable (see issue #51994)
--> /home/hpk/.cargo/registry/src/github.com-1ecc6299db9ec823/curve25519-dalek-1.1.3/src/ristretto.rs:925:9
|
Step 17/20 : RUN true && curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y
---> Running in 5f5eee542d8d
info: downloading installer
info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu'
info: latest update on 2019-03-27, rust version 1.35.0-nightly (fbd34efb3 2019-03-26)
info: downloading component 'rustc'
info: downloading component 'rust-std'
info: downloading component 'cargo'
info: downloading component 'rust-docs'
info: installing component 'rustc'
+ export ORIGIN=/home/hpk/delta/core-rust
+ export CFLAGS=-I/home/hpk/delta/core-rust/deltachat-ffi
+ export LDFLAGS=-Wl,-rpath=$ORIGIN/target/release -Wl,--enable-new-dtags
+ pip install -e .
Looking in indexes: https://m.devpi.net/dc/py10/+simple/
Obtaining file:///home/hpk/p/delta/core-rust/python
Complete output from command python setup.py egg_info:
/tmp/tmp2fyiefw7.h:1:23: fatal error: deltachat.h: No such file or directory
INFO:auditwheel.main_repair:Repairing deltachat-0.9.1.dev1-cp35-cp35m-manylinux1_x86_64.whl
usage: auditwheel [-h] [-V] [-v] command ...
auditwheel: error: cannot repair "/home/hpk/p/delta/core-rust/python/.tox/wheelhouse/deltachat-0.9.1.dev1-cp35-cp35m-manylinux1_x86_64.whl" to "manylinux1_x86_64" ABI because of the presence of too-recent versioned symbols. You'll need to compile the wheel on an older toolchain.
Event::CONFIGURE_PROGRESS,
(if 20i32 < 1i32 {
1i32
} else if 20i32 > 999i32 {
999i32
} else {
20i32
}) as uintptr_t,
0i32 as uintptr_t,
if let Some((private_key, public_key)) = Key::from_base64(
CStr::from_ptr(buf_base64).to_str().unwrap(),
KeyType::Private,
)
.and_then(|k| if k.verify() { Some(k) } else { None })
.and_then(|k| k.split_key().map(|pub_key| (k, pub_key)))
-----BEGIN PGP PRIVATE KEY BLOCK-----
Autocrypt-Prefer-Encrypt: mutual
name = 'deltachat_ffi'
operating_system = 'unix:Ubuntu'
crate_version = '1.0.0-alpha.0'
explanation = '''
Panic occurred in file 'src/libcore/result.rs' at line 999
'''
method = 'Panic'
backtrace = '''
stack backtrace:
0: <unknown> (0x7ff00408ef19)