Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7432 - tetex ebuild patch does not apply correctly.
Summary: tetex ebuild patch does not apply correctly.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Matthew Turk (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-03 16:53 UTC by Dan Noe
Modified: 2003-02-04 19:42 UTC (History)
0 users

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


Attachments
patch (teTeX-1.0-gentoo.diff,1.15 KB, patch)
2002-09-04 10:53 UTC, Dan Noe
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Noe 2002-09-03 16:53:34 UTC
When I try to emerge tetex, i get an error from patch:

(snip)
>>> Unpacking source...
>>> Unpacking teTeX-src-1.0.7.tar.gz
>>> Unpacking teTeX-texmf-gg-1.0.3.tar.bz2
>>> Unpacking ec-ready-mf-tfm.tar.gz
>>> Unpacking teTeX-french.tar.gz
patch: **** Overdue `---' at line 11; check line numbers at line 5

!!! ERROR: The ebuild did not complete successfully.
(snip)

I am using 1.4beta, with GCC 3.2 and an up to date as of just now portage tree.
Comment 1 Matthew Turk (RETIRED) gentoo-dev 2002-09-04 01:46:43 UTC
Ok, I need a couple more pieces of info: 
 
which diffutils are you using.  Also, what are your compilation flags?  And 
could you post a copy of the patch in question, just so I can make sure it's 
being rsync'ed across mirrors properly?  And just to make sure - you are using 
-r10, yes? 
Comment 2 Dan Noe 2002-09-04 10:53:21 UTC
Created attachment 3646 [details, diff]
patch

Tried both -r10 and -r11, neither works. diffutils version is diffutils-2.7.7,
the most recent available.

compile flags:
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -mmmx -msse -m3dnow -fomit-frame-pointer -pipe"
CXXFLAGS="-march=athlon-xp -O2 -mmmx -msse -m3dnow -fomit-frame-pointer -pipe"

There are two patches in files/

-rw-r--r--    1 root	 root	     50852 2001-02-22  teTeX-1.0.dif
-rw-r--r--    1 root	 root	      1176 2001-10-24  teTeX-1.0-gentoo.diff

I have attached the teTex-1.0-gentoo.diff.
Comment 3 Matthew Turk (RETIRED) gentoo-dev 2002-09-05 20:10:43 UTC
I suggest you unmask the new teTeX and update to 20020901.  I'm not sure why 
this would happen, as your patch/diffutils are identical to mine...  This 
patch isn't needed in the new system anyway.