Forum: Ruby-core [ruby-trunk - Bug #7605][Open] Zlib: deprecation of IO-likes caused build failures

Posted by Luis Lavena (luislavena)
on 2012-12-23 00:28
(Received via mailing list)
Issue #7605 has been reported by luislavena (Luis Lavena).

----------------------------------------
Bug #7605: Zlib: deprecation of IO-likes caused build failures
https://bugs.ruby-lang.org/issues/7605

Author: luislavena (Luis Lavena)
Status: Open
Priority: Normal
Assignee: knu (Akinori MUSHA)
Category: build
Target version: 2.0.0
ruby -v: r38563


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-trun...
http://ci.rubyinstaller.org/view/All/job/ruby-trun...

 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
Posted by Luis Lavena (luislavena)
on 2012-12-23 00:32
(Received via mailing list)
Issue #7605 has been updated by luislavena (Luis Lavena).

Status changed from Open to Assigned
Priority changed from Normal to High


----------------------------------------
Bug #7605: Zlib: deprecation of IO-likes caused build failures
https://bugs.ruby-lang.org/issues/7605#change-35016

Author: luislavena (Luis Lavena)
Status: Assigned
Priority: High
Assignee: knu (Akinori MUSHA)
Category: build
Target version: 2.0.0
ruby -v: r38563


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-trun...
http://ci.rubyinstaller.org/view/All/job/ruby-trun...

 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
Posted by Luis Lavena (luislavena)
on 2012-12-24 14:32
(Received via mailing list)
Issue #7605 has been updated by luislavena (Luis Lavena).

Status changed from Assigned to Closed

Issues solved by Nobu at r38569
----------------------------------------
Bug #7605: Zlib: deprecation of IO-likes caused build failures
https://bugs.ruby-lang.org/issues/7605#change-35046

Author: luislavena (Luis Lavena)
Status: Closed
Priority: High
Assignee: knu (Akinori MUSHA)
Category: build
Target version: 2.0.0
ruby -v: r38563


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-trun...
http://ci.rubyinstaller.org/view/All/job/ruby-trun...

 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
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.