Weechat 0.4.0 failed to build on 10.6.8 #18722
Comments
Looks like it's not finding gettext, despite it being a dependency:
|
Is this a public conversation? I'd be interested in seeing. Not sure why this would be better on 10.7. |
Pinged author, hopefully he'll join the conversation. So, this still means that it's a homebrew bug, right, if gettext isn't being found? Or does it mean that weechat itself might be looking in the wrong place? (I have basically zero experience with C.) |
I don't think this is a homebrew bug. From the CMakeCache, it appears to correctly find libintl and the prefix it's installed to. If you have access to a 10.7/10.8 box to test on, can you confirm whether this happens if you do |
I'll do it in a bit, I need to update XCode apparently, and that'll probably take an hour. |
Nailed it, took an hour with zero feedback on what it was doing the whole time. Jobs is spinning in his grave. Anyway: compiled fine on OS X 10.7.5.
Damn, just realized that it doesn't wrap horizontal lines, so all the cmake options aren't visible. :/ |
Testing it on Lion, it looks like it's broken with |
Scroll it, baby :-) |
@samueljohn INVISIBLE SCROLL BAR |
@adamv TOUCHE |
Yeah, I don't think that there's such a thing as horizontal scrolling in Terminal/iTerm2, is there? In any case, re-ran the install on 10.6.8, with full flags, and it worked fine:
Also realized that I left off the --env=std flag on 10.7.5, so here's that:
@mistydemeo - what does the --env flag do? |
@pavellishin Homebrew has two build environments. On Xcode 4.3 and later, the default build environment is superenv, which was introduced in August. It wraps the compilers and controls which flags get through; it also sandboxes the build as much as possible, so that only explicitly declared dependencies are available. stdenv is the old build environment, which calls the compilers directly and has less control over misbehaving build systems. This suggests to me that cmake isn't passing the correct |
(The reason you're getting the build failure on 10.6.8 is because stdenv is the only build environment available on Xcode 4.2 and lower.) |
@mistydemeo I'm having the same issue on 10.6.8. I added @pavellishin's fix to the Formula file and that worked. Are you saying that this is expected behavior on 10.6.8? |
@pavellishin's fix is a workaround; the bug seems to be in Weechat. I'll pull a fix but this should be reported to the Weechat developers. @pavellishin, did you let him know about what was found in the thread here? |
@pavellishin Did you file an issue on weechat's tracker? |
I did not, but I will - I'm sort of emailing back and forth, trying to fix another issue. |
Err... well, I can't figure out how to file a bug, but I'll ask him via e-mail. |
Weechat's issue tracker is on Savannah: https://savannah.nongnu.org/bugs/?group=weechat |
I know, I just literally can't find the thing to click to create a new bug. (Full disclosure, I may be dumb.) |
Yeah, it's hardly the most intuitive interface. Hover over Bugs at the top, there's a "Submit" option. |
I've pushed a workaround by removing NLS and the gettext dependency. They'll be reenabled pending whatever we find from the developer. |
Tagging this as an upstream issue and closing it. |
Weechat 0.4.0 failed to build on OS X 10.6.8
As per weechat's actual author, adding a flag to disable translations fixed the issue.
but I'm not sure if that should be in the default formula, since it compiled just fine on 10.7.5
The text was updated successfully, but these errors were encountered: