pkgsrc-Bugs archive

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

pkg/59489: chat/icb does not build (amd64 NetBSD HEAD)



>Number:         59489
>Category:       pkg
>Synopsis:       chat/icb does not build (amd64 NetBSD HEAD)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 28 13:15:00 +0000 2025
>Originator:     Robert Elz
>Release:        NetBSD 10.99.14
>Organization:
>Environment:
System: NetBSD jacaranda.noi.kre.to 10.99.14 NetBSD 10.99.14 (JACARANDA:1.1-20250525) #200: Sun May 25 10:04:09 +07 2025 kre%jacaranda.noi.kre.to@localhost:/usr/obj/testing/kernels/amd64/JACARANDA amd64
Architecture: x86_64
Machine: amd64
>Description:
	When building chat/icb (5.0.9) (up to date pkgsrc HEAD as of this PR)
	the building of its internal lreadine.a (in work/icb-5.0.9/readline)
	fails, as its Make (Makefile with a different name...) attempts to
	do
		ar clq $@ $(OBJECTS)

	Whatever that is attempting to achieve doesn't work, or not with
	the ar(1) in NetBSD HEAD.   The 'l' option makes no sense at all
	as used, and while 'q' could, it makes no sense here, as the
	previous line in the recipe did rm -f $@ and the following one
	runs ranlib (if ranlib exists) - ie: the entire .a file is composed
	of just $(OBJECTS), there is no "quick appending" to be done.

>How-To-Repeat:
	On NetBSD HEAD (and perhaps anywhere using GNU ar) do:

		cd ..../pkgsrc/chat/icb
		make package-install

>Fix:
	I won't bother anyone here with my hack to fix this, but
	correcting that one line in icb-5.0.9/readline/Make
	allowed the package to build.

	I will leave it for someone who understands how ar is
	intended to be used (and can perhaps guess at what it
	is trying to do as written) to find a suitable change.



Home | Main Index | Thread Index | Old Index