Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63542 - samba-3.0.6-r4.ebuild: Wrong env. variable
Summary: samba-3.0.6-r4.ebuild: Wrong env. variable
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo's SAMBA Team
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
: 63573 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-10 05:50 UTC by golloza
Modified: 2004-09-13 10:33 UTC (History)
2 users (show)

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


Attachments
Patch substitutes FILEDIR with FILESDIR (filesdir.patch,529 bytes, patch)
2004-09-10 06:39 UTC, golloza
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description golloza 2004-09-10 05:50:13 UTC
There's a bug in the samba-3.0.6-r4.ebuild:

FILEDIR instead of FILESDIR is used thus emerge searches for the patch in / (instead of /usr/portage/net-fs/samba/files).
This line (src_unpack())

use amd64 && epatch ${FILEDIR}/${P}-libdirsymlink.patch

should be replaced with:

use amd64 && epatch ${FILESDIR}/${P}-libdirsymlink.patch
Comment 1 golloza 2004-09-10 06:39:15 UTC
Created attachment 39315 [details, diff]
Patch substitutes FILEDIR with FILESDIR
Comment 2 Christian Andreetta (RETIRED) gentoo-dev 2004-09-10 07:14:05 UTC
Thanks: changes in cvs
Comment 3 Christian Andreetta (RETIRED) gentoo-dev 2004-09-11 02:01:38 UTC
*** Bug 63573 has been marked as a duplicate of this bug. ***
Comment 4 Jure Repinc 2004-09-13 10:31:01 UTC
I get a similar error with samba 3.0.7 ebuild:

>>> Unpacking samba-3.0.7.tar.gz to /var/tmp/portage/samba-3.0.7/work
 * Applying samba-3.0.x-python-setup.patch...                                                                                                         [ ok ]
 * Applying samba-3.0.x-smbumount-uid32.patch...                                                                                                      [ ok ]
amd64

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 *
 *   /usr/portage/net-fs/samba/files/samba-3.0.7-libdirsymlink.patch


!!! ERROR: net-fs/samba-3.0.7 failed.
!!! Function epatch, Line 255, Exitcode 0
!!! Cannot find $EPATCH_SOURCE!
Comment 5 Jure Repinc 2004-09-13 10:33:29 UTC
It looks like the actual file samba-3.0.7-libdirsymlink.patch is missing. There is only one for previous version.