Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 626172 Details for
Bug 714888
media-sound/fmdrv-1.0.7 : main.c: error: format not a string literal and no format arguments [-Werror=format-security]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
media-sound:fmdrv-1.0.7:20200326-134914.log
media-sound:fmdrv-1.0.7:20200326-134914.log (text/plain), 9.76 KB, created by
Toralf Förster
on 2020-03-26 16:59:24 UTC
(
hide
)
Description:
media-sound:fmdrv-1.0.7:20200326-134914.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2020-03-26 16:59:24 UTC
Size:
9.76 KB
patch
obsolete
> * Package: media-sound/fmdrv-1.0.7 > * Repository: gentoo > * Maintainer: sound@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox >>>> Unpacking source... >>>> Unpacking fmdrv-1.0.7.tar.bz2 to /var/tmp/portage/media-sound/fmdrv-1.0.7/work >>>> Source unpacked in /var/tmp/portage/media-sound/fmdrv-1.0.7/work >>>> Preparing source in /var/tmp/portage/media-sound/fmdrv-1.0.7/work/fmdrv-1.0.7 ... > * Applying fmdrv-1.0.7-ioperm.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/media-sound/fmdrv-1.0.7/work/fmdrv-1.0.7 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/media-sound/fmdrv-1.0.7/work/fmdrv-1.0.7 ... >make -j1 fmdrv CC=x86_64-pc-linux-gnu-gcc CXX=x86_64-pc-linux-gnu-g++ 'CFLAGS=-O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat' 'CXXFLAGS=-O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--defsym=__gentoo_check_ldflags__=0' >Checking dependencies... >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat -DVERSION=\"1.0.7\" -DCONFIG=\"/\" -DBINDIR=\"/usr/local/bin\" -DUnderFMDRV -c -o main.o main.c >main.c: In function âAnalyzeRowâ: >main.c:543:21: error: format not a string literal and no format arguments [-Werror=format-security] > 543 | case edmNorm: printf(Nuotti(chanote)); > | ^~~~ >main.c:625:28: error: format not a string literal and no format arguments [-Werror=format-security] > 625 | printf(Buf); > | ^~~ >main.c:637:28: error: format not a string literal and no format arguments [-Werror=format-security] > 637 | printf(Buf); > | ^~~ >main.c: In function âGetVarLenâ: >main.c:1627:25: warning: format â%dâ expects argument of type âintâ, but argument 2 has type âdwordâ {aka âlong unsigned intâ} [-Wformat=] > 1627 | VERBOSE(4) printf("%d>", d); > | ~^ ~ > | | | > | int dword {aka long unsigned int} > | %ld >In file included from main.c:35: >/usr/include/linux/soundcard.h: In function âseqbuf_dumpâ: >fmdrv.h:222:3: warning: ignoring return value of âwriteâ, declared with attribute warn_unused_result [-Wunused-result] > 222 | write(seqfd, _seqbuf, _seqbufptr); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >main.c: In function âReadMIDIâ: >main.c:2151:9: warning: ignoring return value of âfreadâ, declared with attribute warn_unused_result [-Wunused-result] > 2151 | fread(&Signa, 1, 4, fp); > | ^~~~~~~~~~~~~~~~~~~~~~~ >main.c:2163:5: warning: ignoring return value of âfreadâ, declared with attribute warn_unused_result [-Wunused-result] > 2163 | fread(&Signa, 1, 4, fp); > | ^~~~~~~~~~~~~~~~~~~~~~~ >main.c:2166:5: warning: ignoring return value of âfreadâ, declared with attribute warn_unused_result [-Wunused-result] > 2166 | fread(&Signa, 1, 2, fp); > | ^~~~~~~~~~~~~~~~~~~~~~~ >main.c:2171:5: warning: ignoring return value of âfreadâ, declared with attribute warn_unused_result [-Wunused-result] > 2171 | fread(&Signa, 1, 2, fp); > | ^~~~~~~~~~~~~~~~~~~~~~~ >main.c:2174:5: warning: ignoring return value of âfreadâ, declared with attribute warn_unused_result [-Wunused-result] > 2174 | fread(&Signa, 1, 2, fp); > | ^~~~~~~~~~~~~~~~~~~~~~~ >main.c:2196:9: warning: ignoring return value of âfreadâ, declared with attribute warn_unused_result [-Wunused-result] > 2196 | fread(&Signa, 1, 4, fp); > | ^~~~~~~~~~~~~~~~~~~~~~~ >main.c:2199:9: warning: ignoring return value of âfreadâ, declared with attribute warn_unused_result [-Wunused-result] > 2199 | fread(&Signa, 1, 4, fp); > | ^~~~~~~~~~~~~~~~~~~~~~~ >main.c:2215:9: warning: ignoring return value of âfreadâ, declared with attribute warn_unused_result [-Wunused-result] > 2215 | fread(MIDI.Tracks[a], 1, MIDI.TrackLen[a], fp); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >main.c: In function âWriteOutâ: >main.c:846:9: warning: ignoring return value of âfreadâ, declared with attribute warn_unused_result [-Wunused-result] > 846 | fread(&MIDI.Tempo, sizeof(MIDI.Tempo), 1, tempf); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >main.c:862:21: warning: ignoring return value of âfreadâ, declared with attribute warn_unused_result [-Wunused-result] > 862 | fread(&Chan[a], 1, chansavesize, tempf); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >main.c:886:21: warning: ignoring return value of âfreadâ, declared with attribute warn_unused_result [-Wunused-result] > 886 | fread(&MIDI.Tempo, sizeof(MIDI.Tempo), 1, tempf); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >main.c:906:56: warning: ignoring return value of âfreadâ, declared with attribute warn_unused_result [-Wunused-result] > 906 | # define woGetRecord(_pr_src) woFuncRecord(fread, _pr_src) > | ^ >main.c:905:21: note: in definition of macro âwoFuncRecordâ > 905 | _pr_func(&_fr_src[_pc_fr], 1, chansavesize, fp); } > | ^~~~~~~~ >main.c:908:54: note: in expansion of macro âwoGetRecordâ > 908 | # define woGetPrev(_gp_tmp) woSeekBack();woGetRecord(_gp_tmp) > | ^~~~~~~~~~~ >main.c:947:21: note: in expansion of macro âwoGetPrevâ > 947 | woGetPrev(tmp2); > | ^~~~~~~~~ >main.c:906:56: warning: ignoring return value of âfreadâ, declared with attribute warn_unused_result [-Wunused-result] > 906 | # define woGetRecord(_pr_src) woFuncRecord(fread, _pr_src) > | ^ >main.c:905:21: note: in definition of macro âwoFuncRecordâ > 905 | _pr_func(&_fr_src[_pc_fr], 1, chansavesize, fp); } > | ^~~~~~~~ >main.c:948:21: note: in expansion of macro âwoGetRecordâ > 948 | woGetRecord(tmp); > | ^~~~~~~~~~~ >main.c:906:56: warning: ignoring return value of âfreadâ, declared with attribute warn_unused_result [-Wunused-result] > 906 | # define woGetRecord(_pr_src) woFuncRecord(fread, _pr_src) > | ^ >main.c:905:21: note: in definition of macro âwoFuncRecordâ > 905 | _pr_func(&_fr_src[_pc_fr], 1, chansavesize, fp); } > | ^~~~~~~~ >main.c:908:54: note: in expansion of macro âwoGetRecordâ > 908 | # define woGetPrev(_gp_tmp) woSeekBack();woGetRecord(_gp_tmp) > | ^~~~~~~~~~~ >main.c:994:21: note: in expansion of macro âwoGetPrevâ > 994 | woGetPrev(tmp); > | ^~~~~~~~~ >main.c:906:56: warning: ignoring return value of âfreadâ, declared with attribute warn_unused_result [-Wunused-result] > 906 | # define woGetRecord(_pr_src) woFuncRecord(fread, _pr_src) > | ^ >main.c:905:21: note: in definition of macro âwoFuncRecordâ > 905 | _pr_func(&_fr_src[_pc_fr], 1, chansavesize, fp); } > | ^~~~~~~~ >main.c:908:54: note: in expansion of macro âwoGetRecordâ > 908 | # define woGetPrev(_gp_tmp) woSeekBack();woGetRecord(_gp_tmp) > | ^~~~~~~~~~~ >main.c:1017:21: note: in expansion of macro âwoGetPrevâ > 1017 | woGetPrev(tmp); > | ^~~~~~~~~ >main.c:1222:17: warning: ignoring return value of âfreadâ, declared with attribute warn_unused_result [-Wunused-result] > 1222 | fread(&tmp, 1, chansavesize, fp); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >main.c: In function âSetNoteâ: >main.c:1580:35: warning: iteration 127 invokes undefined behavior [-Waggressive-loop-optimizations] > 1580 | a = MIDI.Used[chn][note]-1; > | ~~~~~~~~~~~~~~^~~~~~ >main.c:1578:13: note: within this loop > 1578 | for(note=0; note<=127; note++) > | ^~~ >main.c:1610:35: warning: iteration 127 invokes undefined behavior [-Waggressive-loop-optimizations] > 1610 | a = MIDI.Used[chn][note]-1; > | ~~~~~~~~~~~~~~^~~~~~ >main.c:1608:13: note: within this loop > 1608 | for(note=0; note<=127; note++) > | ^~~ >cc1: some warnings being treated as errors >make: *** [<builtin>: main.o] Error 1 > * ERROR: media-sound/fmdrv-1.0.7::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=media-sound/fmdrv-1.0.7::gentoo'`, > * the complete build log and the output of `emerge -pqv '=media-sound/fmdrv-1.0.7::gentoo'`. > * The complete build log is located at '/var/log/portage/media-sound:fmdrv-1.0.7:20200326-134914.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-sound/fmdrv-1.0.7/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/media-sound/fmdrv-1.0.7/temp/environment'. > * Working directory: '/var/tmp/portage/media-sound/fmdrv-1.0.7/work/fmdrv-1.0.7' > * S: '/var/tmp/portage/media-sound/fmdrv-1.0.7/work/fmdrv-1.0.7'
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 714888
:
626164
|
626166
|
626168
|
626170
| 626172 |
626174