Opened 11 years ago
Closed 11 years ago
#41601 closed defect (fixed)
mono @3.2.3: destroot fails when coreutils is not installed
Reported by: | johnweldon (John Weldon) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | Cc: | harciga, ryandesign (Ryan Carsten Schmidt), nick.lavrik@…, NicosPavlov, craignied@…, juanrgar (Juan R. García Blanco) | |
Port: | mono |
Description
I'm getting the attached error both on Mavericks (10.9) and Mountain Lion (10.8.5)
Attachments (2)
Change History (16)
Changed 11 years ago by johnweldon (John Weldon)
Attachment: | main.2.log added |
---|
comment:1 Changed 11 years ago by mf2k (Frank Schima)
Keywords: | mono removed |
---|
comment:4 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Summary: | Error building Mono 3.2.5 → mono @3.2.3 build fails |
mono 3.2.3 built fine for me on Mavericks. I'll compare our logs and see if anything looks different.
I tried updating the port to 3.2.5 but it does not build. The developers apparently released a broken tarball for 3.2.5. Hopefully this will be fixed in 3.2.6 and we can update then.
comment:5 follow-up: 6 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Have you installed the Xcode command line tools? If not, please do.
comment:6 Changed 11 years ago by johnweldon (John Weldon)
Replying to ryandesign@…:
Have you installed the Xcode command line tools? If not, please do.
Yes, I have the xcode command line tools installed. Also many other ports compile and build just fine...
The error appears to be after all the compilation is done, and while it's trying to install the docs. The first error is about a folder 'html' not being found when it's trying to install.
Thanks!
comment:7 Changed 11 years ago by NicosPavlov
I had a similar error during build, which may be linked although it is not exactly the same one. It also seems to be related to documentation (see main.log attached). The system is OS X 10.9 with Xcode 5.0.2.
Just in case, I could solve it by passing "--with-mcs-docs=no" to configure.args, in which case the build completed.
Changed 11 years ago by NicosPavlov
comment:9 follow-ups: 10 13 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | nicos@… added |
---|
Both of the attached logs show this error:
:info:build ./install-sh -c -d ./html :info:build make[2]: ./install-sh: No such file or directory
So, the ./install-sh
script that should be a part of the mono distribution, which is used to create directories in the absence of another suitable utility to do so, seems to either be missing or broken. I just unpacked the mono-3.2.3 tarball and verified that it does contain the install-sh
script in the root directory and it does work, so that's strange. Maybe it's being looked for in a different directory.
On my system, I have coreutils installed, which provides gmkdir
, which got used on my system instead of ./install-sh
. (I don't know why the system's existing mkdir
doesn't get used, but that's not a mono-specific thing.) So a workaround is to install coreutils, clean mono, and try again.
I'm still working on updating mono to 3.2.5. I've managed to create a corrected tarball; now I just need to produce a suitable diff, and see if it builds.
comment:11 Changed 11 years ago by larryv (Lawrence Velázquez)
Cc: | craignied@… added |
---|
comment:13 follow-up: 14 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to ryandesign@…:
I'm still working on updating mono to 3.2.5. I've managed to create a corrected tarball; now I just need to produce a suitable diff, and see if it builds.
Updated mono to 3.2.5 in r114480. Did that help?
comment:14 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Summary: | mono @3.2.3 build fails → mono @3.2.3: destroot fails when coreutils is not installed |
Replying to ryandesign@…:
Updated mono to 3.2.5 in r114480. Did that help?
Apparently not; the buildbots failed with the same install-sh
error. Rather than spend a lot of time digging around in what is apparently a broken build system, I added a build dependency on coreutils in r114491, since that works.
Build Log