Skip to content

FTBFS on i386 #189

@oerdnj

Description

@oerdnj

The package fails to build on i386 (32-bit) systems, which will prevent it entering any linux distro.

/«PKGBUILDDIR»/mongodb-1.1.1/src/bson.c: In function 'php_phongo_bson_visit_int64':
/«PKGBUILDDIR»/mongodb-1.1.1/src/bson.c:508:38: error: macro "add_assoc_stringl" passed 5 arguments, but takes just 4
  ADD_ASSOC_INT64(retval, key, v_int64);
                                      ^
In file included from /«PKGBUILDDIR»/mongodb-1.1.1/src/bson.c:38:0:
./phongo_compat.h:112:3: error: 'add_assoc_stringl' undeclared (first use in this function)
   add_assoc_stringl(zval, key, tmp, tmp_len, 0); \
   ^
/«PKGBUILDDIR»/mongodb-1.1.1/src/bson.c:508:2: note: in expansion of macro 'ADD_ASSOC_INT64'
  ADD_ASSOC_INT64(retval, key, v_int64);
  ^
./phongo_compat.h:112:3: note: each undeclared identifier is reported only once for each function it appears in
   add_assoc_stringl(zval, key, tmp, tmp_len, 0); \
   ^
/«PKGBUILDDIR»/mongodb-1.1.1/src/bson.c:508:2: note: in expansion of macro 'ADD_ASSOC_INT64'
  ADD_ASSOC_INT64(retval, key, v_int64);
  ^
make[1]: *** [src/bson.lo] Error 1

Full build log available here: https://launchpadlibrarian.net/232231890/buildlog_ubuntu-wily-i386.php-mongodb_1.1.1-1%2Bdeb.sury.org~wily%2B2_BUILDING.txt.gz

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions