Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 259949 - sci-libs/io_lib-1.11.2.1: Request version bump away from buggy version
Summary: sci-libs/io_lib-1.11.2.1: Request version bump away from buggy version
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal with 1 vote (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-22 22:40 UTC by Martin Mokrejš
Modified: 2010-05-28 22:50 UTC (History)
0 users

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


Attachments
io_lib-1.11.6.1.ebuild (io_lib-1.11.6.1.ebuild,696 bytes, text/plain)
2009-02-22 23:24 UTC, Martin Mokrejš
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2009-02-22 22:40:20 UTC
I see at http://sourceforge.net/forum/forum.php?forum_id=844544 a link to http://www.bcgsc.ca/pipermail/ssrformat/2008-July/000531.html explaining serious flaw in io_lib-1.11.2.

I am not certain what the sci-libs/io_lib-1.11.2.1 contains but it appears to me that we need the "io_lib-1.11.3 released - IMPORTANT FIX".

Actually, provide current sci-libs/io_lib-1.11.6.
Comment 1 Martin Mokrejš 2009-02-22 22:48:08 UTC
> I am not certain what the sci-libs/io_lib-1.11.2.1 contains ...

I see, the files on sourceforge have always extra .1 in its version number, probably always the initial release. So it appears we really do have the broken version.
Comment 2 Martin Mokrejš 2009-02-22 23:23:41 UTC
Will provide working ebuild for io_lib-1.11.6.1. The config.h file got renamed by upstream to io_lib_config.h. But luckily, "make install" also installs them, so the former troubles discussed in bug #145562 are obsolete.
Comment 3 Martin Mokrejš 2009-02-22 23:24:09 UTC
Created attachment 182838 [details]
io_lib-1.11.6.1.ebuild
Comment 4 Martin Mokrejš 2009-02-22 23:26:17 UTC
sci-biology/staden should be able to compile against this newer version as the os.h header files refers to the io_lib_config.h file.
Comment 5 Martin Mokrejš 2009-02-23 03:43:43 UTC
On linux kernel above 2.6.27 there was pipe2() introduced in glibc-2.9. Hence there is a nameclash with io_lib. See https://sourceforge.net/tracker/index.php?func=detail&aid=2629155&group_id=100316&atid=627058
for more details and a patch for io_lib. I just dared to rename the function as it seems to be used only by io_lib itself and not by external apps, like the staden package.
Comment 6 Martin Mokrejš 2009-02-23 03:49:06 UTC
CC-ing due http://sources.redhat.com/ml/glibc-bugs/2008-12/msg00108.html ;-)
Comment 7 SpanKY gentoo-dev 2009-02-23 05:09:38 UTC
the issue there is not relevant to what you mention.  pipe2() is now part of the C API so no random 3rd party library can use it.
Comment 8 Martin Mokrejš 2009-03-20 00:34:02 UTC
(In reply to comment #7)
> the issue there is not relevant to what you mention.  pipe2() is now part of
> the C API so no random 3rd party library can use it.
> 

Yes, but io_lib had this function earlier. Anyway, I agree we have to patch io_lib  and upstream as well.
Comment 9 Martin Mokrejš 2009-04-20 11:44:30 UTC
Upstream renamed the function. I did not easily find cvs-browse access to io_lib I do not have the patch but except the new name was probably exactly same:

> Comment By: James Bonfield (jkbonfield)
Date: 2009-04-20 12:37

Message:
Now fixed in CVS. I used pipe_into instead of iolibpipe2 as it's a more
descriptive name, but essentially it's the same obvious fix as your patch.

Thanks.

James
Comment 10 Justin Lecher (RETIRED) gentoo-dev 2010-05-28 22:50:39 UTC
done thanks fr reporting