New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #35632 (closed defect: fixed)

Opened 9 months ago

Last modified 9 months ago

fvwm2: configure is not able to compile programs with warnings

Reported by: mzp3769@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: clang Cc:
Port: fvwm2

Description

fails to build

Attachments

main.log (103.1 KB) - added by mzp3769@… 9 months ago.
log of fvwm2 install

Change History

Changed 9 months ago by mzp3769@…

log of fvwm2 install

comment:1 Changed 9 months ago by ryandesign@…

  • Port set to fvwm2
  • Summary changed from fvwm2 install problem to fvwm2: configure is not able to compile programs with warnings

The main.log says:

:info:configure configure is not able to compile programs with warnings.  Please
:info:configure remove all offending options like -Werror from the CFLAGS and
:info:configure CPPFLAGS variables and run configure again."

But of course we're not setting any such flags, and the real error is shown in the config.log:

conftest.c:38:3: error: non-void function 'main' should return a value [-Wreturn-type]
  return;
  ^

So they have a mistake in their configure test, and I guess we'll have to fix it.

comment:2 Changed 9 months ago by ryandesign@…

  • Owner changed from macports-tickets@… to ryandesign@…
  • Keywords clang added
  • Status changed from new to assigned

I guess this test actually is doing what it's designed to do, the only thing the developers did not expect is that a compiler like the version of clang that we're using in MacPorts today would have some warnings on by default. I guess we'll just turn that warning off.

comment:3 Changed 9 months ago by ryandesign@…

  • Status changed from assigned to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.