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

Bug 62526

Summary: qmail-ldap-1.03-r4 fails to build because of -lshadow dependency
Product: Gentoo Linux Reporter: martin mittendorfer <martin>
Component: New packagesAssignee: Qmail Team (OBSOLETE) <qmail-bugs+disabled>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kaiowas
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: lshadow patch
qmail-ldap-1.03-r5.ebuild
qmail-ldap-1.03-r5.ebuild

Description martin mittendorfer 2004-09-01 09:42:39 UTC
qmail-ldap can be built with -lcrypt and -lshadow support.
libshadow is marked as for internal use only and is not in /usr/lib.
the shadowfunctions are defined in libc.

the patch gentoo.patch in qmail-ldap-1.03-r4 sets

SHADOWLIBS=-lcrypt -shadow

which does not build

replace with 
SHADOWLIBS=-lcrypt

/martin
Comment 1 petre rodan (RETIRED) gentoo-dev 2004-09-11 03:02:09 UTC
Created attachment 39381 [details, diff]
lshadow patch

please try the patch and the new qmail-ldap ebuild.
also all head non-posix inconsistencies will go away.

<hint>
mkdir -p /usr/portage_2/mail-mta/qmail-ldap/files/1.03-r5
echo 'PORTDIR_OVERLAY=/usr/portage_2' >> /etc/make.conf
cp -r /usr/portage/mail-mta/qmail-ldap/* /usr/portage_2/mail-mta/qmail-ldap/
cd /usr/portage_2/mail-mta/qmail-ldap
mkdir files/1.03-r5
cp -r files/1.03-r4/* files/1.03-r5/
cp lshadow.patch files/1.03-r5/
cp qmail-ldap-1.03-r5.ebuild ./
ebuild qmail-ldap-1.03-r5.ebuild digest
emerge =qmail-ldap-1.03-r5
</hint>
Comment 2 petre rodan (RETIRED) gentoo-dev 2004-09-11 03:03:11 UTC
Created attachment 39382 [details]
qmail-ldap-1.03-r5.ebuild

EBUILD
Comment 3 Bel Zébute 2004-10-05 14:08:53 UTC
I just love it when someone found the fix for me.

Worked out of the box, as advertised.

(I mean, it now compile).

Many Thanks.
Comment 4 SpanKY gentoo-dev 2004-10-28 17:11:55 UTC
shadow is an internal lib and should not be linked to ... so this fix is sane :)

also, shouldnt the patch be called 'nolibshadow' or something ? ;)
Comment 5 petre rodan (RETIRED) gentoo-dev 2004-10-29 10:14:10 UTC
well, I had no imagination that day :)

you can rename that patch as you wish
Comment 6 Pablo A. Salgado 2005-04-20 09:28:24 UTC
Today april 20th y emerge sync and found that sys-apps/daemontools-0.76-r1 has been moved to sys-process/daemontools-0.76-r1 so I supose that changing:

>=sys-apps/daemontools-0.76-r1

to:

>=sys-process/daemontools-0.76-r1

is enough to keep compiling qmail-ldap-1.03-r5
Comment 7 Alvaro Parres 2005-05-17 19:14:43 UTC
Created attachment 59170 [details]
qmail-ldap-1.03-r5.ebuild

Add the last comment about the change of  >=sys-process/daemontools-0.76-r1
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2005-07-04 03:34:00 UTC
Duping this, too many bugs on the same problem. ;)

*** This bug has been marked as a duplicate of 65456 ***