Bug 18592

Summary: plopp fail to start on some systems
Product: Mageia Reporter: Morgan Leijström <fri>
Component: RPM PackagesAssignee: Alex Loginov <loginov_alex>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: Normal CC: marja11
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard: MGA5TOO
Source RPM: plopp-1.2.3-2.mga5.nonfree.src.rpm CVE:
Status comment:

Description Morgan Leijström 2016-05-31 09:06:51 CEST
Plopp is a simple 2D/3D  drawing tool for children.
Starting from terminal i see:

$ plopp
could not find module vm-display-X11
/usr/bin/plopp: rad 13: 30997 Avbruten (SIGABRT)      /usr/share/plopp/Plopp.sh


Well that module vm-display-X11, is included in the package...
does it somehow not find it anyway?
or do it load but fail?

I have installed plopp on a few systems, all Mageia, KDE. half of them fail.
Trying to understand if it is the Mageia release, arch or graphic:


__Fail with message like above:
mga5 64 bit Nvidia quadro NVS 140M
Cauldron 64 bit Nvidia quadro FX 570M
Cauldron 64 bit ATI radeon X1400

__Starts and runs OK:
mga5 64 bit Nvidia GTX760
mga5 32 bit ATI mobility radeon X300
Cauldron 64 bit Radeon HD 6850


Is there some other info i can provide?
Morgan Leijström 2016-05-31 09:07:28 CEST

Whiteboard: (none) => MGA5TOO

Comment 1 Marja Van Waes 2016-05-31 19:10:29 CEST
Assigning to maintainer

CC: (none) => marja11
Assignee: bugsquad => loginov_alex

Comment 2 Alex Loginov 2016-10-29 00:08:38 CEST
Hi Morgan,
Will you edit /usr/share/plopp/Plopp.sh to search workable options?
For example to delete option "-vm-display-X11 -swapbtn  \".
Comment 3 Morgan Leijström 2016-10-29 17:20:12 CEST
I removed that "-vm-display-X11 -swapbtn  \" line, then i get

$ plopp
could not find display driver vm-display-X11; either:
  - check that /usr/local/squeak_bld_dapper/lib/squeak/3.9-8/vm-display-X11.so exists, or
  - use the '-plugins <path>' option to tell me where it is, or
  - remove DISPLAY from your environment.
/bin/plopp: rad 13:  7999 Avbruten (SIGABRT)      (minnesutskrift skapad) /usr/share/plopp/Plopp.sh


I do not have any /usr/local/squeak_bld_dapper/  and no vm-display-X11.so anywhere.  Both on working and non-working installs.

But there is /usr/lib64/squeak/4.10.2-2614/so.vm-display-X11 , from package squeak-vm (64-bit) installed as dependency of scratch  (note "so" is in start instead of end of filename)
Comment 4 Alex Loginov 2016-10-29 20:27:03 CEST
Please try:

1) ln -s /usr/share/plopp/Contents/Linux386/vm-display-X11 /usr/share/plopp/Contents/Linux386/vm-display-X11.so
2) ln -s /usr/share/plopp/Contents/Linux386/vm-display-null /usr/share/plopp/Contents/Linux386/vm-display-null.so
3) use "-vm-display-null \" instead of "-vm-display-X11 -swapbtn \" for debug
4) use "-vm-display-X11 -headless \" instead of "-vm-display-X11 -swapbtn \" for debug
Comment 5 Morgan Leijström 2016-10-29 21:39:48 CEST
performed 1)
-> no difference

performed 2)
-> no difference

performed 3) 
$ plopp
ioLoadModule(/usr/share/plopp/Contents/Linux386/B3DAcceleratorPlugin):
  libXext.so.6: cannot open shared object file: No such file or directory

-and program runs invisibly, playing music

I do have lib64xext6 installed, providing /usr/lib64/libXext.so.6    

performed 4)
-> like comment 0

-------

Installed the 32 bit libxext6, and undid 4), so trying 3) give:

$ plopp
ioLoadModule(/usr/share/plopp/Contents/Linux386/B3DAcceleratorPlugin):
  libSM.so.6: cannot open shared object file: No such file or directory

I do have lib64sm6 installed, providing /usr/lib64/libSM.so.6

I installed 32 bit libsm6  -> and it runs! (invisibly)

After I restored /usr/share/plopp/Plopp.sh I also have display :)
I also reverted 1), 2)
Comment 6 Alex Loginov 2016-10-29 22:42:13 CEST
Morgan, many thanks for your bugreport and debug.

Will you test plopp-1.2.3-3.mga6 ?
Comment 7 Morgan Leijström 2016-10-30 10:08:04 CET
Tested that on another Cauldron 64 bit install:
$ plopp
Couldn't dlopen libudev.so.1 or libudev.so.0, driver detection may be broken.


lib64udev1 was already installed.

Installing libudev1 solved the problem.


I guess it would be a good idea to make a really minimal install of cauldron 64 bit and install plopp into, to see if there are even more dependencies!
Comment 8 Alex Loginov 2016-11-02 18:25:44 CET
Yes, this issue about dependencies, needs full list of them.
Comment 9 Samuel Verschelde 2016-11-03 09:40:20 CET
Why does plopp need 32 bits libs on a 64 bits system? Couldn't it be fixed to use the proper 64 bit libs?
Comment 10 Alex Loginov 2016-11-03 20:51:45 CET
Plopp 64 bit does not exists, it's only 32 bit with
ExclusiveArch: %{ix86}

> I guess it would be a good idea to make a really minimal install of cauldron 64 bit and install plopp into, to see if there are even more dependencies!

Yes. It will help to find all 32 bit dependencies.
Comment 11 Alex Loginov 2016-11-22 19:59:44 CET
Should be fixed in plopp-1.2.3-4.mga6.
Comment 12 Alex Loginov 2019-02-20 05:44:08 CET
No way to use plopp on x86_64. It's only i586.

Resolution: (none) => WONTFIX
Status: NEW => RESOLVED