Re: [Owfs-developers] Build failure on fedora rawhide (21)

2014-03-17 Thread Jitka Plesnikova
On 03/15/2014 03:49 PM, Tomasz Torcz wrote:
   Hi,

   My package failed to build on rawhide.  Upstream comments point
 to Swig as guilty party.  Was there any un-announced Swig change?
Hi,

Swig was updated to the version 2.0.12 at Fedora 21.

However, the code which failed was provided by upstream of owfs and it
is part of source tarball.
The upstream used swig for generating of the code. You should asked them
which version
of swig they used.

BTW, new major version 3.0.0 of swig was released. New release is
focused primarily on C++ improvements.
Using the latest Swig for code generating could solve the problem, but I
am not sure with it.

Regards,
Jitka Plesnikova




 - Forwarded message from Tomasz Torcz to...@pipebreaker.pl -

 Date: Thu, 6 Mar 2014 14:32:31 +0100
 From: Tomasz Torcz to...@pipebreaker.pl
 To: owfs-develop...@lists.sourceforge.net
 Subject: [Owfs-developers] Build failure on fedora rawhide (21)

 Hi,

   While building latest version for fedora rawhide, I've encountered a build 
 failure.
 I do not see anything obvious in the code, so I was unable to fix it by
 myself. Fedora tend to ship quite new build chain, so it is entirely
 possible that new GCC started to throw error where older GCC accepted code.
 The GCC in question is gcc-4.8.2-14.fc21.x86_64

   The first error:

 In file included from ../../owlib/src/include/ow.h:220:0,
  from ow_wrap.c:2949:
 ../../owlib/src/include/ow_debug.h:41:35: error: expected '=', ',', ';', 
 'asm' or '__attribute__' before '{' token
  static inline int return_ok(void) { return 0; }

   Full buildlog:
 http://kojipkgs.fedoraproject.org//work/tasks/2255/6562255/build.log

   Build.log contains gcc invocations, of course.  Which may be a source
 of problem, too.  Fedora rawhide started recently to add 
 Werror=format-security
 and similar hardening options to CFLAGS.

 - End forwarded message -


-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

[Owfs-developers] Build failure on fedora rawhide (21)

2014-03-15 Thread Tomasz Torcz

  Hi,

  My package failed to build on rawhide.  Upstream comments point
to Swig as guilty party.  Was there any un-announced Swig change?



- Forwarded message from Tomasz Torcz to...@pipebreaker.pl -

Date: Thu, 6 Mar 2014 14:32:31 +0100
From: Tomasz Torcz to...@pipebreaker.pl
To: owfs-develop...@lists.sourceforge.net
Subject: [Owfs-developers] Build failure on fedora rawhide (21)

Hi,

  While building latest version for fedora rawhide, I've encountered a build 
failure.
I do not see anything obvious in the code, so I was unable to fix it by
myself. Fedora tend to ship quite new build chain, so it is entirely
possible that new GCC started to throw error where older GCC accepted code.
The GCC in question is gcc-4.8.2-14.fc21.x86_64

  The first error:

In file included from ../../owlib/src/include/ow.h:220:0,
 from ow_wrap.c:2949:
../../owlib/src/include/ow_debug.h:41:35: error: expected '=', ',', ';', 'asm' 
or '__attribute__' before '{' token
 static inline int return_ok(void) { return 0; }

  Full buildlog:
http://kojipkgs.fedoraproject.org//work/tasks/2255/6562255/build.log

  Build.log contains gcc invocations, of course.  Which may be a source
of problem, too.  Fedora rawhide started recently to add 
Werror=format-security
and similar hardening options to CFLAGS.

- End forwarded message -

-- 
Tomasz Torcz   RIP is irrevelant. Spoofing is futile.
xmpp: zdzich...@chrome.pl Your routes will be aggreggated. -- Alex Yuriev

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct