Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 815998 Details for
Bug 874312
media-sound/mpg321-0.3.2 - network.c: error: call to undeclared function do_basicauth; ISO C99 and
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
media-sound:mpg321-0.3.2:20221002-200037.log
media-sound:mpg321-0.3.2:20221002-200037.log (text/plain), 18.83 KB, created by
Toralf Förster
on 2022-10-02 20:06:44 UTC
(
hide
)
Description:
media-sound:mpg321-0.3.2:20221002-200037.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-10-02 20:06:44 UTC
Size:
18.83 KB
patch
obsolete
> * Package: media-sound/mpg321-0.3.2:0 > * Repository: gentoo > * Maintainer: sound@gentoo.org > * USE: abi_x86_64 alsa amd64 elibc_glibc ipv6 kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking mpg321-0.3.2.tar.gz to /var/tmp/portage/media-sound/mpg321-0.3.2/work >>>> Source unpacked in /var/tmp/portage/media-sound/mpg321-0.3.2/work >>>> Preparing source in /var/tmp/portage/media-sound/mpg321-0.3.2/work/mpg321-0.3.2-orig ... > * Applying mpg321-0.2.12-check-for-lround.patch ... > [ ok ] > * Applying mpg321-0.3.2-format-security.patch ... > [ ok ] > * Applying mpg321-0.3.2-CVE-2019-14247.patch ... > [ ok ] > * Applying mpg321-0.3.2-gcc10.patch ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/media-sound/mpg321-0.3.2/work/mpg321-0.3.2-orig' ... > * Running 'aclocal --system-acdir=/var/tmp/portage/media-sound/mpg321-0.3.2/temp/aclocal' ... > [ ok ] > * Running 'autoconf --force' ... > [ ok ] > * Running 'autoheader' ... > [ ok ] > * Running 'automake --add-missing --copy --force-missing' ... > [ ok ] > * Running elibtoolize in: mpg321-0.3.2-orig/ >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/media-sound/mpg321-0.3.2/work/mpg321-0.3.2-orig ... > * econf: updating mpg321-0.3.2-orig/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating mpg321-0.3.2-orig/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/mpg321-0.3.2 --htmldir=/usr/share/doc/mpg321-0.3.2/html --libdir=/usr/lib64 --disable-mpg123-symlink --enable-ipv6 --enable-alsa >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 gawk... (cached) gawk >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 ln -s works... yes >checking for mad_decoder_run in -lmad... yes >checking for compress2 in -lz... yes >checking for id3_tag_new in -lid3tag... yes >checking for pthread_create in -lpthread... yes >checking for dlopen... yes >checking for ao... 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 sys/time.h... yes >checking for sys/param.h... yes >checking for arpa/inet.h... yes >checking for errno.h... yes >checking for fcntl.h... yes >checking for limits.h... yes >checking for netdb.h... yes >checking for netinet/in.h... yes >checking for stdlib.h... (cached) yes >checking for string.h... (cached) yes >checking for sys/ioctl.h... yes >checking for sys/socket.h... yes >checking for sys/time.h... (cached) yes >checking for unistd.h... (cached) yes >checking for grep that handles long lines and -e... /bin/grep >checking for egrep... /bin/grep -E >checking for fcntl.h... (cached) yes >checking for sys/ioctl.h... (cached) yes >checking for sys/time.h... (cached) yes >checking for unistd.h... (cached) yes >checking whether byte ordering is bigendian... no >checking for an ANSI C-conforming const... yes >checking for inline... inline >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >checking for GNU libc compatible malloc... yes >checking whether lstat correctly handles trailing slash... yes >checking whether stat accepts an empty string... no >checking for getpagesize... yes >checking for working mmap... yes >checking return type of signal handlers... void >checking how to run the C preprocessor... clang -E >checking for socklen_t in sys/socket.h... yes >checking for special C compiler options needed for large files... no >checking for _FILE_OFFSET_BITS value needed for large files... no >checking for gethostbyname... yes >checking for memset... yes >checking for munmap... yes >checking for socket... yes >checking for strchr... yes >checking for strdup... yes >checking for strerror... yes >checking for strrchr... yes >checking for strstr... yes >checking for gettimeofday... yes >checking for select... yes >checking for getenv... yes >checking for putenv... yes >checking for setenv... yes >checking for unsetenv... yes >checking for strcasecmp... yes >checking for lround... no >checking for lround in -lm... yes >checking whether to enable ALSA... yes >checking for snd_mixer_selem_get_playback_volume in -lasound... yes >checking for library containing gethostbyname... none required >checking for socket... (cached) yes >checking for getaddrinfo... yes >checking whether to enable IPv6 support... yes >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating Makefile >config.status: creating config.h >config.status: executing depfiles commands >>>> Source configured. >'/var/tmp/portage/media-sound/mpg321-0.3.2/temp/clang14.log' -> '/var/tmp/clang/media-sound/mpg321-0.3.2/clang14.log' >'/var/tmp/portage/media-sound/mpg321-0.3.2/temp/clang15.log' -> '/var/tmp/clang/media-sound/mpg321-0.3.2/clang15.log' >>>> Compiling source in /var/tmp/portage/media-sound/mpg321-0.3.2/work/mpg321-0.3.2-orig ... >make -j4 >make all-recursive >make[1]: Entering directory '/var/tmp/portage/media-sound/mpg321-0.3.2/work/mpg321-0.3.2-orig' >make[2]: Entering directory '/var/tmp/portage/media-sound/mpg321-0.3.2/work/mpg321-0.3.2-orig' >clang -DHAVE_CONFIG_H -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include -DHAVE_ALSA -c -o mpg321.o mpg321.c >clang -DHAVE_CONFIG_H -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include -DHAVE_ALSA -c -o mad.o mad.c >clang -DHAVE_CONFIG_H -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include -DHAVE_ALSA -c -o playlist.o playlist.c >clang -DHAVE_CONFIG_H -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include -DHAVE_ALSA -c -o network.o network.c >network.c:217:10: warning: comparison of array 'ipstring' equal to a null > pointer is always false [-Wtautological-pointer-compare] > if (ipstring == NULL) > ^~~~~~~~ ~~~~ >network.c:482:5: error: call to undeclared function 'do_basicauth'; ISO C99 and > later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > do_basicauth(); > ^ >1 warning and 1 error generated. >mpg321.c:110:8: error: type specifier missing, defaults to 'int'; ISO C99 and > later do not support implicit int [-Werror,-Wimplicit-int] >extern http_file_length; >~~~~~~ ^ >int >make[2]: *** [Makefile:518: network.o] Error 1 >make[2]: *** Waiting for unfinished jobs.... >mpg321.c:140:13: error: call to undeclared function 'mpg321_alsa_get_volume'; > ISO C99 and later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > bvolume = mpg321_alsa_get_volume(); > ^ >mpg321.c:154:15: error: call to undeclared function 'mpg321_alsa_get_volume'; > ISO C99 and later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > bvolume = mpg321_alsa_get_volume(); > ^ >mpg321.c:181:5: error: call to undeclared function 'mpg321_alsa_set_volume'; ISO > C99 and later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > mpg321_alsa_set_volume(bvolume); > ^ >mpg321.c:205:15: error: call to undeclared function 'mpg321_alsa_get_volume'; > ISO C99 and later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > bvolume = mpg321_alsa_get_volume(); > ^ >mpg321.c:231:5: error: call to undeclared function 'mpg321_alsa_set_volume'; ISO > C99 and later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > mpg321_alsa_set_volume(bvolume); > ^ >mpg321.c:261:6: error: call to undeclared function 'mpg321_alsa_set_volume'; ISO > C99 and later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > mpg321_alsa_set_volume((long)0.0); > ^ >mpg321.c:271:6: error: call to undeclared function 'mpg321_alsa_set_volume'; ISO > C99 and later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > mpg321_alsa_set_volume(bvolume); > ^ >mpg321.c:696:3: error: call to undeclared function 'init_alsa_volume_control'; > ISO C99 and later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > init_alsa_volume_control("default"); /* For the moment u... > ^ >mpg321.c:698:4: error: call to undeclared function 'mpg321_alsa_set_volume'; ISO > C99 and later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > mpg321_alsa_set_volume((long)options.volume*volu... > ^ >mpg321.c:723:7: error: call to undeclared function 'init_alsa_volume_control'; > ISO C99 and later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > init_alsa_volume_control("default"); > ^ >mpg321.c:725:8: error: call to undeclared function 'mpg321_alsa_set_volume'; ISO > C99 and later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > mpg321_alsa_set_volume((long)options.volume*... > ^ >mpg321.c:890:6: error: call to undeclared function 'calc_http_length'; ISO C99 > and later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > calc_http_length(&playbuf); > ^ >mpg321.c:890:6: note: did you mean 'calc_length'? >./mpg321.h:190:5: note: 'calc_length' declared here >mad.cint calc_length(char *file, buffer*buf );: > ^ >379:3: warning: add explicit braces to avoid dangling else > [-Wdangling-else] > else if(count < 0) > ^ >mpg321.c:1245:31: warning: passing 'id3_latin1_t *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > if (!latin1 || strlen(latin1) == 0) return (NULL); > ^~~~~~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >mpg321.c:1246:22: warning: passing 'id3_latin1_t *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > len = strlen(latin1); > ^~~~~~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >mpg321.c:1253:29: warning: passing 'id3_latin1_t *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strncat (printable, latin1, tocopy); > ^~~~~~ >/usr/include/string.h:152:71: note: passing argument to parameter '__src' here >extern char *strncat (char *__restrict __dest, const char *__restrict __src, > ^ >mpg321.c:1271:26: warning: passing 'id3_latin1_t *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > len = strlen(latin1); > ^~~~~~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >mpg321.c:1278:33: warning: passing 'id3_latin1_t *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strncat (printable, latin1, tocopy); > ^~~~~~ >/usr/include/string.h:152:71: note: passing argument to parameter '__src' here >extern char *strncat (char *__restrict __dest, const char *__restrict __src, > ^ >5 warnings and 13 errors generated. >mad.c:878:2: error: call to undeclared function 'fft_perform'; ISO C99 and later > do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > fft_perform((sound_sample *)samples, fftout, state); > ^ >mad.c:936:1: warning: non-void function does not return a value in all control > paths [-Wreturn-type] >} >^ >mad.c:951:21: warning: initializing 'char *' with an expression of type > 'unsigned char[4608]' converts between pointers to integer types where one > is of the unique plain 'char' type and the other is not [-Wpointer-sign] > register char * ptr = stream; > ^ ~~~~~~ >mad.c:963:10: warning: assigning to 'char *' from 'unsigned char[4608]' converts > between pointers to integer types where one is of the unique plain 'char' > type and the other is not [-Wpointer-sign] > ptr = (Output_Queue+mad_decoder_position)->data; > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >mad.c:1019:14: warning: passing 'unsigned char[4608]' to parameter of type > 'char *' converts between pointers to integer types where one is of the > unique plain 'char' type and the other is not [-Wpointer-sign] > process_fft(stream, pcm->length * 4); > ^~~~~~ >mad.c:900:31: note: passing argument to parameter 'data' here >static int process_fft( char *data, int size) > ^ >mad.c:1025:23: warning: passing 'unsigned char[4608]' to parameter of type > 'char *' converts between pointers to integer types where one is of the > unique plain 'char' type and the other is not [-Wpointer-sign] > ao_play(playdevice, stream, pcm->length * 4); > ^~~~~~ >/usr/include/ao/ao.h:120:37: note: passing argumentmake[2]: *** [Makefile:518: mpg321.o] Error 1 > to parameter > 'output_samples' here > char *output_samples, > ^ >mad.c:1051:14: warning: passing 'unsigned char[4608]' to parameter of type > 'char *' converts between pointers to integer types where one is of the > unique plain 'char' type and the other is not [-Wpointer-sign] > process_fft(stream, pcm->length * 4); > ^~~~~~ >mad.c:900:31: note: passing argument to parameter 'data' here >static int process_fft( char *data, int size) > ^ >mad.c:1057:23: warning: passing 'unsigned char[4608]' to parameter of type > 'char *' converts between pointers to integer types where one is of the > unique plain 'char' type and the other is not [-Wpointer-sign] > ao_play(playdevice, stream, pcm->length * 4); > ^~~~~~ >/usr/include/ao/ao.h:120:37: note: passing argument to parameter > 'output_samples' here > char *output_samples, > ^ >mad.c:1079:14: warning: passing 'unsigned char[4608]' to parameter of type > 'char *' converts between pointers to integer types where one is of the > unique plain 'char' type and the other is not [-Wpointer-sign] > process_fft(stream, pcm->length * 2); > ^~~~~~ >mad.c:900:31: note: passing argument to parameter 'data' here >static int process_fft( char *data, int size) > ^ >mad.c:1085:23: warning: passing 'unsigned char[4608]' to parameter of type > 'char *' converts between pointers to integer types where one is of the > unique plain 'char' type and the other is not [-Wpointer-sign] > ao_play(playdevice, stream, pcm->length * 2); > ^~~~~~ >/usr/include/ao/ao.h:120:37: note: passing argument to parameter > 'output_samples' here > char *output_samples, > ^ >10 warnings and 1 error generated. >make[2]: *** [Makefile:518: mad.o] Error 1 >make[2]: Leaving directory '/var/tmp/portage/media-sound/mpg321-0.3.2/work/mpg321-0.3.2-orig' >make[1]: *** [Makefile:577: all-recursive] Error 1 >make[1]: Leaving directory '/var/tmp/portage/media-sound/mpg321-0.3.2/work/mpg321-0.3.2-orig' >make: *** [Makefile:389: all] Error 2 > * ERROR: media-sound/mpg321-0.3.2::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=media-sound/mpg321-0.3.2::gentoo'`, > * the complete build log and the output of `emerge -pqv '=media-sound/mpg321-0.3.2::gentoo'`. > * The complete build log is located at '/var/log/portage/media-sound:mpg321-0.3.2:20221002-200037.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-sound/mpg321-0.3.2/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/media-sound/mpg321-0.3.2/temp/environment'. > * Working directory: '/var/tmp/portage/media-sound/mpg321-0.3.2/work/mpg321-0.3.2-orig' > * S: '/var/tmp/portage/media-sound/mpg321-0.3.2/work/mpg321-0.3.2-orig' >
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 874312
:
815980
|
815983
|
815986
|
815989
|
815992
|
815995
| 815998 |
816001