Community Packages

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!
Tasklist

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
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jonathan Steel (jsteel)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

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
Comment by Jonathan Steel (jsteel) - Monday, 10 March 2014, 20:29 GMT
This software is >10 years old. There's a fork 3 years old that builds called matrixc [1]. When running it, it looks similar but not quite as good (just uses one shade of colour).

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

Loading...