Build issues dive site management]

Lubomir I. Ivanov neolit123 at gmail.com
Sun Feb 15 11:24:52 PST 2015


On 15 February 2015 at 21:16, Lubomir I. Ivanov <neolit123 at gmail.com> wrote:
> On 15 February 2015 at 21:10, Linus Torvalds
> <torvalds at linux-foundation.org> wrote:
>> On Sun, Feb 15, 2015 at 10:55 AM, Lubomir I. Ivanov <neolit123 at gmail.com> wrote:
>>> On 15 February 2015 at 20:51, Dirk Hohndel <dirk at hohndel.org> wrote:
>>>
>>>> Also with the new write-version thingy... the first time I run make, I get
>>>> something weird like "sh: Syntax error, unexpected end of line in line:1"
>>>> Starting the make again works. Any idea what's up with that?
>>>>
>>>
>>> can't seem to reproduce it...let me look into it again.
>>> Thiago said that it works for him (under Linux i assume).
>>
>> It's broken for me too. The generated Makefile is broken, and looks like this:
>>
>>    ...
>>    compiler_version_h_make_all: ssrf-version.h
>>    compiler_version_h_clean:
>>           -$(DEL_FILE) ssrf-version.h
>>    ssrf-version.h: . \
>>                    FORCE
>>            @echo Checking /home/torvalds/src/subsurface/ssrf-version.h &&
>>
>>    compiler_TSQM_make_all: translations/subsurface_source.qm
>> translations/subsurface_bg_BG.qm translations/subsurface_cs.q$
>>    ...
>>
>> Note how it's just cut off after the "@echo ... &&" line
>>
>
> seems like qmake generates a bogus rule for "silent mode".
>
> "silent mode" however is broken for me in general, so i need to find a
> solution how to test that.
>

this should be a quick fix (attached),
it was my original proposal, but later we added the "silent: ..." option.

CCing Thiago, if he has the time to help.

lubomir
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-PRI-don-t-consider-silent-mode-for-the-version-gener.patch
Type: application/octet-stream
Size: 1288 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150215/1975ae14/attachment.obj>


More information about the subsurface mailing list