Re: unrebuildable ruby packages (Re: ruby-defaults 1.8.0)
On Mon, Sep 08, 2003 at 05:35:35PM -0400, Joey Hess wrote: > > RUBY_LINK=`ruby -rrbconfig -e 'puts Config::CONFIG["LIBRUBYARG_SHARED"]n'` > [EMAIL PROTECTED]:~>ruby -rrbconfig -e 'puts > Config::CONFIG["LIBRUBYARG_SHARED"]' > nil > [EMAIL PROTECTED]:~>ruby -v > ruby 1.6.8 (2003-07-09) [i386-linux] How about just going with Ruby 1.8? $ ruby1.8 -rrbconfig -e 'puts Config::CONFIG["LIBRUBYARG_SHARED"]' -lruby1.8 By the time you fix it for 1.6, ruby-defaults will be 1.8... And there is little sense in having this package supporting both ;-) -- Dmitry Borodaenko
Re: unrebuildable ruby packages (Re: ruby-defaults 1.8.0)
Fumitoshi UKAI wrote: > I just look into mooix source. The released source that is. > RUBY_LINK=`ruby -rrbconfig -e 'puts Config::CONFIG["LIBRUBYARG_SHARED"]n'` [EMAIL PROTECTED]:~>ruby -rrbconfig -e 'puts Config::CONFIG["LIBRUBYARG_SHARED"]' nil [EMAIL PROTECTED]:~>ruby -v ruby 1.6.8 (2003-07-09) [i386-linux] -- see shy jo pgppUJsVdAAeJ.pgp Description: PGP signature
Re: unrebuildable ruby packages (Re: ruby-defaults 1.8.0)
On Mon, Sep 08, 2003 at 04:01:31AM +0900, Fumitoshi UKAI wrote: > As Marcelo pointed out on Bug#209052, ruby-dev has been obsoleted, so > packages that build-depend on ruby-dev can't be built now. > > We have ruby1.6-dev (for ruby1.6) and ruby1.8-dev (for ruby1.8), so > please rebuild your packages to use ruby1.6-dev and/or ruby1.8-dev. I've uploaded libyaml-ruby_0.49.1-2 and libdbd-ruby_0.0.20-3 which follow the Debian Ruby Policy. I see no point in uploading new libjttui-ruby, since I've orphaned this package (see #206718) and it should not go into Debian/stable in its current form anyway (it is unused and its upstream is inactive for well over a year). Four of new Ruby/DBI packages, libdbd-pg-ruby1.6, libdbd-pg-ruby1.8, libdbd-mysql-ruby1.6, and libdbd-mysql-ruby1.8 depend on libpgsql-ruby and libmysql-ruby, respectively. This is required for these packages to be installable right now, but is obviously not correct: current versions of libpgsql-ruby and libmysql-ruby provide modules only for Ruby 1.6, and upcoming versions will expectedly depend on -ruby1.6 variants, and later on -ruby1.8 variants. Hence: Taku, Christian, Please let me know when you upload new modules for both Ruby 1.6 and Ruby 1.8, so that I can upload DBDs with correct dependencies. Or let me know if you don't have time to do it and approve someone to NMU it for you; beware that adopting these packages to the Ruby policy will require major changes to their build system, thus it's better that you do it yourselves. -- Dmitry Borodaenko
Re: unrebuildable ruby packages (Re: ruby-defaults 1.8.0)
At Sun, 7 Sep 2003 15:20:09 -0400, Joey Hess wrote: > I'm probably the only "ruby package maintainer" who doesn't speak ruby.. :-) > Luckily I have eager ruby minions to take care of that part of mooix. > > However, we were a bit suprised to have to make the configure script > check for libruby.so.$VERSION. Are you sure that's a good idea? Some > reason you cannot provide a libruby.so for the default version of ruby, > so that non-debian software that just links -lruby can work? I just look into mooix source. Hmm, I think mood/Makefile should be fixed as: ifeq (${EMBED_RUBY},yes) SOURCES += ruby.c CFLAGS += -DEMBED_RUBY -I`ruby -rrbconfig -e "puts Config::CONFIG['archdir']"` RUBY_LINK=`ruby -rrbconfig -e 'puts Config::CONFIG["LIBRUBYARG_SHARED"]n'` endif Here, Config::CONFIG["LIBRUBYARG_SHARED"] is the appropriate linker option to link with ruby library. Note that -rrbconfig option is the same meaning of "require 'rbconfig'" (rbconfig.rb is in /usr/lib/ruby///rbconfig.rb) So, once ruby-defaults becomes 1.8.x, /usr/bin/ruby will be ruby 1.8.x and configuration parameters will be changed for ruby 1.8.x. If it build-depends on ruby1.8 instead of ruby (and ruby1.8-dev of course), and use /usr/bin/ruby1.8 instead of /usr/bin/ruby, you can build your package for ruby1.8 before ruby-defaults becomes 1.8.x. > > I plan to submit bug reports and/or NMU to fix this issue within a few > > weeks. > > I plan to release a new mooix with the ruby changes in somewhere in the > neighborhood of three weeks. If you need the changes before then I can > try to backport them. Ok. Regards, Fumitoshi UKAI pgps3RZOiRrhF.pgp Description: PGP signature
Re: unrebuildable ruby packages (Re: ruby-defaults 1.8.0)
Fumitoshi UKAI wrote: > Dear ruby package maintainers! I'm probably the only "ruby package maintainer" who doesn't speak ruby.. :-) Luckily I have eager ruby minions to take care of that part of mooix. However, we were a bit suprised to have to make the configure script check for libruby.so.$VERSION. Are you sure that's a good idea? Some reason you cannot provide a libruby.so for the default version of ruby, so that non-debian software that just links -lruby can work? > I plan to submit bug reports and/or NMU to fix this issue within a few weeks. I plan to release a new mooix with the ruby changes in somewhere in the neighborhood of three weeks. If you need the changes before then I can try to backport them. -- see shy jo pgpSEM5XusyPQ.pgp Description: PGP signature
unrebuildable ruby packages (Re: ruby-defaults 1.8.0)
Dear ruby package maintainers! As Marcelo pointed out on Bug#209052, ruby-dev has been obsoleted, so packages that build-depend on ruby-dev can't be built now. We have ruby1.6-dev (for ruby1.6) and ruby1.8-dev (for ruby1.8), so please rebuild your packages to use ruby1.6-dev and/or ruby1.8-dev. I plan to submit bug reports and/or NMU to fix this issue within a few weeks. Regards, Fumitoshi UKAI pgpZtRgH82bj7.pgp Description: PGP signature