Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#5180 - xulrunner problem in PKGBUILD.

Attached to Project: Arch Linux
Opened by Benoit C (benoitc) - Monday, 07 August 2006, 09:53 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture not specified
Severity High
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

xulrunner cannot be build. There is a problem with the patch moz325644.patch :

100%[=========================================================>] 33,846,136 303.85K/s ETA 00:00

09:40:29 (289.82 KB/s) - `xulrunner-1.8.0.4-source.tar.bz2' saved [33846136]

==> Found mozconfig in build dir
==> Found firefox-1.1-uriloader.patch in build dir
==> Found firefox-1.5-with-system-nss.patch in build dir
==> Found moz252436.patch in build dir
==> Found moz310924.patch in build dir
==> Found moz325644.patch in build dir
==> Found pango-cairo.patch in build dir
==> Found system-prefs.patch in build dir
==> Found nsIPermission.patch in build dir
==> Found nsISidebar.patch in build dir
==> Found system-proxies.patch in build dir
==> Validating source files with MD5sums
xulrunner-1.8.0.4-source.tar.bz2 ... Passed
mozconfig ... Passed
firefox-1.1-uriloader.patch ... Passed
firefox-1.5-with-system-nss.patch ... Passed
moz252436.patch ... Passed
moz310924.patch ... Passed
moz325644.patch ... Passed
pango-cairo.patch ... Passed
system-prefs.patch ... Passed
nsIPermission.patch ... Passed
nsISidebar.patch ... Passed
system-proxies.patch ... Passed
==> Extracting Sources...
==> tar --use-compress-program=bzip2 -xf xulrunner-1.8.0.4-source.tar.bz2
==> Starting build()...
patching file uriloader/exthandler/Makefile.in
patching file uriloader/exthandler/unix/nsGNOMERegistry.cpp
patching file uriloader/exthandler/unix/nsGNOMERegistry.h
patching file uriloader/exthandler/unix/nsMIMEInfoUnix.cpp
patching file uriloader/exthandler/unix/nsMIMEInfoUnix.h
patching file uriloader/exthandler/unix/nsOSHelperAppService.cpp
patching file security/manager/ssl/src/nsNSSCallbacks.cpp
patching file widget/src/gtk2/nsWindow.cpp
Hunk #1 succeeded at 3541 (offset 1 line).
patching file dom/src/base/nsGlobalWindow.cpp
Hunk #1 FAILED at 3506.
1 out of 1 hunk FAILED -- saving rejects to file dom/src/base/nsGlobalWindow.cpp.rej
==> ERROR: Build Failed. Aborting...
This task depends upon

Closed by  Jan de Groot (JGC)
Wednesday, 09 August 2006, 20:29 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed all patches to apply clean now. Only one patch that applies with 1 line fuzzyness: another patch applies something to the same file.
Comment by Jan de Groot (JGC) - Monday, 07 August 2006, 11:13 GMT
Do you have some changed patch program or so? the output from your bugreport is completely different compared to mine:
patching file uriloader/exthandler/Makefile.in
patching file uriloader/exthandler/unix/nsGNOMERegistry.cpp
patching file uriloader/exthandler/unix/nsGNOMERegistry.h
patching file uriloader/exthandler/unix/nsMIMEInfoUnix.cpp
patching file uriloader/exthandler/unix/nsMIMEInfoUnix.h
patching file uriloader/exthandler/unix/nsOSHelperAppService.cpp
patching file security/manager/ssl/src/nsNSSCallbacks.cpp
patching file widget/src/gtk2/nsWindow.cpp
Hunk #1 succeeded at 3541 (offset 1 line).
(Stripping trailing CRs from patch.)
patching file dom/src/base/nsGlobalWindow.cpp
Hunk #1 succeeded at 3559 (offset 53 lines).
Comment by Benoit C (benoitc) - Monday, 07 August 2006, 11:35 GMT
didn't change anything i use source from cvs.
Comment by Jan de Groot (JGC) - Monday, 07 August 2006, 11:45 GMT
As your output is completely different from mine, I guess you have an outdated or changed "patch" binary. I can't reproduce your bug with sources from abs or from what's in our CVS.
Comment by Benoit C (benoitc) - Tuesday, 08 August 2006, 09:18 GMT
I create twice a fresh extra tree following indication on archlinux.org site (http://archlinux.org/cvs/) this mornig and I have the same problem ...

source used :
extra/lib/xulrunner


# $Id: PKGBUILD,v 1.8 2006/07/07 18:56:46 andyrtr Exp $
# Maintainer: Jan de Groot <jgc@archlinux.org>



Comment by Benoit C (benoitc) - Tuesday, 08 August 2006, 20:04 GMT
any id ?

Benoit
Comment by Jens Adam (byte) - Wednesday, 09 August 2006, 00:44 GMT
I can confirm that it works.
$ cp -Ra /var/abs/extra/lib/xulrunner ~/test
$ cd ~/test/xulrunner ; makepkg
... fetches, checks, unpacks, patches, compiles, but with 366mhz I stopped after configure ;)
Comment by Jan de Groot (JGC) - Wednesday, 09 August 2006, 06:12 GMT
As I said before, it looks like you're using a different patch tool, but all you do is telling us that you're having the latest CVS of xulrunner...
Comment by Benoit C (benoitc) - Wednesday, 09 August 2006, 07:22 GMT
mmm Yes just checked sorry I use path 2.5.9 . Weird it doesn't work. Anyway I will test with 2.5.4 later today to confirm

Loading...