Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 910110 Details for
Bug 943965
app-text/mpage-2.5.6-r1 - [ncurses-6.5] [meson] [libtool] [gcc-15] mpage.c: error: too many arguments to function usage
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
app-text:mpage-2.5.6-r1:20241119-084509.log
app-text:mpage-2.5.6-r1:20241119-084509.log (text/plain), 16.03 KB, created by
Toralf Förster
on 2024-11-19 08:54:36 UTC
(
hide
)
Description:
app-text:mpage-2.5.6-r1:20241119-084509.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2024-11-19 08:54:36 UTC
Size:
16.03 KB
patch
obsolete
> * Package: app-text/mpage-2.5.6-r1:0 > * Repository: gentoo > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking mpage-2.5.6.tgz to /var/tmp/portage/app-text/mpage-2.5.6-r1/work >>>> Unpacking mpage-2.5.6-gentoo-patchset.tar.bz2 to /var/tmp/portage/app-text/mpage-2.5.6-r1/work >>>> Source unpacked in /var/tmp/portage/app-text/mpage-2.5.6-r1/work >>>> Preparing source in /var/tmp/portage/app-text/mpage-2.5.6-r1/work/mpage-2.5.6 ... > * Applying mpage-2.5.6-fix-buildsystem.patch ... > [ ok ] > * Applying 01_previous_changes.patch ... > [ ok ] > * Applying 10_bts354935_fix_fontdefs.patch ... > [ ok ] > * Applying 20_bts416573_manpage_fixes.patch ... > [ ok ] > * Applying 30_bts443280_libdir_manpage.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/app-text/mpage-2.5.6-r1/work/mpage-2.5.6 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/app-text/mpage-2.5.6-r1/work/mpage-2.5.6 ... >make -O -j4 PREFIX=/usr MANDIR=/usr/share/man/man1 >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DPAGE_DEF=\"A4\" -DLIBDIR=\"/usr/share/mpage\" -DDEFAULT_ENCODING=1 -DDEFAULT_DUPLEX=0 -DDEFAULTSMARGIN=18 -DSPOOLER=BSD_SPOOLER -c -o mpage.o mpage.c >mpage.c: In function âmainâ: >mpage.c:37:1: warning: old-style function definition [-Wold-style-definition] > 37 | main(argc, argv) > | ^~~~ >mpage.c:79:9: error: too many arguments to function âusageâ > 79 | usage(currarg); > | ^~~~~ >In file included from mpage.c:20: >mpage.h:347:6: note: declared here > 347 | void usage(); > | ^~~~~ >mpage.c:83:20: error: too many arguments to function âdo_argsâ > 83 | if ((currarg = do_args(argc, argv, 0)) < 0) { > | ^~~~~~~ >mpage.h:339:5: note: declared here > 339 | int do_args(); > | ^~~~~~~ >mpage.c:84:9: error: too many arguments to function âusageâ > 84 | usage(currarg); > | ^~~~~ >mpage.h:347:6: note: declared here > 347 | void usage(); > | ^~~~~ >mpage.c:159:9: error: too many arguments to function âps_titleâ > 159 | ps_title(argv[currarg], outfd); > | ^~~~~~~~ >mpage.c:32:13: note: declared here > 32 | static void ps_title(); > | ^~~~~~~~ >mpage.c:161:13: error: too many arguments to function âdo_fileâ > 161 | do_file(argv[currarg], thesheet, outfd); > | ^~~~~~~ >mpage.h:342:6: note: declared here > 342 | void do_file(); > | ^~~~~~~ >mpage.c:164:9: error: too many arguments to function âps_titleâ > 164 | ps_title("<stdin>", outfd); > | ^~~~~~~~ >mpage.c:32:13: note: declared here > 32 | static void ps_title(); > | ^~~~~~~~ >mpage.c:165:9: error: too many arguments to function âdo_stdinâ > 165 | do_stdin(thesheet, outfd); > | ^~~~~~~~ >mpage.h:344:6: note: declared here > 344 | void do_stdin(); > | ^~~~~~~~ >mpage.c: In function âps_titleâ: >mpage.c:222:1: warning: old-style function definition [-Wold-style-definition] > 222 | ps_title(name, outfd) > | ^~~~~~~~ >make: *** [<builtin>: mpage.o] Error 1 >make: *** Waiting for unfinished jobs.... >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DPAGE_DEF=\"A4\" -DLIBDIR=\"/usr/share/mpage\" -DDEFAULT_ENCODING=1 -DDEFAULT_DUPLEX=0 -DDEFAULTSMARGIN=18 -DSPOOLER=BSD_SPOOLER -c -o glob.o glob.c >glob.c:391:6: error: conflicting types for âusageâ; have âvoid(int)â > 391 | void usage(int errcode) > | ^~~~~ >In file included from glob.c:20: >mpage.h:347:6: note: previous declaration of âusageâ with type âvoid(void)â > 347 | void usage(); > | ^~~~~ >make: *** [<builtin>: glob.o] Error 1 >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DPAGE_DEF=\"A4\" -DLIBDIR=\"/usr/share/mpage\" -DDEFAULT_ENCODING=1 -DDEFAULT_DUPLEX=0 -DDEFAULTSMARGIN=18 -DSPOOLER=BSD_SPOOLER -c -o post.o post.c >post.c: In function âps_checkâ: >post.c:92:1: warning: old-style function definition [-Wold-style-definition] > 92 | ps_check(infd) > | ^~~~~~~~ >post.c:94:1: error: number of arguments doesnât match prototype > 94 | { > | ^ >post.c:80:7: error: prototype declaration > 80 | int ps_check(); > | ^~~~~~~~ >post.c: In function âps_gettypeâ: >post.c:170:1: warning: old-style function definition [-Wold-style-definition] > 170 | ps_gettype(fd, outfd) > | ^~~~~~~~~~ >post.c: In function âdo_ps_docâ: >post.c:288:1: warning: old-style function definition [-Wold-style-definition] > 288 | do_ps_doc(fd, asheet, outfd, fname) > | ^~~~~~~~~ >post.c:293:1: error: number of arguments doesnât match prototype > 293 | { > | ^ >post.c:81:7: error: prototype declaration > 81 | void do_ps_doc(); > | ^~~~~~~~~ >post.c:298:19: error: too many arguments to function âps_gettypeâ > 298 | ps_posttype = ps_gettype(fd,outfd); > | ^~~~~~~~~~ >post.c:170:1: note: declared here > 170 | ps_gettype(fd, outfd) > | ^~~~~~~~~~ >post.c:301:9: error: too many arguments to function âdo_post_docâ > 301 | do_post_doc(fd, asheet, outfd); > | ^~~~~~~~~~~ >post.c:66:14: note: declared here > 66 | static void do_post_doc(); > | ^~~~~~~~~~~ >post.c: In function âdo_post_docâ: >post.c:310:1: warning: old-style function definition [-Wold-style-definition] > 310 | do_post_doc(fd, asheet, outfd) > | ^~~~~~~~~~~ >post.c:318:5: error: too many arguments to function âps_copyprologâ > 318 | ps_copyprolog(fd, outfd); > | ^~~~~~~~~~~~~ >post.c:70:14: note: declared here > 70 | static void ps_copyprolog(); > | ^~~~~~~~~~~~~ >post.c:323:5: error: too many arguments to function âdo_sheetsâ > 323 | do_sheets(do_post_sheet, fd, asheet, outfd); > | ^~~~~~~~~ >In file included from post.c:21: >mpage.h:345:6: note: declared here > 345 | void do_sheets(); > | ^~~~~~~~~ >post.c:325:5: error: too many arguments to function âdo_roff_tailerâ > 325 | do_roff_tailer(fd, outfd); > | ^~~~~~~~~~~~~~ >post.c:79:14: note: declared here > 79 | static void do_roff_tailer(); > | ^~~~~~~~~~~~~~ >post.c: In function âps_copyprologâ: >post.c:352:1: warning: old-style function definition [-Wold-style-definition] > 352 | ps_copyprolog(fd, outfd) > | ^~~~~~~~~~~~~ >post.c:371:9: error: too many arguments to function âps_roff_copyprologâ > 371 | ps_roff_copyprolog(fd, outfd); > | ^~~~~~~~~~~~~~~~~~ >post.c:71:14: note: declared here > 71 | static void ps_roff_copyprolog(); > | ^~~~~~~~~~~~~~~~~~ >post.c:376:9: error: too many arguments to function âps_mpage_copyprologâ > 376 | ps_mpage_copyprolog(fd, outfd); > | ^~~~~~~~~~~~~~~~~~~ >post.c:72:14: note: declared here > 72 | static void ps_mpage_copyprolog(); > | ^~~~~~~~~~~~~~~~~~~ >post.c: In function âps_roff_copyprologâ: >post.c:425:1: warning: old-style function definition [-Wold-style-definition] > 425 | ps_roff_copyprolog(fd, outfd) > | ^~~~~~~~~~~~~~~~~~ >post.c: In function âps_mpage_copyprologâ: >post.c:461:1: warning: old-style function definition [-Wold-style-definition] > 461 | ps_mpage_copyprolog(fd, outfd) > | ^~~~~~~~~~~~~~~~~~~ >post.c: In function âps_skip_to_pageâ: >post.c:479:1: warning: old-style function definition [-Wold-style-definition] > 479 | ps_skip_to_page(fd) > | ^~~~~~~~~~~~~~~ >post.c: In function âps_store_to_pageâ: >post.c:501:1: warning: old-style function definition [-Wold-style-definition] > 501 | ps_store_to_page(fd) > | ^~~~~~~~~~~~~~~~ >post.c: In function âdo_post_sheetâ: >post.c:552:1: warning: old-style function definition [-Wold-style-definition] > 552 | do_post_sheet(fd, asheet, outfd) > | ^~~~~~~~~~~~~ >post.c:582:9: error: too many arguments to function âsheetheaderâ > 582 | sheetheader(outfd, file_name); > | ^~~~~~~~~~~ >mpage.h:362:6: note: declared here > 362 | void sheetheader(); > | ^~~~~~~~~~~ >post.c:587:9: error: too many arguments to function âmp_outlineâ > 587 | mp_outline(outfd, asheet); > | ^~~~~~~~~~ >mpage.h:363:6: note: declared here > 363 | void mp_outline(); > | ^~~~~~~~~~ >post.c:609:19: error: too many arguments to function âps_skip_to_pageâ > 609 | ps_skip_to_page(fd); > | ^~~~~~~~~~~~~~~ >post.c:479:1: note: declared here > 479 | ps_skip_to_page(fd) > | ^~~~~~~~~~~~~~~ >post.c:618:28: error: too many arguments to function âps_store_to_pageâ > 618 | totlen = ps_store_to_page(fd); > | ^~~~~~~~~~~~~~~~ >post.c:501:1: note: declared here > 501 | ps_store_to_page(fd) > | ^~~~~~~~~~~~~~~~ >post.c:748:9: error: too many arguments to function âps_sheetsetupâ > 748 | ps_sheetsetup(outfd); > | ^~~~~~~~~~~~~ >post.c:75:14: note: declared here > 75 | static void ps_sheetsetup(); > | ^~~~~~~~~~~~~ >post.c:754:23: error: too many arguments to function âpost_flush_onepageâ > 754 | rtn_val = post_flush_onepage(totlen, asheet, outfd); > | ^~~~~~~~~~~~~~~~~~ >post.c:83:12: note: declared here > 83 | static int post_flush_onepage(); > | ^~~~~~~~~~~~~~~~~~ >post.c:759:23: error: too many arguments to function âpost_onepageâ > 759 | rtn_val = post_onepage(fd, asheet, outfd); > | ^~~~~~~~~~~~ >post.c:76:14: note: declared here > 76 | static int post_onepage(); > | ^~~~~~~~~~~~ >post.c:885:9: error: too many arguments to function âps_sheetsetupâ > 885 | ps_sheetsetup(outfd); > | ^~~~~~~~~~~~~ >post.c:75:14: note: declared here > 75 | static void ps_sheetsetup(); > | ^~~~~~~~~~~~~ >post.c:890:19: error: too many arguments to function âpost_flush_onepageâ > 890 | rtn_val = post_flush_onepage(totlen, asheet, outfd); > | ^~~~~~~~~~~~~~~~~~ >post.c:83:12: note: declared here > 83 | static int post_flush_onepage(); > | ^~~~~~~~~~~~~~~~~~ >post.c: In function âps_sheetsetupâ: >post.c:918:1: warning: old-style function definition [-Wold-style-definition] > 918 | ps_sheetsetup(outfd) > | ^~~~~~~~~~~~~ >post.c: In function âpost_onepageâ: >post.c:939:1: warning: old-style function definition [-Wold-style-definition] > 939 | post_onepage(fd, asheet, outfd) > | ^~~~~~~~~~~~ >post.c:959:19: error: too many arguments to function âpost_one_lineâ > 959 | line_rc = post_one_line(currline, fd, outfd, &indoc, 0); > | ^~~~~~~~~~~~~ >post.c:78:14: note: declared here > 78 | static int post_one_line(); > | ^~~~~~~~~~~~~ >post.c: In function âpost_flush_onepageâ: >post.c:972:1: warning: old-style function definition [-Wold-style-definition] > 972 | post_flush_onepage(totlen, asheet, outfd) > | ^~~~~~~~~~~~~~~~~~ >post.c:993:5: error: too many arguments to function âmemgets_initâ > 993 | memgets_init(stored_page, totlen); > | ^~~~~~~~~~~~ >mpage.h:370:6: note: declared here > 370 | void memgets_init(); > | ^~~~~~~~~~~~ >post.c:994:12: error: too many arguments to function âmemgetsâ > 994 | while (memgets(currline, LINESIZE-1) != NULL) { > | ^~~~~~~ >mpage.h:371:7: note: declared here > 371 | char *memgets(); > | ^~~~~~~ >post.c:996:19: error: too many arguments to function âpost_one_lineâ > 996 | line_rc = post_one_line(currline, (FILE *) NULL, outfd, &indoc, 1); > | ^~~~~~~~~~~~~ >post.c:78:14: note: declared here > 78 | static int post_one_line(); > | ^~~~~~~~~~~~~ >post.c: In function âpost_one_lineâ: >post.c:1009:1: warning: old-style function definition [-Wold-style-definition] > 1009 | post_one_line(line, fd, outfd, indoc, flush_page) > | ^~~~~~~~~~~~~ >post.c:1069:35: error: too many arguments to function âmemgetsâ > 1069 | flush_page ? memgets(line, LINESIZE-1) : > | ^~~~~~~ >mpage.h:371:7: note: declared here > 371 | char *memgets(); > | ^~~~~~~ >post.c: In function âdo_roff_tailerâ: >post.c:1088:1: warning: old-style function definition [-Wold-style-definition] > 1088 | do_roff_tailer(fd, outfd) > | ^~~~~~~~~~~~~~ >post.c: In function âps_copyprologâ: >post.c:406:17: warning: ignoring return value of âfgetsâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 406 | fgets(currline, LINESIZE-1, fd); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >make: *** [<builtin>: post.o] Error 1 >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DPAGE_DEF=\"A4\" -DLIBDIR=\"/usr/share/mpage\" -DDEFAULT_ENCODING=1 -DDEFAULT_DUPLEX=0 -DDEFAULTSMARGIN=18 -DSPOOLER=BSD_SPOOLER -c -o text.o text.c >text.c: In function âdo_text_docâ: >text.c:62:1: warning: old-style function definition [-Wold-style-definition] > 62 | do_text_doc(fd, asheet, outfd, fname) > | ^~~~~~~~~~~ >text.c:67:1: error: number of arguments doesnât match prototype > 67 | { > | ^ >In file included from text.c:20: >mpage.h:368:6: error: prototype declaration > 368 | void do_text_doc(); > | ^~~~~~~~~~~ >text.c:83:5: error: too many arguments to function âdo_sheetsâ > 83 | do_sheets(do_text_sheet, fd, asheet, outfd ); > | ^~~~~~~~~ >mpage.h:345:6: note: declared here > 345 | void do_sheets(); > | ^~~~~~~~~ >text.c: In function âdo_text_sheetâ: >text.c:95:1: warning: old-style function definition [-Wold-style-definition] > 95 | do_text_sheet(fd, asheet, outfd) > | ^~~~~~~~~~~~~ >text.c:123:9: error: too many arguments to function âsheetheaderâ > 123 | sheetheader(outfd, file_name); > | ^~~~~~~~~~~ >mpage.h:362:6: note: declared here > 362 | void sheetheader(); > | ^~~~~~~~~~~ >text.c:128:9: error: too many arguments to function âmp_outlineâ > 128 | mp_outline(outfd, asheet); > | ^~~~~~~~~~ >mpage.h:363:6: note: declared here > 363 | void mp_outline(); > | ^~~~~~~~~~ >text.c:149:23: error: too many arguments to function âtext_onepageâ > 149 | rtn_val = text_onepage(fd, asheet, outfd); > | ^~~~~~~~~~~~ >text.c:51:12: note: declared here > 51 | static int text_onepage(); > | ^~~~~~~~~~~~ >text.c:247:19: error: too many arguments to function âtext_onepageâ > 247 | rtn_val = text_onepage(fd, asheet, outfd); > | ^~~~~~~~~~~~ >text.c:51:12: note: declared here > 51 | static int text_onepage(); > | ^~~~~~~~~~~~ >text.c: In function âtext_onepageâ: >text.c:279:1: warning: old-style function definition [-Wold-style-definition] > 279 | text_onepage(file, asheet, outfd) > | ^~~~~~~~~~~~ >text.c:314:16: error: too many arguments to function âmp_get_textâ > 314 | text = mp_get_text(file, &loc, asheet); > | ^~~~~~~~~~~ >text.c:52:14: note: declared here > 52 | static char *mp_get_text(); > | ^~~~~~~~~~~ >text.c: In function âmp_get_textâ: >text.c:392:1: warning: old-style function definition [-Wold-style-definition] > 392 | mp_get_text(infile, locp, asheet) > | ^~~~~~~~~~~ >make: *** [<builtin>: text.o] Error 1 > * ERROR: app-text/mpage-2.5.6-r1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=app-text/mpage-2.5.6-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=app-text/mpage-2.5.6-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/app-text:mpage-2.5.6-r1:20241119-084509.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-text/mpage-2.5.6-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/app-text/mpage-2.5.6-r1/temp/environment'. > * Working directory: '/var/tmp/portage/app-text/mpage-2.5.6-r1/work/mpage-2.5.6' > * S: '/var/tmp/portage/app-text/mpage-2.5.6-r1/work/mpage-2.5.6' >
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 943965
:
910109
| 910110 |
910111
|
910112
|
910113
|
910114
|
910115
|
910116
|
910117