[Bug 267814] security/heimdal: 7.8.0 fails to build in Poudriere, missing Python dep, other issues

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 16 Nov 2022 16:21:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267814

            Bug ID: 267814
           Summary: security/heimdal: 7.8.0 fails to build in Poudriere,
                    missing Python dep, other issues
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: hrs@FreeBSD.org
          Reporter: ahktenzero+freebsd@mohorovi.cc
          Assignee: hrs@FreeBSD.org
             Flags: maintainer-feedback?(hrs@FreeBSD.org)
 Attachment #238122 text/plain
         mime type:

Created attachment 238122
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=238122&action=edit
Poudriere log without adding python to USES

Port fails in configure due to Python not being available:

checking for python... no
checking for python2... no
checking for python3... no
checking for python3.9... no
checking for python3.8... no
checking for python3.7... no
checking for python3.6... no
checking for python3.5... no
checking for python3.4... no
checking for python3.3... no
checking for python3.2... no
checking for python3.1... no
checking for python3.0... no
checking for python2.7... no
checking for python2.6... no
checking for python2.5... no
checking for python2.4... no
checking for python2.3... no
checking for python2.2... no
checking for python2.1... no
checking for python2.0... no
configure: error: no suitable Python interpreter found
===>  Script "configure" failed unexpectedly.
Please report the problem to hrs@FreeBSD.org [maintainer] and attach the
"/wrkdirs/usr/ports/security/heimdal/work/heimdal-7.8.0/config.log" including
the output of the failure of your make command. Also, it might be a good idea
to provide an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.

Adding python:build to USES gets past that but it then fails later in the
build:

mv -f .deps/symbol.Tpo .deps/symbol.Po
/bin/sh ../../libtool  --tag=CC    --mode=link cc -Wall -Wextra
-Wno-sign-compare -Wno-unused-parameter -Wmissing-prototypes -Wpointer-arith
-Wbad-function-cast -Wmissing-declarations -Wnested-externs -Wshadow -DINET6
-O2 -pipe -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  
-Wl,-rpath,/usr/local/lib/heimdal:/usr/lib -L/usr/local/lib
-Wl,-rpath,/usr/local/lib -fstack-protector-strong -o asn1_compile asn1parse.o
gen.o  gen_copy.o gen_decode.o gen_encode.o  gen_free.o gen_glue.o gen_length.o
 gen_seq.o gen_template.o hash.o  lex.o main.o symbol.o
../../lib/vers/libvers.la ../../lib/roken/libroken.la -lcrypt  -lfl -lpthread
libtool: link: cc -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter
-Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations
-Wnested-externs -Wshadow -DINET6 -O2 -pipe -O2 -pipe -fstack-protector-strong
-fno-strict-aliasing -Wl,-rpath -Wl,/usr/local/lib/heimdal:/usr/lib -Wl,-rpath
-Wl,/usr/local/lib -fstack-protector-strong -o .libs/asn1_compile asn1parse.o
gen.o gen_copy.o gen_decode.o gen_encode.o gen_free.o gen_glue.o gen_length.o
gen_seq.o gen_template.o hash.o lex.o main.o symbol.o  -L/usr/local/lib
../../lib/vers/.libs/libvers.a ../../lib/roken/.libs/libroken.so -lfl -lcrypt
-lpthread -Wl,-rpath -Wl,/usr/local/lib/heimdal
../../lib/asn1/asn1_compile --one-code-file --preserve-binary=TBSCertificate
--preserve-binary=TBSCRLCertList --preserve-binary=Name --sequence=GeneralNames
--sequence=Extensions --sequence=CRLDistributionPoints ./rfc2459.asn1
rfc2459_asn1 || (rm -f rfc2459_asn1_files ; exit 1)
/bin/sh: no: not found
*** Error code 127

Stop.
make[3]: stopped in
/wrkdirs/usr/ports/security/heimdal/work/heimdal-7.8.0/lib/asn1
*** Error code 1
*** Error code 1
*** Error code 1

Stop.
make: stopped in /usr/ports/security/heimdal
=>> Cleaning up wrkdir
===>  Cleaning for heimdal-7.8.0
build of security/heimdal | heimdal-7.8.0 ended at Wed Nov 16 16:03:04 GMT 2022
build time: 00:01:00
!!! build failure encountered !!!

-- 
You are receiving this mail because:
You are the assignee for the bug.