[mythtv-users] OS X Build failure

Guillaume Membré guillaume.ml at gmail.com
Mon Apr 1 10:13:07 UTC 2013


Thanks for your update. I tried it and I got the following error :
$ ./osx-packager-qtsdk.pl -gitrev fixes/0.26 -qtsrc 4.8.4 -universal
-verbose -nohead -force -noparallel
[...]
[ 66%] Built target partition
Scanning dependencies of target sql
[ 67%] Building C object sql/CMakeFiles/sql.dir/__/sql-common/client.c.o
/Users/jumper/Workspace/MythTV/build/.osx-packager/src/mysql-5.5.24/sql-common/client.c:1433:1:
error: conflicting types for 'unpack_fields'
unpack_fields(MYSQL_DATA *data,MEM_ROOT *alloc,uint fields,
^
/Users/jumper/Workspace/MythTV/build/.osx-packager/build/include/sql_common.h:76:14:
note: previous declaration is here
MYSQL_FIELD *unpack_fields(MYSQL *mysql, MYSQL_DATA *data,MEM_ROOT *alloc,
             ^
/Users/jumper/Workspace/MythTV/build/.osx-packager/src/mysql-5.5.24/sql-common/client.c:3820:35:
error: too few arguments to function call, expected 6, have 5
                                    mysql->server_capabilities)))
                                                              ^
/Users/jumper/Workspace/MythTV/build/.osx-packager/build/include/sql_common.h:76:1:
note: 'unpack_fields' declared here
MYSQL_FIELD *unpack_fields(MYSQL *mysql, MYSQL_DATA *data,MEM_ROOT *alloc,
^
2 errors generated.
make[2]: *** [sql/CMakeFiles/sql.dir/__/sql-common/client.c.o] Error 1
make[1]: *** [sql/CMakeFiles/sql.dir/all] Error 2
make: *** [all] Error 2
[osx-pkg] Failed system call: " /usr/bin/make all " with error code 2
Died at ./osx-packager-qtsdk.pl line 1389.
./osx-packager-qtsdk.pl -gitrev fixes/0.26 -qtsrc 4.8.4 -universal
-verbose    413,56s user 104,56s system 89% cpu 9:36,42 total

I solved this problem by upgrading mysql from 5.5.24 to 5.5.30

On Sun, Mar 31, 2013 at 2:05 PM, Jean-Yves Avenard <jyavenard at gmail.com> wrote:
>
>
>
> On 14 March 2013 09:26, Guillaume Membré <guillaume.ml at gmail.com> wrote:
>>
>> error: unable to read PCH file .pch/release-shared/QtCore.gch: 'Is a
>> directory'
>> make[2]: *** [.obj/release-shared/qabstractanimation.o] Error 1
>> make[1]: *** [release] Error 2
>> make: *** [sub-corelib-make_default-ordered] Error 2
>> [osx-pkg] Failed system call: " /usr/bin/make " with error code 2
>>
>> I've got the same error with qt 4.8.4.
>>
>> Has anyone already encoutered this issue ?
>
>
> Hi
>
> Try the latest osx-packager-qtsdk.pl script (in master branch)
>
> I've fixed that particular problem that only occurs with the latest version
> of xcode (and really, latest version of clang)
>
> Jean-Yves
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>


More information about the mythtv-users mailing list