Bug 269856 - sysutils/acpica-tools: variable set but not used
Summary: sysutils/acpica-tools: variable set but not used
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Jung-uk Kim
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-27 18:44 UTC by Dan Kotowski
Modified: 2023-03-01 00:26 UTC (History)
2 users (show)

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


Attachments
poudriere bulk -c -j 14amd64 -p latest sysutils/acpica-tools (26.67 KB, text/plain)
2023-02-27 18:44 UTC, Dan Kotowski
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Kotowski 2023-02-27 18:44:59 UTC
Created attachment 240459 [details]
poudriere bulk -c -j 14amd64 -p latest sysutils/acpica-tools

Possibly similar to 261826 and 263037?

# poudriere bulk -c -j 14amd64 -p latest sysutils/acpica-tools

# poudriere jail -j 14amd64 -i
Jail name:         14amd64
Jail version:      14.0-CURRENT 1400081
Jail arch:         amd64
Jail method:       src=/usr/src
Jail mount:        /usr/local/poudriere/jails/14amd64
Jail fs:           zroot/poudriere/jails/14amd64
Jail updated:      2023-02-27 11:10:35

# poudriere ports -l | grep latest
latest    git+ssh   2023-02-27 15:55:19 /usr/local/poudriere/ports/latest

# git -C /usr/src log -1 --oneline
6e9b4e3e0d4e (HEAD -> main, freebsd/main, freebsd/HEAD) man 3 daemon: remove double negation

# git -C /usr/local/poudriere/ports/latest log -1 --oneline
c64d98641 (grafted, HEAD -> main, origin/main, origin/HEAD) science/clhep: Update version 2.4.6.3=>2.4.6.4




obj/acpisrc ../../../source/tools/acpisrc/asconvrt.c
../../../source/tools/acpisrc/asconvrt.c:1233:29: error: variable 'Column' set but not used [-Werror,-Wunused-but-set-variable]
    UINT32                  Column = 0;
                            ^
1 error generated.
gmake[2]: *** [../Makefile.rules:20: obj/asconvrt.o] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/sysutils/acpica-tools/work/acpica-unix-20221020/generate/unix/acpisrc'
Comment 1 Mina Galić freebsd_triage 2023-02-27 21:54:37 UTC
could you please report this upstream, too?
https://github.com/acpica/acpica/issues/
Comment 2 Dan Kotowski 2023-02-28 23:13:48 UTC
https://github.com/acpica/acpica/issues/849
Comment 3 commit-hook freebsd_committer freebsd_triage 2023-03-01 00:26:06 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9f9dd3ded5dd6bba1e210d5583e93da431640fb5

commit 9f9dd3ded5dd6bba1e210d5583e93da431640fb5
Author:     Jung-uk Kim <jkim@FreeBSD.org>
AuthorDate: 2023-03-01 00:24:08 +0000
Commit:     Jung-uk Kim <jkim@FreeBSD.org>
CommitDate: 2023-03-01 00:24:08 +0000

    sysutils/acpica-tools: Fix build with LLVM 15

    PR:             269856

 .../files/patch-source_common_dmextern.c (new)     | 24 +++++++
 .../patch-source_compiler_aslrestype2s.c (new)     | 74 ++++++++++++++++++++++
 .../patch-source_tools_acpisrc_asconvrt.c (new)    | 35 ++++++++++
 3 files changed, 133 insertions(+)