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

Bug 329819

Summary: sys-apps/groff-1.20.1-r3 LINGUAS=ja - Cannot find $EPATCH_SOURCE! groff-1.20.1-r3-japanese.patch
Product: Gentoo Linux Reporter: Bobby Bingham <uhmmmm>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: major CC: jer, uhmmmm
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Fix

Description Bobby Bingham 2010-07-25 19:56:20 UTC
groff ebuild was not correctly updated for latest version bump.  There is a Japanese-specific patch.  The download location for the patch was updated with the version bump, but not the line of code to actually apply to patch.

Reproducible: Always

Steps to Reproduce:
1. add "ja" to LINGUAS in /etc/make.conf
2. emerge =groff-1.20.1-r3
3. Fails to build

Actual Results:  
>>> Emerging (2 of 13) sys-apps/groff-1.20.1-r3
 * groff-1.20.1.tar.gz RMD160 SHA1 SHA256 size ;-) ...                   [ ok ]
 * groff-1.20.1-r2-japanese.patch.bz2 RMD160 SHA1 SHA256 size ;-) ...    [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
 * CPV:  sys-apps/groff-1.20.1-r3
 * REPO: gentoo
 * USE:  X amd64 elibc_glibc examples kernel_linux linguas_ja multilib userland_GNU
>>> Unpacking source...
>>> Unpacking groff-1.20.1.tar.gz to /var/tmp/portage/sys-apps/groff-1.20.1-r3/work
>>> Unpacking groff-1.20.1-r2-japanese.patch.bz2 to /var/tmp/portage/sys-apps/groff-1.20.1-r3/work
 * Applying groff-1.19.2-man-unicode-dashes.patch ...                                                                  [ ok ]
 * Applying groff-1.20.1-tmac-ec.patch ...                                                                             [ ok ]
 * Applying groff-1.20.1-Thtml-mem-leak.patch ...                                                                      [ ok ]
 * Applying groff-1.20.1-double-frees-mem-leaks.patch ...                                                              [ ok ]

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 * 
 *   /var/tmp/portage/sys-apps/groff-1.20.1-r3/work/groff-1.20.1-r3-japanese.patch
 *   ( groff-1.20.1-r3-japanese.patch )

 * ERROR: sys-apps/groff-1.20.1-r3 failed:
 *   Cannot find $EPATCH_SOURCE!
 * 
 * Call stack:
 *     ebuild.sh, line   48:  Called src_unpack
 *   environment, line 2943:  Called epatch '/var/tmp/portage/sys-apps/groff-1.20.1-r3/work/groff-1.20.1-r3-japanese.patch'
 *   environment, line 1639:  Called die
 * The specific snippet of code:
 *               die "Cannot find \$EPATCH_SOURCE!";
 * 
 * If you need support, post the output of 'emerge --info =sys-apps/groff-1.20.1-r3',
 * the complete build log and the output of 'emerge -pqv =sys-apps/groff-1.20.1-r3'.
 * The complete build log is located at '/var/tmp/portage/sys-apps/groff-1.20.1-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/groff-1.20.1-r3/temp/environment'.
 * S: '/var/tmp/portage/sys-apps/groff-1.20.1-r3/work/groff-1.20.1'


Expected Results:  
Builds successfully.
Comment 1 Bobby Bingham 2010-07-25 20:01:30 UTC
Created attachment 240129 [details, diff]
Fix
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2010-07-25 21:30:47 UTC
Thanks for reporting. That's fixed.
Comment 3 SpanKY gentoo-dev 2010-07-26 03:07:07 UTC
do not cc people directly.  let the wranglers take care of it.