New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #23643 (closed defect: fixed)

Opened 2 years ago

Last modified 22 months ago

cook 2.32 - Cook fails to build

Reported by: macosforge@… Owned by: boeyms@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: boeyms@…, mahergamal@…
Port: cook

Description

I have a Snow Leopard Server and a Snow Leopard Desktop. Cook fails to build and install on both.

port version 1.8.2 command used: port install cook

I think this is the relevant bit - there's a full build log attached in case I'm wrong.

rm y.tab.c y.tab.h
/usr/bin/gcc-4.2 -I. -I/opt/local/include -O2 -arch x86_64 -c common/sub/ident.c
sed: y.tab.c: No such file or directory
make: *** [common/sub/expr_gram.gen.h] Error 1

Attachments

cook.error Download (38.7 KB) - added by macosforge@… 2 years ago.
full build log

Change History

Changed 2 years ago by macosforge@…

full build log

Changed 2 years ago by macsforever2000@…

  • owner changed from macports-tickets@… to waqar@…
  • keywords cook build failure removed
  • cc boeyms@… added

Changed 22 months ago by mahergamal@…

Bump !

Changed 22 months ago by boeyms@…

  • owner changed from waqar@… to boeyms@…
  • cc mahergamal@… added
  • status changed from new to assigned

In my testing, the build works when parallel building is disabled (either by giving the use_parallel_build=no option to port, or by setting buildmakejobs to 1 in macports.conf), but breaks as described when parallel building is enabled. This is most likely due to errors in cook's Makefile.

To confirm whether or not I am correct, please see if the following results in a successful installation of cook:

port clean cook
port install cook use_parallel_build=no

If that works, I will modify cook's Portfile to turn off parallel building. It would be great if you could report the error to the developers of cook, as I may not get around to it for a while.

Changed 22 months ago by macosforge@…

That build successfully on the system that failed to build originally. Thank you!

Changed 22 months ago by boeyms@…

  • status changed from assigned to closed
  • resolution set to fixed

Fixed by r66678. A standard "port install cook" will now not give the error documented here, so the "use_parallel_build=no" command-line option is no longer required.

Note: See TracTickets for help on using tickets.