[Bug 256783] Mk/Uses/cmake.mk: Some cmake ports builds twice
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jun 30 12:48:44 BST 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256783
--- Comment #4 from Adriaan de Groot <adridg at freebsd.org> ---
It's not that I don't believe you, it's that I have no idea how to reproduce
this -- or even why it's an issue, really. Your latest log shows hts being
built, and then at stage-time five (if I counted right) C files are
re-compiled. Not even all of them (here in hts, just the `kissnet/`
subdirectory).
Locally, nothing is rebuilt; I've tried with MAKE_JOBS_UNSAFE, and without. In
poudriere, and in the host, as root and as user.
I'd suggest building this up to pre-stage and then executing the steps in stage
by hand, to figure out what's going on and why make is rebuilding things. The
relevant steps are (here from my build, which has slightly different paths):
```
/usr/bin/make -f lib/kissnet/CMakeFiles/hts.dir/build.make
lib/kissnet/CMakeFiles/hts.dir/depend
cd /tmp/port/work/.build && /usr/local/bin/cmake -E cmake_depends "Unix
Makefiles" /tmp/port/work/pvr.hts-8.3.0-Matrix
/tmp/port/work/pvr.hts-8.3.0-Matrix/lib/libhts /tmp/port/work/.build
/tmp/port/work/.build/lib/kissnet
/tmp/port/work/.build/lib/kissnet/CMakeFiles/hts.dir/DependInfo.cmake --color=
Consolidate compiler generated dependencies of target hts
/usr/bin/make -f lib/kissnet/CMakeFiles/hts.dir/build.make
lib/kissnet/CMakeFiles/hts.dir/build
```
If you can trace those two `make` invocations to see exactly what is being
rebuilt and why, **then** there's a chance to track this down.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
More information about the kde-freebsd
mailing list