Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 162447 - [QA] app-arch/rpm-4.4.7-r1 has poor programming practices
Summary: [QA] app-arch/rpm-4.4.7-r1 has poor programming practices
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on: 190132
Blocks:
  Show dependency tree
 
Reported: 2007-01-16 22:09 UTC by Sandro Bonazzola (RETIRED)
Modified: 2007-12-09 05:06 UTC (History)
2 users (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 Sandro Bonazzola (RETIRED) gentoo-dev 2007-01-16 22:09:04 UTC
* QA Notice: Package has poor programming practices which may compile
 *            fine but exhibit random runtime failures.
 * ../db/dist/../hash/hash_page.c:1407: warning: dereferencing type-punned pointer will break strict-aliasing rules

[cut, a lot of these]

 * QA Notice: Package has poor programming practices which may compile
 *            fine but exhibit random runtime failures.
 * db_server_svc.c:528: warning: implicit declaration of function '__dbsrv_timeout'

[cut, a lot of these]

 * QA Notice: Package has poor programming practices which may compile
 *            but will almost certainly crash on 64bit architectures.
 * Function `dbiFreeIndexSet' implicitly converted to pointer at transaction.c:2084



Well, rpm is known to be broken, I'll try to fix as much as I can.
If you want to help, please unmask app-arch/rpm-4.4.7-r2 and test it.
Comment 1 Andreas Herrmann 2007-03-22 12:04:54 UTC
I stumbled over this bugzilla while trying to emerge rpm on x86_64.
(I just needed rpm2cpio)

FYI, I encountered two general problems with the ebuild (or better with the rpm-sources):

- With USE flag "nls" I got compile errors (due to missing include of locale.h in
(I think it was) macro.c)
- I had to emerge emul-linux-x86 libs (I emerged emul-linux-x86-baselibs and ...-xlibs
which are likewise emerged with openoffice-bin) otherwise I got strange linker errors.

Regards
Comment 2 SpanKY gentoo-dev 2007-12-09 05:06:04 UTC
we'll roll with what's in the tree atm