Skip to content

Minor dropbear build tweaks#706

Merged
NiLuJe merged 5 commits into
koreader:masterfrom
NiLuJe:master
Jul 15, 2018
Merged

Minor dropbear build tweaks#706
NiLuJe merged 5 commits into
koreader:masterfrom
NiLuJe:master

Conversation

@NiLuJe

@NiLuJe NiLuJe commented Jul 14, 2018

Copy link
Copy Markdown
Member

Hopefully without breaking anything ;).

(Ground-work for minor changes to the plugin to make it easier to test without risking clobbered system files).

NiLuJe added 5 commits July 14, 2018 21:04
No functional changes, just refreshed them against my own to
double-check and make diff'ing easier.
Disable FORTIFY so that stuff runs on legacy Kindles
Tweak a few defaut settings for speed, and to avoid clobbering system
files.

@Frenzie Frenzie left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't test but I "like" the hack. ;-)

@NiLuJe NiLuJe merged commit 3b2706a into koreader:master Jul 15, 2018
@poire-z

poire-z commented Jul 23, 2018

Copy link
Copy Markdown
Contributor

Dunno if it's related to this PR.
The clang build for my crengine bump failed this morning because ...

The log length has exceeded the limit of 4 MB (this usually means that the test suite is raising the same exception over and over).
The job has been terminated

https://api.travis-ci.org/v3/job/407002046/log.txt
It needed only 50 more lines of log to reach a success :)

This dropbear build succeeded thus, but its log is near 4MB too: https://api.travis-ci.org/v3/job/406649732/log.txt

But in this dropbear build (and my bump's) log, there is like 20% of the log that are warnings related to the dropbear build:

clang-5.0: warning: argument unused during compilation: '-I .' [-Wunused-command-line-argument]
clang-5.0: warning: argument unused during compilation: '-I /home/travis/build/koreader/koreader-base/thirdparty/dropbear/build/x86_64-unknown-linux-gnu/dropbear-prefix/src/dropbear' [-Wunused-command-line-argument]
clang-5.0: warning: argument unused during compilation: '-I /home/travis/build/koreader/koreader-base/thirdparty/zlib/build/x86_64-unknown-linux-gnu/zlib-prefix/src/zlib' [-Wunused-command-line-argument]
clang-5.0: warning: argument unused during compilation: '-I /home/travis/build/koreader/koreader-base/thirdparty/dropbear/build/x86_64-unknown-linux-gnu/dropbear-prefix/src/dropbear' [-Wunused-command-line-argument]
clang-5.0: warning: argument unused during compilation: '-I /home/travis/build/koreader/koreader-base/thirdparty/zlib/build/x86_64-unknown-linux-gnu/zlib-prefix/src/zlib' [-Wunused-command-line-argument]
clang-5.0: warning: argument unused during compilation: '-I /home/travis/build/koreader/koreader-base/thirdparty/dropbear/build/x86_64-unknown-linux-gnu/dropbear-prefix/src/dropbear' [-Wunused-command-line-argument]
clang-5.0: warning: argument unused during compilation: '-I /home/travis/build/koreader/koreader-base/thirdparty/dropbear/build/x86_64-unknown-linux-gnu/dropbear-prefix/src/dropbear/libtomcrypt/src/headers/' [-Wunused-command-line-argument]
clang-5.0: warning: argument unused during compilation: '-I ./' [-Wunused-command-line-argument]
   * /usr/bin/ccache clang bn_mp_n_root_ex.o
clang-5.0: warning: argument unused during compilation: '-I src/headers/' [-Wunused-command-line-argument]
clang-5.0: warning: argument unused during compilation: '-I /home/travis/build/koreader/koreader-base/thirdparty/dropbear/build/x86_64-unknown-linux-gnu/dropbear-prefix/src/dropbear/libtomcrypt/src/headers/' [-Wunused-command-line-argument]
clang-5.0: warning: argument unused during compilation: '-I ../' [-Wunused-command-line-argument]
clang-5.0: warning: argument unused during compilation: '-I /home/travis/build/koreader/koreader-base/thirdparty/dropbear/build/x86_64-unknown-linux-gnu/dropbear-prefix/src/dropbear/libtomcrypt/../' [-Wunused-command-line-argument]
clang-5.0: warning: argument unused during compilation: '-I ../libtommath/' [-Wunused-command-line-argument]
clang-5.0: warning: argument unused during compilation: '-I /home/travis/build/koreader/koreader-base/thirdparty/dropbear/build/x86_64-unknown-linux-gnu/dropbear-prefix/src/dropbear/libtomcrypt/../libtommath/' [-Wunused-command-line-argument]
clang-5.0: warning: argument unused during compilation: '-I /home/travis/build/koreader/koreader-base/thirdparty/dropbear/build/x86_64-unknown-linux-gnu/dropbear-prefix/src/dropbear/libtomcrypt/src/headers/' [-Wunused-command-line-argument]

The commit CI succeeded (9K of log shorter, nothing obvious

 4500138 KOpr_log.txt
 4490912 OKcommig_log.txt

@NiLuJe

NiLuJe commented Jul 23, 2018

Copy link
Copy Markdown
Member Author

Gah, there's another Travis limit beyond the "I'll stop showing you stuff on the web UI" one?

Grmbl.

I'll take care of it (and fix those -I calls, because WTH? :D)

@NiLuJe

NiLuJe commented Jul 23, 2018

Copy link
Copy Markdown
Member Author

Should be taken care of in #711 ;).

@Frenzie

Frenzie commented Jul 28, 2018

Copy link
Copy Markdown
Member

Gah, there's another Travis limit beyond the "I'll stop showing you stuff on the web UI" one?

There's also "don't take more than the x minute timeout". What happened here exactly?

@NiLuJe

NiLuJe commented Jul 28, 2018 via email

Copy link
Copy Markdown
Member Author

@NiLuJe

NiLuJe commented Jul 28, 2018 via email

Copy link
Copy Markdown
Member Author

@Frenzie

Frenzie commented Jul 28, 2018

Copy link
Copy Markdown
Member

Huh, I'd have expected something more like at least 10 ('cause it's a rounder number). Oh well. :-P

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants