NetBSD / pkgsrc

Automatic conversion of the NetBSD pkgsrc CVS module, use with care
https://www.pkgsrc.org
310 stars 164 forks source link

HP UX 11.31 Variable OS_VERSION is recursive #126

Open brano543 opened 1 year ago

brano543 commented 1 year ago

Hello guys,

I have tried to use both pkgsrc-2010Q4 and latest stable branch. In latest stable branch I wasn't able to see clear error as it was printing below message and kept creating new shells indefinitely.

bmake: Unknown modifier 'C'
bmake: Unknown modifier '/'
bmake: Unknown modifier 'C'

With pkgsrc-2010Q4 I was able to replicate the issue as below

[cpd04994 - /home/cpd04994/pkgsrc/pkgtools/bootstrap-mk-files]cd /home/cpd04994/pkgsrc/pkgtools/bootstrap-mk-files && /home/cpd04994/pkgsrc/bootstrap/work/bin/bmake -DPKG_PRESERVE MAKECONF=/home/cpd04994/pkgsrc/bootstrap/work/mk.conf install
bmake: Unknown modifier 'C'
bmake: Unknown modifier '/'
bmake: Unknown modifier 'C'
Variable OS_VERSION is recursive.

bmake: stopped in /home/cpd04994/pkgsrc/pkgtools/bootstrap-mk-files
${MAKE_PRINT_VAR_ON_ERROR:@v@$v='${$v}'

System info: HP-UX c1509m00 B.11.31 U ia64 4091922083 unlimited-user license

Is there a way to circumvent this error?

bsiegert commented 1 year ago

I would ask this on the mailing list (pkgsrc-users or tech-pkg). pkgsrc folks don't really read Github issues.