Project

General

Profile

Bug #1460

oi-build zsh refuses to publish due to #1310 pkglint as can't resolve /etc/profile

Added by Alasdair Lumsden over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Category:
OI-Userland
Target version:
-
Start date:
2011-09-04
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage

Description

Hi,

zsh refuses to publish because pkglint can't resolve the /etc/zprofile -> profile symlink. The root cause is #1310, but until thats fixed we need to workaround it by setting pkg.linted=true

/bin/rm -f /export/home/alasdair/oi-build/components/zsh/build/prototype/i386//etc/zprofile; /bin/ln -s profile /export/home/alasdair/oi-build/components/zsh/build/prototype/i386//etc/zprofile
VALIDATING MANIFEST CONTENT: /export/home/alasdair/oi-build/components/zsh/build/manifest-i386-zsh.depend.res
/usr/bin/env PYTHONPATH=/projects/build_trees/oi-build/tools/python PROTO_PATH="/export/home/alasdair/oi-build/components/zsh/build/prototype/i386/mangled /export/home/alasdair/oi-build/components/zsh/build/prototype/i386 /export/home/alasdair/oi-build/components/zsh/build /export/home/alasdair/oi-build/components/zsh zsh-4.3.12"\
/usr/bin/pkglint \
-f /projects/build_trees/oi-build/tools/pkglintrc /export/home/alasdair/oi-build/components/zsh/build/manifest-i386-zsh.depend.res
Lint engine setup...
Starting lint run...
ERROR userland.action002.0 link etc/zprofile has unresolvable target 'profile'
WARNING pkglint.action005.1 obsolete dependency check skipped: unable to find dependency pkg: for pkg:,5.11-1.1
WARNING pkglint.action005.1 obsolete dependency check skipped: unable to find dependency pkg: for pkg:,5.11-1.1
WARNING pkglint.action005.1 obsolete dependency check skipped: unable to find dependency pkg: for pkg:,5.11-1.1
gmake: *** [/export/home/alasdair/oi-build/components/zsh/build/.linted-i386] Error 1

The fix is pretty trivial:

diff --git a/components/zsh/zsh.p5m b/components/zsh/zsh.p5m
--- a/components/zsh/zsh.p5m
+++ b/components/zsh/zsh.p5m
@ -1374,5 +1374,5 @
file path=usr/share/zsh/$(COMPONENT_VERSION)/functions/Zle/zed-set-file-name
file path=usr/share/zsh/$(COMPONENT_VERSION)/scripts/newuser
hardlink path=usr/bin/zsh target=zsh-$(COMPONENT_VERSION)
-link path=etc/zprofile target=profile
+link path=etc/zprofile target=profile pkg.linted=true
license license license="Zsh License"

History

#1

Updated by Alasdair Lumsden over 8 years ago

  • Status changed from New to Resolved
  • % Done changed from 50 to 100

Also available in: Atom PDF