Package: rubygems
Version: 0.9.0-5

This bug applies to Debian 4.0 (etch) on the s390 architecture, it cannot be reproduced on the x86 architecture.

The install function of the 'gem' program from the rubygems package has stopped functioning sometime between November of 2006 and January of 2007 after an 'aptitude update && aptitude upgrade'. The following is a transcript of what happens when trying to install the 'rails' gem.

caitdev:~# gem install rails --include-dependencies --debug
Exception `Errno::ENOENT' at /usr/lib/ruby/1.8/rubygems/config_file.rb:49 - No such file or directory - /root/.gemrc Exception `LoadError' at /usr/lib/ruby/1.8/rubygems/custom_require.rb:27 - no such file to load -- sources Exception `LoadError' at /usr/lib/ruby/1.8/rubygems/custom_require.rb:27 - no such file to load -- Win32API Exception `LoadError' at /usr/lib/ruby/1.8/rubygems/custom_require.rb:35 - no such file to load -- Win32API Exception `Errno::EINVAL' at /usr/lib/ruby/1.8/rubygems/package.rb:449 - Invalid argument - /var/lib/gems/1.8/cache/rake-0.7.1.gem
ERROR:  While executing gem ... (Errno::EINVAL)
   Invalid argument - /var/lib/gems/1.8/cache/rake-0.7.1.gem
removing /tmp/open-uri.4511.0...done

The first four exceptions also occur on an x86 Debian 4.0 (etch) system with no ill effects. The firth exception does not occur on an equivalent x86 system.

