Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 160997 - QA-Notice: dev-libs/cyrus-sasl-2.1.22 poor programming practices
Summary: QA-Notice: dev-libs/cyrus-sasl-2.1.22 poor programming practices
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-08 21:03 UTC by Torsten Veller (RETIRED)
Modified: 2007-02-03 15:08 UTC (History)
1 user (show)

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 Torsten Veller (RETIRED) gentoo-dev 2007-01-08 21:03:53 UTC
portage output:

QA Notice: Package has poor programming practices which may compile
           fine but exhibit random runtime failures.
digestmd5.c:2100: warning: dereferencing type-punned pointer will break strict-aliasing rules
digestmd5.c:2117: warning: dereferencing type-punned pointer will break strict-aliasing rules
digestmd5.c:2235: warning: dereferencing type-punned pointer will break strict-aliasing rules
digestmd5.c:2238: warning: dereferencing type-punned pointer will break strict-aliasing rules
digestmd5.c:3229: warning: dereferencing type-punned pointer will break strict-aliasing rules
digestmd5.c:3732: warning: dereferencing type-punned pointer will break strict-aliasing rules
digestmd5.c:3735: warning: dereferencing type-punned pointer will break strict-aliasing rules
ntlm.c:1492: warning: dereferencing type-punned pointer will break strict-aliasing rules
ntlm.c:1498: warning: dereferencing type-punned pointer will break strict-aliasing rules
ntlm.c:1988: warning: dereferencing type-punned pointer will break strict-aliasing rules
server.c:152: warning: dereferencing type-punned pointer will break strict-aliasing rules
server.c:1267: warning: dereferencing type-punned pointer will break strict-aliasing rules
server.c:273: warning: dereferencing type-punned pointer will break strict-aliasing rules


QA Notice: Package has poor programming practices which may compile
           fine but exhibit random runtime failures.
auxprop.c:1010: warning: implicit declaration of function 'printf'
pluginviewer.c:440: warning: implicit declaration of function 'getsubopt'
pwcheck_getspnam.c:41: warning: implicit declaration of function 'strcmp'


QA Notice: Package has poor programming practices which may compile
           fine but exhibit random runtime failures.
auxprop.c:1010: warning: incompatible implicit declaration of built-in function 'printf'
auxprop.c:1017: warning: incompatible implicit declaration of built-in function 'printf'
Comment 1 Andrej Kacian (RETIRED) gentoo-dev 2007-01-09 03:22:50 UTC
Nothing we can do here, unless you want to dive into cyrus-sasl code yourself :).

Perhaps point upstream to this bug?
Comment 2 SpanKY gentoo-dev 2007-01-10 18:54:52 UTC
sure there is ...

the type-punned stuff is bad, use append-flags -fno-strict-aliasing until you can get this resolved upstream (which you really really should)

the implicit declarations are easy, just include the proper header files
Comment 3 Alon Bar-Lev (RETIRED) gentoo-dev 2007-02-03 15:08:52 UTC
While fixing java build, fixed QA issues too.