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#7890 - New mcpp (2.6.4) making xrdb stop working correctly.

Attached to Project: Arch Linux
Opened by pibarnas (pibarnas) - Friday, 24 August 2007, 21:15 GMT
Last edited by Alexander Baldeck (kth5) - Friday, 19 October 2007, 13:16 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To Alexander Baldeck (kth5)
Architecture i686
Severity Medium
Priority Normal
Reported Version 2007.08 Don't Panic
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

With a simple pacman -Syu you probably have been upgraded your mcpp, a preprocessor used by xorg-server-utils. The new package 2.6.4 conflicts with xrdb and confs file like .Xdefaults simply doesn't work as they would be. Unhappily, the only solution (I expect a provisory one) is to downgrade the package to some previous version. I did it here and xrdb got working again.


Additional info:
* package version(s): mcpp-2.6.4-1.pkg.tar.gz
* config and/or log files etc.


Steps to reproduce:

With the new mcpp-2.6.4-1.pkg.tar.gz installed, open a terminal and do a simple xrdb -merge .Xdefaults (if you use it, of course). You'll get errors like that:

pibarnas@hal9000:~ $ xrdb -merge .Xdefaults
xrdb: colon missing on line 5, ignoring line
xrdb: colon missing on line 6, ignoring line
xrdb: colon missing on line 10, ignoring line
xrdb: colon missing on line 11, ignoring line
xrdb: colon missing on line 12, ignoring line
xrdb: colon missing on line 13, ignoring line

And some X configs, like resources for Xterm won't work anymore. It seems it doesn't happen with everyone. Too weird bug...
This task depends upon

Closed by  Alexander Baldeck (kth5)
Friday, 19 October 2007, 13:16 GMT
Reason for closing:  Fixed
Comment by Dimos Dimoulis (dimosd) - Tuesday, 28 August 2007, 01:05 GMT
http://bbs.archlinux.org/viewtopic.php?id=36560

As suggested there I downgraded mcpp to 2.6.3 and it solved it. mcpp 2.6.4 cuts the last character of every word. Example:

mcpp 2.6.4:
Emacs.font: Bitstrea Ver San Mono-12
mcpp 2.6.3:
Emacs.font: Bitstream Vera Sans Mono-12
Comment by Pavel Shevchuk (Stalwart) - Tuesday, 28 August 2007, 16:48 GMT
I confirm it on arch64
Comment by Vlad Reikine (vreikine) - Tuesday, 18 September 2007, 03:33 GMT
It's a confirmed bug in mcpp and there is a patch for it.
See mcpp sourceforge page.
The workaround it would be to modify the X startup scripts to add "-nocpp" option to xrdb command :
e.g. I log into shell and then use 'startx', so I modified .xinitrc line with xrdb like this :
xrdb -merge -nocpp $HOME/.Xresources
and it's back to normal.
Comment by Roman Kyrylych (Romashka) - Thursday, 18 October 2007, 11:53 GMT
please try mcpp-2.6.4-2

Loading...