Exception `Errno::EINVAL' at /usr/lib/ruby/1.8/rubygems/package.rb:449 - Invalid argument - /var/lib/gems/1.8/cache/rake-0.7.1.gem

Line 449 of the file /usr/lib/ruby/1.8/rubygems/package.rb is:

@io.seek(size - entry.bytes_read, IO::SEEK_CUR)

This bug can be reproduced on a fresh install of Debian 4.0 after installing the following packages:

apache2 openssl ssl-cert mysql-server-5.0 mysql-client-5.0 p7zip-full build-essential ruby rubygems irb rdoc libopenssl-ruby1.8 ruby1.8-dev libdbd-mysql-ruby1.8

Here is the output of 'uname -a':
Linux caitdev 2.6.18-3-s390 #1 SMP Mon Dec 4 16:01:46 UTC 2006 s390 GNU/Linux

Here is the output of 'gem -v':
0.9.0

Here is the output of 'df -h':
Filesystem            Size  Used Avail Use% Mounted on
/dev/dasdb1           6.8G  655M  5.8G  10% /
tmpfs                 126M     0  126M   0% /lib/init/rw
udev                   10M   24K   10M   1% /dev
tmpfs                 126M     0  126M   0% /dev/shm

Here is the output of 'dpkg -l':
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                         Version                      Description
+++-============================-============================-========================================================================
ii adduser 3.101 Add and remove users and groups ii apache2 2.2.3-3.2 Next generation, scalable, extendable web server ii apache2-mpm-worker 2.2.3-3.2 High speed threaded model for Apache HTTPD 2.1 ii apache2-utils 2.2.3-3.2 utility programs for webservers ii apache2.2-common 2.2.3-3.2 Next generation, scalable, extendable web server ii apt 0.6.46.4 Advanced front-end for dpkg ii apt-utils 0.6.46.4 APT utility programs ii aptitude 0.4.4-1 terminal-based apt frontend ii base-files 4 Debian base system miscellaneous files ii base-passwd 3.5.11 Debian base system master password and group files ii bash 3.1dfsg-8 The GNU Bourne Again SHell ii binutils 2.17-3 The GNU assembler, linker and binary utilities ii bsdmainutils 6.1.6 collection of more utilities from FreeBSD ii bsdutils 2.12r-15 Basic utilities from 4.4BSD-Lite ii build-essential 11.3 informational list of build-essential packages ii busybox 1.1.3-3 Tiny utilities for small and embedded systems ii coreutils 5.97-5 The GNU core utilities ii cpio 2.6-17 GNU cpio -- a program to manage archives of files ii cpp 4.1.1-15 The GNU C preprocessor (cpp) ii cpp-4.1 4.1.1-19 The GNU C preprocessor ii cron 3.0pl1-99 management of regular background processing ii cyrus-sasl2-doc 2.1.22.dfsg1-8 Documentation for Cyrus SASL library and utilities ii debconf 1.5.11 Debian configuration management system ii debconf-i18n 1.5.11 full internationalization support for debconf ii debian-archive-keyring 2006.11.22 GnuPG archive keys of the Debian archive ii debianutils 2.17 Miscellaneous utilities specific to Debian
ii  dhcp3-client                 3.0.4-12                     DHCP Client
ii dhcp3-common 3.0.4-12 Common files used by all the dhcp3* packages ii diff 2.8.1-11 File comparison utilities ii dpkg 1.13.25 package maintenance system for Debian ii dpkg-dev 1.13.25 package building tools for Debian ii dselect 1.13.25 user tool to manage Debian packages ii e2fslibs 1.39+1.40-WIP-2006.11.14+dfs ext2 filesystem libraries ii e2fsprogs 1.39+1.40-WIP-2006.11.14+dfs ext2 file system utilities and libraries ii ed 0.2-20 The classic unix line editor ii findutils 4.2.28-1 utilities for finding files--find, xargs, and locate ii g++ 4.1.1-15 The GNU C++ compiler ii g++-4.1 4.1.1-19 The GNU C++ compiler ii gcc 4.1.1-15 The GNU C compiler ii gcc-4.1 4.1.1-19 The GNU C compiler ii gcc-4.1-base 4.1.1-19 The GNU Compiler Collection (base package) ii gettext-base 0.16.1-1 GNU Internationalization utilities for the base system ii gnupg 1.4.6-1 GNU privacy guard - a free PGP replacement ii gpgv 1.4.6-1 GNU privacy guard - signature verification tool ii grep 2.5.1.ds2-6 GNU grep, egrep and fgrep ii groff-base 1.18.1.1-12 GNU troff text-formatting system (base system components) ii gzip 1.3.5-15 The GNU compression utility ii hostname 2.93 utility to set/show the host name or domain name ii ifupdown 0.6.8 high level tools to configure network interfaces ii info 4.8.dfsg.1-4 Standalone GNU Info documentation browser ii initramfs-tools 0.85e tools for generating an initramfs ii initscripts 2.86.ds1-36 Scripts for initializing and shutting down the system ii installation-report 2.23 system installation report ii iptables 1.3.6.0debian1-5 administration tools for packet filtering and NAT ii iputils-ping 20020927-4 Tools to test the reachability of network hosts ii irb 1.8.2-1 Interactive Ruby (irb) ii irb1.8 1.8.5-4 Interactive Ruby (for Ruby 1.8) ii klibc-utils 1.4.30-1 small statically-linked utilities built with klibc ii klogd 1.4.1-18 Kernel Logging Daemon ii laptop-detect 0.12.1 attempt to detect a laptop ii libacl1 2.2.41-1 Access control list shared library ii libapr1 1.2.7-8.2 The Apache Portable Runtime Library ii libaprutil1 1.2.7+dfsg-2 The Apache Portable Runtime Utility Library ii libattr1 2.4.32-1 Extended attribute shared library ii libblkid1 1.39+1.40-WIP-2006.11.14+dfs block device id library ii libbz2-1.0 1.0.3-6 high-quality block-sorting file compressor library - runtime ii libc6 2.3.6.ds1-8 GNU C Library: Shared libraries ii libc6-dev 2.3.6.ds1-8 GNU C Library: Development Libraries and Header Files ii libcap1 1.10-14 support for getting/setting POSIX.1e capabilities ii libcomerr2 1.39+1.40-WIP-2006.11.14+dfs common error description library ii libconsole 0.2.3dbs-65 Shared libraries for Linux console and font manipulation ii libdb4.2 4.2.52+dfsg-1 Berkeley v4.2 Database Libraries [runtime] ii libdb4.3 4.3.29-6 Berkeley v4.3 Database Libraries [runtime] ii libdb4.4 4.4.20-8 Berkeley v4.4 Database Libraries [runtime] ii libdbd-mysql-perl 3.0008-1 A Perl5 database interface to the MySQL database ii libdbd-mysql-ruby1.8 0.1.1-1 Ruby/DBI MySQL driver for Ruby 1.8 ii libdbi-perl 1.53-1 Perl5 database interface by Tim Bunce ii libdbi-ruby1.8 0.1.1-1 Database Independent Interface for Ruby 1.8 ii libdevmapper1.02 1.02.08-1 The Linux Kernel Device Mapper userspace library ii libedit2 2.9.cvs.20050518-2.2 BSD editline and history libraries ii libexpat1 1.95.8-3.3 XML parsing C library - runtime library ii libgcc1 4.1.1-19 GCC support library ii libgcrypt11 1.2.3-2 LGPL Crypto library - runtime library ii libgdbm3 1.8.3-3 GNU dbm database routines (runtime version) ii libgems-ruby1.8 0.9.0-5 libraries to use RubyGems, a package management framework ii libgnutls13 1.4.4-3 the GNU TLS library - runtime library ii libgpg-error0 1.4-1 library for common error values and messages in GnuPG components ii libklibc 1.4.30-1 minimal libc subset for use with initramfs ii libkrb53 1.4.4-5 MIT Kerberos runtime libraries ii libldap-2.3-0 2.3.30-2 OpenLDAP libraries ii libldap2 2.1.30-13.2 OpenLDAP libraries ii liblocale-gettext-perl 1.05-1 Using libc functions for internationalization in Perl ii liblzo1 1.08-3 data compression library (old version) ii liblzo2-2 2.02-2 data compression library ii libmagic1 4.17-5 File type determination library using "magic" numbers ii libmysql-ruby1.8 2.7.1-1 MySQL module for Ruby 1.8 ii libmysqlclient15off 5.0.30-3 mysql database client library ii libncurses5 5.5-5 Shared libraries for terminal handling ii libncursesw5 5.5-5 Shared libraries for terminal handling (wide character support) ii libnet-daemon-perl 0.38-1.1 Perl module for building portable Perl daemons easily. ii libnewt0.52 0.52.2-8 Not Erik's Windowing Toolkit - text mode windowing with slang ii libopencdk8 0.5.9-2 Open Crypto Development Kit (OpenCDK) (runtime) ii libopenssl-ruby1.8 1.8.5-4 OpenSSL interface for Ruby 1.8 ii libpam-modules 0.79-4 Pluggable Authentication Modules for PAM ii libpam-runtime 0.79-4 Runtime support for the PAM library ii libpam0g 0.79-4 Pluggable Authentication Modules library ii libpcre3 6.7-1 Perl 5 Compatible Regular Expression Library - runtime files ii libplrpc-perl 0.2017-1.1 Perl extensions for writing PlRPC servers and clients ii libpopt0 1.10-3 lib for parsing cmdline parameters ii libpq4 8.1.5-2 PostgreSQL C client library ii libreadline-ruby1.8 1.8.5-4 Readline interface for Ruby 1.8 ii libreadline5 5.2-2 GNU readline and history libraries, run-time libraries ii libruby1.8 1.8.5-4 Libraries necessary to run Ruby 1.8 ii libsasl2 2.1.22.dfsg1-8 Authentication abstraction library ii libsasl2-2 2.1.22.dfsg1-8 Authentication abstraction library ii libselinux1 1.32-3 SELinux shared libraries ii libsepol1 1.14-1 Security Enhanced Linux policy library for changing policy binaries ii libsigc++-1.2-5c2 1.2.7-2 type-safe Signal Framework for C++ - runtime ii libsigc++-2.0-0c2a 2.0.17-2 type-safe Signal Framework for C++ - runtime ii libslang2 2.0.6-4 The S-Lang programming library - runtime version ii libsqlite3-0 3.3.8-1 SQLite 3 shared library ii libss2 1.39+1.40-WIP-2006.11.14+dfs command-line interface parsing library ii libssl0.9.8 0.9.8c-4 SSL shared libraries ii libssp0 4.1.1-19 GCC stack smashing protection library ii libstdc++6 4.1.1-19 The GNU Standard C++ Library v3 ii libstdc++6-4.1-dev 4.1.1-19 The GNU Standard C++ Library v3 (development files) ii libsysfs2 2.1.0-1 interface library to sysfs ii libtasn1-3 0.3.6-2 Manage ASN.1 structures (runtime) ii libtasn1-3-bin 0.3.6-2 Manage ASN.1 structures (binaries) ii libtext-charwidth-perl 0.04-4 get display widths of characters on the terminal ii libtext-iconv-perl 1.4-3 converts between character sets in Perl ii libtext-wrapi18n-perl 0.06-5 internationalized substitute of Text::Wrap ii libusb-0.1-4 0.1.12-2 userspace USB programming library ii libuuid1 1.39+1.40-WIP-2006.11.14+dfs universally unique id library ii libvolume-id0 0.103-1 libvolume_id shared library ii libwrap0 7.6.dbs-11 Wietse Venema's TCP wrappers library ii linux-image-2.6-s390 2.6.18+5 Linux kernel 2.6 image on IBM S/390 ii linux-image-2.6.18-3-s390 2.6.18-7 Linux 2.6.18 image on IBM S/390 ii linux-kernel-headers 2.6.18-6 Linux Kernel Headers for development ii login 4.0.18.1-6 system login tools ii logrotate 3.7.1-3 Log rotation utility ii lsb-base 3.1-22 Linux Standard Base 3.1 init script functionality ii make 3.81-2 The GNU version of the "make" utility. ii makedev 2.3.1-83 creates device files in /dev ii man-db 2.4.3-5 The on-line manual pager ii manpages 2.39-1 Manual pages about using a GNU/Linux system ii mawk 1.3.3-11 a pattern scanning and text processing language ii mime-support 3.39-1 MIME files 'mime.types' & 'mailcap', and support programs ii mktemp 1.5-2 Makes unique filenames for temporary files ii module-init-tools 3.3-pre3-1 tools for managing Linux kernel modules ii modutils 2.4.27.0-6 Linux module utilities ii mount 2.12r-15 Tools for mounting and manipulating filesystems ii mysql-client-5.0 5.0.30-3 mysql database client binaries ii mysql-common 5.0.30-3 mysql database common files (e.g. /etc/mysql/my.cnf) ii mysql-server-5.0 5.0.30-3 mysql database server binaries ii nano 2.0.1-1 free Pico clone with some new features ii ncurses-base 5.5-5 Descriptions of common terminal types ii ncurses-bin 5.5-5 Terminal-related programs and man pages ii net-tools 1.60-17 The NET-3 networking toolkit ii netbase 4.27 Basic TCP/IP networking system ii netcat 1.10-32 TCP/IP swiss army knife ii netselect 0.3.ds1-8 Choose the fastest server automatically ii netselect-apt 0.3.ds1-8 Choose the fastest Debian mirror with netselect ii openbsd-inetd 0.20050402-3 The OpenBSD Internet Superserver ii openssh-client 4.3p2-8 Secure shell client, an rlogin/rsh/rcp replacement ii openssh-server 4.3p2-8 Secure shell server, an rshd replacement ii openssl 0.9.8c-4 Secure Socket Layer (SSL) binary and related cryptographic tools ii p7zip-full 4.43~dfsg.1-2 7z and 7za file archivers with high compression ratio ii passwd 4.0.18.1-6 change and administer password and group data ii patch 2.5.9-4 Apply a diff file to an original ii perl 5.8.8-7 Larry Wall's Practical Extraction and Report Language ii perl-base 5.8.8-7 The Pathologically Eclectic Rubbish Lister ii perl-modules 5.8.8-7 Core Perl modules ii procps 3.2.7-3 /proc file system utilities ii psmisc 22.3-1 Utilities that use the proc filesystem ii rdoc 1.8.2-1 Generate documentation from ruby source files ii rdoc1.8 1.8.5-4 Generate documentation from Ruby source files (for Ruby 1.8) ii readline-common 5.2-2 GNU readline and history libraries, common files ii ruby 1.8.2-1 An interpreter of object-oriented scripting language Ruby ii ruby1.8 1.8.5-4 Interpreter of object-oriented scripting language Ruby 1.8 ii ruby1.8-dev 1.8.5-4 Header files for compiling extension modules for the Ruby 1.8 ii rubygems 0.9.0-5 package management framework for Ruby libraries/applications ii s390-tools 1.5.3-1 A set of fundamental utilities for Linux on S/390 ii sed 4.1.5-1 The GNU sed stream editor ii ssl-cert 1.0.13 Simple debconf wrapper for openssl ii sysconfig-hardware 0.0.4 Hardware configuration ii sysklogd 1.4.1-18 System Logging Daemon ii sysv-rc 2.86.ds1-36 System-V-like runlevel change mechanism ii sysvinit 2.86.ds1-36 System-V-like init utilities ii sysvinit-utils 2.86.ds1-36 System-V-like utilities
ii  tar                          1.16-2                       GNU tar
ii tasksel 2.58 Tool for selecting tasks for installation on Debian systems ii tasksel-data 2.58 Official tasks used for installation of Debian systems ii tcpd 7.6.dbs-11 Wietse Venema's TCP wrapper utilities ii traceroute 1.4a12-21 traces the route taken by packets over a TCP/IP network ii tzdata 2006p-1 Time Zone and Daylight Saving Time Data ii udev 0.103-1 /dev/ and hotplug management daemon ii update-inetd 4.27-0.2 inetd.conf updater ii util-linux 2.12r-15 Miscellaneous system utilities ii vim-common 7.0-122+1 Vi IMproved - Common files ii vim-tiny 7.0-122+1 Vi IMproved - enhanced vi editor - compact version ii wget 1.10.2-2 retrieves files from the web ii whiptail 0.52.2-8 Displays user-friendly dialog boxes from shell scripts ii zlib1g 1.2.3-13 compression library - runtime
begin:vcard
fn:Stephen Young
n:Young;Stephen
org:Analytical Mechanics Associates
adr;dom:;;4910 University Square, Suite 2;Huntsville;Alabama;35816
email;internet:[EMAIL PROTECTED]
tel;work:(256) 830-9112
x-mozilla-html:TRUE
version:2.1
end:vcard

Reply via email to