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

Bug 16396

Summary: djbdns/daemontools fails to build on a newer glibc system
Product: Gentoo Linux Reporter: Brian Jackson (RETIRED) <iggy>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED FIXED    
Severity: normal CC: dlove
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 16267    
Bug Blocks:    
Attachments: fix djbdns errno compile problem
fix daemontools errno compile problem

Description Brian Jackson (RETIRED) gentoo-dev 2003-02-26 03:27:58 UTC
I searched forever and just figured it was my system, but then I noticed something on 
the debian glibc group about the glibc error.h. I am not exactly sure that this is the 
right way to fix this, but it does make it compile now. 

Reproducible: Always
Steps to Reproduce:
1. emerge daemontools(or djbdns)(with a newer glibc, 2.3.2pre1 to be exact) 
2. 
3. 
Actual Results:  
failed during src_compile phase 

Expected Results:  
not failed 

I am pretty sure I was running glibc 2.3.1 when I compiled it the first time. 3 different 
boxes that I have 2.3.2pre1 on fail to compile djbdns/daemontools.
Comment 1 Brian Jackson (RETIRED) gentoo-dev 2003-02-26 03:30:23 UTC
Created attachment 8734 [details, diff]
fix djbdns errno compile problem

added "epatch ${DISTDIR}/djbdns-errno.patch" to the ebuild and everything
worked like a charm.
Comment 2 Brian Jackson (RETIRED) gentoo-dev 2003-02-26 03:31:54 UTC
Created attachment 8735 [details, diff]
fix daemontools errno compile problem

for this one I had to add "inherit eutils" at the top, and "epatch
${DISTDIR}/daemontools-errno.patch" to the src_unpack section
Comment 3 SpanKY gentoo-dev 2003-02-26 04:01:17 UTC

*** This bug has been marked as a duplicate of 16267 ***
Comment 4 SpanKY gentoo-dev 2003-02-26 20:57:59 UTC
time to patch 
Comment 7 SpanKY gentoo-dev 2003-02-28 16:13:27 UTC
*** Bug 16573 has been marked as a duplicate of this bug. ***