Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 619098 Details for
Bug 712546
app-misc/splitvt-1.6.6-r3 : misc.c: error: too many arguments to function setpgrp
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
app-misc:splitvt-1.6.6-r3:20200314-174432.log
app-misc:splitvt-1.6.6-r3:20200314-174432.log (text/plain), 5.76 KB, created by
Toralf Förster
on 2020-03-14 17:56:00 UTC
(
hide
)
Description:
app-misc:splitvt-1.6.6-r3:20200314-174432.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2020-03-14 17:56:00 UTC
Size:
5.76 KB
patch
obsolete
> * Package: app-misc/splitvt-1.6.6-r3 > * Repository: gentoo > * Maintainer: shell-tools@gentoo.org > * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>>> Unpacking source... >>>> Unpacking splitvt-1.6.6.tar.gz to /var/tmp/portage/app-misc/splitvt-1.6.6-r3/work >>>> Unpacking splitvt_1.6.6-7.diff.gz to /var/tmp/portage/app-misc/splitvt-1.6.6-r3/work >>>> Source unpacked in /var/tmp/portage/app-misc/splitvt-1.6.6-r3/work >>>> Preparing source in /var/tmp/portage/app-misc/splitvt-1.6.6-r3/work/splitvt-1.6.6 ... > * Applying splitvt_1.6.6-7.diff ... > [ ok ] > * Applying 1.6.6-ldflags.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/app-misc/splitvt-1.6.6-r3/work/splitvt-1.6.6 ... >Making configuration... >config.c:32:1: warning: return type defaults to âintâ [-Wimplicit-int] > 32 | main(argc, argv) > | ^~~~ >config.c: In function âmainâ: >config.c:116:7: warning: implicit declaration of function âgrepâ [-Wimplicit-function-declaration] > 116 | if ( grep(INCLUDE, "utmp.h", "ut_host") ) { > | ^~~~ >config.c:176:8: warning: implicit declaration of function âaccessâ [-Wimplicit-function-declaration] > 176 | if ( (access("/var/run/utmp", (R_OK|W_OK)) == 0) && getuid() ) > | ^~~~~~ >config.c:176:54: warning: implicit declaration of function âgetuidâ [-Wimplicit-function-declaration] > 176 | if ( (access("/var/run/utmp", (R_OK|W_OK)) == 0) && getuid() ) > | ^~~~~~ >Aha! You are running Linux! > Congratulations on the choice of a GNU generation. > I will use sgttyb tty structures. > I will use your sockets definition header. > I will use wait4() instead of waitpid(). > >If installed set-uid root, this program will put entries for its windows >in /var/run/utmp, and will also change ownership of the ttys it acquires to the >user running this program. > >Done. Type 'make' to build >>>> Source configured. >>>> Compiling source in /var/tmp/portage/app-misc/splitvt-1.6.6-r3/work/splitvt-1.6.6 ... >make -j1 >x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -DHAVE_UNISTD_H -DNEED_SELECT_H -DHAVE_WAIT4 -DSHELL=\"/bin/sh\" -DPTYCHAR=\"\" -DHEXDIGIT=\"\" -c -o splitvt.o splitvt.c >x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -DHAVE_UNISTD_H -DNEED_SELECT_H -DHAVE_WAIT4 -DSHELL=\"/bin/sh\" -DPTYCHAR=\"\" -DHEXDIGIT=\"\" -c -o misc.o misc.c >misc.c: In function âdropcttyâ: >misc.c:437:2: error: too many arguments to function âsetpgrpâ > 437 | setpgrp(0, 0); > | ^~~~~~~ >In file included from misc.c:7: >/usr/include/unistd.h:142:7: note: declared here > 142 | pid_t setpgrp(void); > | ^~~~~~~ >misc.c: In function âtty_saneâ: >misc.c:596:16: error: storage size of âtemp_modeâ isnât known > 596 | struct sgttyb temp_mode; > | ^~~~~~~~~ >misc.c:601:16: error: âTIOCGETPâ undeclared (first use in this function); did you mean âTIOCGETDâ? > 601 | if (ioctl(fd, TIOCGETP, (char *) &temp_mode) < 0) > | ^~~~~~~~ > | TIOCGETD >misc.c:601:16: note: each undeclared identifier is reported only once for each function it appears in >misc.c:604:22: error: âECHOâ undeclared (first use in this function) > 604 | temp_mode.sg_flags|=ECHO; > | ^~~~ >misc.c:606:16: error: âTIOCSETPâ undeclared (first use in this function); did you mean âTIOCSETDâ? > 606 | if (ioctl(fd, TIOCSETP, (char *) &temp_mode) < 0) > | ^~~~~~~~ > | TIOCSETD >misc.c: In function âtty_getmodeâ: >misc.c:625:16: error: âTIOCGETPâ undeclared (first use in this function); did you mean âTIOCGETDâ? > 625 | if (ioctl(fd, TIOCGETP, (char *) &tty_mode) < 0) > | ^~~~~~~~ > | TIOCGETD >misc.c: In function âtty_rawâ: >misc.c:641:16: error: storage size of âtemp_modeâ isnât known > 641 | struct sgttyb temp_mode; > | ^~~~~~~~~ >misc.c:648:24: error: âRAWâ undeclared (first use in this function) > 648 | temp_mode.sg_flags |= RAW; /* turn RAW mode on */ > | ^~~ >misc.c:649:25: error: âECHOâ undeclared (first use in this function) > 649 | temp_mode.sg_flags &= ~ECHO; /* turn ECHO off */ > | ^~~~ >misc.c:650:16: error: âTIOCSETPâ undeclared (first use in this function); did you mean âTIOCSETDâ? > 650 | if (ioctl(fd, TIOCSETP, (char *) &temp_mode) < 0) > | ^~~~~~~~ > | TIOCSETD >misc.c: In function âtty_resetâ: >misc.c:667:16: error: âTIOCSETPâ undeclared (first use in this function); did you mean âTIOCSETDâ? > 667 | if (ioctl(fd, TIOCSETP, (char *) &tty_mode) < 0) > | ^~~~~~~~ > | TIOCSETD >misc.c: At top level: >misc.c:617:22: error: storage size of âtty_modeâ isnât known > 617 | static struct sgttyb tty_mode; /* save tty mode here */ > | ^~~~~~~~ >make: *** [<builtin>: misc.o] Error 1 > * ERROR: app-misc/splitvt-1.6.6-r3::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=app-misc/splitvt-1.6.6-r3::gentoo'`, > * the complete build log and the output of `emerge -pqv '=app-misc/splitvt-1.6.6-r3::gentoo'`. > * The complete build log is located at '/var/log/portage/app-misc:splitvt-1.6.6-r3:20200314-174432.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-misc/splitvt-1.6.6-r3/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/app-misc/splitvt-1.6.6-r3/temp/environment'. > * Working directory: '/var/tmp/portage/app-misc/splitvt-1.6.6-r3/work/splitvt-1.6.6' > * S: '/var/tmp/portage/app-misc/splitvt-1.6.6-r3/work/splitvt-1.6.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 712546
:
619096
| 619098 |
619100
|
619102
|
619104
|
619106