Bug 200612

Summary: devel/tcllib fails to install due to incomplete pkg-list
Product: Ports & Packages Reporter: Trond Endrestøl <Trond.Endrestol>
Component: Individual Port(s)Assignee: Mikhail Teterin <mi>
Status: Closed FIXED    
Severity: Affects Only Me CC: gahr
Priority: --- Flags: bugzilla: maintainer-feedback? (tcltk)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
A quick'n'dirty patch for pkg-plist none

Description Trond Endrestøl 2015-06-03 11:40:58 UTC
Created attachment 157393 [details]
A quick'n'dirty patch for pkg-plist

During install of devel/tcllib, ports tree at r388427, stable/10 running r282578, the following happened:

===>   Registering installation for tcllib-1.17_1
pkg-static: Unable to access file /usr/ports/workdirs/usr/ports/devel/tcllib/work/stage/usr/local/lib/tcllib/tcllibc/freebsd-amd64/tcllibc.so: No such file or directory
*** Error code 74

It turns out that the directory
/usr/ports/workdirs/usr/ports/devel/tcllib/work/stage/usr/local/lib/tcllib/tcllibc/freebsd-amd64
is now named
/usr/ports/workdirs/usr/ports/devel/tcllib/work/stage/usr/local/lib/tcllib/tcllibc/freebsd-amd64-clang

A quick'n'dirty patch for pkg-plist is attached, but I guess this issue should be addressed differently, e.g. by changing the PLIST_SUB line at line 31 in Makefile.
Comment 1 Pietro Cerutti freebsd_committer freebsd_triage 2015-06-03 13:38:37 UTC
Mikhail is working on this.
Comment 2 commit-hook freebsd_committer freebsd_triage 2015-06-05 07:27:26 UTC
A commit references this bug:

Author: mi
Date: Fri Jun  5 07:26:31 UTC 2015
New revision: 388573
URL: https://svnweb.freebsd.org/changeset/ports/388573

Log:
  Split the compiled pieces out of tcllib into a slave port of its own to avoid
  a circular dependency: compiling C-files of tcllib requires critcl, but critcl
  requires the cmdline (pure-Tcl) component of tcllib.

  PR:		195863, 200612
  Approved by:	gahr (blanket)

Changes:
  head/devel/Makefile
  head/devel/critcl/Makefile
  head/devel/tcllib/Makefile
  head/devel/tcllib/pkg-descr
  head/devel/tcllib/pkg-plist
  head/devel/tcllibc/
  head/devel/tcllibc/Makefile
  head/devel/tcllibc/pkg-descr
  head/devel/tcllibc/pkg-plist
Comment 3 Pietro Cerutti freebsd_committer freebsd_triage 2015-08-14 18:06:52 UTC
Is this safe to close?
Comment 4 Trond Endrestøl 2015-08-14 19:27:26 UTC
(In reply to Pietro Cerutti from comment #3)

All is fine by me.