Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 174393
Alias:
Product:
Component:
Status: NEW
Resolution:
Assigned To: Paul de Vrieze <pauldv@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Natanael Copa <natanael.copa@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
db-4.3.29-TIOCNOTTY.patch db-4.3.29-TIOCNOTTY.patch patch Natanael Copa 2007-04-13 09:00 0000 301 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 174393 depends on: 182956 Show dependency tree
Bug 174393 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.








View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-04-13 08:55 0000
i386-gentoo-linux-uclibc-gcc -c -I. -I../dist/.. -D_GNU_SOURCE -D_REENTRANT
-march=i386 -Os -pipe -fomit-frame-pointer db_server_svc.c  -fPIC -DPIC -o
.libs/db_server_svc.o
db_server_svc.c: In function `__dbsrv_main':
db_server_svc.c:623: error: `TIOCNOTTY' undeclared (first use in this function)
db_server_svc.c:623: error: (Each undeclared identifier is reported only once
db_server_svc.c:623: error: for each function it appears in.)
make: *** [db_server_svc.lo] Error 1

FYI.. I had to workaround #162564 and by copying
/var/tmp/portage/net-fs/nfs-utils-1.0.12/work/nfs-utils-1.0.12/tools/rpcgen/rpcgen
to /usr/bin to get this far.

------- Comment #1 From Natanael Copa 2007-04-13 09:00:48 0000 -------
Created an attachment (id=116135) [details]
db-4.3.29-TIOCNOTTY.patch

just adds an:

#include <sys/ioctl.h>

------- Comment #2 From SpanKY 2007-04-13 09:19:18 0000 -------
not really a uclibc bug i dont think ... if something is doing ioctls, it needs
to include the ioctl header ...

------- Comment #3 From Caleb Tennis 2007-04-26 11:57:04 0000 -------
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.

------- Comment #4 From Natanael Copa 2007-06-22 10:26:00 0000 -------
the file db-4.3.29/build_unix/db_server_svc.c is generated by rpcgen.

What uclibc needs is a working rpcgen :-/

------- Comment #5 From Natanael Copa 2007-06-22 13:45:20 0000 -------
I ported openbsd rpcgen to uclibc:
http://dev.alpinelinux.org/openrpcgen/

With this rpcgen db compiled like a charm. running tests now.

------- Comment #6 From Natanael Copa 2007-06-23 08:32:52 0000 -------
(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.

------- Comment #7 From Robin Johnson 2008-08-16 22:28:44 0000 -------
*** Bug 222429 has been marked as a duplicate of this bug. ***

------- Comment #8 From Robin Johnson 2008-08-16 22:30:31 0000 -------
This needs openrpcgen from bug 182956.

------- Comment #9 From Tobias Leupold 2008-08-27 16:59:25 0000 -------
I can confirm that db-4.5.20_p2 builds against uclibc (only) when
openrpcgen-4.1.2 is installed.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug