Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 835355 Details for
Bug 882321
x11-plugins/wmmp3-0.12-r1 - warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
x11-plugins:wmmp3-0.12-r1:20221120-211202.log
x11-plugins:wmmp3-0.12-r1:20221120-211202.log (text/plain), 10.74 KB, created by
Toralf Förster
on 2022-11-20 21:29:01 UTC
(
hide
)
Description:
x11-plugins:wmmp3-0.12-r1:20221120-211202.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-11-20 21:29:01 UTC
Size:
10.74 KB
patch
obsolete
> * Package: x11-plugins/wmmp3-0.12-r1:0 > * Repository: gentoo > * Maintainer: voyageur@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking wmmp3-0.12.tar.gz to /var/tmp/portage/x11-plugins/wmmp3-0.12-r1/work >>>> Source unpacked in /var/tmp/portage/x11-plugins/wmmp3-0.12-r1/work >>>> Preparing source in /var/tmp/portage/x11-plugins/wmmp3-0.12-r1/work/wmmp3-0.12 ... > * Applying wmmp3-0.12-x_includes_n_libraries.patch ... > [ ok ] > * Applying wmmp3-0.12-fno-common.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/x11-plugins/wmmp3-0.12-r1/work/wmmp3-0.12 ... >./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 --libdir=/usr/lib64 >creating cache ./config.cache >checking for a BSD compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c >checking whether build environment is sane... yes >checking whether make sets ${MAKE}... yes >checking for working aclocal... found >checking for working autoconf... found >checking for working automake... found >checking for working autoheader... found >checking for working makeinfo... found >checking for gcc... gcc >checking whether the C compiler (gcc -pipe -march=native -fno-diagnostics-color -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0) works... yes >checking whether the C compiler (gcc -pipe -march=native -fno-diagnostics-color -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0) is a cross-compiler... no >checking whether we are using GNU C... yes >checking whether gcc accepts -g... yes >checking for a BSD compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c >checking how to run the C preprocessor... gcc -E >checking for X... libraries /usr/lib64, headers >checking for dnet_ntoa in -ldnet... no >checking for dnet_ntoa in -ldnet_stub... no >checking for gethostbyname... yes >checking for connect... yes >checking for remove... yes >checking for shmat... yes >checking for IceConnectionNumber in -lICE... yes >checking for XOpenDisplay in -lX11... yes >checking for XShapeCombineMask in -lXext... yes >checking for XpmCreatePixmapFromData in -lXpm... yes >updating cache ./config.cache >creating ./config.status >creating Makefile >>>> Source configured. >>>> Compiling source in /var/tmp/portage/x11-plugins/wmmp3-0.12-r1/work/wmmp3-0.12 ... >make -j4 prefix=/usr/ >gcc -DPACKAGE=\"wmmp3\" -DVERSION=\"0.12\" -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 -DHAVE_LIBXPM=1 -I. -I. -pipe -march=native -fno-diagnostics-color -O2 -c main.c >gcc -DPACKAGE=\"wmmp3\" -DVERSION=\"0.12\" -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 -DHAVE_LIBXPM=1 -I. -I. -pipe -march=native -fno-diagnostics-color -O2 -c wmgeneral.c >gcc -DPACKAGE=\"wmmp3\" -DVERSION=\"0.12\" -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 -DHAVE_LIBXPM=1 -I. -I. -pipe -march=native -fno-diagnostics-color -O2 -c mpg123ctl.c >gcc -DPACKAGE=\"wmmp3\" -DVERSION=\"0.12\" -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 -DHAVE_LIBXPM=1 -I. -I. -pipe -march=native -fno-diagnostics-color -O2 -c song_hash.c >song_hash.c: In function âinsert_songâ: >song_hash.c:22:39: warning: implicit declaration of function âmallocâ [-Wimplicit-function-declaration] > 22 | new_elt = (struct hash_elt *) malloc(sizeof(struct hash_elt)); > | ^~~~~~ >song_hash.c:2:1: note: include â<stdlib.h>â or provide a declaration of âmallocâ > 1 | #include "song_hash.h" > +++ |+#include <stdlib.h> > 2 | >song_hash.c:22:39: warning: incompatible implicit declaration of built-in function âmallocâ [-Wbuiltin-declaration-mismatch] > 22 | new_elt = (struct hash_elt *) malloc(sizeof(struct hash_elt)); > | ^~~~~~ >song_hash.c:22:39: note: include â<stdlib.h>â or provide a declaration of âmallocâ >song_hash.c:26:42: warning: implicit declaration of function âstrdupâ [-Wimplicit-function-declaration] > 26 | new_elt->title = (char *)strdup(title); > | ^~~~~~ >song_hash.c:26:42: warning: incompatible implicit declaration of built-in function âstrdupâ [-Wbuiltin-declaration-mismatch] >song_hash.c: In function âfree_eltâ: >song_hash.c:76:17: warning: implicit declaration of function âfreeâ [-Wimplicit-function-declaration] > 76 | free(elt); > | ^~~~ >song_hash.c:76:17: note: include â<stdlib.h>â or provide a declaration of âfreeâ >song_hash.c:76:17: warning: incompatible implicit declaration of built-in function âfreeâ [-Wbuiltin-declaration-mismatch] >song_hash.c:76:17: note: include â<stdlib.h>â or provide a declaration of âfreeâ >gcc -DPACKAGE=\"wmmp3\" -DVERSION=\"0.12\" -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 -DHAVE_LIBXPM=1 -I. -I. -pipe -march=native -fno-diagnostics-color -O2 -c buttons.c >main.c: In function âstripspaceâ: >main.c:44:21: warning: implicit declaration of function âisspaceâ [-Wimplicit-function-declaration] > 44 | while (t > s && isspace(*t)) { > | ^~~~~~~ >main.c:15:1: note: include â<ctype.h>â or provide a declaration of âisspaceâ > 14 | #include "main.h" > +++ |+#include <ctype.h> > 15 | >main.c: In function âloadconfigâ: >main.c:145:9: warning: ignoring return value of âfgetsâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 145 | fgets(line, 256, fp); > | ^~~~~~~~~~~~~~~~~~~~ >main.c:175:13: warning: ignoring return value of âfgetsâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 175 | fgets(line, 256, fp); > | ^~~~~~~~~~~~~~~~~~~~ >mpg123ctl.c: In function âset_playlistâ: >mpg123ctl.c:123:15: warning: implicit declaration of function âtimeâ [-Wimplicit-function-declaration] > 123 | srand(time(NULL)); > | ^~~~ >mpg123ctl.c:18:1: note: âtimeâ is defined in header â<time.h>â; did you forget to â#include <time.h>â? > 17 | #include "mpg123ctl.h" > +++ |+#include <time.h> > 18 | >mpg123ctl.c: In function âplayâ: >mpg123ctl.c:160:15: warning: missing sentinel in function call [-Wformat=] > 160 | song_name, 0); > | ^~~~~~~~~ >mpg123ctl.c: In function âset_alwaysscrollâ: >mpg123ctl.c:274:17: warning: implicit declaration of function âtolowerâ [-Wimplicit-function-declaration] > 274 | *temp = tolower(*temp); > | ^~~~~~~ >mpg123ctl.c:18:1: note: include â<ctype.h>â or provide a declaration of âtolowerâ > 17 | #include "mpg123ctl.h" > +++ |+#include <ctype.h> > 18 | >buttons.c: In function âbutton_downâ: >buttons.c:69:9: warning: implicit declaration of function âcopyXPMAreaâ [-Wimplicit-function-declaration] > 69 | copyXPMArea(btn_down[i].x, btn_down[i].y, btn_down[i].w, btn_down[i].h, > | ^~~~~~~~~~~ >gcc -pipe -march=native -fno-diagnostics-color -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -L/usr/lib64 -o wmmp3 main.o mpg123ctl.o wmgeneral.o buttons.o song_hash.o -lXpm -lXext -lX11 >>>> Source compiled. >>>> Test phase [not enabled]: x11-plugins/wmmp3-0.12-r1 > >>>> Install x11-plugins/wmmp3-0.12-r1 into /var/tmp/portage/x11-plugins/wmmp3-0.12-r1/image >make -j4 DESTDIR=/var/tmp/portage/x11-plugins/wmmp3-0.12-r1/image install >make[1]: Entering directory '/var/tmp/portage/x11-plugins/wmmp3-0.12-r1/work/wmmp3-0.12' >make[1]: Nothing to be done for 'install-data-am'. >/bin/sh ./mkinstalldirs /var/tmp/portage/x11-plugins/wmmp3-0.12-r1/image/usr/bin >mkdir /var/tmp/portage/x11-plugins/wmmp3-0.12-r1/image/usr >mkdir /var/tmp/portage/x11-plugins/wmmp3-0.12-r1/image/usr/bin > /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c wmmp3 /var/tmp/portage/x11-plugins/wmmp3-0.12-r1/image/usr/bin/wmmp3 >make[1]: Leaving directory '/var/tmp/portage/x11-plugins/wmmp3-0.12-r1/work/wmmp3-0.12' >>>> Completed installing x11-plugins/wmmp3-0.12-r1 into /var/tmp/portage/x11-plugins/wmmp3-0.12-r1/image > > * Final size of build directory: 428 KiB > * Final size of installed tree: 84 KiB > > * > * QA Notice: Package triggers severe warnings which indicate that it > * may exhibit random runtime failures. > * > * song_hash.c:22:39: warning: implicit declaration of function âmallocâ [-Wimplicit-function-declaration] > * song_hash.c:22:39: warning: incompatible implicit declaration of built-in function âmallocâ [-Wbuiltin-declaration-mismatch] > * song_hash.c:26:42: warning: implicit declaration of function âstrdupâ [-Wimplicit-function-declaration] > * song_hash.c:26:42: warning: incompatible implicit declaration of built-in function âstrdupâ [-Wbuiltin-declaration-mismatch] > * song_hash.c:76:17: warning: implicit declaration of function âfreeâ [-Wimplicit-function-declaration] > * song_hash.c:76:17: warning: incompatible implicit declaration of built-in function âfreeâ [-Wbuiltin-declaration-mismatch] > * main.c:44:21: warning: implicit declaration of function âisspaceâ [-Wimplicit-function-declaration] > * mpg123ctl.c:123:15: warning: implicit declaration of function âtimeâ [-Wimplicit-function-declaration] > * mpg123ctl.c:160:15: warning: missing sentinel in function call [-Wformat=] > * mpg123ctl.c:274:17: warning: implicit declaration of function âtolowerâ [-Wimplicit-function-declaration] > * buttons.c:69:9: warning: implicit declaration of function âcopyXPMAreaâ [-Wimplicit-function-declaration] > * > * Please file a bug about this at https://bugs.gentoo.org/ > * with the maintainer of the package. > * > * ERROR: x11-plugins/wmmp3-0.12-r1::gentoo failed: > * install aborted due to severe warnings shown above > * > * Call stack: > * misc-functions.sh, line 670: Called install_qa_check > * misc-functions.sh, line 134: Called source 'install_symlink_html_docs' > * 90gcc-warnings, line 197: Called gcc_warn_check > * 90gcc-warnings, line 183: Called die > * The specific snippet of code: > * die "install aborted due to severe warnings shown above" > * > * If you need support, post the output of `emerge --info '=x11-plugins/wmmp3-0.12-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=x11-plugins/wmmp3-0.12-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/x11-plugins:wmmp3-0.12-r1:20221120-211202.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/x11-plugins/wmmp3-0.12-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/x11-plugins/wmmp3-0.12-r1/temp/environment'. > * Working directory: '/var/tmp/portage/x11-plugins/wmmp3-0.12-r1/image' > * S: '/var/tmp/portage/x11-plugins/wmmp3-0.12-r1/work/wmmp3-0.12' >
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 882321
:
835343
|
835345
|
835347
|
835349
|
835351
|
835353
| 835355