Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 180127 - emerge net-p2p/dclib-0.3.9 exits with errors
Summary: emerge net-p2p/dclib-0.3.9 exits with errors
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-28 17:00 UTC by Emil Grama
Modified: 2008-01-16 15:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log showing errors (build.log,122.80 KB, text/plain)
2007-05-28 17:20 UTC, Emil Grama
Details
output of emerge --info (eminfo.txt,3.24 KB, text/plain)
2007-05-28 17:22 UTC, Emil Grama
Details
adds stdint.h include to compat.h (dclib-0.3.9-fix-int-typedefs.patch,378 bytes, patch)
2007-06-16 21:36 UTC, Edward Sheldrake
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.