Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 179859 - dev-lang/ruby ebuild failed to detect ( during configure ) fseeko / ftello
Summary: dev-lang/ruby ebuild failed to detect ( during configure ) fseeko / ftello
Status: RESOLVED DUPLICATE of bug 161566
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-26 11:04 UTC by Anthony Ramahay
Modified: 2007-05-26 11:32 UTC (History)
0 users

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 Anthony Ramahay 2007-05-26 11:04:44 UTC
during the configure phase of dev-lang, the fseeko, ftello and _LARGE_FILESOURCE value needed for large file 
checks are not coherent, leading to bugs in IO#seek method with whence SEEK_CUR, and leading to infinite loop on installation of rubygems!
( actually, my desire was to install rubygems )
I presume that it's probably not due to the ebuild but on other dependencies...

Reproducible: Always

Steps to Reproduce:
1. emerge =ruby-1.8.5_p2 ( or 1.8.6_r1 )
Actual Results:  
configure logs:
checking for working memcmp... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for ftello... yes
checking for dup2... yes
...

Expected Results:  
configure logs done with ruby distfile:
- manually on a sandbox
- no patch applied

...
checking for working memcmp... yes
checking for _LARGEFILE_SOURCE value needed for large files... 1
checking for fseeko... yes
checking for ftello... yes
checking for dup2... yes
...

equery g ruby gives:


dev-lang/ruby-1.8.5_p2:
`-- dev-lang/ruby-1.8.5_p2
 `-- sys-libs/gdbm-1.8.3-r2
  `-- sys-libs/db-4.2.52_p2-r1 [ berkdb ]
   `-- sys-devel/patch-2.5.9 [ !bootstrap ]
   `-- sys-devel/gnuconfig-20051223
 `-- sys-libs/readline-5.0-r2
  `-- sys-libs/ncurses-5.4-r6
   `-- sys-libs/gpm-1.20.1-r4 [ gpm ]
  `-- app-shells/bash-3.0-r12
 `-- dev-ruby/ruby-config-0.3.1
 `-- sys-devel/automake-1.10
  `-- dev-lang/perl-5.8.7-r3
   `-- sys-devel/libperl-5.8.7
    `-- sys-apps/groff-1.19.1-r2 [ !elibc_uclibc ]
     `-- sys-apps/texinfo-4.8-r2
      `-- sys-devel/gettext-0.16.1 [ !build nls ]
       `-- virtual/libiconv-0 (virtual/libiconv)
       `-- dev-libs/expat-1.95.8
     `-- sys-apps/man-1.6-r1
   `-- app-admin/perl-cleaner-1.01
  `-- sys-devel/automake-wrapper-3-r1
  `-- sys-devel/autoconf-2.61
   `-- sys-devel/m4-1.4.9
   `-- sys-devel/autoconf-wrapper-4-r3
  `-- sys-apps/help2man-1.33.1
   `-- dev-perl/Locale-gettext-1.05 [ nls ]
    `-- perl-core/Test-Simple-0.62
 `-- sys-devel/libtool-1.5.22
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-05-26 11:32:34 UTC

*** This bug has been marked as a duplicate of bug 161566 ***