Summary: | sys-libs/db-4.3.29-r2+ubclic compile-fail - undeclared 'TIOCNOTTY' in generated file | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Natanael Copa <natanael.copa> |
Component: | New packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | caleb, embedded, napalmllama, pauldv, sergey.dryabzhinsky, tl, vapier |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 182956 | ||
Bug Blocks: | |||
Attachments: | db-4.3.29-TIOCNOTTY.patch |
Description
Natanael Copa
2007-04-13 08:55:54 UTC
Created attachment 116135 [details, diff]
db-4.3.29-TIOCNOTTY.patch
just adds an:
#include <sys/ioctl.h>
not really a uclibc bug i dont think ... if something is doing ioctls, it needs to include the ioctl header ... I think we may need a different patch for db. That file isn't there at unpack time when we do patching. Need to patch some other location in order to generate that output in the file, me thinks. the file db-4.3.29/build_unix/db_server_svc.c is generated by rpcgen. What uclibc needs is a working rpcgen :-/ I ported openbsd rpcgen to uclibc: http://dev.alpinelinux.org/openrpcgen/ With this rpcgen db compiled like a charm. running tests now. (In reply to comment #5) > > With this rpcgen db compiled like a charm. running tests now. > test failed but it is not rpc related. (i see in other bugs that it fails everywhere) I ran the rpc test's manually and it passed. I suggest to add openrpcgen as dependency when uclibc is used. see #182956 for ebuild. *** Bug 222429 has been marked as a duplicate of this bug. *** This needs openrpcgen from bug 182956. I can confirm that db-4.5.20_p2 builds against uclibc (only) when openrpcgen-4.1.2 is installed. |