Mass rebuild report for August 29 2013

Erik van Pienbroek erik at vanpienbroek.nl
Thu Aug 29 17:38:09 UTC 2013


> mingw-gstreamer-0.10.36-4
> 	** Package failed to build while it succeeded during the previous mass rebuild **
> 	Package owner: pfor
> 	Time to build: 2 minutes, 44 seconds
> 	Build logs: http://build1.vanpienbroek.nl/fedora-mingw-rebuild/20130829/mingw-gstreamer-0.10.36-4
> 
> mingw-gstreamer1-1.0.6-2
> 	** Package failed to build while it succeeded during the previous mass rebuild **
> 	Package owner: pfor
> 	Time to build: 2 minutes, 39 seconds
> 	Build logs: http://build1.vanpienbroek.nl/fedora-mingw-rebuild/20130829/mingw-gstreamer1-1.0.6-2

These failures were already known for some time and are caused by
winpthreads:

  CCLD   libgstreamer-1.0.la
.libs/libgstreamer_1.0_la-gstsystemclock.o: In function
`gst_system_clock_get_resolution':
/builddir/build/BUILD/gstreamer-1.0.6/build_win32/gst/../../gst/gstsystemclock.c:566: undefined reference to `clock_getres'
.libs/libgstreamer_1.0_la-gstsystemclock.o: In function
`gst_system_clock_get_internal_time':
/builddir/build/BUILD/gstreamer-1.0.6/build_win32/gst/../../gst/gstsystemclock.c:540: undefined reference to `clock_gettime'
.libs/libgstreamer_1.0_la-gstutils.o: In function
`gst_util_get_timestamp':
/builddir/build/BUILD/gstreamer-1.0.6/build_win32/gst/../../gst/gstutils.c:3102: undefined reference to `clock_gettime'
collect2: error: ld returned 1 exit status


> mingw-libvirt-1.1.1-1
> 	Package owner: berrange
> 	Time to build: 6 minutes, 39 seconds
> 	Build logs: http://build1.vanpienbroek.nl/fedora-mingw-rebuild/20130829/mingw-libvirt-1.1.1-1


Also caused by winpthreads:

  CCLD     libvirt.la
./.libs/libvirt_driver_remote.a(libvirt_net_rpc_client_la-virnetclient.o): In function `virNetClientIOEventLoop':
/builddir/build/BUILD/libvirt-1.1.1/build_win32/src/../../src/rpc/virnetclient.c:1517: undefined reference to `pthread_sigmask'
/builddir/build/BUILD/libvirt-1.1.1/build_win32/src/../../src/rpc/virnetclient.c:1524: undefined reference to `pthread_sigmask'
/builddir/build/BUILD/libvirt-1.1.1/build_win32/src/../../src/rpc/virnetclient.c:1524: undefined reference to `pthread_sigmask'
./.libs/libvirt_driver_remote.a(libvirt_net_rpc_client_la-virnetclient.o): In function `virNetClientSetTLSSession':
/builddir/build/BUILD/libvirt-1.1.1/build_win32/src/../../src/rpc/virnetclient.c:785: undefined reference to `pthread_sigmask'
/builddir/build/BUILD/libvirt-1.1.1/build_win32/src/../../src/rpc/virnetclient.c:792: undefined reference to `pthread_sigmask'
./.libs/libvirt_driver_remote.a(libvirt_net_rpc_client_la-virnetclient.o):/builddir/build/BUILD/libvirt-1.1.1/build_win32/src/../../src/rpc/virnetclient.c:809: more undefined references to `pthread_sigmask' follow
collect2: error: ld returned 1 exit status


> mingw-qt5-qtbase-5.1.0-5
> 	** Package failed to build while it succeeded during the previous mass rebuild **
> 	Package owner: epienbro
> 	Time to build: 9 minutes, 54 seconds
> 	Build logs: http://build1.vanpienbroek.nl/fedora-mingw-rebuild/20130829/mingw-qt5-qtbase-5.1.0-5


This one is new:

/builddir/build/BUILD/qtbase-opensource-src-5.1.0/src/corelib/io/qfilesystemengine_win.cpp:578:3: error: conflicting declaration 'typedef struct _FILE_ID_128 FILE_ID_128'
 } FILE_ID_128, *PFILE_ID_128;
   ^
In file included
from <snip>
/usr/i686-w64-mingw32/sys-root/mingw/include/winnt.h:3767:7: error:
'FILE_ID_128' has a previous declaration as 'typedef struct FILE_ID_128
FILE_ID_128'
     } FILE_ID_128, *PFILE_ID_128;
       ^

It seems to be caused by mingw-w64 commit r6115:
http://sourceforge.net/p/mingw-w64/code/6115/

As mingw-w64 didn't have this structure before, the Qt folks decided to
manually add this structure in their code. However, this structure is
implemented differently than the mingw-w64 implementation.

For comparison, here's the mingw-w64 implementation:
    typedef struct FILE_ID_128 {
      ULONGLONG LowPart;
      ULONGLONG HighPart;
    } FILE_ID_128, *PFILE_ID_128;

While the Qt project uses this implementation:

==

#  if defined(Q_CC_MINGW) || (defined(Q_CC_MSVC) && _MSC_VER < 1700)

typedef struct _FILE_ID_128 {
    BYTE  Identifier[16];
} FILE_ID_128, *PFILE_ID_128;

typedef struct _FILE_ID_INFO {
    ULONGLONG VolumeSerialNumber;
    FILE_ID_128 FileId;
} FILE_ID_INFO, *PFILE_ID_INFO;
#  endif // if defined (Q_CC_MINGW) || (defined(Q_CC_MSVC) && _MSC_VER <
1700))

==

I'm not entirely certain which side should be fixed. The MSDN docs about
this subject only contain references to a structure called
EXT_FILE_ID_128:
http://msdn.microsoft.com/nl-nl/library/windows/desktop/hh965605%
28v=vs.85%29.aspx and
http://msdn.microsoft.com/nl-nl/library/windows/desktop/hh802691%
28v=vs.85%29.aspx



> mingw-qt5-qtsystems-5.0.0-0.7.git20130510.fb72a057
> 	** Package failed to build while it succeeded during the previous mass rebuild **
> 	Package owner: epienbro
> 	Time to build: 3 minutes, 2 seconds
> 	Build logs: http://build1.vanpienbroek.nl/fedora-mingw-rebuild/20130829/mingw-qt5-qtsystems-5.0.0-0.7.git20130510.fb72a057

In file included
from /builddir/build/BUILD/qt-qtsystems/src/systeminfo/windows/qdeviceinfo_win.cpp:50:0:
/usr/i686-w64-mingw32/sys-root/mingw/include/vfw.h:908:3: error:
'interface' does not name a type
   DECLARE_INTERFACE_(IAVIStream,IUnknown) {
   ^
<more errors trimmed>

Apparently the mingw-w64 header vfw.h is broken. When a minimal testcase
is being compiled which only contains '#include <vfw.h>' then the errors
also occur.


> mingw-wine-gecko-2.21-3
> 	** Package failed to build while it succeeded during the previous mass rebuild **
> 	Package owner: awjb
> 	Time to build: 1 hour, 19 minutes, 23 seconds
> 	Build logs: http://build1.vanpienbroek.nl/fedora-mingw-rebuild/20130829/mingw-wine-gecko-2.21-3

undefined reference to `mozilla::TimeStampValue::TimeStampValue

This one is already resolved upstream, will get fixed automatically when
the next version of wine-gecko gets released.

Regards,

Erik






More information about the mingw mailing list