Arch Linux

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#42805 - [xterm] Bell seems deactivated in package

Attached to Project: Arch Linux
Opened by Jon Canning (twisted) - Sunday, 16 November 2014, 03:45 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 18 November 2014, 18:23 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
I can't seem to get the bell working with the xterm from the binary package. However, there is no problem if I get the PKGBUILD from archlinux.org and compile it myself.


Additional info:
* xterm-312-1


Steps to reproduce:
- with xterm-312-1, there should be no beep if you run `echo -e '\a'`;
- rebuild the package, pacman -U, run `echo -e '\a', it should work.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Tuesday, 18 November 2014, 18:23 GMT
Reason for closing:  Fixed
Comment by Andreas Radke (AndyRTR) - Sunday, 16 November 2014, 08:08 GMT
I assume you are not building in a clean chroot. Can you find out what dependency is required to get the bell working?

namcap and configure.log may show this.
Comment by Jon Canning (twisted) - Sunday, 16 November 2014, 09:10 GMT
Here is the relevant part in config.log when I build from the chroot:

configure:14408: checking for XKB Bell extension
configure:14435: gcc -o conftest -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=
ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c
-lutil -lXaw7 -lXmu -lXt -lX11 -lXpm -lSM -lICE -lutempter -lncurses >&5
configure:14419:73: fatal error: X11/extensions/XKBbells.h: No such file or directory


On my "normal" Arch:
$ pacman -Qo /usr/include/X11/extensions/XKBbells.h
/usr/include/X11/extensions/XKBbells.h is owned by libxkbfile 1.0.8-2


Adding 'libxkbfile' to the PKGBUILD depencies solves the problem.
Comment by Andreas Radke (AndyRTR) - Monday, 17 November 2014, 19:54 GMT
Please test 312-2 - bell won't make any noise here. But maybe that's my local setup.
Comment by Eric Belanger (Snowman) - Tuesday, 18 November 2014, 01:09 GMT
To have the bell sound, the pcspkr module must be loaded.

EDIT: xterm 312-2 has the bell sound.
Comment by Jon Canning (twisted) - Tuesday, 18 November 2014, 18:20 GMT
I confirm the original issue is fixed in 312-2. Thanks.

Loading...