Bug 278896 - misc/rump: fails to build WITH_LLVM_BINUTILS due to misguided ar version check
Summary: misc/rump: fails to build WITH_LLVM_BINUTILS due to misguided ar version check
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Vanilla I. Shu
URL:
Keywords:
Depends on:
Blocks: 258872
  Show dependency treegraph
 
Reported: 2024-05-10 15:21 UTC by Ed Maste
Modified: 2024-05-13 02:08 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (vanilla)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Maste freebsd_committer freebsd_triage 2024-05-10 15:21:34 UTC
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.
Comment 1 Vanilla I. Shu freebsd_committer freebsd_triage 2024-05-13 02:07:34 UTC
Committed, thanks.
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-05-13 02:08:17 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9826b0b022685f6c8097ca84cb2436c743629819

commit 9826b0b022685f6c8097ca84cb2436c743629819
Author:     Vanilla I. Shu <vanilla@FreeBSD.org>
AuthorDate: 2024-05-13 02:06:17 +0000
Commit:     Vanilla I. Shu <vanilla@FreeBSD.org>
CommitDate: 2024-05-13 02:07:24 +0000

    misc/rump: remove probear test.

    PR:             278896
    Reported by:    emaste@

 misc/rump/Makefile                 |  2 +-
 misc/rump/files/patch-buildrump.sh | 12 ++++++++++--
 2 files changed, 11 insertions(+), 3 deletions(-)