You are not logged in.

#1 2023-06-08 22:51:13

Knvzzz
Member
Registered: 2023-06-08
Posts: 7

[Solved] Unable to build terminals

I am on a clean installation on a virtual machine.

When i tried to install rxvt-unicode-pixbuf:

/usr/bin/tic -x ./etc/rxvt-unicode.terminfo || \
           /usr/bin/tic ./etc/rxvt-unicode.terminfo
"./etc/rxvt-unicode.terminfo", line 7, terminal 'rxvt-unicode': /usr/share/terminfo/r: permission denied
"./etc/rxvt-unicode.terminfo", line 57, col 20, terminal 'rxvt-unicode': unknown capability 'kDC5'
"./etc/rxvt-unicode.terminfo", line 58, col 19, terminal 'rxvt-unicode': unknown capability 'kDC6'
"./etc/rxvt-unicode.terminfo", line 59, col 17, terminal 'rxvt-unicode': unknown capability 'kDN'
"./etc/rxvt-unicode.terminfo", line 60, col 18, terminal 'rxvt-unicode': unknown capability 'kDN5'
"./etc/rxvt-unicode.terminfo", line 62, col 20, terminal 'rxvt-unicode': unknown capability 'kIC5'
"./etc/rxvt-unicode.terminfo", line 63, col 19, terminal 'rxvt-unicode': unknown capability 'kIC6'
"./etc/rxvt-unicode.terminfo", line 65, col 21, terminal 'rxvt-unicode': unknown capability 'kEND5'
"./etc/rxvt-unicode.terminfo", line 66, col 20, terminal 'rxvt-unicode': unknown capability 'kEND6'
"./etc/rxvt-unicode.terminfo", line 68, col 21, terminal 'rxvt-unicode': unknown capability 'kFND5'
"./etc/rxvt-unicode.terminfo", line 69, col 20, terminal 'rxvt-unicode': unknown capability 'kFND6'
"./etc/rxvt-unicode.terminfo", line 71, col 21, terminal 'rxvt-unicode': unknown capability 'kHOM5'
"./etc/rxvt-unicode.terminfo", line 72, col 20, terminal 'rxvt-unicode': unknown capability 'kHOM6'
"./etc/rxvt-unicode.terminfo", line 74, col 19, terminal 'rxvt-unicode': unknown capability 'kLFT5'
"./etc/rxvt-unicode.terminfo", line 76, col 21, terminal 'rxvt-unicode': unknown capability 'kNXT5'
"./etc/rxvt-unicode.terminfo", line 77, col 20, terminal 'rxvt-unicode': unknown capability 'kNXT6'
"./etc/rxvt-unicode.terminfo", line 79, col 21, terminal 'rxvt-unicode': unknown capability 'kPRV5'
"./etc/rxvt-unicode.terminfo", line 80, col 20, terminal 'rxvt-unicode': unknown capability 'kPRV6'
"./etc/rxvt-unicode.terminfo", line 82, col 19, terminal 'rxvt-unicode': unknown capability 'kRIT5'
"./etc/rxvt-unicode.terminfo", line 83, col 17, terminal 'rxvt-unicode': unknown capability 'kUP'
"./etc/rxvt-unicode.terminfo", line 84, col 18, terminal 'rxvt-unicode': unknown capability 'kUP5'
"./etc/rxvt-unicode.terminfo", line 7, terminal 'rxvt-unicode': /usr/share/terminfo/r: permission denied
make[1]: *** [Makefile:103: install] Error 1

When I tried xst:

mkdir -p /home/fabio/.cache/yay/xst/pkg/xst/usr/share/terminfo
env TERMINFO=/home/fabio/.cache/yay/xst/pkg/xst/usr/share/terminfo tic -sx st.info
"st.info", line 1, terminal 'xst-mono': /usr/share/terminfo/x: permission denied
make: *** [Makefile:53: install] Error 1

It looks like permission to folder /usr/share/terminfo, but when i try to go there with pcmanfm i have permission to read.

Edit: on a machine with an older installation a had no problems at all. But on new installations I have this issue.

Last edited by Knvzzz (2023-06-09 18:06:07)

Offline

#2 2023-06-08 23:34:40

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: [Solved] Unable to build terminals

You are not running those commands manually are you?  Please post complete commands and output context.

Also post the output of

stat /usr/share/terminfo/[rx]

"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2023-06-09 00:03:10

