Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 May 2008 11:43:06 -0700
From:      "Tony Perrie" <hoyhoy.freebsd@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Portinstall converters/ruby-iconv failing with rejected patch-rexml-update
Message-ID:  <29e39ca0805181143w777e07e6m15429ab26166a128@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I'm attempting to portinstall ruby-iconv on FreeBSD 6.2-RELEASE #7,
but I'm getting the following error:

===>  Patching for ruby-1.8.6.111_2,1
===>  Applying FreeBSD patches for ruby-1.8.6.111_2,1
1 out of 3 hunks failed--saving rejects to lib/rexml/rexml.rb.rej
=> Patch patch-rexml-update failed to apply cleanly.
=> Patch(es) patch-ext_tk_tkutil_extconf.rb patch-io.c patch-
lib_webrick_httpservlet_filehandler.rb patch-mkmf.rb applied cleanly.
*** Error code 1

Stop in /ports/lang/ruby18.
*** Error code 1

Stop in /ports/lang/ruby18.
*** Error code 1

Stop in /ports/converters/ruby-iconv.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall.
1398.0 env make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! converters/ruby-iconv (patch error)

I looked around for these individual patch files in /var/build and /
tmp, but I didn't see them anywhere.  I did find the rexml.rej
contained the following.

**************
*** 20,29 ****
  # or can be accessed
  # online[http://www.germane-software.com/software/rexml/docs/
tutorial.html]
  module REXML
-   COPYRIGHT = "Copyright (c) 2001-2007 Sean Russell <ser@germane-
software.com>"
-   DATE = "2007/209"
-   VERSION = "3.1.7.1"
-   REVISION = "$Revision: 1.1 $".gsub(/\$Revision: 1.1 $/,'').strip

    Copyright = COPYRIGHT
    Version = VERSION
--- 22,31 ----
  # or can be accessed
  # online[http://www.germane-software.com/software/rexml/docs/
tutorial.html]
  module REXML
+   COPYRIGHT = "Copyright \xC2\xA9 2001-2006 Sean Russell
<s...<http://groups.google.com/groups/unlock?msg=87e23ebbf2cb0806&_done=/group/lucky.freebsd.questions/browse_thread/thread/03064836e407fcff>;
@germane-software.com>"
+   VERSION = "3.1.7.2"
+   DATE = "2007/275"
+   REVISION = "$Revision: 1.1 $".gsub(/\$Revision: 1.1 $/,'').strip

    Copyright = COPYRIGHT
    Version = VERSION

Is there a before filter I can run to either prevent this patch from
running or does another patch exist?

Please advise,

Tony



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?29e39ca0805181143w777e07e6m15429ab26166a128>