[Bug 267998] lang/ldc: build: subcommand failed: Error: undefined identifier `__FreeBSD_version`

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 25 Nov 2022 23:46:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267998

            Bug ID: 267998
           Summary: lang/ldc: build: subcommand failed: Error: undefined
                    identifier `__FreeBSD_version`
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: acm@FreeBSD.org
          Reporter: grahamperrin@freebsd.org
          Assignee: acm@FreeBSD.org
             Flags: maintainer-feedback?(acm@FreeBSD.org)

Created attachment 238348
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=238348&action=edit
log (413.9 KiB), from a run of poudriere, compressed

% date ; uname -aKU
Fri 25 Nov 2022 23:43:18 GMT
FreeBSD mowa219-gjp4-8570p-freebsd 14.0-CURRENT FreeBSD 14.0-CURRENT #25
main-n259004-2c10be9e06d4: Thu Nov  3 00:14:52 GMT 2022    
grahamperrin@mowa219-gjp4-8570p-freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG
amd64 1400073 1400073
% 

From the tail of the attached log: 

… 
core/sys/posix/sys/types.d(170): Error: undefined identifier
`__FreeBSD_version`
core/sys/posix/sys/stat.d(1040): Error: undefined identifier
`__FreeBSD_version`
core/sys/posix/sys/stat.d(1851): Error: undefined identifier
`__FreeBSD_version`
core/sys/posix/sys/stat.d(2048): Error: undefined identifier
`__FreeBSD_version`
core/sys/posix/dirent.d(77): Error: undefined identifier `__FreeBSD_version`
core/sys/posix/dirent.d(257): Error: undefined identifier `__FreeBSD_version`
core/sys/posix/dirent.d(511): Error: undefined identifier `__FreeBSD_version`
core/sys/posix/stdio.d(393): Error: undefined identifier `__FreeBSD_version`
core/sys/freebsd/sys/event.d(42): Error: undefined identifier
`__FreeBSD_version`
core/sys/freebsd/sys/event.d(173): Error: undefined identifier
`__FreeBSD_version`
core/sys/freebsd/sys/mount.d(37): Error: undefined identifier
`__FreeBSD_version`
core/sys/freebsd/sys/mount.d(319): Error: undefined identifier
`__FreeBSD_version`
core/sys/freebsd/config.d(23): Error: static assert:  "Unsupported version of
FreeBSD"
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/ldc
=>> Cleaning up wrkdir
===>  Cleaning for ldc-1.30.0_2
build of lang/ldc | ldc-1.30.0_2 ended at Fri Nov 25 23:35:38 GMT 2022
build time: 00:12:59
!!! build failure encountered !!!
% 


This differs from the fallout that's currently at
<https://portsfallout.com/fallout?port=lang%2Fldc%24&maintainer=&env=main-amd64-default&category=&flavor=>.

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