pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: tradcpp requires CTRACE/DTF?



On Wed, 17 Feb 2016, Paul Goyette wrote:

I just installed a new NetBSD 7.99.26 kernel and userland, which was build _without_ DTRACE and CTF.

Then I discovered that building the devel/tradcpp package tries to use ctfconvert utility!

Is this package supposed to require CTF? Is there some better way to check and report, other than having to interpret error messages like

	--- files.o ---
	ctfconvert -g -L VERSION files.o
	ctfconvert: not found
	*** [files.o] Error code 127

??

For now, I guess I'll have to reenable DTRACE and CTF in my userland build so I can install my various required packages...

This would seem to have nothing to do with tradcpp - that just happens to be the first of my packages to encounter this problem ...

It seems that CTFCONVERT is being defined somewhere, and is being used in /usr/share/mk/bsd.prog.mk but I cannot for the life of me figure out how CTFCONVERT is getting defined. The only assignment I can find is at the end of bsd.own.mk

	# Override with tools versions if needed
	.if ${MKCTF:Uno} != "no" && !defined(NOCTF)
	CTFCONVERT=     ${TOOL_CTFCONVERT}
	CTFMERGE=       ${TOOL_CTFMERGE}
	.endif

I've defined MKCTF=no in my /etc/mk.conf file as follows

	MKDTRACE=no
	MKCTF=no

so CTFCONVERT should not be defined.


I feel that I'm missing something that should be glaringly obvious, but I just don't see it.


+------------------+--------------------------+------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:      |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org |
+------------------+--------------------------+------------------------+


Home | Main Index | Thread Index | Old Index