Skip Menu |
 

This queue is for tickets about the Term-Terminfo CPAN distribution.

Report information
The Basics
Id: 124969
Status: open
Priority: 0/
Queue: Term-Terminfo

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.08
Fixed in: (no value)



Subject: Failing tests on freebsd systems
Download (untitled) / with headers
text/plain 3.3k
On some FreeBSD systems the test suite fails: http://matrix.cpantesters.org/?dist=Term-Terminfo%200.08;os=freebsd;reports=1 This seems to happen if the unibilium package is installed. In this case a truss log looks like this (a freebsd 10.3 system): ... 60704: 0.193144100 0.000012013 access("/usr/local/lib/libunibilium.so.0",F_OK) = 0 (0x0) 60704: 0.193206119 0.000009498 openat(AT_FDCWD,"/usr/local/lib/libunibilium.so.0",O_CLOEXEC,00) = 4 (0x4) ... 60704: 0.194415491 0.000650921 openat(AT_FDCWD,"/home/cpansand/.terminfo/v/vt100",O_RDONLY,00) ERR#2 'No such file or directory' 60704: 0.194703237 0.000094425 openat(AT_FDCWD,"/home/cpansand/.terminfo/76/vt100",O_RDONLY,00) ERR#2 'No such file or directory' 60704: 0.194861078 0.000053638 openat(AT_FDCWD,"/etc/terminfo/v/vt100",O_RDONLY,00) ERR#2 'No such file or directory' 60704: 0.194916672 0.000007822 openat(AT_FDCWD,"/etc/terminfo/76/vt100",O_RDONLY,00) ERR#2 'No such file or directory' 60704: 0.194965002 0.000007264 openat(AT_FDCWD,"/lib/terminfo/v/vt100",O_RDONLY,00) ERR#2 'No such file or directory' 60704: 0.195027580 0.000007264 openat(AT_FDCWD,"/lib/terminfo/76/vt100",O_RDONLY,00) ERR#2 'No such file or directory' 60704: 0.195090716 0.000008381 openat(AT_FDCWD,"/usr/share/terminfo/v/vt100",O_RDONLY,00) ERR#2 'No such file or directory' 60704: 0.195139605 0.000007822 openat(AT_FDCWD,"/usr/share/terminfo/76/vt100",O_RDONLY,00) ERR#2 'No such file or directory' 60704: 0.195188773 0.000008101 openat(AT_FDCWD,"/usr/lib/terminfo/v/vt100",O_RDONLY,00) ERR#2 'No such file or directory' 60704: 0.195237383 0.000007543 openat(AT_FDCWD,"/usr/lib/terminfo/76/vt100",O_RDONLY,00) ERR#2 'No such file or directory' 60704: 0.195303313 0.000009219 openat(AT_FDCWD,"/usr/local/share/terminfo/v/vt100",O_RDONLY,00) ERR#2 'No such file or directory' 60704: 0.195357510 0.000008381 openat(AT_FDCWD,"/usr/local/share/terminfo/76/vt100",O_RDONLY,00) ERR#2 'No such file or directory' 60704: 0.195412545 0.000008940 openat(AT_FDCWD,"/usr/local/lib/terminfo/v/vt100",O_RDONLY,00) ERR#2 'No such file or directory' 60704: 0.195679618 0.000008660 openat(AT_FDCWD,"/usr/local/lib/terminfo/76/vt100",O_RDONLY,00) ERR#2 'No such file or directory' 60704: 0.195733815 0.000012013 stat("/usr/share/nls/de_DE.ISO8859-1/libc.cat",{ mode=-r--r--r-- ,inode=403568,size=4706,blksize=32768 }) = 0 (0x0) 60704: 0.195792202 0.000028216 open("/usr/share/nls/de_DE.ISO8859-1/libc.cat",O_CLOEXEC,0127715640) = 3 (0x3) 60704: 0.195813434 0.000005588 fstat(3,{ mode=-r--r--r-- ,inode=403568,size=4706,blksize=32768 }) = 0 (0x0) 60704: 0.195899199 0.000008940 mmap(0x0,4706,PROT_READ,MAP_SHARED,3,0x0) = 34368229376 (0x800819000) 60704: 0.195920989 0.000007263 close(3) = 0 (0x0) 60704: 0.195980215 0.000022349 munmap(0x800819000,4706) = 0 (0x0) 60704: 0.196240024 0.000184660 write(2,"unibi_from_term("vt100"): Datei oder Verzeichnis nicht gefunden at /home/cpansand/.cpan/build/2018032915/Term-Terminfo-0.08-0/blib/lib/Term/Terminfo.pm line 87.\n",161) = 161 (0xa1) ... So there is no terminfo file for vt100 available. In fact, I could not find any terminfo file in the system. If the ncurses package is installed, then there's at least a file called /usr/local/share/misc/terminfo.db.default which looks like a large file containing all terminfo definitions. But unibilium cannot handle this file, it seems. Maybe it's best if unibilium is not used on FreeBSD systems?
Download (untitled) / with headers
text/plain 314b
On Thu Mar 29 12:09:50 2018, SREZIC wrote: Show quoted text
> Maybe it's best if unibilium is not used on FreeBSD systems?
I think this feels more like a unibilium bug to me. The fact it's installed but yet unable to read the files, suggests that unibilium needs to be extended to support the FreeBSD file format. -- Paul Evans


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.