[Bug 278896] misc/rump: fails to build WITH_LLVM_BINUTILS due to misguided ar version check

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 10 May 2024 15:21:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278896

            Bug ID: 278896
           Summary: misc/rump: fails to build WITH_LLVM_BINUTILS due to
                    misguided ar version check
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: vanilla@FreeBSD.org
          Reporter: emaste@freebsd.org
          Assignee: vanilla@FreeBSD.org
             Flags: maintainer-feedback?(vanilla@FreeBSD.org)

Build log
https://pkg-status.freebsd.org/gohan04/data/mainamd64PR258872-default-foo/2024-04-01_17h03m03s/logs/errors/rump-20170822_2.log

Build fails with:

===>  Building for rump-20170822_2
cd /wrkdirs/usr/ports/misc/rump/work/buildrump.sh-b914579; /usr/bin/env CC=cc
AR=ar NM=nm OBJCOPY=objcopy ./buildrump.sh -F CFLAGS="-O2 -pipe 
-Wno-error=strict-prototypes -Wno-error=array-parameter
-fstack-protector-strong -fno-strict-aliasing " -F
CWARNFLAGS="-Wno-address-of-packed-member -Wno-unused-but-set-variable" -r
fullbuild
>> NATIVE build environment probed
>>
>> NOTICE: Not a buildrump.sh-based git repo in /wrkdirs/usr/ports/misc/rump/work/buildrump.sh-b914579/src
>> Cannot verify repository version.  Proceeding ...
>>
>> ERROR:
>> Need GNU or BSD ar (ar is a tracked alias for /usr/bin/ar)
*** Error code 1

IMO this test should just be removed; alternately misc/rump could depend on
binutils to pick up GNU ar.

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