[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: backport of i3-wm



[+cc i3-discuss for archival]

A wild shot in the dark: are you missing the git command, but are trying to build from a git checkout?

Because I do get this error message when I do that:

build % ../configure
[…]
../configure: line 3394: git: command not found
../configure: line 3395: git: command not found
../configure: line 3395: git: command not found
../configure: line 3395: git: command not found
[…]
build configured:

  i3 version:             (, branch "")
  is release version:     yes
[…]
In file included from ../../i3/src/ipc.c:12:0:
../../i3/src/ipc.c: In function 'handle_get_version':
../../i3/include/yajl_utils.h:19:50: error: expected _expression_ before ')' token
 #define y(x, ...) yajl_gen_##x(gen, ##__VA_ARGS__)
                                                  ^
../../i3/src/ipc.c:1002:5: note: in expansion of macro 'y'
     y(integer, MAJOR_VERSION);
     ^
../../i3/include/yajl_utils.h:19:50: error: expected _expression_ before ')' token
 #define y(x, ...) yajl_gen_##x(gen, ##__VA_ARGS__)
                                                  ^
../../i3/src/ipc.c:1005:5: note: in expansion of macro 'y'
     y(integer, MINOR_VERSION);
     ^

You’re seeing this error because without git, the version cannot be determined.

Release tarballs of i3 (which is what is packaged in Debian) should not invoke git, but instead rely on the contents of the I3_VERSION file.

On Fri, Mar 1, 2019 at 6:21 PM David Bremner <david@tethera.net> wrote:

Hi Michael;

Do you have any plans to prove a stretch backport of i3wm?  My naive
attempt to rebuild it in stretch failed with some apparently C
preprocessor related problem.

In file included from ../../i3-wm/src/ipc.c:12:0:
../../i3-wm/src/ipc.c: In function ‘handle_get_version’:
../../i3-wm/include/yajl_utils.h:19:50: error: expected _expression_ before ‘)’ token
 #define y(x, ...) yajl_gen_##x(gen, ##__VA_ARGS__)

Cheers,

David


--
Best regards,
Michael

Reply to: