Project

General

Profile

Bug #7605

Zlib: deprecation of IO-likes caused build failures

Added by Luis Lavena about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
ruby -v:
r38563
Backport:
2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
[ruby-core:51079]

Description

Hello,

Deprecation of IO-likes (lines, bytes, chars and codepoints) introduced in r38563 is causing build failures on GCC 4.7.2 on Windows:

http://ci.rubyinstaller.org/view/All/job/ruby-trunk-x64-build/556/console
http://ci.rubyinstaller.org/view/All/job/ruby-trunk-x86-build/675/console

generating zlib-x64-mingw32.def
compiling ../../../ext/zlib/zlib.c
../../../ext/zlib/zlib.c: In function 'rb_gzreader_lines':
../../../ext/zlib/zlib.c:4173:5: warning: implicit declaration of function 'rb_gzreader_each_line' [-Wimplicit-function-declaration]
linking shared-object zlib.so
zlib.o: In function rb_gzreader_lines':
c:\Users\Worker\Jenkins\workspace\ruby-trunk-x64-build\build\ext\zlib/../../../ext/zlib/zlib.c:4173: undefined reference to
rb_gzreader_each_line'
collect2.exe: error: ld returned 1 exit status
make[2]: *** [../../.ext/x64-mingw32/zlib.so] Error 1

History

#1 [ruby-core:51080] Updated by Luis Lavena about 3 years ago

  • Status changed from Open to Assigned
  • Priority changed from Normal to 5

#2 [ruby-core:51115] Updated by Luis Lavena about 3 years ago

  • Status changed from Assigned to Closed

Issues solved by Nobu at r38569

Also available in: Atom PDF