Mario Marietto <marietto2008_at_gmail.com> wrote on Date: Sun, 20 Apr 2025 14:08:11 UTC :
> On my system,I'm not able to compile FreeCAD 'cause compilation error > caused by brlcad... > > marietto# freebsd-version -kru > > 14.2-RELEASE-p1 > 14.2-RELEASE-p1 > 14.2-RELEASE-p3 > > marietto# make MAKE_JOBS_UNSAFE=yes install clean > > ===> brlcad > ===> Building for brlcad-7.32.6; . . . > FAILED: > src/other/stepcode/src/express/CMakeFiles/express.dir/ExpParser_expparse/expparse.c.o > /usr/local/llvm14/bin/clang -DHAVE_DECL_FSEEKO -Dexpress_EXPORTS > -I/usr/ports/cad/brlcad/work/brlcad-7.32.6/include/brlcad > -I/usr/ports/cad/brlcad/work/brlcad-7.32.6/include > -I/usr/ports/cad/brlcad/work/brlcad-7.32.6/src/other/stepcode/include > -I/usr/ports/cad/brlcad/work/brlcad-7.32.6/src/other/stepcode/src/express > -I/usr/ports/cad/brlcad/work/brlcad-7.32.6/src/other/stepcode/src/base > -I/usr/ports/cad/brlcad/work/brlcad-7.32.6/src/other/stepcode/src/express/ExpScanner_expscan > -I/usr/ports/cad/brlcad/work/brlcad-7.32.6/src/other/stepcode/src/express/ExpParser_expparse > -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -w -m64 -fPIC > -pedantic -W -Wall -Wundef -Wfloat-equal -Wshadow -Winline -Wno-long-long > -MD -MT > src/other/stepcode/src/express/CMakeFiles/express.dir/ExpParser_expparse/expparse.c.o > -MF > src/other/stepcode/src/express/CMakeFiles/express.dir/ExpParser_expparse/expparse.c.o.d > -o > src/other/stepcode/src/express/CMakeFiles/express.dir/ExpParser_expparse/expparse.c.o > -c > /usr/ports/cad/brlcad/work/brlcad-7.32.6/src/other/stepcode/src/express/ExpParser_expparse/expparse.c > /usr/ports/cad/brlcad/work/brlcad-7.32.6/src/other/stepcode/src/express/ExpParser_expparse/expparse.y:2479:50: > error: use of undeclared identifier 'yypMinor' > fprintf(stderr, "Last token had value %x\n", yypMinor->yy0.val); > ^ > 1 error generated. > ninja: build stopped: subcommand failed. > *** Error code 1 > > Stop. > make[1]: stopped in /usr/ports/cad/brlcad > *** Error code 1 > > Stop. > make: stopped in /usr/ports/cad It looks like the problem is more specific to your context instead of a general build problem. (clean things out and start over?) Details follow . . . My attempt to build via poudriere-devel worked just fine: (I used my more modern ports tree: /usr/ports-alt/ .) # poudriere jail -l JAILNAME VERSION OSVERSION ARCH METHOD TIMESTAMP PATH release-amd64 14.2-RELEASE-p2 amd64 pkgbase 2025-03-12 21:09:52 /usr/local/poudriere/jails/release-amd64 . . . # ~/fbsd-based-on-what-commit.sh -C /usr/ports-alt/ 7e9d9ed4f250 (HEAD -> main, freebsd/main, freebsd/HEAD) devel/R-cran-pillar: Update to 1.10.2 Author: TAKATSU Tomonari <[email protected]> Commit: TAKATSU Tomonari <[email protected]> CommitDate: 2025-04-19 02:13:05 +0000 branch: main merge-base: 7e9d9ed4f2500c17544a1df2244c00f4d1f1a65e merge-base: CommitDate: 2025-04-19 02:13:05 +0000 n703248 (--first-parent --count for merge-base) # poudriere bulk -jrelease-amd64 -v -palt -c cad/brlcad . . . [00:00:02] [release-amd64-alt] [2025-04-20_08h56m08s] [pkgqueue_sanity_check] Time: 00:00:00 Queued: 125 Inspected: 0 Ignored: 0 Built: 0 Failed: 0 Skipped: 0 Fetched: 0 Remaining: 125 [00:00:02] Recording filesystem state for prepkg... done [00:00:02] Processing PRIORITY_BOOST [00:00:02] Boosting priority: devel/cmake-core | cmake-core-3.31.6 [00:00:02] Building 125 packages using up to 32 builders . . . [00:28:30] [01] [00:04:22] Finished cad/brlcad | brlcad-7.32.6: Success . . . [00:28:32] [release-amd64-alt] [2025-04-20_08h56m08s] [committing] Time: 00:28:30 Queued: 125 Inspected: 0 Ignored: 0 Built: 125 Failed: 0 Skipped: 0 Fetched: 0 Remaining: 0 . . . Also, the most recent official 142amd64 build attempt's log looks to be: https://pkg-status.freebsd.org/beefy22/data/142amd64-default/0aaaecafbdaf/logs/brlcad-7.32.6.log and it completed just fine: . . . =======================<phase: package >============================ ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2025-04-13T21:40:17+0000' 'PKG_NOTE_ports_top_git_hash=0aaaecafbd' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=1bb147345d' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2-9-g05a460dc' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for brlcad-7.32.6 ===> Building brlcad-7.32.6 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for brlcad-7.32.6 build of cad/brlcad | brlcad-7.32.6 ended at Sun Apr 13 22:53:41 UTC 2025 build time: 01:13:25 Smilarly for quarterly: https://pkg-status.freebsd.org/beefy20/data/142amd64-quarterly/4764684db30f/logs/brlcad-7.32.6.log and it completed just fine: . . . =======================<phase: package >============================ ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2025-04-13T22:44:06+0000' 'PKG_NOTE_ports_top_git_hash=4764684db' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=359bbf7fc' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2-9-g05a460dc' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for brlcad-7.32.6 ===> Building brlcad-7.32.6 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for brlcad-7.32.6 build of cad/brlcad | brlcad-7.32.6 ended at Mon Apr 14 00:04:41 UTC 2025 build time: 01:20:36 === Mark Millard marklmi at yahoo.com
