Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114044 - www-client/mozilla-firefox-1.5 fails to patch embed-typeaheadfind.patch
Summary: www-client/mozilla-firefox-1.5 fails to patch embed-typeaheadfind.patch
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-30 09:12 UTC by trbecker
Modified: 2005-11-30 11:54 UTC (History)
0 users

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


Attachments
embed-typeaheadfind.patch (embed-typeaheadfind.patch,39.82 KB, patch)
2005-11-30 09:13 UTC, trbecker
Details | Diff
embed-typeaheadfind.patch-21797.out (embed-typeaheadfind.patch-21797.out,26.23 KB, text/plain)
2005-11-30 09:14 UTC, trbecker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description trbecker 2005-11-30 09:12:23 UTC
Firefox fails to apply this patch, because it comes with the wrong offset. I
corrected the offset (1st. attachment), then some parts of the patch fail to
apply (2nd. attachment). 

Reproducible: Always
Steps to Reproduce:
1. Add firefox 1.5 and its dependencies to packeges.keywords.
2. Correct the offset of the patch (sed -e "s/\(mozilla\|mozilla.orig\)\//g")
3. emerge it

Actual Results:  
It fails to patch embed-typeaheadfind.patch, and then stops merging.

Expected Results:  
Full merge.

Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r0,
2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 AMD Athlon(TM) XP 2100+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LC_ALL="pt_BR.utf8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acl alsa apm audiofile avi bash-completion berkdb bitmap-fonts bonobo
bzip2 cdr crypt cups curl dvd dvdr dvdread eds emboss encode esd ethereal exif
expat fam foomaticdb fortran gd gdbm gif glut gnome gpm gstreamer gtk gtk2
gtkhtml guile hal idn imagemagick imlib java jpeg junit lcms ldap libg++ libwww
mad mhash mikmod mng mono motif mozilla mp3 mpeg mysql ncurses nls nptl nvidia
ogg oggvorbis opengl oss pam pcre pda pdflib png postgres python quicktime
readline real samba sdl snmp spell sqlite ssl tcpd tetex theora tiff truetype
truetype-fonts type1-fonts udev usb vorbis xml xml2 xmms xv zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 trbecker 2005-11-30 09:13:46 UTC
Created attachment 73847 [details, diff]
embed-typeaheadfind.patch

1st. attachment.
Comment 2 trbecker 2005-11-30 09:14:53 UTC
Created attachment 73848 [details]
embed-typeaheadfind.patch-21797.out

2nd. attachment.
Comment 3 Jory A. Pratt 2005-11-30 09:29:12 UTC
no need to correct the offset doing so will cause failure everytime, closing as
invalid.
Comment 4 Jory A. Pratt 2005-11-30 09:41:41 UTC
>>> Unpacking source...
>>> Unpacking firefox-1.5-source.tar.bz2 to
/var/tmp/portage/mozilla-firefox-1.5/work
 * Applying firefox-1.1-visibility.patch ...                              [ ok ]
 * Applying mozilla-hppa.patch ...                                        [ ok ]
 * Applying mozilla-firefox-1.1a2-ia64.patch ...                          [ ok ]
 * Applying mozilla-jslibmath-alpha.patch ...                             [ ok ]
 * Applying firefox-gentoo-pkgconfig.patch ...                            [ ok ]
 * Applying firefox-nopangoxft.patch ...                                  [ ok ]
 * Applying firefox-1.1-uriloader.patch ...                               [ ok ]
 * Applying embed-typeaheadfind.patch ...                                 [ ok ]
 * Applying mozilla-firefox-1.5-gtk.patch ...                             [ ok ]
 * Applying mozilla-rpath-1.patch ...                                     [ ok ]
 * Applying mozilla-1.7.10-nsplugins-v2.patch ...                         [ ok ]
 * Patching smime to call perl from /usr/bin ...                          [ ok ]
>>> Source unpacked.
Comment 5 trbecker 2005-11-30 11:26:34 UTC
(In reply to comment #4)
>>> Unpacking source...
>>> Unpacking firefox-1.5-source.tar.bz2 to
/var/tmp/portage/mozilla-firefox-1.5/work
 * Applying firefox-1.1-visibility.patch ...                                   
                                       [ ok ] * Applying mozilla-hppa.patch ...
                                                                               
    [ ok ] * Applying mozilla-firefox-1.1a2-ia64.patch ...                     
                                                 [ ok ] * Applying
mozilla-jslibmath-alpha.patch ...                                              
                           [ ok ] * Applying firefox-gentoo-pkgconfig.patch ...
                                                                        [ ok ] *
Applying firefox-nopangoxft.patch ...                                          
                                    [ ok ] * Applying
firefox-1.1-uriloader.patch ...                                                
                           [ ok ] * Applying embed-typeaheadfind.patch ...

 * Failed Patch: embed-typeaheadfind.patch !
 *  ( /usr/portage/distfiles/embed-typeaheadfind.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/mozilla-firefox-1.5/temp/embed-typeaheadfind.patch-22382.out


!!! ERROR: www-client/mozilla-firefox-1.5 failed.
!!! Function epatch, Line 350, Exitcode 0
!!! Failed Patch: embed-typeaheadfind.patch!
!!! If you need support, post the topmost build error, NOT this status message.
Comment 6 trbecker 2005-11-30 11:28:52 UTC
Sorry, please ignore and close.
Comment 7 trbecker 2005-11-30 11:29:13 UTC
Sorry, please ignore and close.
Comment 8 Jory A. Pratt 2005-11-30 11:34:44 UTC
If there is a problem let me know .. I do not have a problem fixing it if you
find a true problem. Either way please report weather you got it straight using
the portage ebuild or if your still having issues as I will re-open if this is
the case.
Comment 9 trbecker 2005-11-30 11:54:58 UTC
(In reply to comment #8)
The patch applied fine. Weird, This morning I made an emerge --sync, and it was
not working (sadly, I lost the log). Then, after you refused the patch, I did
another emerge --sync, and emerge it (it failed, I reopened the bug but realised
this time was my fault, and closed again), corrected my mistake and tnow it is
compiling.