Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 221309 - Stabilize dev-ruby/rails-2.0.2 and dependencies
Summary: Stabilize dev-ruby/rails-2.0.2 and dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: Lowest enhancement (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on: 221829
Blocks:
  Show dependency tree
 
Reported: 2008-05-11 11:57 UTC by Hans de Graaff
Modified: 2008-05-21 18:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans de Graaff gentoo-dev Security 2008-05-11 11:57:43 UTC
dev-ruby/rails-2.0.2 and its dependencies have been in the tree for several months now and I would like to stabilize them. The following packages need to be stabilized (in order according to dependencies):

app-admin/eselect-rails-0.11
dev-ruby/activesupport-2.0.2
dev-ruby/activeresource-2.0.2
dev-ruby/actionpack-2.0.2
dev-ruby/actionmailer-2.0.2
dev-ruby/activerecord-2.0.2
dev-ruby/rails-2.0.2
Comment 1 Friedrich Oslage (RETIRED) gentoo-dev 2008-05-11 14:50:31 UTC
Tested above packages on sparc.

The all compile fine and creating new rails-2.0.2 projects as well as running old projects with rails-2.0.2 and rails-1.2.6 works.

BUT after installing rails-2.0.2 I'm unable to create new rails-1.2.6 projects.

# eselect rails list
Available Ruby on Rails versions:
  [1]   rails-2.0.2
  [2]   rails-1.2.6 *

# rails -v
Rails 2.0.2

# rails-1.2.6 -v
Rails 2.0.2

"rails-1.2.6 test-project" creates a rails-2.0.2 project that can't be run using rails-1.2.6.

# emerge --info
Portage 2.1.4.4 (default-linux/sparc/sparc64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r7 sparc64)
=================================================================
System uname: 2.6.24-gentoo-r7 sparc64 sun4u
Timestamp of tree: Sat, 10 May 2008 23:33:01 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="sparc"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-mcpu=ultrasparc3 -mtune=ultrasparc3 -mvis -Wa,-Av8plusa -O2 -pipe -ggdb"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-mcpu=ultrasparc3 -mtune=ultrasparc3 -mvis -Wa,-Av8plusa -O2 -pipe -ggdb"
DISTDIR="/tmp/distfiles"
FEATURES="collision-protect distlocks installsources metadata-transfer parallel-fetch sandbox splitdebug strict test unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en de"
MAKEOPTS="-j17"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/gnash-cvs /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="64bit 7zip X a52 aac aalib ace agg alsa artworkextra audacious blender-game bluetooth bzip2 c++ caps clock-screen cups curl custom-cflags cvs cxx dbus devhelp dga disk-partition divx doc dts dv dvd dvdread eds encode evo exif fastcgi fat festival ffmpeg flac ftp fuse gd gif gimp gimpprint glade gmedia gnome gnome-print gnomecanvas gpm grammar gtk hal hpn ieee1394 imap ipv6 ithreads javascript jpeg jpeg2k key-screen libsexy lyrics lzo mad mbrola memcache midi mikmod mjpeg mng mouse mp2 mp3 mpeg mpeg2 mplayer musepack musicbrainz nautilus ncurses network network-cron networking nls nptl nptlonly nsplugin offensive ogg openal opengl openmp opera pam parallel pcre pdf png pnm ppds qt3support quicktime raw realmedia regex ruby samba sasl sdl sdl-image search-screen slang smartcard smp sms sound soundex source sourceview sparc speex spell sqlite3 ssl subversion svg symlink taglib tagwriting theora threads tiff timidity tools truetype tta unicode usb userlocales utils vcd vidix vim vim-syntax vim-with-x vorbis wma wmf wmp wordexp x264 xanim xcb xfce xine xinerama xorg xulrunner xv xvid zlib" ALSA_CARDS="CS4231" ALSA_PCM_PLUGINS="adpcm alaw copy dshare dsnoop extplug file hooks ladspa lfloat linear meter mulaw multi null rate route share shm asym dmix empty iec958 ioplug plug softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="mach64 fbdev mga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Markus Meier gentoo-dev 2008-05-11 16:16:35 UTC
x86 stable
Comment 3 Ferris McCormick (RETIRED) gentoo-dev 2008-05-11 17:11:38 UTC
Helpers are done for sparc.  However, I'm backing off on rails-2.0.2 based on Friedrich Oslage's comments (Comment #1) --- I can verify that he is correct.  Is this a problem, and must we back out the entire suite?  It looks as if something is not correctly slotted.
Comment 4 Markus Rothe (RETIRED) gentoo-dev 2008-05-12 10:06:34 UTC
ppc64 stable. we are not suffering from the problem in comment #1 because 1.2.6 is ~ppc64 only and it's likely it never goes stable.
Comment 5 nixnut (RETIRED) gentoo-dev 2008-05-12 12:17:00 UTC
I get failing RMD160 verifications on:
=dev-ruby/activesupport-2.0.2
=dev-ruby/activeresource-2.0.2
=dev-ruby/actionpack-2.0.2
=dev-ruby/actionmailer-2.0.2
=dev-ruby/activerecord-2.0.2
Comment 6 Hans de Graaff gentoo-dev Security 2008-05-13 05:06:11 UTC
(In reply to comment #5)
> I get failing RMD160 verifications on:
> =dev-ruby/activesupport-2.0.2
> =dev-ruby/activeresource-2.0.2
> =dev-ruby/actionpack-2.0.2
> =dev-ruby/actionmailer-2.0.2
> =dev-ruby/activerecord-2.0.2

The upstream distfiles got changed in place some time ago, so if you already downloaded the archives before March 19th this may happen.
Comment 7 Hans de Graaff gentoo-dev Security 2008-05-13 05:12:32 UTC
(In reply to comment #1)

> BUT after installing rails-2.0.2 I'm unable to create new rails-1.2.6 projects.

I can confirm that I see this as well. The standard bin wrapper just picks the latest version. I guess we need to write our own wrapper just like we did with capistrano. 

Having said that, nobody reported this in the ~5 months that the ebuilds have been in the tree (and longer if you also count rails 1.2.6 and 1.1.6 co-existing). I think the use case for generating new rails 1.2.6 when you already have rails 2.0.2 installed is very unlikely to happen, and consequently I have no problem marking rails 2.0.2 stable (which I did on amd64).

I've created a new bug 221899 to track this bug.
Comment 8 Hans de Graaff gentoo-dev Security 2008-05-13 05:26:18 UTC
It looks like the upstream distfiles got changed again. Tracked in bug 221829.
Comment 9 Ferris McCormick (RETIRED) gentoo-dev 2008-05-13 12:57:21 UTC
Marking sparc stable again, based on Hans's comments #7, #8.  Also, I forced a new download of rails-2.0.2.gem before recomputing the digests for CVS, so for rails, at least, the ebuild should match current download.  (It didn't before --- I checked to make sure.)
Comment 10 Raúl Porcel (RETIRED) gentoo-dev 2008-05-13 13:46:13 UTC
ia64 stable
Comment 11 Hans de Graaff gentoo-dev Security 2008-05-13 18:39:45 UTC
ppc, when you stabilize please make sure to use the new gems, i.e. not change the *.gem digests. See bug 221829 for the details.
Comment 12 nixnut (RETIRED) gentoo-dev 2008-05-16 17:38:04 UTC
ppc stable. closing since we're last
Comment 13 Raúl Porcel (RETIRED) gentoo-dev 2008-05-21 18:59:06 UTC
Closing