Processed: Re: Bug#739773: mapserver: Please support building with Ruby 2.0

2014-02-28 Thread Debian Bug Tracking System
Processing control commands:

 tags -1 pending
Bug #739773 [src:mapserver] mapserver: Please support building with Ruby 2.0
Added tag(s) pending.

-- 
739773: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=739773
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel


Bug#739773: mapserver: Please support building with Ruby 2.0

2014-02-28 Thread Sebastiaan Couwenberg
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Control: tags -1 pending

Hi Christian,

On 02/22/2014 11:56 PM, Christian Hofstaedtler wrote:
 * Sebastiaan Couwenberg sebas...@xs4all.nl [140222 19:40]:
 Supporting Ruby 2.0 is not straight forward. The FindRuby.cmake
 shipped with CMake 2.8 doesn't search for Ruby 2.0 yet, so we'll
 need to at least include a custom FindRuby.cmake in MapServer
 similar to the one included in mod_ruby for instance:
 
 https://github.com/mikeowens/mod_ruby/blob/master/config/ruby.cmake

 
 I've filed #739826 against cmake, hopefully the cmake maintainer
 can fix this in a central place.

Thanks for filing the cmake bug, hopefully the custom FindRuby.cmake
now included in mapserver is only needed for a short time.

Instead of including an entirely different CMake module for Ruby, I've
updated the FindRuby module included in CMake to also support Ruby 2.0
and 2.1. See:

http://anonscm.debian.org/gitweb/?p=pkg-grass/mapserver.git;a=blob;f=debian/patches/cmake-ruby2.patch;h=a43bb4a0d76da5754351f60d6d5ed238af6e4bcb;hb=8251b4527cfaf1821a522afee84245a4768df2a3

I'll forward it to CMake upstream so they can include the changes in
the next release.

The update mapserver package is available on mentors, and currently
waiting for sponsorship (#740344).

Kind Regards,

Bas
-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBCgAGBQJTEIgYAAoJEGdQ8QrojUrxKXoP/14Jj+aacCMI+nUOR53iZ+T1
vtLsOWmo3IUWzzaURWSuGUyqqQTh8Oqjcb1LMCIo3k+czsL2COySXAI5lCQSZvE1
ZoEod+9oJ60NG+Ex1F39k1JeH9ic9q/OPWkKrku3keIzZLDb94roc0s0iwEznHYR
YjIrMhwVHPzgdvWl4RTPcNwvNNeetVd5HMJMH2kgY2xb679Cj1UGEwK5p6+805zY
/Li/XHc4tjTaYWCQYztPjrAEFNXho/sW5+FnjbfBjz9fPNGqTQp4aPSKdEA3Pkgy
/hBgVTHk4dEpdbuH+iu7qisXtVz2Z0TjbQxwqgG5qSjHlADGYN6MuUmvMKqWOmXV
b98rKdH83MUCDjXEl9eG7gNkMdk3p2bnVkJrv3Husn4Ca2rpb1cZGbi/KyuTD/ul
hqbn1IRwIyLZWaIIjZYz6eJzerewpBb6EiHuV5khvqjpJ5v9G1gxCzo/zxE94lH3
VKKzodOmM7X0ntxYrIB2ozSED9UDsCVxE2GtNiUiRIDea9/3xgTPN141SNCUZTnb
gaSIMjuth20UiBIvL8Sj3OyhU9ZPDWeOD2+NoE9Zp62IXRxieOGkuTFUXWLwtcdq
5GyfmHXVZAqcnoQRCF7u8sjg3xqwN9vtBLF9S/QwsDzEEk231uPA+Sp9tFO2zTqw
xbW+KwpOdD12pxFJE+zg
=R8oA
-END PGP SIGNATURE-

___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel


Bug#739773: mapserver: Please support building with Ruby 2.0

2014-02-22 Thread Christian Hofstaedtler
Source: mapserver
Version: 6.4.1-1
Severity: normal

Dear Maintainer,

A new ruby-defaults, switching the default Ruby version to 2.0, will be
uploaded soon. (It is available in experimental for testing.)

During a test rebuild of rdepends with the new package, your package
failed to build.

If possible, please change your package in advance to support building
for Ruby 2.0, so when ruby-defaults is uploaded, only a binNMU is
needed.

Hopefully relevant log parts:
--
CMake Error at 
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
  Could NOT find Ruby (missing: RUBY_INCLUDE_DIR RUBY_LIBRARY
  RUBY_CONFIG_INCLUDE_DIR) (found version 2.0.0)
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 
(_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-2.8/Modules/FindRuby.cmake:239 
(FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  mapscript/ruby/CMakeLists.txt:3 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!
--

The full build log is available at:
http://aws-logs.debian.net/ftbfs-logs/ruby-defaults/failed-logs/mapserver_6.4.1-1_unstable.log.gz

Important changes from 1.9 to 2.0:
- location of ruby/config.h has changed; it's location is now available
  from:
  ruby -r rbconfig -e print RbConfig::CONFIG['rubyarchhdrdir']
- path for binary extensions has changed; it's location is now available
  from:
  ruby -r rbconfig -e print RbConfig::CONFIG['vendorarchdir']


Thank you,
Christian

-- 
 ,''`.  Christian Hofstaedtler z...@debian.org
: :' :  Debian Developer
`. `'   7D1A CFFA D9E0 806C 9C4C  D392 5C13 D6DB 9305 2E03
  `-



signature.asc
Description: Digital signature
___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Bug#739773: mapserver: Please support building with Ruby 2.0

2014-02-22 Thread Sebastiaan Couwenberg
Hi Christian,

Thanks for reporting this issue.

On 02/22/2014 01:54 PM, Christian Hofstaedtler wrote:
 A new ruby-defaults, switching the default Ruby version to 2.0, will be
 uploaded soon. (It is available in experimental for testing.)
 
 During a test rebuild of rdepends with the new package, your package
 failed to build.
 
 If possible, please change your package in advance to support building
 for Ruby 2.0, so when ruby-defaults is uploaded, only a binNMU is
 needed.

Supporting Ruby 2.0 is not straight forward. The FindRuby.cmake shipped
with CMake 2.8 doesn't search for Ruby 2.0 yet, so we'll need to at
least include a custom FindRuby.cmake in MapServer similar to the one
included in mod_ruby for instance:

https://github.com/mikeowens/mod_ruby/blob/master/config/ruby.cmake

The mapscript binding for Ruby doesn't have an upstream maintainer
anymore, so to keep supporting it in Debian may become too burdensome.

I'll try to fix the build with Ruby 2.0 using the packages from
experimental.

Kind Regards,

Bas

___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel


Bug#739773: mapserver: Please support building with Ruby 2.0

2014-02-22 Thread Christian Hofstaedtler
Sebastiaan,

* Sebastiaan Couwenberg sebas...@xs4all.nl [140222 19:40]:
 Supporting Ruby 2.0 is not straight forward. The FindRuby.cmake shipped
 with CMake 2.8 doesn't search for Ruby 2.0 yet, so we'll need to at
 least include a custom FindRuby.cmake in MapServer similar to the one
 included in mod_ruby for instance:
 
 https://github.com/mikeowens/mod_ruby/blob/master/config/ruby.cmake

I've filed #739826 against cmake, hopefully the cmake maintainer can
fix this in a central place.

Kind regards,
Christian

-- 
 ,''`.  Christian Hofstaedtler z...@debian.org
: :' :  Debian Developer
`. `'   7D1A CFFA D9E0 806C 9C4C  D392 5C13 D6DB 9305 2E03
  `-



signature.asc
Description: Digital signature
___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel