Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 881635 Details for
Bug 921573
x11-misc/viewglob-2.0.4-r1 - ../.../conf-to-args.c: error: passing argument 4 of hardened_read from incompatible pointer type [-Wincompatible-pointer-
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
x11-misc:viewglob-2.0.4-r1:20240107-141540.log
x11-misc:viewglob-2.0.4-r1:20240107-141540.log (text/plain), 17.46 KB, created by
Toralf Förster
on 2024-01-07 15:56:47 UTC
(
hide
)
Description:
x11-misc:viewglob-2.0.4-r1:20240107-141540.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2024-01-07 15:56:47 UTC
Size:
17.46 KB
patch
obsolete
> * Package: x11-misc/viewglob-2.0.4-r1:0 > * Repository: gentoo > * Maintainer: shell-tools@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking viewglob-2.0.4.tar.gz to /var/tmp/portage/x11-misc/viewglob-2.0.4-r1/work >>>> Source unpacked in /var/tmp/portage/x11-misc/viewglob-2.0.4-r1/work >>>> Preparing source in /var/tmp/portage/x11-misc/viewglob-2.0.4-r1/work/viewglob-2.0.4 ... > * Applying viewglob-2.0.4-underlinking.patch ... > [ ok ] > * Applying viewglob-2.0.4-format-security.patch ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/x11-misc/viewglob-2.0.4-r1/work/viewglob-2.0.4' ... > * Running 'aclocal --system-acdir=/var/tmp/portage/x11-misc/viewglob-2.0.4-r1/temp/aclocal' ... > [ ok ] > * Running 'autoconf --force' ... > [ ok ] > * Running 'autoheader' ... > [ ok ] > * Running 'automake --add-missing --copy --force-missing' ... > [ ok ] > * Running elibtoolize in: viewglob-2.0.4/ >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/x11-misc/viewglob-2.0.4-r1/work/viewglob-2.0.4 ... > * econf: updating viewglob-2.0.4/config.guess with /usr/share/gnuconfig/config.guess > * econf: updating viewglob-2.0.4/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 --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/viewglob-2.0.4-r1 --htmldir=/usr/share/doc/viewglob-2.0.4-r1/html --libdir=/usr/lib64 >configure: loading site script /usr/share/config.site >checking for a BSD-compatible install... /usr/lib/portage/python3.11/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... x86_64-pc-linux-gnu-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 the compiler supports GNU C... yes >checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes >checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed >checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes >checking whether make supports the include directive... yes (GNU style) >checking dependency style of x86_64-pc-linux-gnu-gcc... none >checking for stdio.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for strings.h... yes >checking for sys/stat.h... yes >checking for sys/types.h... yes >checking for unistd.h... yes >checking for sys/time.h... yes >checking for grep that handles long lines and -e... /bin/grep >checking for egrep... /bin/grep -E >checking for dirent.h that defines DIR... yes >checking for library containing opendir... none required >checking for sys/wait.h that is POSIX.1 compatible... yes >checking whether termios.h defines TIOCGWINSZ... no >checking whether sys/ioctl.h defines TIOCGWINSZ... yes >checking for sys/time.h... (cached) yes >checking for time.h... yes >checking for sys/select.h... yes >checking for fnmatch.h... yes >checking for sys/un.h... yes >checking for fcntl.h... yes >checking for errno.h... yes >checking for stdlib.h... (cached) yes >checking for string.h... (cached) yes >checking for sys/ioctl.h... yes >checking for termios.h... yes >checking for unistd.h... (cached) yes >checking for stdlib.h... (cached) yes >checking for arpa/inet.h... yes >checking for netdb.h... yes >checking for netinet/in.h... yes >checking for sys/socket.h... yes >checking for an ANSI C-conforming const... yes >checking for inline... inline >checking for size_t... yes >checking for mode_t... yes >checking for pid_t... yes >checking return type of signal handlers... void >checking for ptrdiff_t... yes >checking whether closedir returns void... no >checking for stat... yes >checking for lstat... yes >checking for dup2... yes >checking for getcwd... yes >checking for memmove... yes >checking for memset... yes >checking for pathconf... yes >checking for select... yes >checking for strchr... yes >checking for setsid... yes >checking for socket... yes >checking for bind... yes >checking for listen... yes >checking for accept... yes >checking for connect... yes >checking for setsockopt... yes >checking for getaddrinfo... yes >checking for library containing gethostbyname... none required >checking for library containing socket... none required >checking for socklen_t... yes >checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config >checking pkg-config is at least version 0.16... yes >checking for glib-2.0 >= 2.2.0... yes >checking for GLIB - version >= 2.2.0... yes (version 2.78.3) >checking for bash... /bin/bash >checking for sed... sed >checking for setpgid... yes >checking for setpgrp... yes >checking for isastream... no >checking for getpt... yes >checking for grantpt... yes >checking for unlockpt... yes >checking whether getpgrp requires zero arguments... yes >checking whether setpgrp requires zero arguments... yes >checking for getpt... yes >checking for pty/tty type... GLIBC >configure: checking for pty ranges... >checking for syslog.h... yes >checking for strtoul... yes >checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E >checking for X... libraries , headers >checking for gethostbyname... yes >checking for connect... (cached) yes >checking for remove... yes >checking for shmat... yes >checking for IceConnectionNumber in -lICE... yes >checking for x86_64-pc-linux-gnu-pkg-config... (cached) /usr/bin/x86_64-pc-linux-gnu-pkg-config >checking pkg-config is at least version 0.7... yes >checking for GTK+ - version >= 2.4.0... yes (version 2.24.33) >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating Makefile >config.status: creating vgseer/Makefile >config.status: creating vgd/Makefile >config.status: creating vgdisplay/Makefile >config.status: creating vgexpand/Makefile >config.status: creating vgping/Makefile >config.status: creating shell/Makefile >config.status: creating common/Makefile >config.status: creating config.h >config.status: executing depfiles commands >>>> Source configured. >>>> Compiling source in /var/tmp/portage/x11-misc/viewglob-2.0.4-r1/work/viewglob-2.0.4 ... >make -j4 >make all-recursive >make[1]: Entering directory '/var/tmp/portage/x11-misc/viewglob-2.0.4-r1/work/viewglob-2.0.4' >Making all in common >make[2]: Entering directory '/var/tmp/portage/x11-misc/viewglob-2.0.4-r1/work/viewglob-2.0.4/common' >make[2]: Nothing to be done for 'all'. >make[2]: Leaving directory '/var/tmp/portage/x11-misc/viewglob-2.0.4-r1/work/viewglob-2.0.4/common' >Making all in vgseer >make[2]: Entering directory '/var/tmp/portage/x11-misc/viewglob-2.0.4-r1/work/viewglob-2.0.4/vgseer' >rm -f vgseer-usage.tmp >sed < ./vgseer-usage.txt >vgseer-usage.tmp \ > -e 's/\\/\\\\/g' \ > -e 's/"/\\"/g' \ > -e 's/.*/\"&\\n\"/' >mv vgseer-usage.tmp vgseer-usage.h >make all-am >make[3]: Entering directory '/var/tmp/portage/x11-misc/viewglob-2.0.4-r1/work/viewglob-2.0.4/vgseer' >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DVG_LIB_DIR="\"/usr/lib64/viewglob\"" -I../common -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -fno-diagnostics-color -Wall -c -o vgseer-vgseer.o `test -f 'vgseer.c' || echo './'`vgseer.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DVG_LIB_DIR="\"/usr/lib64/viewglob\"" -I../common -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -fno-diagnostics-color -Wall -c -o vgseer-cmdline.o `test -f 'cmdline.c' || echo './'`cmdline.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DVG_LIB_DIR="\"/usr/lib64/viewglob\"" -I../common -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -fno-diagnostics-color -Wall -c -o vgseer-sequences.o `test -f 'sequences.c' || echo './'`sequences.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DVG_LIB_DIR="\"/usr/lib64/viewglob\"" -I../common -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -fno-diagnostics-color -Wall -c -o vgseer-tc_setraw.o `test -f 'tc_setraw.c' || echo './'`tc_setraw.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DVG_LIB_DIR="\"/usr/lib64/viewglob\"" -I../common -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -fno-diagnostics-color -Wall -c -o vgseer-connection.o `test -f 'connection.c' || echo './'`connection.c >vgseer.c: In function âmainâ: >vgseer.c:223:16: warning: ignoring return value of âchdirâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 223 | (void) chdir("/"); > | ^~~~~~~~~~ >vgseer.c: In function âhandlerâ: >vgseer.c:1317:23: warning: ignoring return value of âwriteâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 1317 | (void)write(STDERR_FILENO, string, strlen_safe(string)); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >vgseer.c:1318:23: warning: ignoring return value of âwriteâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 1318 | (void)write(STDERR_FILENO, "\n", 1); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/glib-2.0/glib/giochannel.h:36, > from /usr/include/glib-2.0/glib.h:56, > from ../common/common.h:41, > from vgseer.c:20: >vgseer.c: In function âescape_filenameâ: >/usr/include/glib-2.0/glib/gstring.h:74:5: warning: ignoring return value of âg_string_free_and_stealâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 70 | (__builtin_constant_p (free_segment) ? \ > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 71 | ((free_segment) ? \ > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 72 | (g_string_free) ((str), (free_segment)) : \ > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 73 | g_string_free_and_steal (str)) \ > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 74 | : \ > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 75 | (g_string_free) ((str), (free_segment))) > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >vgseer.c:1007:9: note: in expansion of macro âg_string_freeâ > 1007 | g_string_free(escaped, FALSE); > | ^~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DVG_LIB_DIR="\"/usr/lib64/viewglob\"" -I../common -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -fno-diagnostics-color -Wall -c -o vgseer-actions.o `test -f 'actions.c' || echo './'`actions.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DVG_LIB_DIR="\"/usr/lib64/viewglob\"" -I../common -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -fno-diagnostics-color -Wall -c -o vgseer-sanitize.o `test -f 'sanitize.c' || echo './'`sanitize.c >In file included from /usr/include/glib-2.0/glib/giochannel.h:36, > from /usr/include/glib-2.0/glib.h:56, > from ../common/common.h:41, > from sanitize.c:22: >sanitize.c: In function âsanitizeâ: >/usr/include/glib-2.0/glib/gstring.h:74:5: warning: ignoring return value of âg_string_free_and_stealâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 70 | (__builtin_constant_p (free_segment) ? \ > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 71 | ((free_segment) ? \ > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 72 | (g_string_free) ((str), (free_segment)) : \ > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 73 | g_string_free_and_steal (str)) \ > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 74 | : \ > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 75 | (g_string_free) ((str), (free_segment))) > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >sanitize.c:338:9: note: in expansion of macro âg_string_freeâ > 338 | g_string_free(s.command, FALSE); > | ^~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DVG_LIB_DIR="\"/usr/lib64/viewglob\"" -I../common -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -fno-diagnostics-color -Wall -c -o vgseer-ptytty.o `test -f 'ptytty.c' || echo './'`ptytty.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DVG_LIB_DIR="\"/usr/lib64/viewglob\"" -I../common -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -fno-diagnostics-color -Wall -c -o vgseer-pty-child.o `test -f 'pty-child.c' || echo './'`pty-child.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DVG_LIB_DIR="\"/usr/lib64/viewglob\"" -I../common -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -fno-diagnostics-color -Wall -c -o vgseer-hardened-io.o `test -f '../common/hardened-io.c' || echo './'`../common/hardened-io.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DVG_LIB_DIR="\"/usr/lib64/viewglob\"" -I../common -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -fno-diagnostics-color -Wall -c -o vgseer-child.o `test -f '../common/child.c' || echo './'`../common/child.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DVG_LIB_DIR="\"/usr/lib64/viewglob\"" -I../common -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -fno-diagnostics-color -Wall -c -o vgseer-param-io.o `test -f '../common/param-io.c' || echo './'`../common/param-io.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DVG_LIB_DIR="\"/usr/lib64/viewglob\"" -I../common -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -fno-diagnostics-color -Wall -c -o vgseer-shell.o `test -f '../common/shell.c' || echo './'`../common/shell.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DVG_LIB_DIR="\"/usr/lib64/viewglob\"" -I../common -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -fno-diagnostics-color -Wall -c -o vgseer-socket-connect.o `test -f '../common/socket-connect.c' || echo './'`../common/socket-connect.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DVG_LIB_DIR="\"/usr/lib64/viewglob\"" -I../common -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -fno-diagnostics-color -Wall -c -o vgseer-logging.o `test -f '../common/logging.c' || echo './'`../common/logging.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DVG_LIB_DIR="\"/usr/lib64/viewglob\"" -I../common -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -fno-diagnostics-color -Wall -c -o vgseer-conf-to-args.o `test -f '../common/conf-to-args.c' || echo './'`../common/conf-to-args.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DVG_LIB_DIR="\"/usr/lib64/viewglob\"" -I../common -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -fno-diagnostics-color -Wall -c -o vgseer-fgetopt.o `test -f '../common/fgetopt.c' || echo './'`../common/fgetopt.c >../common/conf-to-args.c: In function âconf_to_argsâ: >../common/conf-to-args.c:56:76: error: passing argument 4 of âhardened_readâ from incompatible pointer type [-Wincompatible-pointer-types] > 56 | switch (hardened_read(conf_to_args.fd_in, buf, sizeof buf, &nread)) { > | ^~~~~~ > | | > | gint * {aka int *} > >In file included from ../common/conf-to-args.c:22: >../common/hardened-io.h:54:72: note: expected âgssize *â {aka âlong int *â} but argument is of type âgint *â {aka âint *â} > 54 | _result hardened_read(gint fd, void* buf, size_t count, gssize* nread); > | ~~~~~~~~^~~~~ > >make[3]: *** [Makefile:673: vgseer-conf-to-args.o] Error 1 >make[3]: *** Waiting for unfinished jobs.... >make[3]: Leaving directory '/var/tmp/portage/x11-misc/viewglob-2.0.4-r1/work/viewglob-2.0.4/vgseer' >make[2]: *** [Makefile:334: all] Error 2 >make[2]: Leaving directory '/var/tmp/portage/x11-misc/viewglob-2.0.4-r1/work/viewglob-2.0.4/vgseer' >make[1]: *** [Makefile:453: all-recursive] Error 1 >make[1]: Leaving directory '/var/tmp/portage/x11-misc/viewglob-2.0.4-r1/work/viewglob-2.0.4' >make: *** [Makefile:351: all] Error 2 > * ERROR: x11-misc/viewglob-2.0.4-r1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=x11-misc/viewglob-2.0.4-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=x11-misc/viewglob-2.0.4-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/x11-misc:viewglob-2.0.4-r1:20240107-141540.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/x11-misc/viewglob-2.0.4-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/x11-misc/viewglob-2.0.4-r1/temp/environment'. > * Working directory: '/var/tmp/portage/x11-misc/viewglob-2.0.4-r1/work/viewglob-2.0.4' > * S: '/var/tmp/portage/x11-misc/viewglob-2.0.4-r1/work/viewglob-2.0.4' >
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 921573
:
881627
|
881628
|
881629
|
881630
|
881631
|
881632
|
881633
|
881634
| 881635