Package Details: bcompare-kde6 5.0.1.29877-2

Git Clone URL: https://aur.archlinux.org/bcompare.git (read-only, click to copy)
Package Base: bcompare
Description: KDE Plasma 6 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.49
First Submitted: 2011-07-27 22:54 (UTC)
Last Updated: 2024-07-27 20:07 (UTC)

Dependencies (2)

Required by (1)

Sources (1)

Latest Comments

1 2 3 4 5 6 .. 21 Next › Last »

Musikolo commented on 2024-08-11 19:58 (UTC) (edited on 2024-08-11 19:59 (UTC) by Musikolo)

@robindegen, I found qt5-base has qpa files. Please try to do the following:

a) Remove qt5-wayland skipping all dependencies:

pacman -Rdd qt5-wayland

b) Run bcomparein a terminal to see if it if works.

c) Restore qt5-wayland:

pacman -S --asdeps qt5-wayland

I was unable to reproduce your issue. Let's see if this shows something useful.

Regards.

robindegen commented on 2024-08-09 11:34 (UTC) (edited on 2024-08-09 11:41 (UTC) by robindegen)

@Musikolo When I tried to run it it just core dumped. I then started looking at the shell script itself; set up the LD_LIBRARY_PATH manually and ran BCompare. That then showed that Qt couldnt find a module for 'wayland'. On a hunch i checked if qt5-wayland was installed; it wasnt. Only qt6-wayland was on my system.

If i specifically uninstall qt5-wayland from my system (yay -R qt5-wayland):

~ » bcompare
/usr/bin/bcompare: line 43: 23374 Aborted                 (core dumped) /bin/bash -c "exec -a $0 $EXEC $ARGS > /dev/null 2>&1" $0

If i install it again, the program runs again just fine

Manually running the application (just copy pasting out of the shell script):

~ » BC_LIB=/usr/lib/beyondcompare
~ » export BC_LIB
~ » export LD_LIBRARY_PATH="$BC_LIB:$LD_LIBRARY_PATH"
~ » /usr/lib/beyondcompare/BCompare  

qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.

[1]    23771 IOT instruction (core dumped)  /usr/lib/beyondcompare/BCompare      

Again, reinstalling qt5-wayland makes the program run fine also with that method.

Also note: I dont have kwayland-integration installed. I didn't even know about this package and have been running for a long time just fine without it. I installed it now, just to see if it brings me anything I was missing before.

Musikolo commented on 2024-08-09 10:01 (UTC) (edited on 2024-08-09 10:01 (UTC) by Musikolo)

@robindegen, I'm also on latest KDE wayland. I have kwayland-integration installed which depends on qt5-wayland. However, if I delete it with pacman -Sdd qt5-wayland, I can start bcompare seamlessly.

If you can share more details on what error you're getting, I could look into.

Thanks.

robindegen commented on 2024-08-07 14:10 (UTC)

I'm on latest using KDE wayland. I had to manually install qt5-wayland for this to work. It kept crashing otherwise

snowcrash79 commented on 2024-07-27 12:18 (UTC)

Everything works fine now, thank you @Musikolo for keeping this package up to date!

Musikolo commented on 2024-07-27 07:21 (UTC)

Thanks @snowcrash79 for sharing that. I added it to the dependency list and removed quite a few other ones that are no longer necessary.

If anyone runs into any issues, please let me know. Thanks!

snowcrash79 commented on 2024-07-26 22:51 (UTC)

It seems like qt5-x11extras might be a necessary dependency, at least I had to install that package for version 5.0.1 (build 29877). Without it I was getting the error "Some Shared Libraries were not found"

Ashark commented on 2024-07-23 19:24 (UTC)

@Musikolo Hi. This package does not follow naming guidelines. Please see here for instructions: https://wiki.archlinux.org/title/KDE_package_guidelines#KF_package_naming

Musikolo commented on 2024-07-19 09:52 (UTC) (edited on 2024-07-19 09:53 (UTC) by Musikolo)

Hi @max.bra, generally speaking it is a bad practice to run UI apps as root. So, if I were you, I'd look into other ways to run bcompare as a non-root user.

Other than that, I didn't see anything that tells exactly what your issue, so all I could tell is to try out a few things:

  • Delete any old/existing configurations: rm -rf ~/.beyondcompare ~/.config/bcompare5.
  • Run it as a regular user, but if you still want/need to run it as root, make sure the root user has access to the graphical server. I recall I used to run xhost + when I had Xorg, but now that I have Wayland, I had never dealt with that issue.

I hope it helps. Regards.

max.bra commented on 2024-07-18 21:23 (UTC)

hi all and thanks to maintainer.
I've recently upgraded bcompare to version 5 and i'm no more able to start it as root user. I've cleaned all available .config dirs and files. no debug dirs and files too. this is the laconic message on start:

usr/bin/bcompare: riga 43: 273902 Annullato               (core dump creato) /bin/bash -c "exec -a $0 $EXEC $ARGS > /dev/null 2>&1" $0

and this link is for the strace.

Anyone? Any tips?