Knvzzz
Member
Registered: 2023-06-08
Posts: 7

Re: [Solved] Unable to build terminals

I downloaded the snapshot from AUR, uncompressed it, entered the folder and inside it ran in terminal "makepkg -si".


[fabio@archware ~]$ stat /usr/share/terminfo/[rx]
    Arquivo: /usr/share/terminfo/r
    Tamanho: 4096          Blocos: 8          bloco de E/S: 4096   diretório
Dispositivo: 8,2    Inode: 661781      Ligações: 2
     Acesso: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
     Acesso: 2023-06-08 20:33:49.000000000 -0300
Modificação: 2023-06-08 20:43:46.371399178 -0300
  Alteração: 2023-06-08 20:43:46.371399178 -0300
    Criação: 2023-06-08 20:33:49.376838717 -0300
    Arquivo: /usr/share/terminfo/x
    Tamanho: 4096          Blocos: 8          bloco de E/S: 4096   diretório
Dispositivo: 8,2    Inode: 662274      Ligações: 2
     Acesso: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
     Acesso: 2023-06-08 20:33:49.000000000 -0300
Modificação: 2023-06-08 20:33:49.453480172 -0300
  Alteração: 2023-06-08 20:33:49.453480172 -0300
    Criação: 2023-06-08 20:33:49.440151224 -0300

Offline

#4 2023-06-09 06:34:44

seth
Member
Registered: 2012-09-03
Posts: 58,717

Re: [Solved] Unable to build terminals

Then why does it say "mkdir -p /home/fabio/.cache/yay/xst/pkg/xst/usr/share/terminfo"

pacman -S rxvt-unicode-terminfo
makepkg -i

Fwwi, fix relax glyph handling along: https://bbs.archlinux.org/viewtopic.php … 4#p2100344

Offline

#5 2023-06-09 14:04:52

Knvzzz
Member
Registered: 2023-06-08
Posts: 7

Re: [Solved] Unable to build terminals

I tried more than one way in more than one installation. I said the first way i tried

The error for xst using makepkg

c99 -o xst st.o x.o boxdraw.o hb.o -L/usr/X11R6/lib -lm -lrt -lX11 -lutil -lXft -lXrender `pkg-config --libs fontconfig`  `pkg-config --libs freetype2`   `pkg-config --libs harfbuzz` -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
mkdir -p /home/fabio/Downloads/xst/pkg/xst/usr/bin
cp -f xst /home/fabio/Downloads/xst/pkg/xst/usr/bin
chmod 755 /home/fabio/Downloads/xst/pkg/xst/usr/bin/xst
mkdir -p /home/fabio/Downloads/xst/pkg/xst/usr/share/man/man1
sed "s/VERSION/0.9/g" < st.1 > /home/fabio/Downloads/xst/pkg/xst/usr/share/man/man1/xst.1
chmod 644 /home/fabio/Downloads/xst/pkg/xst/usr/share/man/man1/xst.1
mkdir -p /home/fabio/Downloads/xst/pkg/xst/usr/share/terminfo
env TERMINFO=/home/fabio/Downloads/xst/pkg/xst/usr/share/terminfo tic -sx st.info
"st.info", line 1, terminal 'xst-mono': /usr/share/terminfo/x: permission denied
make: *** [Makefile:53: install] Error 1

I tried with a new install of Manjaro, that uses older packages, and it worked as expected. On an older installation of Arch, with up to date packages, worked to. I only have issues with newer installation.

Offline

#6 2023-06-09 14:17:18

seth
Member
Registered: 2012-09-03
Posts: 58,717

Re: [Solved] Unable to build terminals

type tic
pacman -Qs ncurses
pacman -Qikk ncurses

Offline

#7 2023-06-09 14:43:22

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: [Solved] Unable to build terminals

I am able to replicate this error with rxvt-unicode-pixbuf (which uses similar steps as the repo package).  Here's the actual output from makepkg (a second run to skip successful compilation steps):

