Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 878145 Details for
Bug 919409
sys-fs/arm-fdisk-3.0.6-r1 - fdisk.c: error: passing argument 2 of getopt_long from incompatible pointer type [-Wincompatible-pointer-types]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sys-fs:arm-fdisk-3.0.6-r1:20231207-142521.log
sys-fs:arm-fdisk-3.0.6-r1:20231207-142521.log (text/plain), 12.29 KB, created by
Toralf Förster
on 2023-12-07 16:23:03 UTC
(
hide
)
Description:
sys-fs:arm-fdisk-3.0.6-r1:20231207-142521.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2023-12-07 16:23:03 UTC
Size:
12.29 KB
patch
obsolete
> * Package: sys-fs/arm-fdisk-3.0.6-r1:0 > * Repository: gentoo > * Maintainer: arm@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking arm-fdisk-3.0.6.tar.gz to /var/tmp/portage/sys-fs/arm-fdisk-3.0.6-r1/work >>>> Unpacking acorn-fdisk_3.0.6-6.2.diff.gz to /var/tmp/portage/sys-fs/arm-fdisk-3.0.6-r1/work >>>> Source unpacked in /var/tmp/portage/sys-fs/arm-fdisk-3.0.6-r1/work >>>> Preparing source in /var/tmp/portage/sys-fs/arm-fdisk-3.0.6-r1/work/arm-fdisk-3.0.6 ... > * Applying acorn-fdisk_3.0.6-6.2.diff ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/sys-fs/arm-fdisk-3.0.6-r1/work/arm-fdisk-3.0.6 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/sys-fs/arm-fdisk-3.0.6-r1/work/arm-fdisk-3.0.6 ... >make -j4 CC=x86_64-pc-linux-gnu-gcc AR=x86_64-pc-linux-gnu-ar >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -c -o fdisk.o fdisk.c >make[1]: Entering directory '/var/tmp/portage/sys-fs/arm-fdisk-3.0.6-r1/work/arm-fdisk-3.0.6/lib/part' >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o allocate.o -c allocate.c >make[1]: Entering directory '/var/tmp/portage/sys-fs/arm-fdisk-3.0.6-r1/work/arm-fdisk-3.0.6/lib/scheme' >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o add.o -c add.c >make[1]: Entering directory '/var/tmp/portage/sys-fs/arm-fdisk-3.0.6-r1/work/arm-fdisk-3.0.6/lib/blkio' >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -D_FILE_OFFSET_BITS=64 -o close.o -c close.c >fdisk.c: In function âparse_argsâ: >fdisk.c:67:41: error: passing argument 2 of âgetopt_longâ from incompatible pointer type [-Wincompatible-pointer-types] > 67 | opt = getopt_long(argc, argv, "s:l", options, NULL); > | ^~~~ > | | > | const char ** >In file included from /usr/include/getopt.h:36, > from fdisk.c:33: >/usr/include/bits/getopt_ext.h:66:65: note: expected âchar * const*â but argument is of type âconst char **â > 66 | xtern int getopt_long (int ___argc, char *__getopt_argv_const *___argv, > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ > >fdisk.c: In function âlist_tableâ: >fdisk.c:516:58: warning: format â%lldâ expects argument of type âlong long intâ, but argument 9 has type âblk_tâ {aka âlong unsigned intâ} [-Wformat=] > 516 | printf("%*s%-2d %c%9d%9d%9d%11lld%c %4x %s\n", > | ~~~~~^ > | | > | long long int > | %11ld >...... > 523 | (info.blk_end - info.blk_start + 1) / 2, > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | blk_t {aka long unsigned int} >fdisk.c:529:64: warning: format â%lldâ expects argument of type âlong long intâ, but argument 10 has type âblk_tâ {aka âlong unsigned intâ} [-Wformat=] > 529 | printf("%2d %02x%4d%4d%5d%4d%4d%5d%12lld%12lld %03x\n", > | ~~~~~^ > | | > | long long int > | %12ld >...... > 533 | info.chs_end.cylinder, info.blk_start, > | ~~~~~~~~~~~~~~ > | | > | blk_t {aka long unsigned int} > >fdisk.c:529:70: warning: format â%lldâ expects argument of type âlong long intâ, but argument 11 has type âblk_tâ {aka âlong unsigned intâ} [-Wformat=] > 529 | printf("%2d %02x%4d%4d%5d%4d%4d%5d%12lld%12lld %03x\n", > | ~~~~~^ > | | > | long long int > | %12ld >...... > 534 | info.blk_end - info.blk_start + 1, info.type); > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | blk_t {aka long unsigned int} > >fdisk.c: In function âprint_part_sizeâ: >fdisk.c:570:44: warning: format â%lldâ expects argument of type âlong long intâ, but argument 2 has type âblk_tâ {aka âlong unsigned intâ} [-Wformat=] > 570 | printf("%lld\n", (info.blk_end - info.blk_start + 1) / 2); > | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | | | > | long long int blk_t {aka long unsigned int} > | %ld >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -D_FILE_OFFSET_BITS=64 -o getgeo.o -c getgeo.c >fdisk.c: In function âget_part_nrâ: >fdisk.c:197:17: warning: ignoring return value of âfgetsâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 197 | fgets(buf, sizeof(buf) - 1, stdin); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o close.o -c close.c >fdisk.c: In function âread_lineâ: >fdisk.c:120:17: warning: ignoring return value of âfgetsâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 120 | fgets(buf, sizeof(buf) - 1, stdin); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o chs.o -c chs.c >make: *** [<builtin>: fdisk.o] Error 1 >make: *** Waiting for unfinished jobs.... >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -D_FILE_OFFSET_BITS=64 -o open.o -c open.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o overlap.o -c overlap.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o create.o -c create.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o delete.o -c delete.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o filecore.o -c filecore.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -D_FILE_OFFSET_BITS=64 -o read.o -c read.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o icside.o -c icside.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o getgeo.o -c getgeo.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -D_FILE_OFFSET_BITS=64 -o setblocksz.o -c setblocksz.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o linux.o -c linux.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o getpinfo.o -c getpinfo.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -D_FILE_OFFSET_BITS=64 -o setgeo.o -c setgeo.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o getscheme.o -c getscheme.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -D_FILE_OFFSET_BITS=64 -o write.o -c write.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o open.o -c open.c >x86_64-pc-linux-gnu-ar rc ../blkio.a close.o getgeo.o open.o read.o setblocksz.o setgeo.o write.o >make[1]: Leaving directory '/var/tmp/portage/sys-fs/arm-fdisk-3.0.6-r1/work/arm-fdisk-3.0.6/lib/blkio' >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o read.o -c read.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o setgeo.o -c setgeo.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o pcbios.o -c pcbios.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o powertec.o -c powertec.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o setpinfo.o -c setpinfo.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o sync.o -c sync.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o riscix.o -c riscix.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o types.o -c types.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o write.o -c write.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o eesox.o -c eesox.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\" -Ilib -pipe -DUNIX -I.. -g -o validops.o -c validops.c >x86_64-pc-linux-gnu-ar rc ../part.a allocate.o close.o create.o delete.o getgeo.o getpinfo.o getscheme.o open.o read.o setgeo.o setpinfo.o sync.o types.o write.o validops.o >make[1]: Leaving directory '/var/tmp/portage/sys-fs/arm-fdisk-3.0.6-r1/work/arm-fdisk-3.0.6/lib/part' >x86_64-pc-linux-gnu-ar rc ../scheme.a add.o chs.o overlap.o filecore.o icside.o linux.o pcbios.o powertec.o riscix.o eesox.o >make[1]: Leaving directory '/var/tmp/portage/sys-fs/arm-fdisk-3.0.6-r1/work/arm-fdisk-3.0.6/lib/scheme' > * ERROR: sys-fs/arm-fdisk-3.0.6-r1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=sys-fs/arm-fdisk-3.0.6-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=sys-fs/arm-fdisk-3.0.6-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/sys-fs:arm-fdisk-3.0.6-r1:20231207-142521.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-fs/arm-fdisk-3.0.6-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/sys-fs/arm-fdisk-3.0.6-r1/temp/environment'. > * Working directory: '/var/tmp/portage/sys-fs/arm-fdisk-3.0.6-r1/work/arm-fdisk-3.0.6' > * S: '/var/tmp/portage/sys-fs/arm-fdisk-3.0.6-r1/work/arm-fdisk-3.0.6' >
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 919409
:
878139
|
878140
|
878141
|
878142
|
878143
|
878144
| 878145 |
878146