Report forwarded
to guix-patches@gnu.org: bug#31479; Package guix-patches.
(Wed, 16 May 2018 23:12:01 GMT) (full text, mbox, link).
Acknowledgement sent
to Kei Kebreau <kkebreau@posteo.net>:
New bug report received and forwarded. Copy sent to guix-patches@gnu.org.
(Wed, 16 May 2018 23:12:01 GMT) (full text, mbox, link).
Kei Kebreau <kkebreau@posteo.net> skribis:
> * gnu/packages/machine-learning.scm (rxcpp): New variable.
[...]
> + (home-page "http://reactivex.io/")
> + (synopsis "Reactive Extensions for C++")
> + (description
> + "The Reactive Extensions for C++ (RxCpp) is a library of algorithms for
> +values-distributed-in-time. ReactiveX is a library for composing asynchronous
> +and event-based programs by using observable sequences.
LGTM!
Probably machine-learning.scm is not the best place for it, but I can’t
think of a better place.
Thanks,
Ludo’.
Information forwarded
to guix-patches@gnu.org: bug#31479; Package guix-patches.
(Thu, 17 May 2018 11:40:02 GMT) (full text, mbox, link).
From: Jonathan Brielmaier <jonathan.brielmaier@web.de>
To: guix-patches@gnu.org
Subject: Re: [bug#31479] [PATCH 3/3] gnu: Update shogun to 6.1.3.
Date: Thu, 17 May 2018 13:39:07 +0200
On 17/05/2018 01:24, Kei Kebreau wrote:
>
> These patches are really just to upgrade Octave, but the old Shogun
> couldn't find the new version of Octave. The shogun update patch is a
> WIP, but I don't have enough RAM (only 3.8GB) to make it through Shogun's
> build process reliably. Could someone else help out with this patch?
>
I build shogun now, lets see how it goes :)
Information forwarded
to guix-patches@gnu.org: bug#31479; Package guix-patches.
(Fri, 18 May 2018 06:00:01 GMT) (full text, mbox, link).
On 17/05/2018 13:39, Jonathan Brielmaier wrote:
> On 17/05/2018 01:24, Kei Kebreau wrote:
>>
>> These patches are really just to upgrade Octave, but the old Shogun
>> couldn't find the new version of Octave. The shogun update patch is a
>> WIP, but I don't have enough RAM (only 3.8GB) to make it through Shogun's
>> build process reliably. Could someone else help out with this patch?
>>
>
> I build shogun now, lets see how it goes :)
Unfortunately there was a build error for shogun. I attached the build
log where it fails. It has something to do with the eigen library...
Jonathan Brielmaier <jonathan.brielmaier@web.de> writes:
> On 17/05/2018 13:39, Jonathan Brielmaier wrote:
>> On 17/05/2018 01:24, Kei Kebreau wrote:
>>>
>>> These patches are really just to upgrade Octave, but the old Shogun
>>> couldn't find the new version of Octave. The shogun update patch is a
>>> WIP, but I don't have enough RAM (only 3.8GB) to make it through Shogun's
>>> build process reliably. Could someone else help out with this patch?
>>>
>>
>> I build shogun now, lets see how it goes :)
>
> Unfortunately there was a build error for shogun. I attached the build
> log where it fails. It has something to do with the eigen library...
>
>
>
> $ /pre-inst-env guix build shogun
> [...]
> [ 50%] Building CXX object src/shogun/CMakeFiles/libshogun.dir/mathematics/linalg/ratapprox/logdet/opfunc/DenseMatrixExactLog.cpp.o
> cd /tmp/guix-build-shogun-6.1.3.drv-0/build/src/shogun && /gnu/store/cfdn69spjc44x4sd0acrwhxq6yay3rbc-gcc-5.5.0/bin/c++ -I/tmp/guix-build-shogun-6.1.3.drv-0/shogun-6.1.3/src -I/tmp/guix-build-shogun-6.1.3.drv-0/build/src -I/tmp/guix-build-shogun-6.1.3.drv-0/shogun-6.1.3/src/gpl -isystem /gnu/store/iwzn3vhwmzkvhq7sqs6c4bjp2xld17kc-eigen-3.3.4/include/eigen3 -isystem /gnu/store/5s9am1dgn83wj5q5kwfcasqws8zd85zz-rxcpp-4.0.0 -I/gnu/store/mllyvfy39npzra984jsmcm8ksn3x8094-glpk-4.65/include -I/gnu/store/wnw0gv5hgmhlw3jz1pgw4n017bhj9f2z-arpack-ng-3.5.0/lib/../include -I/gnu/store/mv9m6bxdhijhlfvxpja3km6v599b4pv5-libxml2-2.9.7/include/libxml2 -I/gnu/store/27jrvwbg5xa9la6jwnqz6ys4k7pfyykl-hdf5-1.8.19/include -I/gnu/store/9hd38bkw8bq8gq6lcv6vd8xjpcsbyzlm-zlib-1.2.11/include -I/gnu/store/77l8sxh9py133cy1p9kypshji4q9wv0w-bzip2-1.0.6/include -I/gnu/store/kgaf671a9a76k0ql1pwwjxjbj80x22mj-xz-5.2.3/include -I/gnu/store/33m86ycak50vh2p0q7qb0byh990hrkjn-lzo-2.10/include -Wall -Wno-unused-parameter -Wformat -Wformat-security -Wparentheses -Wshadow -Wno-unknown-pragmas -Wno-deprecated -O2 -g -DNDEBUG -fPIC -fopenmp -std=c++11 -o CMakeFiles/libshogun.dir/mathematics/linalg/ratapprox/logdet/opfunc/DenseMatrixExactLog.cpp.o -c /tmp/guix-build-shogun-6.1.3.drv-0/shogun-6.1.3/src/shogun/mathematics/linalg/ratapprox/logdet/opfunc/DenseMatrixExactLog.cpp
> /tmp/guix-build-shogun-6.1.3.drv-0/shogun-6.1.3/src/shogun/mathematics/linalg/ratapprox/logdet/opfunc/DenseMatrixExactLog.cpp:15:45: fatal error: unsupported/Eigen/MatrixFunctions: No such file or directory
> compilation terminated.
> make[2]: *** [src/shogun/CMakeFiles/libshogun.dir/build.make:11456: src/shogun/CMakeFiles/libshogun.dir/mathematics/linalg/ratapprox/logdet/opfunc/DenseMatrixExactLog.cpp.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[2]: Leaving directory '/tmp/guix-build-shogun-6.1.3.drv-0/build'
> make[1]: *** [CMakeFiles/Makefile2:126: src/shogun/CMakeFiles/libshogun.dir/all] Error 2
> make[1]: Leaving directory '/tmp/guix-build-shogun-6.1.3.drv-0/build'
> make: *** [Makefile:153: all] Error 2
> phase `build' failed after 493.7 seconds
> builder for `/gnu/store/mjnmhzdx6zmwcvspmljsrjw2aazfvnv7-shogun-6.1.3.drv' failed with exit code 1
> @ build-failed /gnu/store/mjnmhzdx6zmwcvspmljsrjw2aazfvnv7-shogun-6.1.3.drv - 1 builder for `/gnu/store/mjnmhzdx6zmwcvspmljsrjw2aazfvnv7-shogun-6.1.3.drv' failed with exit code 1
> guix build: error: build failed: build of `/gnu/store/mjnmhzdx6zmwcvspmljsrjw2aazfvnv7-shogun-6.1.3.drv' failed
So it turns out that Eigen's source code comes with some functions that
are officially unsupported by the developers but still available for
use. Guix just doesn't install them. I've attached a patch that *should*
properly install the unsupported files to Eigen's include path.
Also, thanks for helping with this shogun patch!
Cc: Ricardo Wurmus <rekado@elephly.net>,
Jonathan Brielmaier <jonathan.brielmaier@web.de>, 31479@debbugs.gnu.org
Subject: Re: [bug#31479] [PATCH 3/3] gnu: Update shogun to 6.1.3.
Date: Sat, 19 May 2018 22:18:02 +0200
Hello,
Kei Kebreau <kkebreau@posteo.net> skribis:
> So it turns out that Eigen's source code comes with some functions that
> are officially unsupported by the developers but still available for
> use. Guix just doesn't install them. I've attached a patch that *should*
> properly install the unsupported files to Eigen's include path.
Ricardo has a similar patch in the Tensorflow series:
https://bugs.gnu.org/31386
Could the two of you see how the two patches should be merged? :-)
Thanks,
Ludo’.
Information forwarded
to guix-patches@gnu.org: bug#31479; Package guix-patches.
(Sun, 20 May 2018 18:33:02 GMT) (full text, mbox, link).
ludo@gnu.org (Ludovic Courtès) writes:
> Hello,
>
> Kei Kebreau <kkebreau@posteo.net> skribis:
>
>> So it turns out that Eigen's source code comes with some functions that
>> are officially unsupported by the developers but still available for
>> use. Guix just doesn't install them. I've attached a patch that *should*
>> properly install the unsupported files to Eigen's include path.
>
> Ricardo has a similar patch in the Tensorflow series:
>
> https://bugs.gnu.org/31386
>
> Could the two of you see how the two patches should be merged? :-)
>
> Thanks,
> Ludo’.
Hi,
Thanks for the heads up! Looking at Ricardo's patch, it looks like the
same goal is accomplished in a cleaner fashion. I'll test it today and
report back results. I've been working on shogun during the past few
days and it may soon be finished.
Subject: Re: [bug#31479] [PATCH 3/3] gnu: Update shogun to 6.1.3.
Date: Thu, 24 May 2018 11:09:09 +0200
Hi Kei,
please also note that Shogun contains references to proprietary
software. It has support for SVMLight, which is non-free software. It
includes a script to remove all references to and adapters for SVMLight,
but unfortunately we cannot run shell scripts in a snippet. Changing
this requires changing the “package” syntax to delay evaluation more.
Until then we need to remove the non-free bits in code, which is what
the current snippet does, but the code would need to be adjusted for
version 6.1.3.
Thanks for taking this on!
--
Ricardo
Information forwarded
to guix-patches@gnu.org: bug#31479; Package guix-patches.
(Sun, 27 May 2018 01:23:01 GMT) (full text, mbox, link).
Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> writes:
> Hi Kei,
>
> please also note that Shogun contains references to proprietary
> software. It has support for SVMLight, which is non-free software. It
> includes a script to remove all references to and adapters for SVMLight,
> but unfortunately we cannot run shell scripts in a snippet. Changing
> this requires changing the “package” syntax to delay evaluation more.
>
> Until then we need to remove the non-free bits in code, which is what
> the current snippet does, but the code would need to be adjusted for
> version 6.1.3.
>
> Thanks for taking this on!
>
> --
> Ricardo
Thank you for the tip!
I've attached the four patches that make it possible to build Shogun
6.1.3 successfully, and I'm just looking through the source code to
remove the proprietary bits.
P.S. Ricardo, you'll notice the eigen patch is actually yours from
another patchset! I verified that it works as expected.
Kei Kebreau <kkebreau@posteo.net> writes:
> Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> writes:
>
>> Hi Kei,
>>
>> please also note that Shogun contains references to proprietary
>> software. It has support for SVMLight, which is non-free software. It
>> includes a script to remove all references to and adapters for SVMLight,
>> but unfortunately we cannot run shell scripts in a snippet. Changing
>> this requires changing the “package” syntax to delay evaluation more.
>>
>> Until then we need to remove the non-free bits in code, which is what
>> the current snippet does, but the code would need to be adjusted for
>> version 6.1.3.
>>
>> Thanks for taking this on!
>>
>> --
>> Ricardo
>
> Thank you for the tip!
>
> I've attached the four patches that make it possible to build Shogun
> 6.1.3 successfully, and I'm just looking through the source code to
> remove the proprietary bits.
>
> P.S. Ricardo, you'll notice the eigen patch is actually yours from
> another patchset! I verified that it works as expected.
The shogun patch below builds successfully for me! If no corrections
need to be made, I'll push this patch series to master!
Subject: Re: [bug#31479] [PATCH 3/3] gnu: Update shogun to 6.1.3.
Date: Tue, 29 May 2018 23:32:37 +0200
Kei Kebreau <kkebreau@posteo.net> writes:
> The shogun patch below builds successfully for me! If no corrections
> need to be made, I'll push this patch series to master!
Beautiful! This looks good to me.
Thank you for making the extra effort even though you just wanted to
update Octave!
--
Ricardo
Information forwarded
to guix-patches@gnu.org: bug#31479; Package guix-patches.
(Tue, 29 May 2018 22:36:01 GMT) (full text, mbox, link).
Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> writes:
> Kei Kebreau <kkebreau@posteo.net> writes:
>> The shogun patch below builds successfully for me! If no corrections
>> need to be made, I'll push this patch series to master!
>
> Beautiful! This looks good to me.
>
> Thank you for making the extra effort even though you just wanted to
> update Octave!
Packaging things like this makes for a great puzzle, and I love puzzles.
Pushed to master! Thanks to everyone involved in the review!
Added tag(s) fixed.
Request was from ludo@gnu.org (Ludovic Courtès)
to control@debbugs.gnu.org.
(Thu, 31 May 2018 15:42:01 GMT) (full text, mbox, link).
bug closed, send any further explanations to
31479@debbugs.gnu.org and Kei Kebreau <kkebreau@posteo.net>
Request was from ludo@gnu.org (Ludovic Courtès)
to control@debbugs.gnu.org.
(Thu, 31 May 2018 15:42:01 GMT) (full text, mbox, link).
bug archived.
Request was from Debbugs Internal Request <help-debbugs@gnu.org>
to internal_control@debbugs.gnu.org.
(Fri, 29 Jun 2018 11:24:05 GMT) (full text, mbox, link).
Debbugs is free software and licensed under the terms of the
GNU Public License version 2. The current version can be
obtained from https://bugs.debian.org/debbugs-source/.