==> WARNING: Cannot find the sudo binary. Will use su to acquire root privileges.
==> Making package: rxvt-unicode-pixbuf 9.31-1 (Fri 09 Jun 2023 09:40:23 AM CDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found rxvt-unicode-9.31.tar.bz2
  -> Found urxvt.desktop
  -> Found urxvtc.desktop
  -> Found urxvt-tabbed.desktop
  -> Found font-width-fix.patch
  -> Found line-spacing-fix.patch
==> Validating source files with sha1sums...
    rxvt-unicode-9.31.tar.bz2 ... Passed
    urxvt.desktop ... Passed
    urxvtc.desktop ... Passed
    urxvt-tabbed.desktop ... Passed
    font-width-fix.patch ... Passed
    line-spacing-fix.patch ... Passed
==> Extracting sources...
  -> Extracting rxvt-unicode-9.31.tar.bz2 with bsdtar
==> Starting prepare()...
patching file src/rxvtfont.C
Hunk #1 succeeded at 1304 (offset 133 lines).
patching file src/rxvtfont.C
Hunk #1 succeeded at 1276 with fuzz 2 (offset 39 lines).
==> Removing existing $pkgdir/ directory...
==> Starting build()...
configure: WARNING: unrecognized options: --enable-lastlog, --enable-utmp, --enable-wtmp

configuring for rxvt 9.31

checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking for g++... g++
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for working libsupc++... ok
checking for library containing setlocale... none required
checking for library containing gethostbyname... none required
checking for library containing socket... none required
checking for sys/inotify.h... yes
checking for sys/epoll.h... yes
checking for sys/event.h... no
checking for port.h... no
checking for poll.h... yes
checking for sys/timerfd.h... yes
checking for sys/select.h... yes
checking for sys/eventfd.h... yes
checking for sys/signalfd.h... yes
checking for linux/aio_abi.h... yes
checking for linux/fs.h... yes
checking for inotify_init... yes
checking for epoll_ctl... yes
checking for kqueue... no
checking for port_create... no
checking for poll... yes
checking for select... yes
checking for eventfd... yes
checking for signalfd... yes
checking for clock_gettime... yes
checking for nanosleep... yes
checking for __kernel_rwf_t... yes
checking for library containing floor... none required
checking for tic... /usr/bin/tic
checking how to run the C++ preprocessor... g++ -E
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for pkg-config... /usr/bin/pkg-config
checking for libptytty (using pkg-config)... ok
checking for gdk-pixbuf-2.0 (using pkg-config)... ok
checking for libstartup-notification-1.0 (using pkg-config)... ok
checking for sys/byteorder.h... no
checking for sys/ioctl.h... yes
checking for sys/sockio.h... no
checking for sys/strredir.h... no
checking for stdint.h... (cached) yes
checking for wchar.h... (cached) yes
checking for XLIB_ILLEGAL_ACCESS... yes
checking for mode_t... yes
checking for pid_t... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for uid_t in sys/types.h... yes
checking for int16_t... yes
checking for uint16_t... yes
checking for int32_t... yes
checking for uint32_t... yes
checking for unsetenv... yes
checking for working Xlocale... yes
checking for broken XIM callback... no
checking for working X setlocale... yes
checking for working nl_langinfo... yes
checking for xrender (using pkg-config)... ok
checking for X11/extensions/Xrender.h... yes
checking for XRenderFindStandardFormat... yes
checking for fontconfig xft (using pkg-config)... ok
checking for X11/Xft/Xft.h... yes
checking for fontconfig/fontconfig.h... yes
checking for XftDrawString32... yes
checking for FcPatternGet... yes
checking for Render >= 0.11... ok
checking for perl5... perl
checking for xext (using pkg-config)... ok
checking for perl suitability... ok
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING:  'Makefile.in' seems to ignore the --datarootdir setting
config.status: creating doc/Makefile
config.status: WARNING:  'doc/Makefile.in' seems to ignore the --datarootdir setting
config.status: creating src/Makefile
config.status: WARNING:  'src/Makefile.in' seems to ignore the --datarootdir setting
config.status: creating config.h
config.status: config.h is unchanged
configure: WARNING: unrecognized options: --enable-lastlog, --enable-utmp, --enable-wtmp
Configuration:

  Rxvt version:               9.31 : 2023-01-02
  Source code location:       .
  Install path:               /usr/bin
  Compiler:                   g++
  Compiler flags:             -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -w
  Linker:                     gcc
  default resource name:      urxvt
  resource class:             URxvt
  resource class fallback:    Rxvt

  embedded perl:              yes
  image library:              gdk-pixbuf

*** Optionally check src/feature.h for further, rarely used options ***

make[1]: Entering directory '/tmp/rxvt-unicode-pixbuf/src/rxvt-unicode-9.31/src'
g++ -I.. -I. -I. -I./../libev -DHAVE_CONFIG_H  -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread   -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -w -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -pthread  -I/usr/include/startup-notification-1.0  -c rxvtfont.C
perl -MExtUtils::Embed -e xsinit -- -std urxvt
g++ -I.. -I. -I. -I./../libev -DHAVE_CONFIG_H  -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread   -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -w -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -pthread  -I/usr/include/startup-notification-1.0  -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/perl5/5.36/core_perl/CORE  -DLIBDIR="\"/usr/lib/urxvt\"" -c rxvtperl.C
gcc -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o rxvt rxvt.o command.o rxvtfont.o init.o main.o misc.o screen.o scrollbar.o scrollbar-next.o scrollbar-rxvt.o scrollbar-xterm.o scrollbar-plain.o xdefaults.o encoding.o rxvttoolkit.o rxvtutil.o keyboard.o rxvtimg.o ev_cpp.o rxvtperl.o -lsupc++ -lm -lptytty  -lXext  -lfontconfig -lfreetype -lXft  -lXrender -lX11   -lX11  -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0  -lstartup-notification-1  -Wl,-E -Wl,-rpath,/usr/lib/perl5/5.36/core_perl/CORE -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto -fstack-protector-strong -L/usr/local/lib  -L/usr/lib/perl5/5.36/core_perl/CORE -lperl -lpthread -ldl -lm -lcrypt -lutil -lc
gcc -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o rxvtd rxvtd.o command.o rxvtfont.o init.o main.o misc.o screen.o scrollbar.o scrollbar-next.o scrollbar-rxvt.o scrollbar-xterm.o scrollbar-plain.o xdefaults.o encoding.o rxvttoolkit.o rxvtutil.o keyboard.o rxvtimg.o ev_cpp.o rxvtperl.o rxvtdaemon.o -lsupc++ -lm -lptytty  -lXext  -lfontconfig -lfreetype -lXft  -lXrender -lX11   -lX11  -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0  -lstartup-notification-1  -Wl,-E -Wl,-rpath,/usr/lib/perl5/5.36/core_perl/CORE -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto -fstack-protector-strong -L/usr/local/lib  -L/usr/lib/perl5/5.36/core_perl/CORE -lperl -lpthread -ldl -lm -lcrypt -lutil -lc
make[1]: Leaving directory '/tmp/rxvt-unicode-pixbuf/src/rxvt-unicode-9.31/src'
make[1]: Entering directory '/tmp/rxvt-unicode-pixbuf/src/rxvt-unicode-9.31/doc'
sed -e 's%@@RXVT_VERSION@@%9.31%g;' -e 's%@@RXVT_NAME@@%urxvt%g;' -e 's%@@RXVT_DATE@@%2023-01-02%g;' -e 's%@@RXVT_LIBDIR@@%/usr/lib%g;' -e 's%@@URXVT_NAME@@%urxvt%g;' < ./rxvt.1.man.in   >rxvt.1.man
sed -e 's%@@RXVT_VERSION@@%9.31%g;' -e 's%@@RXVT_NAME@@%urxvt%g;' -e 's%@@RXVT_DATE@@%2023-01-02%g;' -e 's%@@RXVT_LIBDIR@@%/usr/lib%g;' -e 's%@@URXVT_NAME@@%urxvt%g;' < ./rxvtc.1.man.in  >rxvtc.1.man
sed -e 's%@@RXVT_VERSION@@%9.31%g;' -e 's%@@RXVT_NAME@@%urxvt%g;' -e 's%@@RXVT_DATE@@%2023-01-02%g;' -e 's%@@RXVT_LIBDIR@@%/usr/lib%g;' -e 's%@@URXVT_NAME@@%urxvt%g;' < ./rxvtd.1.man.in  >rxvtd.1.man
sed -e 's%@@RXVT_VERSION@@%9.31%g;' -e 's%@@RXVT_NAME@@%urxvt%g;' -e 's%@@RXVT_DATE@@%2023-01-02%g;' -e 's%@@RXVT_LIBDIR@@%/usr/lib%g;' -e 's%@@URXVT_NAME@@%urxvt%g;' < ./rxvt.7.man.in   >rxvt.7.man
sed -e 's%@@RXVT_VERSION@@%9.31%g;' -e 's%@@RXVT_NAME@@%urxvt%g;' -e 's%@@RXVT_DATE@@%2023-01-02%g;' -e 's%@@RXVT_LIBDIR@@%/usr/lib%g;' -e 's%@@URXVT_NAME@@%urxvt%g;' < ./rclock.1.man.in >rclock.1.man
make[1]: Leaving directory '/tmp/rxvt-unicode-pixbuf/src/rxvt-unicode-9.31/doc'
==> Entering fakeroot environment...
==> WARNING: Cannot find the sudo binary. Will use su to acquire root privileges.
==> Starting package()...
make[1]: Entering directory '/tmp/rxvt-unicode-pixbuf/src/rxvt-unicode-9.31/src'
/usr/bin/install -c -d /tmp/rxvt-unicode-pixbuf/pkg/rxvt-unicode-pixbuf/usr/bin
/usr/bin/install -c -m 755 rxvt  /tmp/rxvt-unicode-pixbuf/pkg/rxvt-unicode-pixbuf/usr/bin/urxvt
/usr/bin/install -c -m 755 rxvtc /tmp/rxvt-unicode-pixbuf/pkg/rxvt-unicode-pixbuf/usr/bin/urxvtc
/usr/bin/install -c -m 755 rxvtd /tmp/rxvt-unicode-pixbuf/pkg/rxvt-unicode-pixbuf/usr/bin/urxvtd
/usr/bin/install -c -m 755 rclock /tmp/rxvt-unicode-pixbuf/pkg/rxvt-unicode-pixbuf/usr/bin/urclock
/usr/bin/install -c -d /tmp/rxvt-unicode-pixbuf/pkg/rxvt-unicode-pixbuf/usr/lib
/usr/bin/install -c -d /tmp/rxvt-unicode-pixbuf/pkg/rxvt-unicode-pixbuf/usr/lib/urxvt
/usr/bin/install -c -d /tmp/rxvt-unicode-pixbuf/pkg/rxvt-unicode-pixbuf/usr/lib/urxvt/perl
/usr/bin/install -c -d /tmp/rxvt-unicode-pixbuf/pkg/rxvt-unicode-pixbuf/usr/share/man/man1
/usr/bin/install -c -d /tmp/rxvt-unicode-pixbuf/pkg/rxvt-unicode-pixbuf/usr/share/man/man3
/usr/bin/install -c -m 644 ./urxvt.pm /tmp/rxvt-unicode-pixbuf/pkg/rxvt-unicode-pixbuf/usr/lib/urxvt/urxvt.pm
for ext in ./perl/*; do \
   test -f "$ext" || continue; \
   base=`basename "$ext"`; \
   /usr/bin/install -c -m 644 "$ext" /tmp/rxvt-unicode-pixbuf/pkg/rxvt-unicode-pixbuf/usr/lib/urxvt/perl/; \
   < "$ext" \
   perl -MPod::Man -e '(new Pod::Man name => "'urxvt-$base'", quotes => q<"> , center => q<RXVT-UNICODE>, release => q<9.31>)->parse_from_file' \
   > mantmp; \
   test -s mantmp && /usr/bin/install -c -m 644 mantmp /tmp/rxvt-unicode-pixbuf/pkg/rxvt-unicode-pixbuf/usr/share/man/man1/urxvt-$base.1; \
   < "$ext" perl -ne '<>, (print <> . "\n"), exit if /^=head1/' >&3; \
done 3>manlst
cat ./../doc/extensions.pod.top manlst ./../doc/extensions.pod.bot | \
perl -MPod::Man -e '(new Pod::Man name => "urxvt-extensions", quotes => q<"> , center => q<RXVT-UNICODE>, release => q<9.31>)->parse_from_file' \
> mantmp
/usr/bin/install -c -m 644 mantmp /tmp/rxvt-unicode-pixbuf/pkg/rxvt-unicode-pixbuf/usr/share/man/man1/urxvt-extensions.1
< ./urxvt.pm \
perl -MPod::Man -e '(new Pod::Man name => "urxvtperl", section => 3, quotes => q<"> , center => q<RXVT-UNICODE>, release => q<9.31>)->parse_from_file' \
> mantmp
/usr/bin/install -c -m 644 mantmp /tmp/rxvt-unicode-pixbuf/pkg/rxvt-unicode-pixbuf/usr/share/man/man3/urxvtperl.3
make[1]: Leaving directory '/tmp/rxvt-unicode-pixbuf/src/rxvt-unicode-9.31/src'
make[1]: Entering directory '/tmp/rxvt-unicode-pixbuf/src/rxvt-unicode-9.31/doc'
sed -e 's%@@RXVT_VERSION@@%9.31%g;' -e 's%@@RXVT_NAME@@%urxvt%g;' -e 's%@@RXVT_DATE@@%2023-01-02%g;' -e 's%@@RXVT_LIBDIR@@%/usr/lib%g;' -e 's%@@URXVT_NAME@@%urxvt%g;' < ./rxvt.1.man.in   >rxvt.1.man
sed -e 's%@@RXVT_VERSION@@%9.31%g;' -e 's%@@RXVT_NAME@@%urxvt%g;' -e 's%@@RXVT_DATE@@%2023-01-02%g;' -e 's%@@RXVT_LIBDIR@@%/usr/lib%g;' -e 's%@@URXVT_NAME@@%urxvt%g;' < ./rxvtc.1.man.in  >rxvtc.1.man
sed -e 's%@@RXVT_VERSION@@%9.31%g;' -e 's%@@RXVT_NAME@@%urxvt%g;' -e 's%@@RXVT_DATE@@%2023-01-02%g;' -e 's%@@RXVT_LIBDIR@@%/usr/lib%g;' -e 's%@@URXVT_NAME@@%urxvt%g;' < ./rxvtd.1.man.in  >rxvtd.1.man
sed -e 's%@@RXVT_VERSION@@%9.31%g;' -e 's%@@RXVT_NAME@@%urxvt%g;' -e 's%@@RXVT_DATE@@%2023-01-02%g;' -e 's%@@RXVT_LIBDIR@@%/usr/lib%g;' -e 's%@@URXVT_NAME@@%urxvt%g;' < ./rxvt.7.man.in   >rxvt.7.man
sed -e 's%@@RXVT_VERSION@@%9.31%g;' -e 's%@@RXVT_NAME@@%urxvt%g;' -e 's%@@RXVT_DATE@@%2023-01-02%g;' -e 's%@@RXVT_LIBDIR@@%/usr/lib%g;' -e 's%@@URXVT_NAME@@%urxvt%g;' < ./rclock.1.man.in >rclock.1.man
/usr/bin/install -c -d /tmp/rxvt-unicode-pixbuf/pkg/rxvt-unicode-pixbuf/usr/share/man/man1
/usr/bin/install -c -d /tmp/rxvt-unicode-pixbuf/pkg/rxvt-unicode-pixbuf/usr/share/man/man7
/usr/bin/install -c -m 644 rxvt.1.man    /tmp/rxvt-unicode-pixbuf/pkg/rxvt-unicode-pixbuf/usr/share/man/man1/urxvt.1
/usr/bin/install -c -m 644 rxvtc.1.man   /tmp/rxvt-unicode-pixbuf/pkg/rxvt-unicode-pixbuf/usr/share/man/man1/urxvtc.1
/usr/bin/install -c -m 644 rxvtd.1.man   /tmp/rxvt-unicode-pixbuf/pkg/rxvt-unicode-pixbuf/usr/share/man/man1/urxvtd.1
/usr/bin/install -c -m 644 rxvt.7.man    /tmp/rxvt-unicode-pixbuf/pkg/rxvt-unicode-pixbuf/usr/share/man/man7/urxvt.7
/usr/bin/install -c -m 644 rclock.1.man  /tmp/rxvt-unicode-pixbuf/pkg/rxvt-unicode-pixbuf/usr/share/man/man1/urclock.1
/usr/bin/tic -x ./etc/rxvt-unicode.terminfo || \
           /usr/bin/tic ./etc/rxvt-unicode.terminfo
"./etc/rxvt-unicode.terminfo", line 7, terminal 'rxvt-unicode': /usr/share/terminfo/r: permission denied
"./etc/rxvt-unicode.terminfo", line 57, col 20, terminal 'rxvt-unicode': unknown capability 'kDC5'
"./etc/rxvt-unicode.terminfo", line 58, col 19, terminal 'rxvt-unicode': unknown capability 'kDC6'
"./etc/rxvt-unicode.terminfo", line 59, col 17, terminal 'rxvt-unicode': unknown capability 'kDN'
"./etc/rxvt-unicode.terminfo", line 60, col 18, terminal 'rxvt-unicode': unknown capability 'kDN5'
"./etc/rxvt-unicode.terminfo", line 62, col 20, terminal 'rxvt-unicode': unknown capability 'kIC5'
"./etc/rxvt-unicode.terminfo", line 63, col 19, terminal 'rxvt-unicode': unknown capability 'kIC6'
"./etc/rxvt-unicode.terminfo", line 65, col 21, terminal 'rxvt-unicode': unknown capability 'kEND5'
"./etc/rxvt-unicode.terminfo", line 66, col 20, terminal 'rxvt-unicode': unknown capability 'kEND6'
"./etc/rxvt-unicode.terminfo", line 68, col 21, terminal 'rxvt-unicode': unknown capability 'kFND5'
"./etc/rxvt-unicode.terminfo", line 69, col 20, terminal 'rxvt-unicode': unknown capability 'kFND6'
"./etc/rxvt-unicode.terminfo", line 71, col 21, terminal 'rxvt-unicode': unknown capability 'kHOM5'
"./etc/rxvt-unicode.terminfo", line 72, col 20, terminal 'rxvt-unicode': unknown capability 'kHOM6'
"./etc/rxvt-unicode.terminfo", line 74, col 19, terminal 'rxvt-unicode': unknown capability 'kLFT5'
"./etc/rxvt-unicode.terminfo", line 76, col 21, terminal 'rxvt-unicode': unknown capability 'kNXT5'
"./etc/rxvt-unicode.terminfo", line 77, col 20, terminal 'rxvt-unicode': unknown capability 'kNXT6'
"./etc/rxvt-unicode.terminfo", line 79, col 21, terminal 'rxvt-unicode': unknown capability 'kPRV5'
"./etc/rxvt-unicode.terminfo", line 80, col 20, terminal 'rxvt-unicode': unknown capability 'kPRV6'
"./etc/rxvt-unicode.terminfo", line 82, col 19, terminal 'rxvt-unicode': unknown capability 'kRIT5'
"./etc/rxvt-unicode.terminfo", line 83, col 17, terminal 'rxvt-unicode': unknown capability 'kUP'
"./etc/rxvt-unicode.terminfo", line 84, col 18, terminal 'rxvt-unicode': unknown capability 'kUP5'
"./etc/rxvt-unicode.terminfo", line 7, terminal 'rxvt-unicode': /usr/share/terminfo/r: permission denied
make[1]: *** [Makefile:103: install] Error 1
make[1]: Leaving directory '/tmp/rxvt-unicode-pixbuf/src/rxvt-unicode-9.31/doc'
make: *** [Makefile:37: install] Error 1
==> ERROR: A failure occurred in package().
    Aborting...

"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#8 2023-06-09 14:49:05

Knvzzz
Member
Registered: 2023-06-08
Posts: 7

Re: [Solved] Unable to build terminals

[fabio@archware ~]$ type tic
tic é /usr/bin/tic
[fabio@archware ~]$ pacman -Qs ncurses
local/ncurses 6.4_20230520-1
    System V Release 4.0 curses emulation library
[fabio@archware ~]$ pacman -Qikk ncurses
Nome                 : ncurses
Versão               : 6.4_20230520-1
Descrição            : System V Release 4.0 curses emulation library
Arquitetura          : x86_64
URL                  : https://invisible-island.net/ncurses/ncurses.html
Licenças             : MIT
Grupos               : Nenhum
Provê                : libncurses++w.so=6-64  libformw.so=6-64
                       libmenuw.so=6-64  libpanelw.so=6-64  libncursesw.so=6-64
Depende de           : glibc  gcc-libs
Depend. opcionais    : bash: for ncursesw6-config [instalado]
Necessário para      : bash  guile  lame  less  libedit  libxml2  llvm-libs
                       nano  pinentry  procps-ng  psmisc  readline  texinfo
                       util-linux
Opcional para        : Nenhum
Conflita com         : Nenhum
Substitui            : alacritty-terminfo
Tamanho instalado    : 3,97 MiB
Empacotador          : David Runge <dvzrv@archlinux.org>
Data da compilação   : ter 23 mai 2023 17:02:38
Data de instalação   : qui 08 jun 2023 20:33:49
Motivo da instalação : Instalado como dependência de outro pacote
Script de instalação : Não
Validado por         : Assinatura

ncurses: total de 3888 arquivos, 0 arquivo alterado

Offline

#9 2023-06-09 14:53:38

seth
Member
Registered: 2012-09-03
Posts: 58,717

Re: [Solved] Unable to build terminals

cd /tmp
wget https://git.sr.ht/~arkhan/xst/blob/main/st.info
export TERMINFO=/tmp
strace -o tic.strace tic st.info
cat tic.strace | curl -F 'f:1=<-' ix.io

Edit: it would seem that tic ignores TERMINFO (rxvt-unicode-pixbuf exports it in the PKGBUILD) but on a "partially updated" (LD_PRELOAD'ed) ncurses that doesn't happen here.

Last edited by seth (2023-06-09 14:55:22)

Offline

#10 2023-06-09 15:12:46

Knvzzz
Member
Registered: 2023-06-08
Posts: 7

Re: [Solved] Unable to build terminals

[fabio@archware ~]$ cd /tmp
[fabio@archware tmp]$ wget https://git.sr.ht/~arkhan/xst/blob/main/st.info
--2023-06-09 12:09:40--  https://git.sr.ht/~arkhan/xst/blob/main/st.info
Carregou certificado CA "/etc/ssl/certs/ca-certificates.crt"
Resolvendo git.sr.ht (git.sr.ht)... 173.195.146.142
Conectando-se a git.sr.ht (git.sr.ht)|173.195.146.142|:443... conectado.
A requisição HTTP foi enviada, aguardando resposta... 200 OK
Tamanho: 4089 (4,0K) [text/plain]
Salvando em: “st.info”

st.info             100%[===================>]   3,99K  --.-KB/s    em 0s     

2023-06-09 12:09:41 (254 MB/s) - “st.info” salvo [4089/4089]

[fabio@archware tmp]$ export TERMINFO=/tmp
[fabio@archware tmp]$ strace -o tic.strace tic st.info
"st.info", line 2, col 11, terminal 'xst-mono': unknown capability 'Su'
"st.info", line 186, col 20, terminal 'xst-mono': unknown capability 'rmxx'
"st.info", line 187, col 19, terminal 'xst-mono': unknown capability 'smxx'
"st.info", line 191, col 11, terminal 'xst-mono': unknown capability 'Tc'
"st.info", line 192, col 33, terminal 'xst-mono': unknown capability 'Ms'
"st.info", line 193, col 18, terminal 'xst-mono': unknown capability 'Se'
"st.info", line 194, col 22, terminal 'xst-mono': unknown capability 'Ss'
[fabio@archware tmp]$ cat tic.strace | curl -F 'f:1=<-' ix.io
http://ix.io/4xQh

Offline

#11 2023-06-09 15:33:18

seth
Member
Registered: 2012-09-03
Posts: 58,717

Re: [Solved] Unable to build terminals

So this works fine hmm
And  w/ my laziness driven dated software stack I can also build the xst package w/o any problem.
The last pacman update should™ be irrelevant, so that's gonna be fun.

@trilby, ash?

@Knvzzz;

echo $SHELL

Offline

#12 2023-06-09 15:43:30

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: [Solved] Unable to build terminals

Nope, if fails in bash too here.  Perhaps there's a missing dependency?  EDIT: wait it works for you but you're not currently up to date?  When was your last update (I could downgrade via the archive to test if it works with that dates packages).

Last edited by Trilby (2023-06-09 15:49:39)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#13 2023-06-09 17:01:48

loqs
Member
Registered: 2014-03-06
Posts: 18,045

Re: [Solved] Unable to build terminals

Offline

#14 2023-06-09 17:29:37

Knvzzz
Member
Registered: 2023-06-08
Posts: 7

Re: [Solved] Unable to build terminals

Yes, the problem is with the update of the ncurses package.

I tried with the ncurses-git package and it worked as expected.

Offline

#15 2023-06-09 17:35:43

loqs
Member
Registered: 2014-03-06
Posts: 18,045

Re: [Solved] Unable to build terminals

It is the --disable-root-environ option which causes the issue.

Offline

#16 2023-06-09 18:47:21

Knvzzz
Member
Registered: 2023-06-08
Posts: 7

Re: [Solved] Unable to build terminals

Thanks everyone.



loqs wrote:

It is the --disable-root-environ option which causes the issue.

Yes, I had understood by reading that page.

As I didn't have a backup of an older version I thought the easiest thing to do was to install the -git version that is in AUR.

Now i repacked https://gitlab.archlinux.org/archlinux/ … es/ncurses removing the --disable-root-environ and it worked too.

Offline

Board footer

Powered by FluxBB