Opened 15 years ago
Closed 15 years ago
#23643 closed defect (fixed)
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 (1)
Change History (6)
Changed 15 years ago by macosforge@…
Attachment: | cook.error added |
---|
comment:1 Changed 15 years ago by mf2k (Frank Schima)
Cc: | boeyms@… added |
---|---|
Keywords: | cook build failure removed |
Owner: | changed from macports-tickets@… to waqar@… |
comment:3 Changed 15 years ago by boeyms@…
Cc: | mahergamal@… added |
---|---|
Owner: | changed from waqar@… to boeyms@… |
Status: | new → 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.
comment:4 Changed 15 years ago by macosforge@…
That build successfully on the system that failed to build originally. Thank you!
comment:5 Changed 15 years ago by boeyms@…
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
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.
full build log