FTBFS: error: POSIX threads support is required

Bug #1279948 reported by Andreas Moog on 2014-02-13
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libomxvorbis (Ubuntu)
High
Unassigned

Bug Description

Hi there,

the package libomxvorbis fails to build in a current Ubuntu rebuild test on i386.

(Hopefully) Relevant part of the log:
--------------------------------------

configure:11732: checking for the pthreads library -lpthread
configure:11775: gcc -o conftest -Wno-error=unused-but-set-variable -Werror conftest.c -lpthread >&5
conftest.c: In function 'main':
conftest.c:27:22: error: null argument where non-null required (argument 1) [-Werror=nonnull]
                      pthread_attr_init(0); pthread_cleanup_push(0, 0);
                      ^
conftest.c:28:22: error: null argument where non-null required (argument 1) [-Werror=nonnull]
                      pthread_create(0,0,0,0); pthread_cleanup_pop(0);
                      ^
conftest.c:28:22: error: null argument where non-null required (argument 3) [-Werror=nonnull]
cc1: all warnings being treated as errors
configure:11782: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "OpenMAX Bellagio libvorbis based Component "
| #define PACKAGE_TARNAME "libomxvorbis"
| #define PACKAGE_VERSION "0.1"
| #define PACKAGE_STRING "OpenMAX Bellagio libvorbis based Component 0.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libomxvorbis"
| #define VERSION "0.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h. */
| #include <pthread.h>
| int
| main ()
| {
| pthread_t th; pthread_join(th, 0);
| pthread_attr_init(0); pthread_cleanup_push(0, 0);
| pthread_create(0,0,0,0); pthread_cleanup_pop(0);
| ;
| return 0;
| }
configure:11805: result: no
configure:11682: checking whether pthreads work with --thread-safe
configure:11775: gcc -o conftest -Wno-error=unused-but-set-variable -Werror --thread-safe conftest.c >&5
gcc: error: unrecognized command line option '--thread-safe'
configure:11782: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "OpenMAX Bellagio libvorbis based Component "
| #define PACKAGE_TARNAME "libomxvorbis"
| #define PACKAGE_VERSION "0.1"
| #define PACKAGE_STRING "OpenMAX Bellagio libvorbis based Component 0.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libomxvorbis"
| #define VERSION "0.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h. */
| #include <pthread.h>
| int
| main ()
| {
| pthread_t th; pthread_join(th, 0);
| pthread_attr_init(0); pthread_cleanup_push(0, 0);
| pthread_create(0,0,0,0); pthread_cleanup_pop(0);
| ;
| return 0;
| }
configure:11805: result: no
configure:11682: checking whether pthreads work with -mt
configure:11775: gcc -o conftest -Wno-error=unused-but-set-variable -Werror -mt conftest.c >&5
gcc: error: unrecognized command line option '-mt'
configure:11782: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "OpenMAX Bellagio libvorbis based Component "
| #define PACKAGE_TARNAME "libomxvorbis"
| #define PACKAGE_VERSION "0.1"
| #define PACKAGE_STRING "OpenMAX Bellagio libvorbis based Component 0.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libomxvorbis"
| #define VERSION "0.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h. */
| #include <pthread.h>
| int
| main ()
| {
| pthread_t th; pthread_join(th, 0);
| pthread_attr_init(0); pthread_cleanup_push(0, 0);
| pthread_create(0,0,0,0); pthread_cleanup_pop(0);
| ;
| return 0;
| }
configure:11805: result: no
configure:11690: checking for pthread-config
configure:11718: result: no
configure:11962: error: POSIX threads support is required

A full buildlog is available at https://launchpad.net/ubuntu/+archive/test-rebuild-20140127/+build/5514497/+files/buildlog_ubuntu-trusty-i386.libomxvorbis_0.1-3_FAILEDTOBUILD.txt.gz

Thanks for your time!

Regards,
  Andreas

--
PGP-encrypted mails preferred
PGP Fingerprint: 74CD D9FE 5BCB FE0D 13EE 8EEA 61F3 4426 74DE 6624

Andreas Moog (ampelbein) on 2014-02-13
Changed in libomxvorbis (Ubuntu):
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers