Just a note that this driver still fails to build. I've attached a build log in case it is of use.
regards
scsijon
On 16/03/20 04:43, [email protected] wrote:

Author: rene
Date: 2020-03-15 18:43:27 +0100 (Sun, 15 Mar 2020)
New Revision: 49526
Log:
        * imported xf86-video-fbdev xorg-server meson hotfix

Review the ChangeSet with:
   svn diff -c 49526 https://svn.exactcode.de/t2

Added:
   trunk/package/xorg/xf86-video-fbdev/hotfix.patch


Command Wrapper Debug: running 'gcc --version' ..
gcc is 
/TOOLCHAIN/build/40minx-9.0-svn-generic-x86-64-linux/TOOLCHAIN/tools.chroot/wrapper/gcc
Old Command: gcc --version
ENVPREFIX = 'CMD'
OTHERS = ''
INSERT = '--help?:-pipe -O2 -fstack-protector'
REMOVE = '-I/usr/local/include -I/usr/include -O -O[0-9sg] -mtune* -march* 
-mcpu* -Werror -Wextra -g*'
APPEND = '-s */X11R6/include?-I/usr/X11R7/include 
*/X11R6/lib?-L/usr/X11R7/lib64 */X11R6/lib64?-L/usr/X11R7/lib64'
FILTER = ''
Conditonal arg: --help?:-pipe.
Conditonal: --help, lhs: , rhs: -pipe.
Insert: -pipe
Insert: -O2
Insert: -fstack-protector
Copy:   --version
Append: -s
Conditonal arg: */X11R6/include?-I/usr/X11R7/include.
Conditonal: */X11R6/include, lhs: -I/usr/X11R7/include, rhs: .
Conditonal arg: */X11R6/lib?-L/usr/X11R7/lib64.
Conditonal: */X11R6/lib, lhs: -L/usr/X11R7/lib64, rhs: .
Conditonal arg: */X11R6/lib64?-L/usr/X11R7/lib64.
Conditonal: */X11R6/lib64, lhs: -L/usr/X11R7/lib64, rhs: .
Old PATH: 
/TOOLCHAIN/build/40minx-9.0-svn-generic-x86-64-linux/TOOLCHAIN/tools.chroot/wrapper:/TOOLCHAIN/build/40minx-9.0-svn-generic-x86-64-linux/TOOLCHAIN/tools.chroot/bin:/opt/gnome2/bin:/usr/games:/usr/X11/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
New PATH: 
/TOOLCHAIN/build/40minx-9.0-svn-generic-x86-64-linux/TOOLCHAIN/tools.chroot/bin:/opt/gnome2/bin:/usr/games:/usr/X11/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
New Command: gcc -pipe -O2 -fstack-protector --version -s
gcc (GCC) 9.2.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[ writing debug log to 
/TOOLCHAIN/src.xf86-video-fbdev.40minx.20200316.183346.27600.localhost/cmd_wrapper.log
 ]
'/TOOLCHAIN/src.xf86-video-fbdev.40minx.20200316.183346.27600.localhost/archdir/xf86-video-fbdev-0.5.0.tar.zst'
 -> '/TOOLCHAIN/download/mirror/x/xf86-video-fbdev-0.5.0.tar.zst'
Running main build function 'build_this_package' ...
Extracting xf86-video-fbdev-0.5.0.tar.zst (--use-compress-program=zstd -xf) ... 
Fixing ownership and permissions ...
Removing CVS, .svn, {arch} and .arch-ids directories ...
Changeing into 
/TOOLCHAIN/src.xf86-video-fbdev.40minx.20200316.183346.27600.localhost/xf86-video-fbdev-0.5.0
 ...
