2015-01-16 GnuCash IRC logs

00:04:51 *** GabrieleV_ has joined #gnucash
00:04:51 *** GabrieleV has quit IRC
00:04:52 *** GabrieleV_ is now known as GabrieleV
00:35:05 *** MechtiIde has joined #gnucash
00:35:29 *** benjamin-agaric has quit IRC
00:39:58 *** ErKa has joined #gnucash
01:18:24 *** ErKa has quit IRC
01:29:40 *** MechtiIde has quit IRC
01:31:58 *** pacon has joined #gnucash
01:53:27 *** gour has joined #gnucash
01:59:19 *** cartsoftware has joined #gnucash
02:04:22 *** Krzysiek_K has joined #gnucash
02:24:17 *** MechtiIde has joined #gnucash
02:38:08 *** somethingrandom has quit IRC
02:55:14 *** gjanssens has joined #gnucash
02:55:15 *** gncbot sets mode: +o gjanssens
02:56:20 *** Krzysiek_K has quit IRC
03:04:55 *** fabior has joined #gnucash
03:12:03 *** somethingrandom has joined #gnucash
03:21:53 *** fabior has quit IRC
03:41:03 *** somethingrandom has quit IRC
04:33:26 *** len has quit IRC
04:41:01 *** Ahmuck has joined #gnucash
04:44:42 *** cartsoftware has quit IRC
04:57:29 *** aqua___ has joined #gnucash
04:59:38 *** StuM has quit IRC
05:05:22 *** aqua_ has joined #gnucash
05:11:43 *** aqua___ has quit IRC
05:20:54 *** fabior has joined #gnucash
05:30:51 *** gour_ has joined #gnucash
05:30:52 *** gour has quit IRC
05:47:42 *** Jimraehl1 has left #gnucash
05:51:45 *** Jimraehl1 has joined #gnucash
05:52:03 *** cartsoftware has joined #gnucash
05:54:35 *** himaxx has joined #gnucash
06:02:46 *** andy_ has quit IRC
06:16:23 *** Ahmuck has quit IRC
06:16:50 *** andy has joined #gnucash
06:21:43 *** fabior has quit IRC
06:29:19 *** aqua___ has joined #gnucash
06:30:37 *** rubdos has joined #gnucash
06:34:27 *** aqua_ has quit IRC
06:43:52 *** aqua___ has quit IRC
07:04:02 *** gour_ has quit IRC
07:04:56 *** gamakichi has joined #gnucash
07:10:29 *** rickoehn has joined #gnucash
07:11:39 *** gamakichi has quit IRC
07:11:47 *** gour has joined #gnucash
07:20:08 *** StuM has joined #gnucash
07:27:08 *** rubdos has quit IRC
07:52:59 *** andy has quit IRC
07:53:27 *** andy has joined #gnucash
07:57:55 *** lmat has quit IRC
08:05:56 *** aqua___ has joined #gnucash
08:22:07 *** lmat has joined #gnucash
08:26:09 *** wol has joined #gnucash
08:42:29 *** benjamin-agaric has joined #gnucash
09:00:26 *** aqua___ has quit IRC
09:07:27 *** wol has quit IRC
09:07:34 *** wol has joined #gnucash
09:13:50 *** wol has joined #gnucash
09:22:57 *** pacon has quit IRC
09:25:49 *** Gbarr has quit IRC
09:28:43 *** Gbarr has joined #gnucash
09:29:22 *** Gbarr has quit IRC
09:30:15 *** lmat has quit IRC
09:43:54 *** O01eg has joined #gnucash
09:49:08 *** MechtiIde has quit IRC
09:50:04 *** Gbarr has joined #gnucash
09:51:03 *** KaiForce has joined #gnucash
10:07:42 *** rubdos has joined #gnucash
10:28:53 *** rubdos has quit IRC
10:34:00 <warlord> gjanssens: FYI, looks like that Makefile.am thing is just making sure the _SOURCES are added to the _DIST regardless of the congfigure flag.
10:34:38 *** aqua___ has joined #gnucash
10:35:47 <gjanssens> warlord: perhaps so but it breaks the build if the google test framework is not installed
10:36:08 <warlord> are they generated files?
10:36:09 <gjanssens> That is because it tries to add a file that belongs to the google test framework
10:36:21 <gjanssens> (in my limited view)
10:36:34 <warlord> we shouldnt be doing that
10:36:42 <gjanssens> I haven't tried building with the google test framework yet
10:36:50 <warlord> (or we need to label it a generated file)
10:37:46 <gjanssens> There is definitely an issue here
10:38:07 <gjanssens> If google test framework is optional, make dist should work without it ever being installed
10:38:48 <gjanssens> I guess jralls_ will look into it when he's available
10:39:08 <gjanssens> Meanwhile I'll just skip distcheck on master
10:46:09 <warlord> Yes. That is true.
10:47:27 <ajs> warlord: deleting the income account and moving all the transactions seemed to fix the dividend import association. thanks again
10:47:28 <warlord> Ahh, the problem is the ${GTEST_ROOT}/src/gtest_main.cc
10:48:07 <warlord> The way to do that, I think, is an extra variable:
10:48:15 <warlord> GTEST_MAIN=${GTEST_ROOT}/src/gtest_main.cc
10:48:28 <warlord> test_gnc_int128_SOURCES = \
10:48:29 <warlord> ...
10:48:34 <warlord> $(GTEST_MAIN)
10:48:41 <warlord> I *think* that will fix the problem.
10:49:18 <warlord> jgeidl: Sorry, put my laptop down. What I mean is that if you need to see historical data you would go back to quicken.
10:49:21 *** rubdos has joined #gnucash
10:49:28 *** Ahmuck has joined #gnucash
10:49:36 <warlord> ajs: you're welcome, I think.. ;)
10:51:12 *** StuM has quit IRC
10:52:53 *** himaxx has joined #gnucash
10:53:42 *** Ahmuck has quit IRC
10:53:56 *** Ahmuck has joined #gnucash
10:55:21 *** himaxx has quit IRC
10:56:27 *** gour has quit IRC
10:57:43 *** Ahmuck has quit IRC
10:58:57 *** Ahmuck has joined #gnucash
11:00:34 *** fabior has joined #gnucash
11:15:41 <warlord> gjanssens: does that change fix it?
11:17:10 <gjanssens> warlord: I'm currently testing
11:17:23 <gjanssens> Had and interrupt to handle first :)
11:19:27 <warlord> Of course.
11:19:54 <warlord> You could quickly check by looking at the generated Makefile.in to see if the variable setting was protected by the 'if'
11:21:49 *** fabior has quit IRC
11:22:33 *** cartsoftware has quit IRC
11:23:20 *** Ahmuck has quit IRC
11:23:36 *** aqua___ has quit IRC
11:25:28 <gjanssens> warlord: your fix isn't working here: autogen.sh replaces $(GTEST_MAIN) with ${GTEST_ROOT}/src/gtest_main.cc
11:25:57 <gjanssens> I have tried both with GTEST_MAIN=${GTEST_ROOT}/src/gtest_main.cc inside our outside the if clause
11:26:26 <gjanssens> I also tried replacing $(GTEST_MAIN) with ${GTEST_MAIN}
11:26:29 <gjanssens> Same thing
11:26:45 <gjanssens> What did seem to make a difference was to use $${GTEST_MAIN}
11:26:51 <gjanssens> At least that is not replaced
11:27:06 *** Ahmuck has joined #gnucash
11:27:10 <warlord> Um, but does that actually *work*?
11:27:14 <gjanssens> This will force the executed shell script to expand an environment variable
11:27:22 <gjanssens> But I don't know if it will work
11:27:29 <gjanssens> :/
11:28:01 <warlord> AHH, we can try this:
11:28:10 <gjanssens> Nope: the error is no "no rule to make target ${GTEST_MAIN}"
11:28:21 <warlord> nodist_test_gnc_int128_SOURCES = ${GTEST_ROOT}/src/gtest_main.cc
11:28:21 <gjanssens> s/is no/is now/
11:28:29 <warlord> test_gnc_int128_SOURCES = \
11:28:30 <warlord> ....
11:28:42 <gjanssens> Let me try
11:32:26 <gjanssens> That looks better
11:32:42 <warlord> :)
11:32:45 <warlord> yay
11:33:00 <gjanssens> Now running make distcheck to make sure
11:33:19 *** halfmelon has joined #gnucash
11:34:39 <halfmelon> how can I report "other income" (line 10) in form 1120?
11:35:03 <gjanssens> warlord: yay that got me past this failure
11:35:25 <gjanssens> And then make distcheck fails immediately again in test-core for the same reason...
11:35:34 <gjanssens> Will apply the same fix
11:38:24 <gjanssens> This does of course assume these are really source files and not generated files :(
11:39:01 <gjanssens> I don't know that, will have to wait for jralls' confirmation
11:40:51 <warlord> We can look at the contents of "GTEST_ROOT" in configure?
11:42:20 *** cartsoftware has joined #gnucash
11:48:02 <Ahmuck> i've not looked at the loan section, but i assume that one can enter a % and it will caculate principale and interest and split the amounts while keeping track of the total?
11:51:22 *** MechtiIde has joined #gnucash
11:52:41 <gjanssens> warlord: it looks to me gtest_main.cc is really a source file from the Google Test Suite
11:53:09 <gjanssens> And that lmat or jralls_ assume you always want to use this test suite from source
11:53:41 <gjanssens> On Fedora however you can also installed a precompiled version of it
11:54:03 <gjanssens> It looks like these makefile rules can use some improvement
11:54:43 <gjanssens> That can be looked at later though
11:55:07 *** rpg has joined #gnucash
11:55:08 <gjanssens> The fixes so far allow distcheck to continue until the potfile check.
11:56:27 <warlord> Ahmuck: no, but you can use "* 0.05" for 5%
11:57:44 <warlord> gjanssens: yeah, must be later
11:57:47 <Ahmuck> does gnucash provide a loan amorization feature, where it adds interest over time so that when you look at the loan column you have an idea of the amount?
11:59:07 <warlord> Ahmuck: sure, via the Loan Repayment Druid
11:59:28 <Ahmuck> ok, thx. thats what i need
12:04:07 <halfmelon> can anyone help me with the tax report configuration? thanks
12:05:00 *** Ahmuck has quit IRC
12:06:28 <warlord> halfmelon: Do you have a specific question?
12:08:10 <halfmelon> yes i asked before, i need to report "other income" (line 10) in form 1120 but there is no selectable option for that
12:09:52 <MechtiIde> which country or authority
12:10:27 <halfmelon> this is for us taxes (IRS)
12:13:44 <gjanssens> Hmm, seems like the new *.hpp headers are missing in the makefiles so they don't get distributed
12:14:42 <gjanssens> Would it be ok to include them or could there be a reason they aren't (like breaking the build for c based sources) ?
12:15:43 <gjanssens> ../../../../src/libqof/qof/kvp_frame.cpp:35:25: fatal error: kvp-value.hpp: No such file or directory
12:15:45 <gjanssens> #include "kvp-value.hpp"
12:15:50 <warlord> gjanssens: They should be included
12:18:49 <warlord> They should be in the foo_HEADERS setting
12:21:42 *** ErKa has joined #gnucash
12:39:29 *** TommyT has joined #gnucash
12:50:49 <jralls_> gjanssens: Whoever bundled gtest for Fedora screwed up. It's not intended to work as a shared library.
12:51:02 *** jralls_ is now known as jralls
12:56:41 <gjanssens> jralls: sure I believe you, and that's indeed what the README file also suggests
12:57:30 <gjanssens> More precisely: "not intended to work" does that mean "it can't" or just "that's never tested"
12:58:33 <jralls> I think it's
12:59:02 <gjanssens> It's not that important really
12:59:23 <gjanssens> JFYI I'm almost done with the patches to get make distcheck running again on master
13:00:43 <jralls> Oh. I was just looking at that. What did you do about gtest_main.cc?
13:01:30 <gjanssens> As warlord suggested here I have split it off into a nodist_test_gnc_int128_SOURCES definition
13:01:37 <gjanssens> Unless it should be distributed ?
13:03:05 <jralls> Ah. I like that better than the way I was headed.
13:04:57 <jralls> I don't think that it should be distributed, but maybe it should be required, or at least required by default. If all of the tests for the new code are based on gtest it seems a bad idea for it to be optional.
13:08:18 <gjanssens> I agree
13:08:47 <gjanssens> And I wonder how distributions should handle this
13:09:24 <gjanssens> So far we have always assumed all dependencies were installable via the distro's package management system
13:09:45 <warlord> It sounds like Fedora needs a bug report that they distribute it incorrectly?
13:09:49 <gjanssens> But the google test framework is the first dependency that is required in source form
13:10:07 <gjanssens> How does debian distribute it ?
13:10:11 <gjanssens> If it does ?
13:10:24 <jralls> No, not really. We require dev modules for most dependencies.
13:10:58 <jralls> Debian distributes it as source. IIRC the Fedora dev package does too. I'll check, just a minute.
13:11:50 <gjanssens> The fedora dev package only distributes header files, not the sources
13:12:26 <warlord> No Fedora package distributes gtest_main.cc
13:13:38 <jralls> I see that. So Fedora users will have to get the tarball themselves. That's something of a problem.
13:14:58 *** Krzysiek_K has joined #gnucash
13:15:42 *** Ahmuck has joined #gnucash
13:18:37 <warlord> clearly someone needs to file a bug report against the package.
13:18:44 <jralls> I don't know if it's possible to link a program when int main() is in a dynamic library. But it seems that with the Fedora 18 rpm it's immaterial: nm reports no symbols in either library.
13:20:49 <warlord> That doesn't mean the symbol isn't in there.
13:21:02 <jralls> Oh?
13:21:04 <warlord> Does the -devel package ship a .a lib?
13:21:25 <warlord> Often 'nm' doesn't list symbols in a .so
13:21:42 <warlord> For example:
13:21:50 <warlord> nm /lib64/libz.so | more
13:21:50 <warlord> nm: /lib64/libz.so: no symbols
13:22:00 <warlord> But clearly libz works.
13:22:29 <warlord> However, it does beg your other question: can the linker link an app where main() is in a shared library. I don't know.
13:25:17 <jralls> I don't understand how that can work. ld needs to have symbols to resolve, otherwise the .so would have to load into the exact same address space every time, regardless of version.
13:25:55 *** linas has quit IRC
13:26:27 <warlord> I'm not sure how it works..
13:26:45 <kimmo2_> I'm flabbergasted
13:26:49 <jralls> Anyway, the oddity mounts: Fedora's gtest.dev package installs /usr/lib64/libgtest.so and libgtest_main.so, while the gtest rpm installs libgtest*.so.0 and libgtest*.so.0.0
13:28:18 <kimmo2_> warlord, nm -D
13:28:23 <kimmo2_> -D for dynamic symbols...
13:28:26 <gjanssens> *.so and *.sh.0 are softlinks to *.so.0.0.0
13:29:22 <jralls> Right. So you need the .dev packaage to be able to pass -lgtest to gcc.
13:30:01 <gjanssens> I guess so
13:30:28 *** MechtiIde has quit IRC
13:30:43 <jralls> Seems a bit of an over-optimization.
13:30:46 <gjanssens> nm -D libgtest_main.so does reveal the main symbol
13:31:13 <gjanssens> BTW I just pushed the fixes for distcheck
13:31:22 <jralls> Found the nm magic, too. On Linux you need to pass it a -D flag to see the symbols in a shared lib.
13:31:48 <gjanssens> The part about the google test framework may have to be revised if we get this mystery resolved
13:31:49 <warlord> aha
13:32:22 <gjanssens> On another note: the build server has not built the maint branch since Dec 16
13:32:45 <gjanssens> I checked and it appears there was a merge conflict while pulling the gnucash-on-windows repo
13:32:53 <gjanssens> I have fixed this
13:33:36 <gjanssens> But in the longer run we may want to replace git pull with git fetch/git reset --hard in the automated scripts
13:33:41 <jralls> Good. Should build OK, I built my boost-date branch OK yesterday.
13:34:19 <warlord> gjanssens: I do that in the docs builds
13:34:33 <gjanssens> Hmm boost-date - that may be useful for when I start working on the options rewrite
13:34:49 <gjanssens> warlord: good
13:34:50 <warlord> We probably only want to do it in the automated build, not in any script that a user might call..
13:35:03 <warlord> I'd be quite irate if I ran a build script and it destroyed my local checkout.
13:35:07 <gjanssens> Indeed, I was mostly thinking about the build server scripts
13:35:11 <jralls> The merge conflict was probably my fault. I was doing a lot of manual building on the VB server trying to get 2.6.5 done.
13:35:32 <gjanssens> jralls: np it was an easy fix
13:36:02 <gjanssens> What did get my attention though is that the build server complains about not finding the user e-mail address
13:36:22 <gjanssens> That was kill that merge attempt initiated by git pull
13:36:43 <gjanssens> So another thing we may have to add in the automated scripts is setting user.name and user.global
13:36:49 <gjanssens> Again only in the build server scripts
13:37:02 <gjanssens> Or at least document this should happen on a clean install
13:37:07 *** rpg has quit IRC
13:37:20 <jralls> Why not just put a .gitconfig in the server's $HOME dirs?
13:37:49 <gjanssens> That's what I did for gnucash-maint
13:37:59 <gjanssens> eh, gcdev-maint
13:38:16 <gjanssens> But we need to remember to do so for reach new install of mingw
13:38:18 <gjanssens> So document it
13:38:33 *** linas has joined #gnucash
13:39:19 <gjanssens> Got to go now...
13:39:22 *** gjanssens is now known as gjanssens_
13:42:00 *** KaiForce has quit IRC
13:42:15 *** rubdos has quit IRC
13:50:06 <halfmelon> Nevermind with my question above. I figured out the solution was related with file txf.scm. I added the line 10 "Other income" to the income section for Form 1120, and my problem was solved. Thanks anyway.
13:52:26 <warlord> halfmelon: any chance you could file a bugzilla report on that so it gets in there for the next release?
13:53:15 <halfmelon> I will be happy to do that. Just point me where I have to go.
13:53:50 <warlord> halfmelon: thanks. You can read about it at http://wiki.gnucash.org/wiki/Bugzilla
13:53:55 <warlord> You might need to sign up for an account.
13:54:53 *** rpg has joined #gnucash
13:54:59 *** rpg has joined #gnucash
13:55:32 <halfmelon> Only one observation: I just generated the report with the modified txf.scm, I did not test the generation of the txf file, because I do not have a tax preparation SW.
13:58:06 <warlord> that's fine.
13:58:16 <warlord> Just the bug report and suggested addition will be usefl.
13:58:20 <warlord> useful, even
13:59:32 <halfmelon> ok, I will do that tomorrow, because I have to create an email account for bugzila. thanks. see you.
14:00:30 *** halfmelon has quit IRC
14:08:21 *** TommyT has quit IRC
14:14:07 *** Ahmuck has quit IRC
14:40:23 *** gwo has joined #gnucash
14:42:09 *** gwo has quit IRC
14:50:28 *** Krzysiek_K has quit IRC
15:13:11 *** lmat has joined #gnucash
15:17:04 *** GabrieleV_ has joined #gnucash
15:17:05 *** GabrieleV has quit IRC
15:17:05 *** GabrieleV_ is now known as GabrieleV
15:25:15 *** cartsoftware has quit IRC
15:32:19 *** gjanssens_ has quit IRC
15:42:09 *** cartsoftware has joined #gnucash
15:44:41 *** aqua___ has joined #gnucash
15:50:01 *** Cosmo has joined #gnucash
15:55:29 *** aqua___ has quit IRC
15:59:32 *** len has joined #gnucash
16:01:40 *** aqua___ has joined #gnucash
16:04:27 <Cosmo> hi, trying to get the Automatic Retrieval of Quotes to run. Gnucash 2.6.5 and ActivePerl-5.20.1. fresh install. When I run: " Install Online Price Retrieval" I get the following errormessage in the opening Perl window: "ppm install failed: Can't find any package that provides Crypt-SSLeay" What am I missing?
16:04:28 *** benjamin-agaric has quit IRC
16:04:51 *** benjamin-agaric has joined #gnucash
16:05:08 *** benjamin-agaric has quit IRC
16:06:48 *** benjamin-agaric has joined #gnucash
16:07:18 *** benjamin-agaric has quit IRC
16:07:53 *** benjamin-agaric has joined #gnucash
16:21:21 *** TommyT has joined #gnucash
16:21:34 *** fell has joined #gnucash
16:29:18 *** aqua___ has quit IRC
16:35:14 *** Cosmo has quit IRC
16:38:56 *** Krzysiek_K has joined #gnucash
16:54:07 *** pacon has joined #gnucash
17:02:21 *** ErnstNeger has joined #gnucash
17:07:32 *** cartsoftware has quit IRC
17:10:24 *** rickoehn has quit IRC
17:14:47 *** cartsoftware has joined #gnucash
17:16:50 *** benjamin-agaric has quit IRC
17:42:43 *** ErnstNeger has quit IRC
17:47:23 *** rpg_ has joined #gnucash
17:47:24 *** rpg has quit IRC
18:11:02 *** TommyT has quit IRC
18:16:29 *** himaxx has joined #gnucash
18:16:33 *** pacon has quit IRC
18:17:27 *** himaxx has quit IRC
18:22:36 *** rpg_ has quit IRC
18:31:38 *** fell has quit IRC
18:52:35 *** GabrieleV_ has joined #gnucash
18:52:53 *** pacon has joined #gnucash
18:53:13 *** GabrieleV has quit IRC
18:53:14 *** GabrieleV_ is now known as GabrieleV
19:09:30 *** pacon has quit IRC
19:27:15 *** Ahmuck has joined #gnucash
19:37:42 *** Ahmuck has quit IRC
20:08:22 *** cartsoftware has quit IRC
20:08:59 *** cartsoftware has joined #gnucash
20:22:43 *** cartsoftware has quit IRC
20:24:41 *** cartsoftware has joined #gnucash
20:39:30 *** benjamin-agaric has joined #gnucash
21:13:06 *** GabrieleV_ has joined #gnucash
21:13:57 *** GabrieleV has quit IRC
21:13:58 *** GabrieleV_ is now known as GabrieleV
21:27:02 *** lmat_ has joined #gnucash
21:30:32 *** lmat has quit IRC
22:09:07 *** ErKa has quit IRC
22:57:09 *** GabrieleV_ has joined #gnucash
22:57:46 *** GabrieleV has quit IRC
22:57:47 *** GabrieleV_ is now known as GabrieleV
23:32:21 *** pacon has joined #gnucash