Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 225435 - dev-libs/openct-0.6.14-r1: won't compile against glibc-2.8
Summary: dev-libs/openct-0.6.14-r1: won't compile against glibc-2.8
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial
Assignee: Crypto team [DISABLED]
URL: http://www.opensc-project.org/openct/...
Whiteboard:
Keywords:
: 259571 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-06-08 19:43 UTC by Mario Fetka (geos_one)
Modified: 2009-03-22 19:13 UTC (History)
1 user (show)

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


Attachments
dev-libs/openct-0.6.14-r2.ebuild (openct-0.6.14-r2.ebuild,1.54 KB, text/plain)
2008-06-08 19:44 UTC, Mario Fetka (geos_one)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mario Fetka (geos_one) 2008-06-08 19:43:35 UTC
openct uses some special -D_GNU_SOURCE functions that are not activated in glibc-2.8 so lets activate the -D_GNU_SOURCE flag.

Reproducible: Always

Actual Results:  
socket.c: In function 'ct_socket_getcreds':
socket.c:298: error: storage size of 'creds' isn't known
socket.c:298: warning: unused variable 'creds'


Expected Results:  
compile

solve it with -D_GNU_SOURCE
Comment 1 Mario Fetka (geos_one) 2008-06-08 19:44:55 UTC
Created attachment 155997 [details]
dev-libs/openct-0.6.14-r2.ebuild

the patched ebuild with append-flags -D_GNU_SOURCE
Comment 2 SpanKY gentoo-dev 2008-06-08 20:30:09 UTC
filed upstream and fixed in our cvs, thanks for the report

http://sources.gentoo.org/dev-libs/openct/openct-0.6.14-r1.ebuild?r1=1.1&r2=1.2
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-03-22 19:13:04 UTC
*** Bug 259571 has been marked as a duplicate of this bug. ***