Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 806413 Details for
Bug 870523
sys-apps/vbetool-1.1-r1:0 - vbetool.c: error: incompatible integer to pointer conversion passing
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sys-apps:vbetool-1.1-r1:20220916-193637.log
sys-apps:vbetool-1.1-r1:20220916-193637.log (text/plain), 9.30 KB, created by
Toralf Förster
on 2022-09-16 19:37:55 UTC
(
hide
)
Description:
sys-apps:vbetool-1.1-r1:20220916-193637.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-09-16 19:37:55 UTC
Size:
9.30 KB
patch
obsolete
> * Package: sys-apps/vbetool-1.1-r1:0 > * Repository: gentoo > * Maintainer: robbat2@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking vbetool-1.1.tar.gz to /var/tmp/portage/sys-apps/vbetool-1.1-r1/work >>>> Source unpacked in /var/tmp/portage/sys-apps/vbetool-1.1-r1/work >>>> Preparing source in /var/tmp/portage/sys-apps/vbetool-1.1-r1/work/vbetool-1.1 ... > * Applying vbetool-1.0-build.patch ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/sys-apps/vbetool-1.1-r1/work/vbetool-1.1' ... > * Running 'aclocal --system-acdir=/var/tmp/portage/sys-apps/vbetool-1.1-r1/temp/aclocal' ... > [ ok ] > * Moving configure.in to configure.ac (bug #426262) > * Running 'autoconf --force' ... > [ ok ] > * Running 'automake --add-missing --copy --foreign --force-missing' ... > [ ok ] > * Running elibtoolize in: vbetool-1.1/ >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/sys-apps/vbetool-1.1-r1/work/vbetool-1.1 ... > * econf: updating vbetool-1.1/config.guess with /usr/share/gnuconfig/config.guess > * econf: updating vbetool-1.1/config.sub with /usr/share/gnuconfig/config.sub >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/vbetool-1.1-r1 --htmldir=/usr/share/doc/vbetool-1.1-r1/html --libdir=/usr/lib64 --with-x86emu >checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c >checking whether build environment is sane... yes >checking for a race-free mkdir -p... /bin/mkdir -p >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking whether make supports nested variables... yes >checking for x86_64-pc-linux-gnu-gcc... clang >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 the compiler supports GNU C... yes >checking whether clang accepts -g... yes >checking for clang option to enable C11 features... none needed >checking whether clang understands -c and -o together... yes >checking whether make supports the include directive... yes (GNU style) >checking dependency style of clang... none >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating Makefile >config.status: executing depfiles commands >>>> Source configured. >'/var/tmp/portage/sys-apps/vbetool-1.1-r1/temp/clang14.log' -> '/var/tmp/clang/sys-apps/vbetool-1.1-r1/clang14.log' >'/var/tmp/portage/sys-apps/vbetool-1.1-r1/temp/clang15.log' -> '/var/tmp/clang/sys-apps/vbetool-1.1-r1/clang15.log' >>>> Compiling source in /var/tmp/portage/sys-apps/vbetool-1.1-r1/work/vbetool-1.1 ... >make -j4 >clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"vbetool\" -DVERSION=\"0.3\" -I. -Wall -pedantic -std=gnu99 -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o vbetool.o vbetool.c >In file included from vbetool.c:27: >./vbetool.h:18:20: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >int do_get_panel_id(); > ^ > void >vbetool.c:120:11: error: incompatible integer to pointer conversion passing > 'int' to parameter of type 'void *' [-Wint-conversion] > munmap(0xc0000, 64*1024); > ^~~~~~~ >/usr/include/sys/mman.h:76:26: note: passing argument to parameter '__addr' here >extern int munmap (void *__addr, size_t __len) __THROW; > ^ >vbetool.c:121:14: error: incompatible integer to pointer conversion passing > 'int' to parameter of type 'void *' [-Wint-conversion] > rc = mmap(0xc0000, 64*1024, > ^~~~~~~ >/usr/include/sys/mman.h:57:26: note: passing argument to parameter '__addr' here >extern void *mmap (void *__addr, size_t __len, int __prot, > ^ >vbetool.c:117:10: warning: variable 'rc' set but not used > [-Wunused-but-set-variable] > void *rc; > ^ >vbetool.c:135:26: warning: passing arguments to 'do_get_panel_id' without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > return do_get_panel_id(0); > ^ >vbetool.c:137:26: warning: passing arguments to 'do_get_panel_id' without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > return do_get_panel_id(1); > ^ >vbetool.c:257:9: warning: cast to smaller integer type 'unsigned int' from > 'char *' [-Wpointer-to-int-cast] > r.es = (unsigned int) (data - LRMI_base_addr()) >> 4; > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >vbetool.c:258:10: warning: cast to smaller integer type 'unsigned int' from > 'char *' [-Wpointer-to-int-cast] > r.ebx = (unsigned int) (data - LRMI_base_addr()) & 0xf; > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >vbetool.c:332:61: warning: format specifies type 'void *' but the argument has > type 'char *' [-Wformat-pedantic] > fprintf(stderr, "Allocated buffer at %p (base is 0x%x)\n", buffer, > ~~ ^~~~~~ > %s >vbetool.c:333:4: warning: format specifies type 'unsigned int' but the argument > has type 'size_t' (aka 'unsigned long') [-Wformat] > LRMI_base_addr()); > ^~~~~~~~~~~~~~~~ >vbetool.c:339:9: warning: cast to smaller integer type 'unsigned int' from > 'char *' [-Wpointer-to-int-cast] > r.es = (unsigned int) (buffer - LRMI_base_addr()) >> 4; > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >vbetool.c:340:10: warning: cast to smaller integer type 'unsigned int' from > 'char *' [-Wpointer-to-int-cast] > r.ebx = (unsigned int) (buffer - LRMI_base_addr()) & 0xf; > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >vbetool.c:359:10: warning: variable 'num_written' set but not used > [-Wunused-but-set-variable] > ssize_t num_written; > ^ >vbetool.c:398:28: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >int do_get_panel_brightness() { > ^ > void >vbetool.c:415:20: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >int do_invert_panel() { > ^ > void >vbetool.c:460:16: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >int do_get_mode() { > ^ > void >vbetool.c:475:18: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >int check_console() > ^ > void >vbetool.c:496:15: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >int enable_vga() { > ^ > void >vbetool.c:504:16: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] >int disable_vga() { > ^ > void >In file included from vbetool.c:27: >./vbetool.h:18:5: warning: a function declaration without a prototype is > deprecated in all versions of C and is treated as a zero-parameter > prototype in C2x, conflicting with a subsequent definition > [-Wdeprecated-non-prototype] >int do_get_panel_id(); > ^ >vbetool.c:521:5: note: conflicting prototype is here >int do_get_panel_id(int just_dimensions) > ^ >vbetool.c:528:28: warning: cast to smaller integer type 'int' from > 'struct panel_id *' [-Wpointer-to-int-cast] > r.es = (unsigned short)(((int)(id-LRMI_base_addr()) >> 4) & 0xffff); > ^~~~~~~~~~~~~~~~~~~~~~~~~~ >19 warnings and 2 errors generated. >make: *** [Makefile:412: vbetool.o] Error 1 > * ERROR: sys-apps/vbetool-1.1-r1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=sys-apps/vbetool-1.1-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=sys-apps/vbetool-1.1-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/sys-apps:vbetool-1.1-r1:20220916-193637.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-apps/vbetool-1.1-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/sys-apps/vbetool-1.1-r1/temp/environment'. > * Working directory: '/var/tmp/portage/sys-apps/vbetool-1.1-r1/work/vbetool-1.1' > * S: '/var/tmp/portage/sys-apps/vbetool-1.1-r1/work/vbetool-1.1' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 870523
:
806398
|
806401
|
806404
|
806407
|
806410
| 806413 |
806416