Bug 65241

Summary: devel/gettext - NOPORTDOCS option, errors during "make deinstall" & "make package"
Product: Ports & Packages Reporter: freebsd
Component: Individual Port(s)Assignee: Trevor Johnson <trevor>
Status: Closed FIXED    
Severity: Affects Only Me CC: ports
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description freebsd 2004-04-06 05:00:37 UTC
When lang/gettext, 0.13.1_1, is installed w/ NOPORTDOCS option, "make
package" fails...

  ===>   Registering installation for gettext-0.13.1_1
  ===>  Building package for gettext-0.13.1_1
  Creating package /usr3/ports/devel/gettext/gettext-0.13.1_1.tgz
  Registering depends: expat-1.95.7 libiconv-1.9.1_3.
  Creating gzip'd tar ball in '/usr3/ports/devel/gettext/gettext-0.13.1_1.tgz'
  tar: share/doc/gettext/dcgettext.3.html: Cannot stat: No such file or directory
  tar: share/doc/gettext/dcngettext.3.html: Cannot stat: No such file or directory
  tar: share/doc/gettext/dgettext.3.html: Cannot stat: No such file or directory
  tar: share/doc/gettext/dngettext.3.html: Cannot stat: No such file or directory
  tar: Error exit delayed from previous errors
  pkg_create: make_dist: tar command failed with code 512
  *** Error code 1

  Stop in /usr3/ports/devel/gettext.


...and "make deinstall" produces..

  ===>  Deinstalling for devel/gettext
  ===>   Deinstalling gettext-0.13.1_1
  pkg_delete: file '/usr2/local/share/doc/gettext/dcgettext.3.html' doesn't really exist
  pkg_delete: file '/usr2/local/share/doc/gettext/dcngettext.3.html' doesn't really exist
  pkg_delete: file '/usr2/local/share/doc/gettext/dgettext.3.html' doesn't really exist
  pkg_delete: file '/usr2/local/share/doc/gettext/dngettext.3.html' doesn't really exist
  pkg_delete: unable to completely remove directory '/usr2/local/share/locale/zh_TW/LC_MESSAGES'
  pkg_delete: unable to completely remove directory '/usr2/local/share/locale/zh_TW'
  pkg_delete: unable to completely remove directory '/usr2/local/share/locale/sr/LC_MESSAGES'
  pkg_delete: unable to completely remove directory '/usr2/local/share/locale/sr'
  pkg_delete: unable to completely remove directory '/usr2/local/share/locale/sk/LC_MESSAGES'
  pkg_delete: unable to completely remove directory '/usr2/local/share/locale/sk'
  pkg_delete: unable to completely remove directory '/usr2/local/share/locale/ja/LC_MESSAGES'
  pkg_delete: unable to completely remove directory '/usr2/local/share/locale/ja'
  pkg_delete: unable to completely remove directory '/usr2/local/share/locale/id/LC_MESSAGES'
  pkg_delete: unable to completely remove directory '/usr2/local/share/locale/id'
  pkg_delete: unable to completely remove directory '/usr2/local/share/locale/fi/LC_MESSAGES'
  pkg_delete: unable to completely remove directory '/usr2/local/share/locale/fi'
  pkg_delete: couldn't entirely delete package (perhaps the packing list is
  incorrectly specified?)

How-To-Repeat: 
Update ports as of the time listed above, and...

    cd devel/gettext \
    && { make package -DNOPORTDOCS; make deinstall; }
Comment 1 Trevor Johnson freebsd_committer freebsd_triage 2004-04-06 16:29:59 UTC
Responsible Changed
From-To: freebsd-ports-bugs->trevor

I'm working on this.
Comment 2 Trevor Johnson freebsd_committer freebsd_triage 2004-04-06 16:40:03 UTC
State Changed
From-To: open->closed

fixed--thank you