zsh-workers
 help / color / mirror / code / Atom feed
* Didn't build twice for 1st time, on OS X
@ 2018-07-05  9:00 Sebastian Gniazdowski
  2018-07-05 16:33 ` dana
  0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Gniazdowski @ 2018-07-05  9:00 UTC (permalink / raw)
  To: Zsh hackers list

Hello,
I have 2 zsh clones and building current HEAD (6fe0c24) failed in both
of them once. Repeating make command lead to successful build. Maybe
this is important:

In file included from builtin.c:33:
In file included from ./zsh.mdh:17:
./zsh_system.h:255:8: error: redefinition of 'timespec'
struct timespec {
       ^
/usr/include/sys/_types/_timespec.h:33:1: note: previous definition is here
_STRUCT_TIMESPEC
^
/usr/include/sys/_types/_timespec.h:29:33: note: expanded from macro
'_STRUCT_TIMESPEC'
#define _STRUCT_TIMESPEC        struct timespec
                                       ^
1 error generated.
make[2]: *** [builtin.o] Error 1


-- 
Sebastian Gniazdowski
News: https://twitter.com/ZdharmaI
IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Didn't build twice for 1st time, on OS X
  2018-07-05  9:00 Didn't build twice for 1st time, on OS X Sebastian Gniazdowski
@ 2018-07-05 16:33 ` dana
  0 siblings, 0 replies; 2+ messages in thread
From: dana @ 2018-07-05 16:33 UTC (permalink / raw)
  To: Sebastian Gniazdowski; +Cc: Zsh hackers list

On 5 Jul 2018, at 04:00, Sebastian Gniazdowski <sgniazdowski@gmail.com> wrote:
>Hello,
>I have 2 zsh clones and building current HEAD (6fe0c24) failed in both
>of them once. Repeating make command lead to successful build. Maybe
>this is important:
>
>In file included from builtin.c:33:
>In file included from ./zsh.mdh:17:
>./zsh_system.h:255:8: error: redefinition of 'timespec'
>struct timespec {
>       ^

That's related to my change from workers/43075. I had updated the configure
script to check for that struct's definition, and if it doesn't find it i define
it myself so we can use the same struct for all of the time stuff.

Since you mentioned on IRC that you were bisecting, i'm guessing maybe you had
previously configured from a revision that didn't have that check, and then when
you moved to the newer revision it didn't reconfigure and set the macro to
prevent redefining it. Something like that anyway.

dana


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-07-05 16:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-05  9:00 Didn't build twice for 1st time, on OS X Sebastian Gniazdowski
2018-07-05 16:33 ` dana

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).