pkgsrc-Bugs archive

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

pkg/51713: pkgtools/pkglint Please consider adding c to USE_LANGUAGES



>Number:         51713
>Category:       pkg
>Synopsis:       pkgtools/pkglint Please consider adding c to USE_LANGUAGES
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 13 02:50:00 +0000 2016
>Originator:     David Shao
>Release:        current pkgsrc
>Organization:
>Environment:
DragonFly  4.7-DEVELOPMENT DragonFly v4.7.0.993.g246493-DEVELOPMENT #1: Mon Dec 12 17:26:59 PST 2016     xxxxxx@:/usr/obj/usr/src/sys/X86_64_GENERIC  x86_64

>Description:
Using
bmake install package clean
on DragonFly 4.7-DEVELOPMENT for pkgtools/pkglint produces an error:

===> Building for pkglint-5.4.13
netbsd.org/pkglint
netbsd.org/pkglint/plist-clash
# netbsd.org/pkglint
/usr/pkg/go/pkg/tool/dragonfly_amd64/link: running gcc failed: exit status 1
PKGSRC-WARNING: Something is trying to run the c compiler,
PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.

Obeying the directive with the patch below allowed installation.
>How-To-Repeat:

>Fix:
diff -Nur pkgtools/pkglint/Makefile pkgtools/pkglint.good/Makefile
--- pkgtools/pkglint/Makefile	2016-12-12 16:58:06.000000000 -0800
+++ pkgtools/pkglint.good/Makefile	2016-12-12 18:42:18.955638000 -0800
@@ -12,7 +12,7 @@
 
 WRKSRC=		${WRKDIR}/netbsd.org/pkglint
 NO_CHECKSUM=	yes
-USE_LANGUAGES=	# none
+USE_LANGUAGES=	c	
 USE_TOOLS+=	pax
 AUTO_MKDIRS=	yes
 GO_SRCPATH=	netbsd.org/pkglint



Home | Main Index | Thread Index | Old Index