pkgsrc-Bugs archive

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

pkg/54546: lang/perl5 build fails



>Number:         54546
>Category:       pkg
>Synopsis:       lang/perl5 build fails
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 13 15:55:00 +0000 2019
>Originator:     Hauke Fath
>Release:        NetBSD 7.2_STABLE
>Organization:
Technische Universitaet Darmstadt
>Environment:
	
	
System: NetBSD Hochobir 7.2_STABLE NetBSD 7.2_STABLE (DMZ_DOMU) #1: Mon May 27 17:21:38 CEST 2019 hf@Hochstuhl:/var/obj/netbsd-builds/7/amd64/sys/arch/amd64/compile/DMZ_DOMU amd64
Architecture: x86_64
Machine: amd64
>Description:

	On netbsd-7, lang/perl5 fails to build with

[...]
=> Checking for missing run-time search paths in perl-5.30.0
WARNING: Skipping check for SSP in DESTDIR mode.
=> Checking for work-directory references in perl-5.30.0
ERROR: /usr/pkg/lib/perl5/5.30.0/x86_64-netbsd-thread-multi/CORE/config.h:      #define LOC_SED         "/var/obj/pkgsrc/lang/perl5/work/.tools/bin/sed"        /**/
ERROR: /usr/pkg/lib/perl5/5.30.0/x86_64-netbsd-thread-multi/Config_heavy.pl:    full_sed='/var/obj/pkgsrc/lang/perl5/work/.tools/bin/sed'
ERROR: *** The above files still have references to the build directory.
ERROR:     This is possibly an error that should be fixed by unwrapping
ERROR:     the files or adding missing tools to the package makefile!
*** Error code 1

%  make show-all | grep sed
                                SED=/usr/bin/sed \
                                /usr/bin/sed \
                                /usr/bin/sed \
                                s,@TOOLS_SED@,/usr/bin/sed,g \
                                /usr/bin/sed \
                                /usr/bin/sed \
                                /usr/bin/sed \
                                sed \
                                sed \
                                sed \
                                sed \
                                sed:pkgsrc \
                                sed \
  sys   TOOLS_ALIASES.sed=      sed
  sys   TOOLS_ARGS.sed=         # empty
  sys   TOOLS_CMD.sed=          
/var/obj/pkgsrc/lang/perl5/work/.tools/bin/sed
  sys   TOOLS_DEPENDS.sed       # undefined
  sys   TOOLS_IGNORE.sed        # undefined
  sys   TOOLS_PATH.sed=         /usr/bin/sed
  sys   TOOLS_PLATFORM.sed=     /usr/bin/sed
  sys   TOOLS_SCRIPT.sed        # undefined
  sys   TOOLS_SCRIPT_DFLT.sed=  /usr/bin/sed  "$@"
  sys   TOOLS_VALUE_GNU.sed     # undefined
%  make debug | fgrep sed
        SED=/usr/bin/sed
        #define LOC_SED         
"/var/obj/pkgsrc/lang/perl5/work/.tools/bin/sed"        /**/
        #define Timeval struct timeval  /* Structure used by 
gettimeofday() */
%

	This used to work. No idea why the build system started to use
	sed from WRKDIR/.tools/.
 
	
>How-To-Repeat:
	Build perl5 pkg on netbsd-7.

	
>Fix:
	Yes, please - a pkgsrc update doesn't get far without building perl.

	

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index