Beim Ruby Update

portupgrade -f lang/ruby19

Ist folgender Fehler aufgetreten:

/ChangeLog   /usr/ports/lang/ruby19/work/ruby-1.9.3-p547/LEGAL               /usr/ports/lang/ruby19/work/ruby-1.9.3-p547/README*     /usr/ports/lang/ruby19/work/stage/usr/local/share/doc/ruby19/
====
Some of the standard commands are provided as separate ports for ease
of upgrading:

        devel/ruby-gems:        gem - RubyGems package manager
        devel/rubygem-rake:     rake - Ruby Make

And some of the standard libraries are provided as separate ports
since they require extra dependencies:

        converters/ruby-iconv:  iconv module
        databases/ruby-gdbm:    GDBM module
        x11-toolkits/ruby-tk:   Tcl/Tk modules
        japanese/ruby-tk:       Tcl/Tk modules for Japanized Tcl/Tk

Install them as occasion demands.
====
====> Compressing man pages (compress-man)
--->  Backing up the old version
--->  Uninstalling the old version
--->  Deinstalling 'ruby-1.9.3.429,1'
--->  Preserving /usr/local/lib/libruby19.so.19 as /usr/local/lib/compat/pkg/libruby19.so.19
--->  Installing the new version via the port
===>  Building package for ruby-1.9.3.547,1
Creating package /usr/ports/lang/ruby19/work/pkg/ruby-1.9.3.547,1.tbz
Registering depends: libexecinfo-1.1_3 libffi-3.0.13 readline-6.3.6_1 indexinfo-0.2 libyaml-0.1.4_2.
Creating bzip'd tar ball in '/usr/ports/lang/ruby19/work/pkg/ruby-1.9.3.547,1.tbz'
tar: /usr/local/share/ri/1.9/system/ACL/ACLEntry/cdesc-ACLEntry.ri: Cannot stat: No such file or directory
tar: /usr/local/share/ri/1.9/system/ACL/ACLEntry/dot_pat-i.ri: Cannot stat: No such file or directory
[..]
tar: /usr/local/share/ri/1.9/system/Zlib/GzipWriter: Cannot stat: No such file or directory
tar: /usr/local/share/ri/1.9/system/Zlib/Inflate: Cannot stat: No such file or directory
tar: /usr/local/share/ri/1.9/system/Zlib/MemError: Cannot stat: No such file or directory
tar: /usr/local/share/ri/1.9/system/Zlib/NeedDict: Cannot stat: No such file or directory
tar: /usr/local/share/ri/1.9/system/Zlib/StreamEnd: Cannot stat: No such file or directory
tar: /usr/local/share/ri/1.9/system/Zlib/StreamError: Cannot stat: No such file or directory
tar: /usr/local/share/ri/1.9/system/Zlib/VersionError: Cannot stat: No such file or directory
tar: /usr/local/share/ri/1.9/system/Zlib/ZStream: Cannot stat: No such file or directory
tar: /usr/local/share/ri/1.9/system/Zlib: Cannot stat: No such file or directory
tar: /usr/local/share/ri/1.9/system/fatal: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.
pkg_create: make_dist: tar command failed with code 256
*** [do-package] Error code 1

Stop in /usr/ports/lang/ruby19.
*** [install] Error code 1

Stop in /usr/ports/lang/ruby19.
*** [reinstall] Error code 1

Stop in /usr/ports/lang/ruby19.
--->  Restoring the old version

====
Some of the standard commands are provided as separate ports for ease
of upgrading:

        devel/ruby-gems:        gem - RubyGems package manager
        devel/rubygem-rake:     rake - Ruby Make

And some of the standard libraries are provided as separate ports
since they require extra dependencies:

        converters/ruby-iconv:  iconv module
        databases/ruby-gdbm:    GDBM module
        x11-toolkits/ruby-tk:   Tcl/Tk modules
        japanese/ruby-tk:       Tcl/Tk modules for Japanized Tcl/Tk
        lang/ruby-mode.el:      Emacs lisp modules

Install them as occasion demands.
====

--->  Skipping 'lang/ruby19' (ruby-1.8.7.371,1) because it has already failed
        ! lang/ruby19 (ruby-1.9.3.429,1)        (install error)
        * lang/ruby19 (ruby-1.8.7.371,1)


Nach langem Suchen / Reinstallieren von bzip, Tests etc, hab ich endlich die Lösung gefunden:

Der Port ist ganz einfach Fehlerhaft 😉 Den Patch gibts hier:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=189646

[ Download ]

Einfach Patch file in Verzeichnis /usr/ports/lang/ruby19 kopieren, dann ein

patch < patch.file

Und

portupgrade -f lang/ruby19

wieder ausführen. Nun sollte es problemlos durchlaufen 🙂