@Musikolo Thanks for your work. But I kindly wanted to ask not to add "enjoy" comment at each version update. See https://wiki.archlinux.org/title/AUR_submission_guidelines#Maintaining_packages
Search Criteria
Package Details: bcompare-kde5 5.0.3.30258-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/bcompare.git (read-only, click to copy) |
---|---|
Package Base: | bcompare |
Description: | KDE Plasma 5 service menus for Beyond Compare 5. |
Upstream URL: | https://www.scootersoftware.com |
Keywords: | compare diff |
Licenses: | custom |
Groups: | utility |
Submitter: | Musikolo |
Maintainer: | Musikolo |
Last Packager: | Musikolo |
Votes: | 100 |
Popularity: | 0.075516 |
First Submitted: | 2011-07-27 22:54 (UTC) |
Last Updated: | 2024-10-26 16:23 (UTC) |
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 .. 22 Next › Last »
Ashark commented on 2022-07-02 02:05 (UTC)
feilong commented on 2022-06-25 03:20 (UTC) (edited on 2022-06-25 03:22 (UTC) by feilong)
I have a same problem, exit code -216 After install this aur, it can't open,I do the follow step and get -216 error.
- add
/usr/lib/beyondcompare/
to last line/etc/ld.so.conf
(also try to install lib7zip byyay -S lib7zip
and this line, but it not work also) - do
yay -S qt4
this is the log file dump by command strace /usr/lib/beyondcompare/BCompare 2>/tmp/trace
eismog commented on 2022-06-21 11:37 (UTC) (edited on 2022-06-21 11:40 (UTC) by eismog)
I've got the same exit code - 216.
$ bash -x bcompare
+ BC_LIB=/usr/lib/beyondcompare
+ export BC_LIB
+ BC_PACKAGE_TYPE=archive
+ export BC_PACKAGE_TYPE
+ EXEC=/usr/lib/beyondcompare/BCompare
+ '[' -n '' ']'
+ export LD_LIBRARY_PATH=/usr/lib/beyondcompare
+ LD_LIBRARY_PATH=/usr/lib/beyondcompare
+ grep -q 'not found'
+ ldd /usr/lib/beyondcompare/BCompare
+ '[' '' = true ']'
+ ARGS=
+ '[' 0 -gt 0 ']'
+ /bin/bash -c 'exec -a bcompare /usr/lib/beyondcompare/BCompare > /dev/null 2>&1' bcompare
+ EXIT=216
+ '[' 216 = 99 ']'
+ exit 216
GDB message:
─── Output/messages
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
0x0000000000889f83 in ?? ()
─── Assembly
0x0000000000889f83 ? mov %eax,(%rsi)
0x0000000000889f85 ? lea 0x8(%rsp),%rsp
0x0000000000889f8a ? ret
0x0000000000889f8b ? add %al,(%rax)
0x0000000000889f8d ? add %al,(%rax)
0x0000000000889f8f ? add %dl,0x41(%rbx)
0x0000000000889f92 ? push %rsp
0x0000000000889f93 ? push %r13
0x0000000000889f95 ? lea -0x190(%rsp),%rsp
0x0000000000889f9d ? mov %rdi,%rbx
─── Stack
[0] from 0x0000000000889f83
[1] from 0x00007fffffffcb30
[2] from 0x0000000000889c0a
[3] from 0x00007fffffffd690
[4] from 0x00007ffff7fbe090
[5] from 0x00007ffff7fbea90
[6] from 0x00007ffff7fbf990
[7] from 0x00007ffff7f75000
[8] from 0x00007ffff7f76a60
[9] from 0x00007ffff7f39000
[+]
jamespharvey20 commented on 2022-06-06 01:37 (UTC) (edited on 2022-06-06 01:46 (UTC) by jamespharvey20)
I recommend not running this program as root, for good security practice. That said, if you want to do it anyway and are willing to take the risks that it eats your hard drive, read along.
When attempting to run as root, the GUI window will appear but without any contents. This was reported upstream in 2015 at https://forum.scootersoftware.com/forum/beyond-compare-4-discussion/linux-aa/12397-running-bcompare-as-root but its developers decided it was a KDE bug. They reported it to Fedora as a KDE bug at https://bugzilla.redhat.com/show_bug.cgi?id=1185893 but Fedora decided it was an application side bug, and they gave the good advice to not run GUI apps as root.
A workaround is:
$ sudo QT_GRAPHICSSYSTEM=native bcompare
Again, run a GUI as root at your own risk. (FWIW, it worked fine for me.)
This workaround only works on a local machine. Over a ssh session, even with X forwarding, it will give "X11 connection rejected because of wrong authentication." I didn't work through what the workaround for that would be, but it'll have something to do with /root/.Xauthority
and/or xauth
.
For a moment, I considered that the /usr/bin/bcompare bash script could be updated to check for root permissions and automatically export this environment variable. But, I see that bash script comes from upstream so is probably best left alone. Also, it's probably not a good idea to make it easier for people to run the program as root without understanding the dangers.
Musikolo commented on 2022-04-25 04:10 (UTC)
@eliminater74, it might sometimes be useful to use the strace
command from a terminal the following way:
$> strace bcompare
I hope it helps!
eliminater74 commented on 2022-04-20 23:20 (UTC)
I keep geting: "usr/bin/bcompare: line 47: 42996 Segmentation fault (core dumped) /bin/bash -c "exec -a $0 $EXEC $ARGS > /dev/null 2>&1" $0"
any ideas?
byteatom commented on 2022-04-10 13:30 (UTC)
it seems that the context menu for kde5 depend on kinit package
Musikolo commented on 2022-03-18 21:46 (UTC)
Updated to version 4.4.2.26348
.
Enjoy!
dimavs commented on 2022-02-18 21:27 (UTC)
BTW, I've fixed my issue - just switched to Wayland. So, it doesn't work with X11, but it is fine in Wayland.
dimavs commented on 2022-02-15 10:14 (UTC)
I've got the same exit code - 216. Where I can check the logs? Funny thing, it doesn't work on my home computer, but works fine on my work PC.
Pinned Comments
Musikolo commented on 2024-08-25 07:07 (UTC) (edited on 2024-10-16 03:55 (UTC) by Musikolo)
You can build the last version of Beyond Compare v4 I packaged (
4.4.7.28397
) by doing this:Since you have a license for v4, you might be interested in looking at the upgrade policy at https://www.scootersoftware.com/kb/upgradepolicy .
I hope it helps!