Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 819043 Details for
Bug 874972
dev-perl/Audio-CD-disc-cover-0.05-r3 - cddb_lookup.c: error: implicit declaration of function strtol [-Werror=implicit-function-de
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-perl:Audio-CD-disc-cover-0.05-r3:20221004-160553.log
dev-perl:Audio-CD-disc-cover-0.05-r3:20221004-160553.log (text/plain), 10.31 KB, created by
Toralf Förster
on 2022-10-04 16:29:14 UTC
(
hide
)
Description:
dev-perl:Audio-CD-disc-cover-0.05-r3:20221004-160553.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-10-04 16:29:14 UTC
Size:
10.31 KB
patch
obsolete
> * Package: dev-perl/Audio-CD-disc-cover-0.05-r3:0 > * Repository: gentoo > * Maintainer: perl@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking Audio-CD-0.05.tar.gz to /var/tmp/portage/dev-perl/Audio-CD-disc-cover-0.05-r3/work >>>> Source unpacked in /var/tmp/portage/dev-perl/Audio-CD-disc-cover-0.05-r3/work >>>> Preparing source in /var/tmp/portage/dev-perl/Audio-CD-disc-cover-0.05-r3/work/Audio-CD-0.05 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-perl/Audio-CD-disc-cover-0.05-r3/work/Audio-CD-0.05 ... > * Using ExtUtils::MakeMaker > * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none DESTDIR=/var/tmp/portage/dev-perl/Audio-CD-disc-cover-0.05-r3/image >Checking if your kit is complete... >Looks good >Generating a Unix-style Makefile >Writing Makefile for Audio::CD >Writing MYMETA.yml and MYMETA.json >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-perl/Audio-CD-disc-cover-0.05-r3/work/Audio-CD-0.05 ... >make -j4 'OTHERLDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' 'OPTIMIZE=-pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int' >gcc -c -pipe -march=native -fno-diagnostics-color -O2 -fwrapv -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DVERSION=\"0.05\" -DXS_VERSION=\"0.05\" -fPIC "-I/usr/lib64/perl5/5.36/x86_64-linux/CORE" -g cddb_lookup.c >Running Mkbootstrap for CD () >"/usr/bin/perl" "/usr/lib64/perl5/5.36/ExtUtils/xsubpp" -typemap '/usr/lib64/perl5/5.36/ExtUtils/typemap' -typemap '/var/tmp/portage/dev-perl/Audio-CD-disc-cover-0.05-r3/work/Audio-CD-0.05/typemap' CD.xs > CD.xsc >chmod 644 "CD.bs" >cddb_lookup.c: In function âinexact_selectionâ: >cddb_lookup.c:53:16: error: implicit declaration of function âstrtolâ [-Werror=implicit-function-declaration] > 53 | return strtol(inbuffer, NULL, 10); > | ^~~~~~ >cddb_lookup.c: In function âcddb_lookupâ: >cddb_lookup.c:100:40: error: implicit declaration of function âmallocâ [-Werror=implicit-function-declaration] > 100 | proxy = (struct cddb_server *)malloc(sizeof(struct cddb_server)); > | ^~~~~~ >cddb_lookup.c:24:1: note: include â<stdlib.h>â or provide a declaration of âmallocâ > 23 | #include "stdio.h" > +++ |+#include <stdlib.h> > 24 | >cddb_lookup.c:100:40: warning: incompatible implicit declaration of built-in function âmallocâ [-Wbuiltin-declaration-mismatch] > 100 | proxy = (struct cddb_server *)malloc(sizeof(struct cddb_server)); > | ^~~~~~ >cddb_lookup.c:100:40: note: include â<stdlib.h>â or provide a declaration of âmallocâ >cddb_lookup.c:103:13: error: implicit declaration of function âfreeâ [-Werror=implicit-function-declaration] > 103 | free(proxy); > | ^~~~ >cddb_lookup.c:103:13: note: include â<stdlib.h>â or provide a declaration of âfreeâ >cddb_lookup.c:103:13: warning: incompatible implicit declaration of built-in function âfreeâ [-Wbuiltin-declaration-mismatch] >cddb_lookup.c:103:13: note: include â<stdlib.h>â or provide a declaration of âfreeâ >cddb_lookup.c:108:13: warning: incompatible implicit declaration of built-in function âfreeâ [-Wbuiltin-declaration-mismatch] > 108 | free(proxy); > | ^~~~ >cddb_lookup.c:108:13: note: include â<stdlib.h>â or provide a declaration of âfreeâ >cddb_lookup.c:113:10: error: implicit declaration of function âstrncpyâ [-Werror=implicit-function-declaration] > 113 | strncpy(hello.hello_program, PACKAGE, 256); > | ^~~~~~~ >cddb_lookup.c:24:1: note: include â<string.h>â or provide a declaration of âstrncpyâ > 23 | #include "stdio.h" > +++ |+#include <string.h> > 24 | >cddb_lookup.c:113:10: warning: incompatible implicit declaration of built-in function âstrncpyâ [-Wbuiltin-declaration-mismatch] > 113 | strncpy(hello.hello_program, PACKAGE, 256); > | ^~~~~~~ >cddb_lookup.c:113:10: note: include â<string.h>â or provide a declaration of âstrncpyâ >cddb_lookup.c:141:33: warning: incompatible implicit declaration of built-in function âfreeâ [-Wbuiltin-declaration-mismatch] > 141 | if(conf.conf_proxy) free(proxy); > | ^~~~ >cddb_lookup.c:141:33: note: include â<stdlib.h>â or provide a declaration of âfreeâ >cddb_lookup.c:153:36: warning: incompatible implicit declaration of built-in function âfreeâ [-Wbuiltin-declaration-mismatch] > 153 | if(conf.conf_proxy) free(proxy); > | ^~~~ >cddb_lookup.c:153:36: note: include â<stdlib.h>â or provide a declaration of âfreeâ >cddb_lookup.c:162:36: warning: incompatible implicit declaration of built-in function âfreeâ [-Wbuiltin-declaration-mismatch] > 162 | if(conf.conf_proxy) free(proxy); > | ^~~~ >cddb_lookup.c:162:36: note: include â<stdlib.h>â or provide a declaration of âfreeâ >cddb_lookup.c:166:13: error: implicit declaration of function âshutdownâ [-Werror=implicit-function-declaration] > 166 | shutdown(sock, 2); > | ^~~~~~~~ >cddb_lookup.c:167:13: error: implicit declaration of function âcloseâ; did you mean âpcloseâ? [-Werror=implicit-function-declaration] > 167 | close(sock); > | ^~~~~ > | pclose >"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- CD.bs blib/arch/auto/Audio/CD/CD.bs 644 >cddb_lookup.c:171:36: warning: incompatible implicit declaration of built-in function âfreeâ [-Wbuiltin-declaration-mismatch] > 171 | if(conf.conf_proxy) free(proxy); > | ^~~~ >cddb_lookup.c:171:36: note: include â<stdlib.h>â or provide a declaration of âfreeâ >cddb_lookup.c:181:36: warning: incompatible implicit declaration of built-in function âfreeâ [-Wbuiltin-declaration-mismatch] > 181 | if(conf.conf_proxy) free(proxy); > | ^~~~ >cddb_lookup.c:181:36: note: include â<stdlib.h>â or provide a declaration of âfreeâ >cddb_lookup.c:190:30: warning: incompatible implicit declaration of built-in function âfreeâ [-Wbuiltin-declaration-mismatch] > 190 | if(conf.conf_proxy) free(proxy); > | ^~~~ >cddb_lookup.c:190:30: note: include â<stdlib.h>â or provide a declaration of âfreeâ >cddb_lookup.c:196:16: error: implicit declaration of function âstrlenâ [-Werror=implicit-function-declaration] > 196 | if(strlen(query.query_list[0].list_artist) > 0) > | ^~~~~~ >cddb_lookup.c:196:16: note: include â<string.h>â or provide a declaration of âstrlenâ >cddb_lookup.c:196:16: warning: incompatible implicit declaration of built-in function âstrlenâ [-Wbuiltin-declaration-mismatch] >cddb_lookup.c:196:16: note: include â<string.h>â or provide a declaration of âstrlenâ >cddb_lookup.c:227:18: warning: incompatible implicit declaration of built-in function âstrlenâ [-Wbuiltin-declaration-mismatch] > 227 | if(strlen(query.query_list[index].list_artist) < 1) > | ^~~~~~ >cddb_lookup.c:227:18: note: include â<string.h>â or provide a declaration of âstrlenâ >cddb_lookup.c: In function âinexact_selectionâ: >cddb_lookup.c:52:9: warning: ignoring return value of âfgetsâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 52 | fgets(inbuffer, sizeof(inbuffer), stdin); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cp CD.pm blib/lib/Audio/CD.pm >mv CD.xsc CD.c >gcc -c -pipe -march=native -fno-diagnostics-color -O2 -fwrapv -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DVERSION=\"0.05\" -DXS_VERSION=\"0.05\" -fPIC "-I/usr/lib64/perl5/5.36/x86_64-linux/CORE" -g CD.c >cc1: some warnings being treated as errors >make: *** [Makefile:343: cddb_lookup.o] Error 1 >make: *** Waiting for unfinished jobs.... >In file included from /usr/lib64/perl5/5.36/x86_64-linux/CORE/perl.h:5839, > from CD.xs:16: >CD.c: In function âXS_Audio__CD_initâ: >CD.c:299:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 299 | sv_setref_pv(RETVALSV, "Audio::CD", (void*)RETVAL); > | ^ >/usr/lib64/perl5/5.36/x86_64-linux/CORE/embed.h:703:61: note: in definition of macro âsv_setref_pvâ > 703 | #define sv_setref_pv(a,b,c) Perl_sv_setref_pv(aTHX_ a,b,c) > | ^ >CD.c: In function âXS_Audio__CD_cddbâ: >CD.c:363:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 363 | sv_setref_pv(RETVALSV, "Audio::CDDB", (void*)RETVAL); > | ^ >/usr/lib64/perl5/5.36/x86_64-linux/CORE/embed.h:703:61: note: in definition of macro âsv_setref_pvâ > 703 | #define sv_setref_pv(a,b,c) Perl_sv_setref_pv(aTHX_ a,b,c) > | ^ > * ERROR: dev-perl/Audio-CD-disc-cover-0.05-r3::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=dev-perl/Audio-CD-disc-cover-0.05-r3::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-perl/Audio-CD-disc-cover-0.05-r3::gentoo'`. > * The complete build log is located at '/var/log/portage/dev-perl:Audio-CD-disc-cover-0.05-r3:20221004-160553.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-perl/Audio-CD-disc-cover-0.05-r3/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-perl/Audio-CD-disc-cover-0.05-r3/temp/environment'. > * Working directory: '/var/tmp/portage/dev-perl/Audio-CD-disc-cover-0.05-r3/work/Audio-CD-0.05' > * S: '/var/tmp/portage/dev-perl/Audio-CD-disc-cover-0.05-r3/work/Audio-CD-0.05' >
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 874972
:
819040
| 819043 |
819046
|
819049
|
819052
|
819055