Subject: pkg/24670: buildlink framework(s) cause(s) weird dependence behaviour
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@zhadum.de>
List: netbsd-bugs
Date: 03/04/2004 18:41:37
>Number: 24670
>Category: pkg
>Synopsis: buildlink framework(s) cause(s) weird dependence behaviour
>Confidential: yes
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Mar 04 17:42:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:
>Release: NetBSD 1.6.2 2004-04-04 package sources
>Organization:
Matthias Scheler http://scheler.de/~matthias/
>Environment:
System: NetBSD colwyn.zhadum.de 1.6.2 NetBSD 1.6.2 (COLWYN) #1: Sun Feb 8 11:34:08 CET 2004 tron@colwyn.zhadum.de:/src/sys/compile/COLWYN i386
Architecture: i386
Machine: i386
>Description:
If the "dialog" package is build in "pkgsrc/misc/dialog" it depends on
the "curses" package:
tron@colwyn:/usr/pkgsrc/misc/dialog>make
===> Checking for vulnerabilities in dialog-0.6znb2
=> Checksum OK for dialog-0.6z.tar.gz.
===> Extracting for dialog-0.6znb2
===> Required package ncurses>=5.3nb1: NOT found
===> Verifying reinstall for ../../devel/ncurses
===> Checking for vulnerabilities in ncurses-5.4
===> Building for ncurses-5.4
[...]
But if build indirectly from "pkgsrc/print/teTeX-bin" it doesn't:
tron@colwyn:/usr/pkgsrc/print/teTeX-bin#makepkg && fixpkg
===> Checking for vulnerabilities in teTeX-bin-2.0.2
=> Checksum OK for teTeX/tetex-src-2.0.2.tar.gz.
===> Extracting for teTeX-bin-2.0.2
===> Required installed package teTeX-share>=2.0.2: teTeX-share-2.0.2 found
===> Required package dialog-0.6z*: NOT found
===> Verifying package for ../../misc/dialog
===> Checking for vulnerabilities in dialog-0.6znb2
=> Checksum OK for dialog-0.6z.tar.gz.
===> Extracting for dialog-0.6znb2
===> Required installed package gmake>=3.78: gmake-3.80nb2 found
===> Patching for dialog-0.6znb2
===> Applying pkgsrc patches for dialog-0.6znb2
Apparently there are dependency problems, maybe because "teTeX-bin"
uses buildlink2 and "dialog" uses buildlink3.
>How-To-Repeat:
cd pkgsrc/misc/dialog
pkg_info dialog
male clean
make deinstall
cd ../../print/teTeX-bin
make
pkg_info dialog
>Fix:
None provided.
>Release-Note:
>Audit-Trail:
>Unformatted: