I tried to build the package xf86-video-omapfb on my system using a PKGBUILD from here:
https://github.com/archlinuxarm/PKGBUIL ... b/PKGBUILDThis is the PKGBUILD:
$this->bbcode_second_pass_code('', '
# Maintainer: Kevin Mihelich <kevin@Arch Linux ARM.com>
# OMAP FrameBuffer driver for Xorg
buildarch=4
pkgname="xf86-video-omapfb"
pkgver=0.1.1.1
pkgrel=3
arch=('armv7h')
url="http://gitweb.pingu.fi/?p=xf86-video-omapfb.git"
license=('GPL2')
makedepends=('pkgconfig' 'xorg-server-devel' 'resourceproto' 'scrnsaverproto')
options=('!libtool')
source=("http://archlinuxarm.org/builder/src/xf86-video-omapfb_0.1.1.1.tar.gz")
md5sums=('a9bca5424bd76d53b78826f9d5fa4abe')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./autogen.sh
./configure --prefix=/usr
make
}
package() {
pkgdesc="OMAP3+ framebuffer driver for X"
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
')
Failed output below:
$this->bbcode_second_pass_code('', '
[jeff@ArchArm xf86-video-omapfb]$ makepkg -Acs
==> Making package: xf86-video-omapfb 0.1.1.1-3 (Sun Nov 4 10:43:35 PST 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Found xf86-video-omapfb_0.1.1.1.tar.gz
==> Validating source files with md5sums...
xf86-video-omapfb_0.1.1.1.tar.gz ... Passed
==> Extracting Sources...
-> Extracting xf86-video-omapfb_0.1.1.1.tar.gz with bsdtar
==> Removing existing pkg/ directory...
==> Starting build()...
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf: running: /usr/bin/autoconf
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
autoreconf: Leaving directory `.'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking how to print strings... printf
checking for style of include used by make... GNU
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 dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/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 armv7l-unknown-linux-gnueabihf file names to armv7l-unknown-linux-gnueabihf format... func_convert_file_noop
checking how to convert armv7l-unknown-linux-gnueabihf 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... no
checking if : 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 for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking whether __clang__ is declared... no
checking whether __INTEL_COMPILER is declared... no
checking whether __SUNPRO_C is declared... no
checking if gcc -std=gnu99 supports -Werror=unknown-warning-option... no
checking if gcc -std=gnu99 supports -Werror=unused-command-line-argument... no
checking if gcc -std=gnu99 supports-Wall... yes
checking if gcc -std=gnu99 supports-Wpointer-arith... yes
checking if gcc -std=gnu99 supports-Wmissing-declarations... yes
checking if gcc -std=gnu99 supports-Wformat=2... yes
checking if gcc -std=gnu99 supports-Wstrict-prototypes... yes
checking if gcc -std=gnu99 supports-Wmissing-prototypes... yes
checking if gcc -std=gnu99 supports-Wnested-externs... yes
checking if gcc -std=gnu99 supports-Wbad-function-cast... yes
checking if gcc -std=gnu99 supports-Wold-style-definition... yes
checking if gcc -std=gnu99 supports-Wdeclaration-after-statement... yes
checking if gcc -std=gnu99 supports-Wunused... yes
checking if gcc -std=gnu99 supports-Wuninitialized... yes
checking if gcc -std=gnu99 supports-Wshadow... yes
checking if gcc -std=gnu99 supports-Wcast-qual... yes
checking if gcc -std=gnu99 supports-Wmissing-noreturn... yes
checking if gcc -std=gnu99 supports-Wmissing-format-attribute... yes
checking if gcc -std=gnu99 supports-Wredundant-decls... yes
checking if gcc -std=gnu99 supports-Werror=implicit... yes
checking if gcc -std=gnu99 supports-Werror=nonnull... yes
checking if gcc -std=gnu99 supports-Werror=init-self... yes
checking if gcc -std=gnu99 supports-Werror=main... yes
checking if gcc -std=gnu99 supports-Werror=missing-braces... yes
checking if gcc -std=gnu99 supports-Werror=sequence-point... yes
checking if gcc -std=gnu99 supports-Werror=return-type... yes
checking if gcc -std=gnu99 supports-Werror=trigraphs... yes
checking if gcc -std=gnu99 supports-Werror=array-bounds... yes
checking if gcc -std=gnu99 supports-Werror=write-strings... yes
checking if gcc -std=gnu99 supports-Werror=address... yes
checking if gcc -std=gnu99 supports-Werror=int-to-pointer-cast... yes
checking if gcc -std=gnu99 supports-Werror=pointer-to-int-cast... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking if RENDER is defined... yes
checking for XORG... yes
checking for XEXT... yes
checking for ANSI C header files... (cached) yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
make all-recursive
make[1]: Entering directory `/home/jeff/Downloads/xf86-video-omapfb/xf86-video-omapfb/src/xf86-video-omapfb-0.1.1.1'
Making all in src
make[2]: Entering directory `/home/jeff/Downloads/xf86-video-omapfb/xf86-video-omapfb/src/xf86-video-omapfb-0.1.1.1/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT omapfb-driver.lo -MD -MP -MF .deps/omapfb-driver.Tpo -c -o omapfb-driver.lo omapfb-driver.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT omapfb-driver.lo -MD -MP -MF .deps/omapfb-driver.Tpo -c omapfb-driver.c -fPIC -DPIC -o .libs/omapfb-driver.o
In file included from /usr/include/xorg/xf86Crtc.h:31:0,
from omapfb-driver.c:39:
/usr/include/xorg/xf86Modes.h:43:25: warning: redundant redeclaration of 'xf86ModeHSync' [-Wredundant-decls]
In file included from omapfb-driver.c:36:0:
/usr/include/xorg/xf86.h:416:1: note: previous declaration of 'xf86ModeHSync' was here
In file included from /usr/include/xorg/xf86Crtc.h:31:0,
from omapfb-driver.c:39:
/usr/include/xorg/xf86Modes.h:44:25: warning: redundant redeclaration of 'xf86ModeVRefresh' [-Wredundant-decls]
In file included from omapfb-driver.c:36:0:
/usr/include/xorg/xf86.h:418:1: note: previous declaration of 'xf86ModeVRefresh' was here
In file included from /usr/include/xorg/xf86Crtc.h:31:0,
from omapfb-driver.c:39:
/usr/include/xorg/xf86Modes.h:53:33: warning: redundant redeclaration of 'xf86DuplicateMode' [-Wredundant-decls]
In file included from omapfb-driver.c:36:0:
/usr/include/xorg/xf86.h:424:1: note: previous declaration of 'xf86DuplicateMode' was here
In file included from /usr/include/xorg/xf86Crtc.h:31:0,
from omapfb-driver.c:39:
/usr/include/xorg/xf86Modes.h:54:33: warning: redundant redeclaration of 'xf86DuplicateModes' [-Wredundant-decls]
In file included from omapfb-driver.c:36:0:
/usr/include/xorg/xf86.h:428:1: note: previous declaration of 'xf86DuplicateModes' was here
In file included from /usr/include/xorg/xf86Crtc.h:31:0,
from omapfb-driver.c:39:
/usr/include/xorg/xf86Modes.h:56:23: warning: redundant redeclaration of 'xf86SetModeDefaultName' [-Wredundant-decls]
In file included from omapfb-driver.c:36:0:
/usr/include/xorg/xf86.h:420:1: note: previous declaration of 'xf86SetModeDefaultName' was here
In file included from /usr/include/xorg/xf86Crtc.h:31:0,
from omapfb-driver.c:39:
/usr/include/xorg/xf86Modes.h:57:23: warning: redundant redeclaration of 'xf86SetModeCrtc' [-Wredundant-decls]
In file included from omapfb-driver.c:36:0:
/usr/include/xorg/xf86.h:422:1: note: previous declaration of 'xf86SetModeCrtc' was here
In file included from /usr/include/xorg/xf86Crtc.h:31:0,
from omapfb-driver.c:39:
/usr/include/xorg/xf86Modes.h:58:23: warning: redundant redeclaration of 'xf86ModesEqual' [-Wredundant-decls]
In file included from omapfb-driver.c:36:0:
/usr/include/xorg/xf86.h:430:1: note: previous declaration of 'xf86ModesEqual' was here
In file included from /usr/include/xorg/xf86Crtc.h:31:0,
from omapfb-driver.c:39:
/usr/include/xorg/xf86Modes.h:60:23: warning: redundant redeclaration of 'xf86PrintModeline' [-Wredundant-decls]
In file included from omapfb-driver.c:36:0:
/usr/include/xorg/xf86.h:432:1: note: previous declaration of 'xf86PrintModeline' was here
In file included from /usr/include/xorg/xf86Crtc.h:31:0,
from omapfb-driver.c:39:
/usr/include/xorg/xf86Modes.h:61:33: warning: redundant redeclaration of 'xf86ModesAdd' [-Wredundant-decls]
In file included from omapfb-driver.c:36:0:
/usr/include/xorg/xf86.h:434:1: note: previous declaration of 'xf86ModesAdd' was here
In file included from /usr/include/xorg/xf86Crtc.h:31:0,
from omapfb-driver.c:39:
/usr/include/xorg/xf86Modes.h:65:33: warning: redundant redeclaration of 'xf86CVTMode' [-Wredundant-decls]
In file included from omapfb-driver.c:36:0:
/usr/include/xorg/xf86.h:201:33: note: previous declaration of 'xf86CVTMode' was here
omapfb-driver.c: In function 'OMAPFBProbe':
omapfb-driver.c:198:13: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
omapfb-driver.c:253:25: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
omapfb-driver.c:254:25: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
omapfb-driver.c:257:25: warning: assignment from incompatible pointer type [enabled by default]
omapfb-driver.c:258:25: warning: assignment from incompatible pointer type [enabled by default]
omapfb-driver.c:259:25: warning: assignment from incompatible pointer type [enabled by default]
omapfb-driver.c:260:25: warning: assignment from incompatible pointer type [enabled by default]
omapfb-driver.c: In function 'OMAPFBPreInit':
omapfb-driver.c:380:19: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
omapfb-driver.c:288:16: warning: variable 'pEnt' set but not used [-Wunused-but-set-variable]
omapfb-driver.c: In function 'OMAPFBCloseScreen':
omapfb-driver.c:487:2: warning: passing argument 1 of 'pScreen->CloseScreen' makes pointer from integer without a cast [enabled by default]
omapfb-driver.c:487:2: note: expected 'ScreenPtr' but argument is of type 'int'
omapfb-driver.c:487:2: error: too many arguments to function 'pScreen->CloseScreen'
omapfb-driver.c: In function 'OMAPFBScreenInit':
omapfb-driver.c:497:23: warning: assignment from incompatible pointer type [enabled by default]
omapfb-driver.c: At top level:
omapfb-driver.c:713:2: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
make[2]: *** [omapfb-driver.lo] Error 1
make[2]: Leaving directory `/home/jeff/Downloads/xf86-video-omapfb/xf86-video-omapfb/src/xf86-video-omapfb-0.1.1.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jeff/Downloads/xf86-video-omapfb/xf86-video-omapfb/src/xf86-video-omapfb-0.1.1.1'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
')