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)

main.2.log (850.0 KB) - added by johnweldon (John Weldon) 11 years ago.
Build Log
main.log (841.4 KB) - added by NicosPavlov 11 years ago.

Download all attachments as: .zip

Change History (16)

Changed 11 years ago by johnweldon (John Weldon)

Attachment: main.2.log added

Build Log

comment:1 Changed 11 years ago by mf2k (Frank Schima)

Keywords: mono removed

comment:2 Changed 11 years ago by harciga

Cc: hector.arciga@… added

Cc Me!

comment:3 Changed 11 years ago by harciga

It's for mono 3.2.3

comment:4 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Summary: Error building Mono 3.2.5mono @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 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Have you installed the Xcode command line tools? If not, please do.

comment:6 in reply to:  5 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).

Just in case, I could solve it by passing "--with-mcs-docs=no" to configure.args, in which case the build completed.

Version 0, edited 11 years ago by NicosPavlov (next)

Changed 11 years ago by NicosPavlov

Attachment: main.log added

comment:8 Changed 11 years ago by nick.lavrik@…

Cc: nick.lavrik@… added

Cc Me!

comment:9 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:10 in reply to:  9 ; Changed 11 years ago by craignied@…

Me!

comment:11 in reply to:  10 Changed 11 years ago by larryv (Lawrence Velázquez)

Cc: craignied@… added

Replying to craignied@…:

Me!

I assume you intended to Cc yourself. I’ve done this for you.

comment:12 Changed 11 years ago by juanrgar (Juan R. García Blanco)

Cc: juanrgar@… added

Cc Me!

comment:13 in reply to:  9 ; 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 in reply to:  13 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed
Summary: mono @3.2.3 build failsmono @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.

Note: See TracTickets for help on using tickets.