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
Created attachment 73847 [details, diff] embed-typeaheadfind.patch 1st. attachment.
Created attachment 73848 [details] embed-typeaheadfind.patch-21797.out 2nd. attachment.
no need to correct the offset doing so will cause failure everytime, closing as invalid.
>>> 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.
(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.
Sorry, please ignore and close.
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.
(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.