Apply patch /TOOLCHAIN/package/xorg/xf86-video-fbdev/hotfix.patch ...
patching file package/xorg/xf86-video-fbdev/hotfix.patch
Creating /usr/X11R7/<..> if required ...
Autodetection for option impossible:  --disable-debug passed thru.
Autodetection for option impossible:  --with-libpam passed thru.
Autodetection for option impossible:  --with-pam passed thru.
Autodetection for option impossible:  --enable-libpam passed thru.
Autodetection for option impossible:  --enable-pam passed thru.
Running  ./configure --prefix=/usr/X11R7 --bindir=/usr/X11R7/bin 
--sbindir=/usr/X11R7/sbin --libdir=/usr/X11R7/lib64 --datadir=/usr/X11R7/share 
--includedir=/usr/X11R7/include --infodir=/usr/X11R7/info 
--mandir=/usr/X11R7/man --sysconfdir=/etc --localstatedir=/var --disable-debug 
--with-libpam --with-pam --enable-libpam --enable-pam 
--build=x86_64-t2-linux-gnu --host=x86_64-t2-linux-gnu
configure: WARNING: unrecognized options: --disable-debug, --with-libpam, 
--with-pam, --enable-libpam, --enable-pam
checking for a BSD-compatible install... 
/TOOLCHAIN/build/40minx-9.0-svn-generic-x86-64-linux/TOOLCHAIN/tools.chroot/wrapper/install
 -c
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 for style of include used by make... GNU
checking for x86_64-t2-linux-gnu-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 whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... none needed
checking how to run the C preprocessor... cpp
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -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 whether __clang__ is declared... no
checking whether __INTEL_COMPILER is declared... no
checking whether __SUNPRO_C is declared... no
checking for x86_64-t2-linux-gnu-pkg-config... 
/usr/bin/x86_64-t2-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking build system type... x86_64-t2-linux-gnu
checking host system type... x86_64-t2-linux-gnu
checking for a sed that does not truncate output... sed
checking if gcc supports -Werror=unknown-warning-option... no
checking if gcc supports -Werror=unused-command-line-argument... no
checking if gcc supports -Wall... yes
checking if gcc supports -Wpointer-arith... yes
checking if gcc supports -Wmissing-declarations... yes
checking if gcc supports -Wformat=2... yes
checking if gcc supports -Wstrict-prototypes... yes
checking if gcc supports -Wmissing-prototypes... yes
checking if gcc supports -Wnested-externs... yes
checking if gcc supports -Wbad-function-cast... yes
checking if gcc supports -Wold-style-definition... yes
checking if gcc supports -Wdeclaration-after-statement... yes
checking if gcc supports -Wunused... yes
checking if gcc supports -Wuninitialized... yes
checking if gcc supports -Wshadow... yes
checking if gcc supports -Wmissing-noreturn... yes
checking if gcc supports -Wmissing-format-attribute... yes
checking if gcc supports -Wredundant-decls... yes
checking if gcc supports -Wlogical-op... yes
checking if gcc supports -Werror=implicit... yes
checking if gcc supports -Werror=nonnull... yes
checking if gcc supports -Werror=init-self... yes
checking if gcc supports -Werror=main... yes
checking if gcc supports -Werror=missing-braces... yes
checking if gcc supports -Werror=sequence-point... yes
checking if gcc supports -Werror=return-type... yes
checking if gcc supports -Werror=trigraphs... yes
checking if gcc supports -Werror=array-bounds... yes
checking if gcc supports -Werror=write-strings... yes
checking if gcc supports -Werror=address... yes
checking if gcc supports -Werror=int-to-pointer-cast... yes
checking if gcc supports -Werror=pointer-to-int-cast... yes
checking if gcc supports -pedantic... yes
checking if gcc supports -Werror... yes
checking if gcc supports -Werror=attributes... yes
checking whether make supports nested variables... (cached) yes
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... ld
checking if the linker (ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... nm
checking the name lister (nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-t2-linux-gnu file names to x86_64-t2-linux-gnu 
format... func_convert_file_noop
checking how to convert x86_64-t2-linux-gnu file names to toolchain format... 
func_convert_file_noop
checking for ld option to reload object files... -r
checking for x86_64-t2-linux-gnu-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-t2-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-t2-linux-gnu-ar... ar
checking for archiver @FILE support... @
checking for x86_64-t2-linux-gnu-strip... strip
checking for x86_64-t2-linux-gnu-ranlib... ranlib
checking command to parse nm output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for x86_64-t2-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
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 (ld -m elf_x86_64) 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 if RANDR is defined... yes
checking if RENDER is defined... yes
checking if XV is defined... yes
checking for XORG... yes
checking whether xf86ConfigIsaEntity is declared... no
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 man/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --disable-debug, --with-libpam, 
--with-pam, --enable-libpam, --enable-pam
Running make CPP=cpp CXX=g++ prefix=/usr/X11R7 
docdir=/usr/X11R7/doc/xf86-video-fbdev
make  all-recursive
make[1]: Entering directory 
'/TOOLCHAIN/src.xf86-video-fbdev.40minx.20200316.183346.27600.localhost/xf86-video-fbdev-0.5.0'
Making all in src
make[2]: Entering directory 
'/TOOLCHAIN/src.xf86-video-fbdev.40minx.20200316.183346.27600.localhost/xf86-video-fbdev-0.5.0/src'
  CC       fbdev.lo
fbdev.c: In function 'FBDevPciProbe':
fbdev.c:281:9: warning: assignment discards 'const' qualifier from pointer 
target type [-Wdiscarded-qualifiers]
  281 |  device = xf86FindOptionValue(devSection->options, "fbdev");
      |         ^
fbdev.c: In function 'FBDevProbe':
fbdev.c:340:10: warning: assignment discards 'const' qualifier from pointer 
target type [-Wdiscarded-qualifiers]
  340 |      dev = xf86FindOptionValue(devSections[i]->options,"fbdev");
      |          ^
fbdev.c: In function 'FBDevPreInit':
fbdev.c:463:5: warning: passing argument 3 of 'fbdevHWInit' discards 'const' 
qualifier from pointer target type [-Wdiscarded-qualifiers]
  463 |     xf86FindOptionValue(fPtr->pEnt->device->options,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  464 |           "fbdev")))
      |           ~~~~~~~~
In file included from fbdev.c:31:
/usr/X11R7/include/xorg/fbdevhw.h:22:41: note: expected 'char *' but argument 
is of type 'const char *'
   22 |                                   char *device);
      |                                   ~~~~~~^~~~~~
fbdev.c: In function 'FBDevScreenInit':
fbdev.c:1013:7: error: #if with no expression
 1013 | #if XV
      |       ^
make[2]: *** [Makefile:474: fbdev.lo] Error 1
make[2]: Leaving directory 
'/TOOLCHAIN/src.xf86-video-fbdev.40minx.20200316.183346.27600.localhost/xf86-video-fbdev-0.5.0/src'
make[1]: *** [Makefile:439: all-recursive] Error 1
make[1]: Leaving directory 
'/TOOLCHAIN/src.xf86-video-fbdev.40minx.20200316.183346.27600.localhost/xf86-video-fbdev-0.5.0'
make: *** [Makefile:371: all] Error 2
Due to previous errors, no 5-xf86-video-fbdev.log file!
(Try enabling xtrace in the config to track an error inside the build system.)
--- BUILD ERROR ---
Creating file list and doing final adaptions ... 
Searching for orphaned files ...
Found 7 files for this package.
Found 0 orphaned files for this package.
Clear (old) md5sums ...
Calculating package dependencies ...
Creating md5sum files ... done.
Creating package description ...
Making post-install adaptions.
----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to