Humpelstilzchen has joined #neo900
Defiant has quit [Ping timeout: 258 seconds]
herpderphurr has joined #neo900
DocScrutinizer05 has quit [Disconnected by services]
DocScrutinizer05 has joined #neo900
herpderphurr has quit [Ping timeout: 250 seconds]
enyc has quit [Ping timeout: 258 seconds]
xman has quit [Ping timeout: 260 seconds]
<DocScrutinizer05> wpwrak: you're aware that apt-get is not exactly compatible to my system?
<DocScrutinizer05> so seems you sugest I run this in my debian chroot?
radekp has joined #neo900
chainsawbike has quit [Ping timeout: 240 seconds]
chainsawbike has joined #neo900
<DocScrutinizer05> I guess I need to approach this on a "what's intended/needed" basis and apply the according instructions that mazch my genuine system environment. For that I need to understand what all the git et al commands are supposed to do
drrz has quit [Ping timeout: 240 seconds]
mzki has quit [Quit: leaving]
jonsger has joined #neo900
<DocScrutinizer05> kmmm http://paste.opensuse.org/85955378
<DocScrutinizer05> http://paste.opensuse.org/51001472 I hope the dependencies are met
paulk-collins has joined #neo900
jonsger has quit [Ping timeout: 264 seconds]
lobito has quit [Ping timeout: 258 seconds]
qwazix has quit [Ping timeout: 240 seconds]
lkcl has quit [Ping timeout: 250 seconds]
Satyricon has quit [Ping timeout: 276 seconds]
lkcl has joined #neo900
qwazix has joined #neo900
Satyricon has joined #neo900
ecloud has quit [Ping timeout: 258 seconds]
ecloud has joined #neo900
<wpwrak> DocScrutinizer05: libcairo2 sounds good, yes. so on suse, installing libfoo also installs the developer stuff (headers, libraries with [more] symbols, and such), not just the run-time lib for already compiled applications ?
SylvieLorxu has joined #neo900
<DocScrutinizer05> no
<DocScrutinizer05> cairo-dev
<wpwrak> then that's the one you want
<DocScrutinizer05> got
<DocScrutinizer05> had
trx has quit [Ping timeout: 265 seconds]
SylvieLorxu has quit [Quit: ZNC - http://znc.in]
<DocScrutinizer05> so next >>git clone http://neo900.org/git/ee.git newdir<< where to do this?
<DocScrutinizer05> a new dir in ~user/ ? ~root/ ?
<DocScrutinizer05> or in existing ee repo dir
SylvieLorxu has joined #neo900
Guest58120 has joined #neo900
<DocScrutinizer05> and what is $LIBS? is it the systemwide libs?
<DocScrutinizer05> my $LIBS is empty
<DocScrutinizer05> meh, sorry, it gets defined
<wpwrak> (newdir) anywhere you like
<DocScrutinizer05> so user
<wpwrak> the sequence of commands sets up a "clean" and autonomous environment. that's why there are is all the the "git clone"ing.
<DocScrutinizer05> ok, ta
<DocScrutinizer05> CC main.o
<DocScrutinizer05> main.c: In function ‘main’:
<DocScrutinizer05> main.c:132:1: warning: control reaches end of non-void function [-Wreturn-type]
<DocScrutinizer05> }
<DocScrutinizer05> ok?
<wpwrak> oh :) yes, not okay, but harmless :)
<DocScrutinizer05> thought as much
<DocScrutinizer05> no errors on next few
<wpwrak> (why on earth don't i get this warning ?)
<DocScrutinizer05> no idea
<wpwrak> looks like a gcc bug :)
<DocScrutinizer05> anyway nice result :-)
<wpwrak> kewl, so it worked ! :)
<DocScrutinizer05> jr@saturn:~/neo900git/sch2fig/newdir/hw/eda-tools/sch2fig> gcc --version
<DocScrutinizer05> gcc (SUSE Linux) 4.8.1 20130909 [gcc-4_8-branch revision 202388]
<DocScrutinizer05> Copyright (C) 2013 Free Software Foundation, Inc.
<wpwrak> here: gcc (Ubuntu 5.2.1-26ubuntu1) 5.2.1 20151125
<DocScrutinizer05> so let's call it irrelevant
<DocScrutinizer05> kudos to diff, you're a magician
<wpwrak> /nick harry :)
<wpwrak> does suse have a libgit2 package ?
<wpwrak> (or maybe it's just called libgit, git-devel, or such)
<DocScrutinizer05> yep
<DocScrutinizer05> libgit2.9 and libgit2.0-devel
<wpwrak> perfect. then you'll soon be able to avoid all those git commands, and just tell sch2fig to retrieve the file directly from git
<DocScrutinizer05> s/9/0/
<DocScrutinizer05> shouldn't it rather become a serverside addon?
<DocScrutinizer05> (our server also has libgit2.0, FWIW)
jonsger has joined #neo900
<wpwrak> also there, it's much better if you can pick files directly from the git repo instead of having to check them out first
<wpwrak> the old schhist script did all this in a file-based way. and it was very complex and slow.
* DocScrutinizer05 even wonders if we should get a remote(?) repo of kicad nightly on our server, and have a devuan chroot and build chronkob
<DocScrutinizer05> slave?
<wpwrak> maybe convince the devuan developers to include the kicad devel branch in their collection ?
<DocScrutinizer05> I want our own builds
Guest58120 has quit [Ping timeout: 265 seconds]
<DocScrutinizer05> eventually we might have own patches that don't make it to mainline (think cmdline options which is off the table, what a pity)
<DocScrutinizer05> there might come more
<wpwrak> i think it's best to try to work closely with kicad mainline, so if we make changes, they should be rapidly acceptable. sadly, we already know that the "out-of-tree patches" approach doesn't really work.
<wpwrak> and anything else would be placed outside / around kicad. that works quite nicely for a lot of things.
dl2s4 has quit [Ping timeout: 260 seconds]
Guest58120 has joined #neo900
dl2s4 has joined #neo900
Guest58120 has quit [Ping timeout: 244 seconds]
Guest58120 has joined #neo900
<DocScrutinizer05> http://neo900.org/stuff/paste/eeschemadiff/ werner is incredible
<DocScrutinizer05> wpwrak: whatever works that doesn't require me to do daily builds on my own PC
<DocScrutinizer05> neither to install ubuntu or whatever
Guest58120 has quit [Ping timeout: 244 seconds]
Guest58120 has joined #neo900
<atk> If you find some automated system for finding out when something needs to be rebuilt (I imagine it exists) I could run it on a spare box I have at home and just upload the package somewhere.
<atk> I wouldn't mind doing that, all the machine ever does is store too many files anyway.
<pigeons> look at TravisCI
<pigeons> it will check it out and rebuild
Guest58120 has quit [Ping timeout: 258 seconds]
jonwil has joined #neo900
Guest58120 has joined #neo900
<edwin> there is also GitLab/GitLab CI if you want to self-host it, Travis should work fine if you host your stuff on github anyway
<DocScrutinizer05> neo900 using gitweb
<DocScrutinizer05> lightweight git daemon. No fancy gitlab stuff infested with JS killing performance and usability
<DocScrutinizer05> though being FOSS afaik, gitlab is such an indigestible hairball that not even hellekin manages to get a custom favicon in devuan for it
Guest58120 has quit [Ping timeout: 252 seconds]
<hellekin> DocScrutinizer05: gitweb is written by Kay Sievers, you know that? :)
<edwin> well there is gogs too if you're looking for lightweight, although I don't know which CI system supports that
<edwin> the docker hub would be another possibility, but using a GUI app from inside docker is a bit complicated
<hellekin> gitlab is great. The community will bind their will :)
<pigeons> :)
<edwin> you could also have a cronjob that performs your build once a day from latest kicad git. You could write a dockerfile that uses whatever base Linux distro you prefer, install all prerequisites, then git clone / git checkout <git hash>, and build it
<edwin> if git hash is the same docker will use the cache and not actually run the build
<edwin> if git hash changed it will run the build
<edwin> and you could mount a dir with -v where you put the resulting .deb file
<edwin> and then you'd have all your deps listed explicitly in a file that is also checked into git
<edwin> (the dockerfile)
<DocScrutinizer05> hellekin: yes, I noticed it a week ago
<DocScrutinizer05> puked a little
<DocScrutinizer05> edwin: ((cronjob)) basically what I thought, yes
<DocScrutinizer05> what you listed sounds great
<DocScrutinizer05> only the word "docker" makes me boggle
<edwin> in 'git checkout <git hash>' I mean that a script will generate this Dockerfile based on a template Dockerfile (ehrm, with sed)
<DocScrutinizer05> though I gather it's only a glorified chroot
<edwin> well you can use pbuilder or mock
<edwin> guessing pbuilder since you're a debian guy
<DocScrutinizer05> me? haha nope, not *yet*
* DocScrutinizer05 visits retraining facility every night
<edwin> I've been using docker lots of times as a fancier/easier to manage chroot yeah
<DocScrutinizer05> re-education
<edwin> its basically you start out with lets say 'debian:8' as base, then run a bunch of commands
<edwin> literally, you tell it: RUN apt-get install -y foo-dev
<edwin> if the actual line haasn't c hanged it uses its cache to avoid rerunning it
<edwin> if the line changed, or its a new line it will take the previous state and run the command
<DocScrutinizer05> sounds good
<edwin> for shipping docker containers aren't very good though, typical one with lots of dev tools is a few gigabytes
<edwin> especially if you pull in X stuff
<edwin> but if you aim to build a .deb package anyway
<edwin> then just copy out the .deb when you're done
<edwin> (or .rpm or whatever you build)
<DocScrutinizer05> yes
<DocScrutinizer05> sounds like a good approach
<edwin> there are some caveats due to caching, e.g. always run apt-get update && apt-get install -y, otherwise your mirror may be out of date
<edwin> by the time it runs apt-get install
<DocScrutinizer05> unless we find a kicad source that already does that, for latest .deb and rpm
<edwin> I see there is a docker container , 2GB...
<edwin> you can see if any of them already does waht you want
<bencoh> /60
<bencoh> woops
xman has joined #neo900
Guest58120 has joined #neo900
Guest58120 has quit [Ping timeout: 265 seconds]
Guest58120 has joined #neo900
mzki has joined #neo900
Guest58120 has quit [Ping timeout: 276 seconds]
herpderphurr has joined #neo900
Guest58120 has joined #neo900
Guest58120 has quit [Ping timeout: 240 seconds]
Guest58120 has joined #neo900
goiken_ is now known as goiken
<DocScrutinizer05> BBL
herpderphurr has quit [Ping timeout: 258 seconds]
Pali has joined #neo900
Guest58120 has quit [Ping timeout: 244 seconds]
drrz has joined #neo900
trx has joined #neo900
tjg1 has joined #neo900
jonwil has quit [Quit: ChatZilla 0.9.92 [SeaMonkey 2.40/20160120202951]]
ksx4system has quit [Quit: ZNC - http://znc.in]
ksx4system has joined #neo900
galiven_ has joined #neo900
galiven has quit [Ping timeout: 240 seconds]
rjeffries has joined #neo900
rjeffries has quit [Ping timeout: 244 seconds]
jnc has quit [Ping timeout: 258 seconds]
illwieckz has joined #neo900
rootman has quit [Ping timeout: 244 seconds]
goiken has quit [Quit: ciao]
rootman has joined #neo900
paulk-collins has quit [Quit: Leaving]
mzki has quit [Ping timeout: 260 seconds]
mzki has joined #neo900
goiken_ has joined #neo900
goiken_ has quit [Quit: ciao]
illwieckz has quit [Ping timeout: 240 seconds]
goiken_ has joined #neo900
jonsger has quit [Ping timeout: 260 seconds]
<wpwrak> DocScrutinizer05: cd ee/hw; eeshow/eeshow -r neo900.lib kicad-libs/components/powered.lib 6a9f71:neo900.sch -- pdf -o foo.pdf
<wpwrak> it now uses the revision of neo900.sch also to look up neo900.lib and the sub-sheets
<wpwrak> it doesn't know what to do about kicad-libs/components/powered.lib yet, so it warn abuot it (related_other_repo is no yet implemented)
<wpwrak> oops, didn't push. now.
illwieckz has joined #neo900
illwieckz has quit [Changing host]
illwieckz has joined #neo900
<DocScrutinizer05> I gather I need to pull for that?
<DocScrutinizer05> or build anew?
<wpwrak> so what this generates are the schematics like they looked after commit 6a9f71
<wpwrak> pull and make
<wpwrak> i.e., the schematics will show the older front sheet, and they will also not have your changes of the "fuel gauge". if there had been any changes in neo900.lib, they would also be consistent
illwieckz has quit [Client Quit]
<DocScrutinizer05> jr@saturn:~/neo900git/sch2fig/newdir/hw/eda-tools/sch2fig> make
<wpwrak> for "external" repos i'll need to get a little more creative, e.g., find a commit that was at the same time or before, and select that
<DocScrutinizer05> make: *** Keine Targets angegeben und keine »make«-Steuerdatei gefunden. Schluss.
illwieckz has joined #neo900
illwieckz has quit [Changing host]
illwieckz has joined #neo900
<wpwrak> it's now in eda-tools/eeshow
<DocScrutinizer05> so?
<wpwrak> cd ../eeshow && make
<wpwrak> hmm, how did you compile it before ?
<DocScrutinizer05> did I?
<wpwrak> this part didn't change, so whatever worked before should work now
<wpwrak> i thought yuo had built and run sch2fig ?
<DocScrutinizer05> I don't know what I did, I c&p'ed a few git commands and a make
<wpwrak> yes, and if that worked then, it should work now. unless you're in a different environment, or you've deinstalled libgit2
<DocScrutinizer05> *shrug*
<wpwrak> maybe a difference in chroot ? i.e., maybe now you're in it and before you weren't ? or vice versa ?
<DocScrutinizer05> no
<DocScrutinizer05> this is no chroot
<DocScrutinizer05> I don't think I buolt anything using libgit2
<wpwrak> is the sch2fig from before still around ?
<DocScrutinizer05> you asked me if I had libgit2 _after_ I built sch2fig
<DocScrutinizer05> sure
<DocScrutinizer05> I hope so
<wpwrak> does ldd sch2fig | grep git show libgit2.... ?
<DocScrutinizer05> errr
<DocScrutinizer05> jr@saturn:~/neo900git/sch2fig/newdir/hw/eda-tools/eeshow> ldd ../sch2fig/sch2fig | grep git
<DocScrutinizer05> jr@saturn:~/neo900git/sch2fig/newdir/hw/eda-tools/eeshow>
<wpwrak> then it's indeed missing. thought you had it
<wpwrak> can you install libgit2-devel or what it's called ?
<DocScrutinizer05> told you it has a different name
<DocScrutinizer05> no, I don't have that
<DocScrutinizer05> err, was that cairo?
<DocScrutinizer05> bothing installed :-P
<DocScrutinizer05> seems libgit2-devel includes libgit.2.21, not libgit2.0
<DocScrutinizer05> anyway, gonna try it
<DocScrutinizer05> though I doubt it will pan out
<wpwrak> the files inside all seem to say git2, so you should be fine
<wpwrak> massive dependencies :)
<DocScrutinizer05> yeah, sucks
<wpwrak> very strange
<wpwrak> does grep git_libgit.*_init /usr/include/git2/*h turn up anything that looks similar to git_libgit2_init ?
<wpwrak> or maybe git_lib.*_init
<wpwrak> you're on opensuse 42.2 ?
<DocScrutinizer05> no
<wpwrak> which version are you on ?
<DocScrutinizer05> 13.2
<wpwrak> libgit2-0.23.0-29.1.src.rpm
<wpwrak> (grep) very odd. all the rest is there, just no init ...
<wpwrak> well, you could try to comment it out, but ...
<wpwrak> (the call in my eeshow/git-files.c, i mean)
<DocScrutinizer05> Software installation
<DocScrutinizer05> Installation was only partially successful.
<DocScrutinizer05> The following packages could not be installed
<DocScrutinizer05> libgit2
<wpwrak> did it fail to install ? or do you have to tell it manually to try ?
<DocScrutinizer05> fail
<wpwrak> it's also a bit odd that your packet manager offers version 0.21... if the latest official package seems to be 0.23...
<DocScrutinizer05> the point is: there's a libgit2-0, and a libgit2-devel, but the latter is for libgit2-23
<DocScrutinizer05> for libgit2-0 there is no *devel
<DocScrutinizer05> err s/23/21/
<wpwrak> can you deinstall libgit2-0 and then install libgit2-23 ?
<DocScrutinizer05> libgit2-0 isn't installed, it failed
<DocScrutinizer05> ok, I guess I solved it
<DocScrutinizer05> mompls
<wpwrak> maybe pick the 2nd choice
<wpwrak> seems that you have no libgit2-devel at all now
rweichler has quit [Remote host closed the connection]
<wpwrak> can't you tell it to install version 0.23 ?
<DocScrutinizer05> I had, you seen it had no init
<wpwrak> are you sure that wasn't 0.21 ?
<wpwrak> and 0.19 now seems to lack even more things
Pali has quit [Remote host closed the connection]
<wpwrak> if you can't install a version that has the _init, please just try commenting out the call (eeshow/git-file.c:vcs_git_open, line 491)
<DocScrutinizer05> ooh 23
<DocScrutinizer05> well
<DocScrutinizer05> alas 0.23 is not available as gitlib2-0
<DocScrutinizer05> this is gitlib2-23 then
<DocScrutinizer05> I may try to install that
<DocScrutinizer05> so for this 23 now: http://paste.opensuse.org/90608767
<wpwrak> seems that the package doesn't list all its dependencies
<wpwrak> well, get some libssh2, whatever it's called on suse
<DocScrutinizer05> sigh
<wpwrak> or upgrade if it's already there. and you only need the run-time version, not -devel
<DocScrutinizer05> I feel like starting to damage core of my system
<wpwrak> http://software.opensuse.org/package/libssh2-1 shows 1.5 as the latest, but has some "unstable" packages, you could try
<wpwrak> if you break it, you could upgrade it :)
<DocScrutinizer05> yeah, and then I could get stuck with nothing ssh working anymore
* DocScrutinizer05 removes all the weird repos he added for kicad
<DocScrutinizer05> they didn't help anyway, in the end
<wpwrak> wow. 13.2 is from 2014 :) at least it's still supported ... until the end of the year
<DocScrutinizer05> 13.2 is evergreen
<wpwrak> so, plan B: go to versio 0.21, which doesn't have the _init, then comment out the call to _init
<DocScrutinizer05> not today
<DocScrutinizer05> feeling sick
<wpwrak> https://en.wikipedia.org/wiki/OpenSUSE#Version_history says that support will end with Q1 2017
<DocScrutinizer05> ugh, 13.1 is evergreen
<DocScrutinizer05> nah, that table isn't up-to-date
<wpwrak> ah yes, you may have some more months: "openSUSE 13.2 - will be maintained until 2 months after release of Leap 42.2 (EXPECTED First Quarter of 2017)" https://en.opensuse.org/Lifetime
<DocScrutinizer05> I updated to 13.2 ~1 year ago :-/
<DocScrutinizer05> I'm generally skipping the notoriously shitty x.1 releases
<DocScrutinizer05> formerly x.0
<wpwrak> next, they'll make .2 shitty as well :)
<DocScrutinizer05> so they drop x.1 too?
<DocScrutinizer05> that would be really funny
<wpwrak> release x.0, re-release it as x.1, then as x.2 :)
<DocScrutinizer05> there are no x.0 anymore
<wpwrak> so, only one re-release. excellent efficiency ! :)
<DocScrutinizer05> not since 11.0
<DocScrutinizer05> how about static linking of that shit
<wpwrak> you still need a library to provide it
<DocScrutinizer05> I thought about *you* doing that :-)
<DocScrutinizer05> I've used a few statically linked binaries that were advertised as running on basically any arbitrary x86 linux system with a kernel