Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 180127

Summary: emerge net-p2p/dclib-0.3.9 exits with errors
Product: Gentoo Linux Reporter: Emil Grama <egrama>
Component: Current packagesAssignee: Gentoo net-p2p team <net-p2p>
Status: RESOLVED FIXED    
Severity: major CC: ejs1920
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log showing errors
output of emerge --info
adds stdint.h include to compat.h

Description Emil Grama 2007-05-28 17:00:12 UTC
I have dclib 0.3.8 installed - no problems there. Today (may 28) I did as root an emerge --sync and then an emerge dclib. The buid failed. I do not remember doing any major updates between compilation of 0.3.8 and today. I put the complete build log at http://fep.hpc.pub.ro/~egrama/build.log

Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-05-28 17:15:49 UTC
Attach the log here, please. Also post emerge --info output.
Comment 2 Emil Grama 2007-05-28 17:20:33 UTC
Created attachment 120530 [details]
build log showing errors
Comment 3 Emil Grama 2007-05-28 17:22:58 UTC
Created attachment 120532 [details]
output of emerge --info
Comment 4 Emil Grama 2007-05-28 17:34:48 UTC
Attached needed info.
Comment 5 Edward Sheldrake 2007-06-16 21:35:26 UTC
Dclib 0.3.9 uses a different hash implementation than 0.3.8, it takes some files from DC++. Something appears to have gone wrong with the int types definitions for you. I previously thought they were all in sys/types.h, but now it appears that u_int8_t format is in sys/types.h, and uint8_t is in stdint.h. (I don't know why the DC++ code uses both formats).

So I've added the include of stdint.h to compat.h, patch attached. Does this fix the problem?
Comment 6 Edward Sheldrake 2007-06-16 21:36:49 UTC
Created attachment 122271 [details, diff]
adds stdint.h include to compat.h
Comment 7 Emil Grama 2007-06-17 00:05:40 UTC
Yup! Works like a charm.
Thanks a lot for your help.
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2007-06-17 06:16:27 UTC
Reopen. Fix is not in Portage yet.
Comment 9 Raúl Porcel (RETIRED) gentoo-dev 2007-07-23 15:08:27 UTC
I think you should upgrade your system...
Comment 10 Raúl Porcel (RETIRED) gentoo-dev 2008-01-16 15:54:51 UTC
Fixed since 0.3.10, closing.