Skip to content

Instantly share code, notes, and snippets.

@cbrunsdon
Created September 4, 2013 00:06
Show Gist options
  • Save cbrunsdon/6431217 to your computer and use it in GitHub Desktop.
Save cbrunsdon/6431217 to your computer and use it in GitHub Desktop.
gnome-shell build issues
*** Checking out gnome-shell *** [1/1]
git remote set-url origin git://git.gnome.org/gnome-shell
git remote update origin
Fetching origin
git rebase origin/master
Current branch master is up to date.
git submodule init
git submodule update
*** Configuring gnome-shell *** [1/1]
./autogen.sh --prefix /opt/gnome --libdir '/opt/gnome/lib' --enable-compile-warnings=maximum --disable-glibtest
/opt/gnome/bin/gnome-autogen.sh
checking for autoreconf >= 2.53...
testing autoreconf... found 2.69
checking for intltool >= 0.25...
testing intltoolize... found 0.50.2
checking for pkg-config >= 0.14.0...
testing pkg-config... found 0.26
checking for gtk-doc >= 1.0...
testing gtkdocize... found 1.19.1
checking for gnome-common >= 2.3.0...
testing gnome-doc-common... found 3.7.4
Checking for required M4 macros...
Checking for forbidden M4 macros...
Processing ./configure.ac
Running gtkdocize...
Running gnome-doc-common...
Running intltoolize...
Running autoreconf...
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force --warnings=no-portability -I m4 ${ACLOCAL_FLAGS}
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --install --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `config'.
libtoolize: copying file `config/config.guess'
libtoolize: copying file `config/config.sub'
libtoolize: copying file `config/install-sh'
libtoolize: copying file `config/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --force --warnings=no-portability
autoreconf: running: /usr/bin/autoheader --force --warnings=no-portability
autoreconf: running: automake --add-missing --copy --force-missing --warnings=no-portability
autoreconf: Leaving directory `.'
Running ./configure --enable-maintainer-mode --prefix /opt/gnome --libdir /opt/gnome/lib --enable-compile-warnings=maximum --disable-glibtest ...
checking for a BSD-compatible install... /home/clarke/.local/bin/install-check
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether NLS is requested... yes
checking for intltool >= 0.40... 0.50.2 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.14.2
checking for XML::Parser... ok
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.22... yes
checking for xsltproc... /usr/bin/xsltproc
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for a Python interpreter with version >= 2.5... python
checking for python... /usr/bin/python
checking for python version... 2.7
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.7/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.7/site-packages
checking for GStreamer (needed for recording functionality)... yes
checking for TEST_SHELL_RECORDER... yes
checking for GNOME_SHELL... yes
checking for MUTTER... yes
checking for MUTTER_WAYLAND... no
checking for GNOME_SHELL_JS... yes
checking for ST... yes
checking for SHELL_PERF_HELPER... yes
checking for SHELL_HOTPLUG_SNIFFER... yes
checking for BROWSER_PLUGIN... yes
checking for TRAY... yes
checking for GVC... yes
checking for DESKTOP_SCHEMAS... yes
checking for CARIBOU... yes
checking for bluetooth support... yes
checking for CALENDAR_SERVER... yes
checking for gobject-introspection... yes
checking for fdwalk... no
checking for mallinfo... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for _NL_TIME_FIRST_WEEKDAY... yes
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.0.0... yes (version 2.37.8)
checking for gtkdoc-check... /opt/gnome/bin/gtkdoc-check
checking for gtkdoc-rebase... /opt/gnome/bin/gtkdoc-rebase
checking for gtkdoc-mkpdf... /opt/gnome/bin/gtkdoc-mkpdf
checking whether to build gtk-doc documentation... no
checking for xsltproc... (cached) /usr/bin/xsltproc
checking whether gcc understands -Wall... yes
checking whether gcc understands -Wstrict-prototypes... yes
checking whether gcc understands -Wnested-externs... yes
checking whether gcc understands -Werror=missing-prototypes... yes
checking whether gcc understands -Werror=implicit-function-declaration... yes
checking whether gcc understands -Werror=pointer-arith... yes
checking whether gcc understands -Werror=init-self... yes
checking whether gcc understands -Werror=format-security... yes
checking whether gcc understands -Werror=format=2... yes
checking whether gcc understands -Werror=missing-include-dirs... yes
checking what warning flags to pass to the C compiler... -Wall -Wstrict-prototypes -Wnested-externs -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs
checking what language compliance flags to pass to the C compiler...
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating data/Makefile
config.status: creating docs/Makefile
config.status: creating docs/reference/Makefile
config.status: creating docs/reference/shell/Makefile
config.status: creating docs/reference/shell/shell-docs.sgml
config.status: creating docs/reference/st/Makefile
config.status: creating docs/reference/st/st-docs.sgml
config.status: creating js/Makefile
config.status: creating src/calendar-server/evolution-calendar.desktop.in
config.status: creating src/Makefile
config.status: creating src/gvc/Makefile
config.status: creating browser-plugin/Makefile
config.status: creating tests/Makefile
config.status: creating po/Makefile.in
config.status: creating man/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po/stamp-it commands
Now type `make' to compile gnome-shell
*** Building gnome-shell *** [1/1]
make -j4
make all-recursive
make[1]: Entering directory `/home/clarke/checkout/gnome/gnome-shell'
Making all in data
make[2]: Entering directory `/home/clarke/checkout/gnome/gnome-shell/data'
GEN org.gnome.shell.gschema.xml.in
ITMRG org.gnome.shell.gschema.xml
GEN org.gnome.shell.gschema.valid
GEN gschemas.compiled
rm org.gnome.shell.gschema.xml.in
make[2]: Leaving directory `/home/clarke/checkout/gnome/gnome-shell/data'
Making all in js
make[2]: Entering directory `/home/clarke/checkout/gnome/gnome-shell/js'
[ -d misc ] || /bin/mkdir -p misc ; \
sed -e "s|[@]PACKAGE_NAME@|gnome-shell|g" \
-e "s|[@]PACKAGE_VERSION@|3.9.91|g" \
-e "s|[@]HAVE_BLUETOOTH@|1|g" \
-e "s|[@]GETTEXT_PACKAGE@|gnome-shell|g" \
-e "s|[@]datadir@|/opt/gnome/share|g" \
-e "s|[@]libexecdir@|/opt/gnome/libexec|g" \
-e "s|[@]sysconfdir@|/opt/gnome/etc|g" \
misc/config.js.in > misc/config.js
make[2]: Leaving directory `/home/clarke/checkout/gnome/gnome-shell/js'
Making all in src
make[2]: Entering directory `/home/clarke/checkout/gnome/gnome-shell/src'
GEN stamp-st.h
make all-recursive
make[3]: Entering directory `/home/clarke/checkout/gnome/gnome-shell/src'
Making all in gvc
make[4]: Entering directory `/home/clarke/checkout/gnome/gnome-shell/src/gvc'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/clarke/checkout/gnome/gnome-shell/src/gvc'
make[4]: Entering directory `/home/clarke/checkout/gnome/gnome-shell/src'
GEN gnome-shell-extension-tool
GEN gnome-shell-extension-prefs
GEN gnome-shell-perf-tool
ITMRG calendar-server/evolution-calendar.desktop
GEN calendar-server/org.gnome.Shell.CalendarServer.service
GEN hotplug-sniffer/org.gnome.Shell.HotplugSniffer.service
CCLD gnome-shell
CCLD run-js-test
/usr/bin/ld: run_js_test-run-js-test.o: undefined reference to symbol 'gjs_context_define_string_array'
/usr/bin/ld: note: 'gjs_context_define_string_array' is defined in DSO /opt/gnome/lib/libgjs.so.0 so try adding it to the linker command line
/opt/gnome/lib/libgjs.so.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[4]: *** [run-js-test] Error 1
make[4]: *** Waiting for unfinished jobs....
/usr/bin/ld: gnome_shell-main.o: undefined reference to symbol 'gjs_dumpstack'
/usr/bin/ld: note: 'gjs_dumpstack' is defined in DSO /opt/gnome/lib/libgjs.so.0 so try adding it to the linker command line
/opt/gnome/lib/libgjs.so.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[4]: *** [gnome-shell] Error 1
make[4]: Leaving directory `/home/clarke/checkout/gnome/gnome-shell/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/clarke/checkout/gnome/gnome-shell/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/clarke/checkout/gnome/gnome-shell/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/clarke/checkout/gnome/gnome-shell'
make: *** [all] Error 2
*** Error during phase build of gnome-shell: ########## Error running make -j4 *** [1/1]
[1] Rerun phase build
[2] Ignore error and continue to install
[3] Give up on module
[4] Start shell
[5] Reload configuration
[6] Go to phase "wipe directory and start over"
[7] Go to phase "configure"
[8] Go to phase "clean"
[9] Go to phase "distclean"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment