Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#39286 - [cmatrix] build fails
Attached to Project:
Community Packages
Opened by Joel Teichroeb (klusark) - Monday, 10 March 2014, 15:30 GMT
Last edited by Jonathan Steel (jsteel) - Saturday, 19 April 2014, 20:04 GMT
Opened by Joel Teichroeb (klusark) - Monday, 10 March 2014, 15:30 GMT
Last edited by Jonathan Steel (jsteel) - Saturday, 19 April 2014, 20:04 GMT
|
DetailsDescription:
gcc -DHAVE_CONFIG_H -I. -I. -I. -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -Wno-comment -c cmatrix.c cmatrix.c: In function 'handle_sigwinch': cmatrix.c:214:20: error: storage size of 'win' isn't known struct winsize win; ^ cmatrix.c:216:5: warning: implicit declaration of function 'ttyname' [-Wimplicit-function-declaration] tty = ttyname(0); ^ cmatrix.c:216:9: warning: assignment makes pointer from integer without a cast [enabled by default] tty = ttyname(0); ^ cmatrix.c:222:5: warning: implicit declaration of function 'ioctl' [-Wimplicit-function-declaration] result = ioctl(fd, TIOCGWINSZ, &win); ^ cmatrix.c:222:24: error: 'TIOCGWINSZ' undeclared (first use in this function) result = ioctl(fd, TIOCGWINSZ, &win); ^ cmatrix.c:222:24: note: each undeclared identifier is reported only once for each function it appears in cmatrix.c:214:20: warning: unused variable 'win' [-Wunused-variable] struct winsize win; ^ cmatrix.c: In function 'main': cmatrix.c:257:5: error: 'opterr' undeclared (first use in this function) opterr = 0; ^ cmatrix.c:258:5: warning: implicit declaration of function 'getopt' [-Wimplicit-function-declaration] while ((optchr = getopt(argc, argv, "abBfhlnosxVu:C:")) != EOF) { ^ cmatrix.c:275:22: error: 'optarg' undeclared (first use in this function) if (!strcasecmp(optarg, "green")) ^ cmatrix.c:633:11: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(syscmd); ^ Makefile:186: recipe for target 'cmatrix.o' failed make: *** [cmatrix.o] Error 1 ==> ERROR: A failure occurred in build(). Steps to reproduce: sudo extra-x86_64-build |
This task depends upon
Closed by Jonathan Steel (jsteel)
Saturday, 19 April 2014, 20:04 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 1.2a-7
Saturday, 19 April 2014, 20:04 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 1.2a-7
I'll see if I can fix this but if not, replacing it with matrixc might be the best thing.
[1] https://gitorious.org/matrixc