boinc icon indicating copy to clipboard operation
boinc copied to clipboard

commit e0bc66d61c build fails

Open ghost opened this issue 4 years ago • 5 comments

Describe the bug A clear and concise description of what the bug is.

Steps To Reproduce

  1. checkout master
  2. CFLAGS='-ggdb -O0' ./configure --disable-server --disable-client --disable-fcgi --disable-libraries
  3. make -j4

Expected behavior Built manager or an error report that manager cannot be built alone.

Screenshots

System Information

  • OS: Linux 5.4.28 x86_64
  • BOINC Version: commit e0bc66d61c

Additional context Add any other context about the problem here.

The error log is large and basically consists of too many linking errors. From a layman point of view, this is usually due to a missing dependency between project parts. Perhaps a configure guard should be added. If a full log is needed, I can attach one.

ghost avatar Mar 29 '20 04:03 ghost

Just recompiled this without --disable-libraries, and it builds fine. An error message in ./configure would be nice.

ghost avatar Mar 29 '20 04:03 ghost

So basically with this command you exclude everything (or almost everything) from build. I'd say it's rather a configuration issue because by default libraries are built. I'm not sure it's smart to provide all edge cases of build flags in configure script but feel free to do this. That would be very helpful for other users who'd want to build some particular part of the project by themselves.

AenBleidd avatar Apr 01 '20 23:04 AenBleidd

Closed by misclick

AenBleidd avatar Apr 01 '20 23:04 AenBleidd

I am unable to recreate this issue on Arch Linux on kernel 5.8.14 x86_64 with GCC version 10.2.0

Exact steps I followed:

./_autosetup
CFLAGS='-ggdb -O0'
./configure --disable-server --disable-client --disable-fcgi --disable-libraries
make -j4

I have made appropriate changes to print an error when attempting to compile the manager only. Changes have been tested and work on my machine. Please let me know if more granularity is needed.

delta1513 avatar Oct 16 '20 22:10 delta1513

Which commit should I test?

ghost avatar Oct 17 '20 03:10 ghost