[Bug 263698] lang/harec: Failing to build on 13-RELEASE complaining of missing as

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 01 May 2022 06:04:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263698

            Bug ID: 263698
           Summary: lang/harec: Failing to build on 13-RELEASE complaining
                    of missing as
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: se@FreeBSD.org
          Reporter: ashish@FreeBSD.org
          Assignee: se@FreeBSD.org
             Flags: maintainer-feedback?(se@FreeBSD.org)

Created attachment 233621
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=233621&action=edit
Fix

Please find the excerpt of build failure below:

================================================================================
--
NOTE:
Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for
information on using ccache with FreeBSD ports and src.
===>   harec-g20220428 depends on file: /usr/local/bin/ccache - found
===>   Returning to build of harec-g20220428
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for harec-g20220428
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for harec-g20220428
/bin/mkdir -p /wrkdirs/usr/ports/lang/harec/work/harec-e5fb517/build
cd /wrkdirs/usr/ports/lang/harec/work/harec-e5fb517/build && CFLAGS="-O2 -pipe 
-fstack-protector-strong -fno-strict-aliasing " ../configure
--prefix=/usr/local && make
Checking for -g... yes
Checking for -std=c11... yes
Checking for -D_XOPEN_SOURCE=700... yes
Checking for -Wall... yes
Checking for -Wextra... yes
Checking for -Werror... yes
Checking for -pedantic... yes
Checking for -Wno-unused-parameter... yes
Checking for qbe... yes
Creating .build/config.mk... done
Populating build dir... done
CC      src/check.o
CC      src/emit.o
CC      src/eval.o
CC      src/gen.o
CC      src/genutil.o
CC      src/identifier.o
CC      src/lex.o
CC      src/main.o
CC      src/mod.o
CC      src/parse.o
CC      src/qbe.o
CC      src/qinstr.o
CC      src/qtype.o
CC      src/scope.o
CC      src/type_store.o
CC      src/typedef.o
CC      src/types.o
CC      src/utf8.o
CC      src/util.o
CCLD    harec
AS      rt/+freebsd/syscall+x86_64.o
make[1]: exec(as) failed (No such file or directory)
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/lang/harec/work/harec-e5fb517/build
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/harec
=>> Cleaning up wrkdir
===>  Cleaning for harec-g20220428
build of lang/harec | harec-g20220428 ended at Sun May  1 05:49:58 UTC 2022
build time: 00:00:07
!!! build failure encountered !!!
================================================================================

Perhaps you need to add devel/binutils to BUILD_DEPENDS ? Patch enclosed

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