Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 817231 Details for
Bug 874540
x11-misc/ktsuss-2.1 - su_backend.c: error: call to undeclared function err; ISO C99 and later
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
x11-misc:ktsuss-2.1:20221003-051005.log
x11-misc:ktsuss-2.1:20221003-051005.log (text/plain), 12.17 KB, created by
Toralf Förster
on 2022-10-03 08:12:45 UTC
(
hide
)
Description:
x11-misc:ktsuss-2.1:20221003-051005.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-10-03 08:12:45 UTC
Size:
12.17 KB
patch
obsolete
> * Package: x11-misc/ktsuss-2.1:0 > * Repository: gentoo > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking ktsuss-2.1.tar.gz to /var/tmp/portage/x11-misc/ktsuss-2.1/work >>>> Source unpacked in /var/tmp/portage/x11-misc/ktsuss-2.1/work >>>> Preparing source in /var/tmp/portage/x11-misc/ktsuss-2.1/work/ktsuss-2.1 ... > * Running eautoreconf in '/var/tmp/portage/x11-misc/ktsuss-2.1/work/ktsuss-2.1' ... > * Running 'aclocal' ... > [ ok ] > * Running 'autoconf --force' ... > [ ok ] > * Running 'autoheader' ... > [ ok ] > * Running 'automake --add-missing --copy --foreign --force-missing' ... > [ ok ] > * Running elibtoolize in: ktsuss-2.1/ >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/x11-misc/ktsuss-2.1/work/ktsuss-2.1 ... > * econf: updating ktsuss-2.1/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating ktsuss-2.1/config.guess with /usr/share/gnuconfig/config.guess >./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/ktsuss-2.1 --htmldir=/usr/share/doc/ktsuss-2.1/html --libdir=/usr/lib64 --disable-sudo >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 whether clang and cc understand -c and -o together... yes >checking whether ln -s works... yes >checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib >checking whether make sets $(MAKE)... (cached) yes >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 size_t... yes >checking for pid_t... yes >checking whether byte ordering is bigendian... no >checking for inline... inline >checking size of int... 4 >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.9.0... yes >checking for DEPS... yes >checking whether we can locate the su program... /bin/su >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 pixmaps/Makefile >config.status: creating config.h >config.status: executing depfiles commands >>>> Source configured. >'/var/tmp/portage/x11-misc/ktsuss-2.1/temp/clang14.log' -> '/var/tmp/clang/x11-misc/ktsuss-2.1/clang14.log' >'/var/tmp/portage/x11-misc/ktsuss-2.1/temp/clang15.log' -> '/var/tmp/clang/x11-misc/ktsuss-2.1/clang15.log' >>>> Compiling source in /var/tmp/portage/x11-misc/ktsuss-2.1/work/ktsuss-2.1 ... >make -j4 >make all-recursive >make[1]: Entering directory '/var/tmp/portage/x11-misc/ktsuss-2.1/work/ktsuss-2.1' >Making all in src >make[2]: Entering directory '/var/tmp/portage/x11-misc/ktsuss-2.1/work/ktsuss-2.1/src' >clang -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -DPIXMAPS=\""/usr/share/pixmaps"\" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o ktsuss.o ktsuss.c >clang -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -DPIXMAPS=\""/usr/share/pixmaps"\" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o su_backend.o su_backend.c >clang -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -DPIXMAPS=\""/usr/share/pixmaps"\" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o sudo_backend.o sudo_backend.c >su_backend.c:70:3: error: call to undeclared function 'err'; ISO C99 and later > do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > err(1, "select()"); > ^ >su_backend.c:86:52: error: call to undeclared function 'err'; ISO C99 and later > do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > if ((pid = forkpty(fdpty, NULL, NULL, NULL)) < 0) err(1, "forkpty()"); > ^ >su_backend.c:167:4: error: call to undeclared function 'err'; ISO C99 and later > do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > err(1, "tcgetattr()"); > ^ >su_backend.c:171:3: error: call to undeclared function 'tty_raw'; ISO C99 and > later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > tty_raw(STDIN_FILENO); > ^ >su_backend.c:182:71: error: call to undeclared function 'err'; ISO C99 and later > do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > ...STDIN_FILENO)+1, &rfds, NULL, NULL, &tv) < 0) err(1, "select()"); > ^ >su_backend.c:200:4: error: call to undeclared function 'err'; ISO C99 and later > do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > err(1, "tcsetattr()"); > ^ >6 errors generated. >make[2]: *** [Makefile:362: su_backend.o] Error 1 >make[2]: *** Waiting for unfinished jobs.... >In file included from ktsuss.c:45: >In file included from /usr/include/gtk-2.0/gtk/gtk.h:33: >In file included from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32: >In file included from /usr/include/gtk-2.0/gtk/gtkdialog.h:35: >In file included from /usr/include/gtk-2.0/gtk/gtkwindow.h:36: >In file included from /usr/include/gtk-2.0/gtk/gtkbin.h:35: >In file included from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35: >In file included from /usr/include/gtk-2.0/gtk/gtkwidget.h:36: >In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37: >/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is > deprecated [-Wdeprecated-declarations] >void gtk_type_init (GTypeDebugFlags debug_flags); > ^ >/usr/include/glib-2.0/gobject/gtype.h:706:19: note: 'GTypeDebugFlags' has been > explicitly marked deprecated here >} GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; > ^ >/usr/include/glib-2.0/glib/gversionmacros.h:570:49: note: expanded from macro > 'GLIB_DEPRECATED_TYPE_IN_2_36' ># define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE > ^ >/usr/include/glib-2.0/glib/gmacros.h:1278:30: note: expanded from macro > 'GLIB_DEPRECATED_TYPE' >#define GLIB_DEPRECATED_TYPE G_DEPRECATED > ^ >/usr/include/glib-2.0/glib/gmacros.h:1201:37: note: expanded from macro > 'G_DEPRECATED' >#define G_DEPRECATED __attribute__((__deprecated__)) > ^ >In file included from ktsuss.c:45: >In file included from /usr/include/gtk-2.0/gtk/gtk.h:126: >In file included from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: >In file included from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30: >In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31: >/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: > Use 'GDateTime' instead [-Wdeprecated-declarations] > GTimeVal last_popdown; > ^ >/usr/include/glib-2.0/glib/gtypes.h:574:35: note: 'GTimeVal' has been explicitly > marked deprecated here >typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); > ^ >/usr/include/glib-2.0/glib/gversionmacros.h:983:49: note: expanded from macro > 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' ># define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) > ^ >/usr/include/glib-2.0/glib/gmacros.h:1279:37: note: expanded from macro > 'GLIB_DEPRECATED_TYPE_FOR' >#define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) > ^ >/usr/include/glib-2.0/glib/gmacros.h:1211:44: note: expanded from macro > 'G_DEPRECATED_FOR' >#define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' ... > ^ >ktsuss.c:91:85: warning: format string is not a string literal > (potentially insecure) [-Wformat-security] > ...0, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, err_msg); > ^~~~~~~ >ktsuss.c:91:85: note: treat the string as an argument to avoid this > ...0, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, err_msg); > ^ > "%s", >ktsuss.c:94:77: warning: format string is not a string literal > (potentially insecure) [-Wformat-security] > ...KTS_ERRORS[type]); > ^~~~~~~~~~~~~~~~ >ktsuss.c:94:77: note: treat the string as an argument to avoid this > ...KTS_ERRORS[type]); > ^ > "%s", >ktsuss.c:143:3: error: call to undeclared function 'err'; ISO C99 and later do > not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > err(1, "tcsetattr()"); > ^ >4 warnings and 1 error generated. >make[2]: *** [Makefile:362: ktsuss.o] Error 1 >make[2]: Leaving directory '/var/tmp/portage/x11-misc/ktsuss-2.1/work/ktsuss-2.1/src' >make[1]: *** [Makefile:364: all-recursive] Error 1 >make[1]: Leaving directory '/var/tmp/portage/x11-misc/ktsuss-2.1/work/ktsuss-2.1' >make: *** [Makefile:305: all] Error 2 > * ERROR: x11-misc/ktsuss-2.1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=x11-misc/ktsuss-2.1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=x11-misc/ktsuss-2.1::gentoo'`. > * The complete build log is located at '/var/log/portage/x11-misc:ktsuss-2.1:20221003-051005.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/x11-misc/ktsuss-2.1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/x11-misc/ktsuss-2.1/temp/environment'. > * Working directory: '/var/tmp/portage/x11-misc/ktsuss-2.1/work/ktsuss-2.1' > * S: '/var/tmp/portage/x11-misc/ktsuss-2.1/work/ktsuss-2.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 874540
:
817210
|
817213
|
817216
|
817219
|
817222
|
817225
|
817228
| 817231