Skip Menu |

This queue is for tickets about the Finance-InteractiveBrokers-SWIG CPAN distribution.

Report information
The Basics
Id: 94880
Status: resolved
Worked: 1 hour (60 min)
Priority: 0/
Queue: Finance-InteractiveBrokers-SWIG

People
Owner: INFIDEL [...] cpan.org
Requestors: gdg [...] zplane.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.11



Subject: Problem make-ing Finance::InteractiveBrokers::SWIG via cpan
Date: Sat, 19 Apr 2014 12:05:06 -0600
To: bug-Finance-InteractiveBrokers-SWIG [...] rt.cpan.org
From: Glenn Golden <gdg [...] zplane.com>
-- Hello, Running into a problem building F:IB:SWIG-0.10 via cpan. An annotated logfile from the cpan session is attached ("ib_make_fail.txt"). Very likely this problem is due to user error on my part, as I'm relatively new to cpan and have used it only a few times. Also, this is the first time I've used cpan after re-configuring it via local::lib to install modules in my home directory. I suspect this may be the source of this problem, so attaching also the MyConfig.pm file from CPAN, in case it may provide some clues. Other info: Distro: arch linux, synched to repos a few days ago. Kernel: 3.14.1 Hardware: Thinkpad T-510, x86-64 Perl version: 5.18.2 cpan version: 2.05 Let me know what other info you may need. Thanks, Glenn

Message body is not shown because sender requested not to inline it.

Message body is not shown because sender requested not to inline it.

Hi there, It looks like there was a change in gcc/g++ >=4.7.x to decrease namespace pollution by (probably correctly) not auto-including unistd.h: http://gcc.gnu.org/gcc-4.7/porting_to.html I've made a change to re-add the header for F::IB::SWIG 0.11, and tested it on an up-to-date Arch install. I've uploaded this to CPAN, and it should be available there in a few hours. The diff is also attached to this message if you would like it immediately (there's a couple of other things in there as well). Let me know if this doesn't work for you and I'll see what else might be going on. If it doesn't work, your g++ compiler version would help (g++ --version). Cheers, -Jason
Subject: fibswig-0.10-0.11.patch

Message body is not shown because it is too large.

Subject: Re: [rt.cpan.org #94880] Problem make-ing Finance::InteractiveBrokers::SWIG via cpan
Date: Sun, 20 Apr 2014 05:51:37 -0600
To: Jason McManus via RT <bug-Finance-InteractiveBrokers-SWIG [...] rt.cpan.org>
From: Glenn Golden <gdg [...] zplane.com>
Jason McManus via RT <bug-Finance-InteractiveBrokers-SWIG@rt.cpan.org> [2014-04-20 02:00:48 -0400]: Show quoted text
> > It looks like there was a change in gcc/g++ >=4.7.x to decrease namespace > pollution by (probably correctly) not auto-including unistd.h: >
Yep, that was it. 0.11 builds ok, thanks for the quick work on it. Little surprised though that this issue did not arise during development builds and was not noticed by anyone else, given that gcc 4.7 was rolled out around December 2011. Do you have a feel for how actively the module is being used or at least experimented with by others? Also curious if you yourself are using it as the basis for any actual higher-level trading tools? H/T again for the quick response on this. Glenn
Show quoted text
> Little surprised though that this issue did not arise during > development > builds and was not noticed by anyone else, given that gcc 4.7 was > rolled out > around December 2011. Do you have a feel for how actively the module > is > being used or at least experimented with by others? Also curious if > you > yourself are using it as the basis for any actual higher-level trading > tools?
Well, Arch is a bit on the "bleeding edge"; unfortunately, many people don't keep their systems entirely up to date. I don't really have a QA team or continuous build setup for my free software, and haven't recompiled this since updating gcc a while back. However, with many people having updates on the brain for the Heartbleed bug last week, I suspect this'd turn up sooner or later. CPAN doesn't release download stats, so I mostly only have an idea of userbase by bug reports and emails. I was using it for modeling, but have been working on other projects for a bit. Glad the patch was successful; hope the software works well for you now.