Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Oct 2013 22:15:02 +0300
From:      Lena@lena.kiev.ua
To:        freebsd-ports@freebsd.org
Subject:   gecko-mediaplayer fails to build
Message-ID:  <20131002191501.GB794@lena.kiev>

next in thread | raw e-mail | index | archive | help
8.4-RELEASE-p4 i386, not pkgng, freshly upgated ports tree,
libxul rebuilt after pixman upgrade.

$ pkg_info | grep gcc
gcc-4.6.3           GNU Compiler Collection 4.6

/var/db/ports/www_gecko-mediaplayer/options :
# This file is auto-generated by 'make config'.
# Options for gecko-mediaplayer-1.0.8
_OPTIONS_READ=gecko-mediaplayer-1.0.8
_FILE_COMPLETE_OPTIONS_LIST=CACHE DOCS NLS
OPTIONS_FILE_UNSET+=CACHE
OPTIONS_FILE_SET+=DOCS
OPTIONS_FILE_SET+=NLS

Script started on Wed Oct  2 21:51:50 2013
portupgrade -f www/gecko-mediaplayer
--->  Reinstalling 'gecko-mediaplayer-1.0.8_2' (www/gecko-mediaplayer)
--->  Building '/usr/ports/www/gecko-mediaplayer'
===>  Cleaning for gecko-mediaplayer-1.0.8_2

 gecko-mediaplayer is using libxul for gecko support, but you can
 change that by defining WITH_GECKO to the following values:

   libxul 

===>  License GPLv2 accepted by the user
===>  Found saved configuration for gecko-mediaplayer-1.0.8
===> Fetching all distfiles required by gecko-mediaplayer-1.0.8_2 for building
===>  Extracting for gecko-mediaplayer-1.0.8_2
=> SHA256 Checksum OK for gecko-mediaplayer-1.0.8.tar.gz.
===>  Patching for gecko-mediaplayer-1.0.8_2
===>  Applying FreeBSD patches for gecko-mediaplayer-1.0.8_2
===>   gecko-mediaplayer-1.0.8_2 depends on package: libxul>=24 - found
===>   gecko-mediaplayer-1.0.8_2 depends on executable: pkgconf - found
===>   gecko-mediaplayer-1.0.8_2 depends on shared library: dbus-glib-1 - found
===>   gecko-mediaplayer-1.0.8_2 depends on shared library: nspr4 - found
===>   gecko-mediaplayer-1.0.8_2 depends on shared library: curl - found
===>   gecko-mediaplayer-1.0.8_2 depends on shared library: gmlib - found
===>   gecko-mediaplayer-1.0.8_2 depends on shared library: intl - found
===>   gecko-mediaplayer-1.0.8_2 depends on shared library: glib-2.0 - found
===>   gecko-mediaplayer-1.0.8_2 depends on shared library: pcre - found
===>  Configuring for gecko-mediaplayer-1.0.8_2
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking dependency style of cc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... (cached) none needed
checking dependency style of cc... (cached) gcc3
checking for gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... (cached) none needed
checking dependency style of cc... (cached) gcc3
checking how to run the C preprocessor... cpp
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... (cached) yes
checking how to run the C preprocessor... cpp
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking whether cc understands -c and -o together... yes
checking for ranlib... ranlib
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... no
checking for bindtextdomain in -lintl... yes
checking for ngettext in -lintl... yes
checking for dgettext in -lintl... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/local/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for xgettext... /usr/local/bin/xgettext
checking for catalogs to be installed...  cs de es fr ja it nl pl pt pt_BR tr
checking pkg-config is at least version 0.9.0... yes
checking for GLIB... yes
checking for GMLIB... yes
checking for GECKO... yes
configure: Using libxul >= 2.0 
checking for const return value of NPP_GetMIMEDescription... yes
checking for usage of UTF8Characters... yes
checking for NSPR... yes
checking for DBUS... yes
checking for CURL... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating gecko-mediaplayer.spec
config.status: creating src/Makefile
config.status: creating po/Makefile.in
config.status: WARNING:  'po/Makefile.in.in' seems to ignore the --datarootdir setting
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing default-1 commands
===>  Building for gecko-mediaplayer-1.0.8_2
/usr/bin/make  all-recursive
Making all in src
CXX      plugin_types_std.o
plugin_types_std.cpp: In function 'gchar* GetMIMEDescription()':
plugin_types_std.cpp:46: warning: 'g_type_init' is deprecated (declared at /usr/local/include/glib-2.0/gobject/gtype.h:669)
plugin_types_std.cpp:46: warning: 'g_type_init' is deprecated (declared at /usr/local/include/glib-2.0/gobject/gtype.h:669)
CXX      plugin.o
In file included from /usr/local/include/libxul/mozilla/NullPtr.h:14,
                 from /usr/local/include/libxul/nscore.h:29,
                 from /usr/local/include/libxul/nsrootidl.h:13,
                 from /usr/local/include/libxul/nsISupports.h:10,
                 from /usr/local/include/libxul/nsIPrefBranch.h:10,
                 from plugin.cpp:49:
/usr/local/include/libxul/mozilla/Compiler.h:22:4: error: #error "mfbt (and Gecko) require at least gcc 4.4 to build."
plugin.cpp: In constructor 'CPlugin::CPlugin(NPP_t*)':
plugin.cpp:433: warning: 'g_type_init' is deprecated (declared at /usr/local/include/glib-2.0/gobject/gtype.h:669)
plugin.cpp:433: warning: 'g_type_init' is deprecated (declared at /usr/local/include/glib-2.0/gobject/gtype.h:669)
plugin.cpp: In member function 'NPError CPlugin::GetURLNotify(NPP_t*, const char*, const char*, void*)':
plugin.cpp:1604: warning: 'g_thread_create' is deprecated (declared at /usr/local/include/glib-2.0/glib/deprecated/gthread.h:103)
plugin.cpp:1604: warning: 'g_thread_create' is deprecated (declared at /usr/local/include/glib-2.0/glib/deprecated/gthread.h:103)
*** Error code 1
1 error
*** Error code 1
1 error
*** Error code 1
1 error
*** Error code 2
1 error
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop in /usr/ports/www/gecko-mediaplayer.
*** Error code 1

Stop in /usr/ports/www/gecko-mediaplayer.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20131002-23103-zm4xhp env UPGRADE_TOOL=portupgrade UPGRADE_PORT=gecko-mediaplayer-1.0.8_2 UPGRADE_PORT_VER=1.0.8_2 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
	! www/gecko-mediaplayer (gecko-mediaplayer-1.0.8_2)	(unknown build error)

Script done on Wed Oct  2 21:52:08 2013

Google found the same error message only in:
http://lists.freebsd.org/pipermail/freebsd-pkg-fallout/Week-of-Mon-20130930/025246.html
http://lists.freebsd.org/pipermail/freebsd-pkg-fallout/Week-of-Mon-20130923/022107.html




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131002191501.GB794>