[Slackbuilds-users] vlc-3.0.11.1 build fails

2020-12-24 Thread Frédéric Falsetti
Hi,
I have rebuild VTK-8.2.0-i486-2_SBo opencv-4.5.0-i586-1(ffmpeg-3.2.4-i486-1), I 
have qt5-5.12.8-i586-1
and absolutely no idee why vlc fails with  
/tmp/SBo/vlc-3.0.11.1/bin/.libs/lt-vlc-cache-gen: symbol lookup error: 
/usr/lib/libvtkCommonExecutionModel.so.1: undefined symbol: 
_ZN33vtkFilteringInformationKeyManager13ClassFinalizeEv

thanks in advence for any help


make[2] : on entre dans le répertoire « /tmp/SBo/vlc-3.0.11.1/bin »
  CC   vlc-vlc.o
  CC   vlc-override.o
  CCLD vlc
  CC   rootwrap.o
rootwrap.c: Dans la fonction ‘main’:
rootwrap.c:251:5: attention : ignoring return value of ‘setuid’, declared with 
attribute warn_unused_result [-Wunused-result]
 setuid (uid);
 ^
  CCLD vlc-wrapper
  CC   vlc_static-vlc.o
  CC   vlc_static-override.o
  CCLD vlc-static
  CC   cachegen.o
  CCLD vlc-cache-gen
  GEN  ../modules/plugins.dat
/tmp/SBo/vlc-3.0.11.1/bin/.libs/lt-vlc-cache-gen: symbol lookup error: 
/usr/lib/libvtkCommonExecutionModel.so.1: undefined symbol: 
_ZN33vtkFilteringInformationKeyManager13ClassFinalizeEv
Makefile:1799 : la recette pour la cible « ../modules/plugins.dat » a échouée
make[2]: *** [../modules/plugins.dat] Erreur 127
make[2] : on quitte le répertoire « /tmp/SBo/vlc-3.0.11.1/bin »
Makefile:1561 : la recette pour la cible « all-recursive » a échouée
make[1]: *** [all-recursive] Erreur 1
make[1] : on quitte le répertoire « /tmp/SBo/vlc-3.0.11.1 »
Makefile:1446 : la recette pour la cible « all » a échouée
make: *** [all] Erreur 2
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] vlc-3.0.11.1 build fails

2020-12-24 Thread Jeremy Hansen
On Thu, Dec 24, 2020, 6:45 AM Frédéric Falsetti 
wrote:

> Hi,
> I have rebuild VTK-8.2.0-i486-2_SBo
> opencv-4.5.0-i586-1(ffmpeg-3.2.4-i486-1), I have qt5-5.12.8-i586-1
> and absolutely no idee why vlc fails with
> /tmp/SBo/vlc-3.0.11.1/bin/.libs/lt-vlc-cache-gen: symbol lookup error:
> /usr/lib/libvtkCommonExecutionModel.so.1: undefined symbol:
> _ZN33vtkFilteringInformationKeyManager13ClassFinalizeEv
>
> thanks in advence for any help
>
>
> make[2] : on entre dans le répertoire « /tmp/SBo/vlc-3.0.11.1/bin »
>   CC   vlc-vlc.o
>   CC   vlc-override.o
>   CCLD vlc
>   CC   rootwrap.o
> rootwrap.c: Dans la fonction ‘main’:
> rootwrap.c:251:5: attention : ignoring return value of ‘setuid’, declared
> with attribute warn_unused_result [-Wunused-result]
>  setuid (uid);
>  ^
>   CCLD vlc-wrapper
>   CC   vlc_static-vlc.o
>   CC   vlc_static-override.o
>   CCLD vlc-static
>   CC   cachegen.o
>   CCLD vlc-cache-gen
>   GEN  ../modules/plugins.dat
> /tmp/SBo/vlc-3.0.11.1/bin/.libs/lt-vlc-cache-gen: symbol lookup error:
> /usr/lib/libvtkCommonExecutionModel.so.1: undefined symbol:
> _ZN33vtkFilteringInformationKeyManager13ClassFinalizeEv
> Makefile:1799 : la recette pour la cible « ../modules/plugins.dat » a
> échouée
> make[2]: *** [../modules/plugins.dat] Erreur 127
> make[2] : on quitte le répertoire « /tmp/SBo/vlc-3.0.11.1/bin »
> Makefile:1561 : la recette pour la cible « all-recursive » a échouée
> make[1]: *** [all-recursive] Erreur 1
> make[1] : on quitte le répertoire « /tmp/SBo/vlc-3.0.11.1 »
> Makefile:1446 : la recette pour la cible « all » a échouée
> make: *** [all] Erreur 2
>

Unless it's a typo, your VTK build is screwed up. The SlackBuild isn't able
to create an i486 package as it will do i586 when run on a 32bit Slackware.

That being said, I'm not sure if this is related to your problem.

Googling the error shows a message on the SBo mailing list back in May with
a similar issue, and it seems other's weren't seeing the same issue when
tested. They suggested removing VTK and opencv and rebuilding both and that
seemed to fix the issue.

https://lists.slackbuilds.org/pipermail/slackbuilds-users/2020-May/024560.html

Good luck!
Jeremy

>
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] vlc-3.0.11.1 build fails

2020-12-24 Thread Christoph Willing
On 24/12/20 11:45 pm, Frédéric Falsetti wrote:
> Hi,
> I have rebuild VTK-8.2.0-i486-2_SBo opencv-4.5.0-i586-1(ffmpeg-3.2.4-i486-1), 
> I have qt5-5.12.8-i586-1
> and absolutely no idee why vlc fails with  
> /tmp/SBo/vlc-3.0.11.1/bin/.libs/lt-vlc-cache-gen: symbol lookup error: 
> /usr/lib/libvtkCommonExecutionModel.so.1: undefined symbol: 
> _ZN33vtkFilteringInformationKeyManager13ClassFinalizeEv
> 

There is no direct connection between VTK and vlc. I think the problem
arises from the fact that ffmpeg has an optional build dependency on
opencv-legacy, not opencv.

The README for opencv states:

"This SlackBuild is intended for the few applications requiring a
version of OpenCV no greater than v3.1.0. It is NOT recommended
to install this version alongside the normal opencv package."

therefore there will be difficulties if you already have some other need
for latest opencv to be installed. Otherwise, you could remove opencv
and install opencv-legacy before rebuilding ffmpeg.


There is another problem; the README for VTK states:

"VTK is an optional dependency for the opencv SlackBuild. However since
VTK-8.2.0,
it is not suitable as an optional dependency for opencv-legacy. The last
suitable
version of VTK for building opencv-legacy is VTK-8.1.2"


Good luck,
chris
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] vlc-3.0.11.1 build fails

2020-12-24 Thread Christoph Willing
On 25/12/20 8:41 am, Christoph Willing wrote:
>
> therefore there will be difficulties if you already have some other need
> for latest opencv to be installed. Otherwise, you could remove opencv
> and install opencv-legacy before rebuilding ffmpeg.
>

Of course another (maybe better) alternative is to rebuild ffmpeg in a
clean environment with neither opencv or opencv-legacy already installed.

chris
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



[Slackbuilds-users] request for building perl modules

2020-12-24 Thread Tonus
Hi list,

I've encountered problems while building some perl modules on my daily 
system, even with those I maintain the slackbuilds for.
Everything build fine on a genuine system. On mine the error is :

Only one of PREFIX or INSTALL_BASE can be given.  Not both.

This would fix it on my system without any harm on genuine :
 perl Makefile.PL \
   PREFIX=/usr \
+  INSTALL_BASE= \
   INSTALLDIRS=vendor \
   INSTALLVENDORMAN3DIR=/usr/man/man3
 make

Alternativly it might be :
 ./Build
 ./Build test
 ./Build install \
+  --install_base /usr \
   --destdir $PKG

Do you think it could be adviced to other maintainers of perl scripts ? 
Or should I better keep that on a personnal branch ?

Anyway, I plan to add this to my perl-* slackbuilds if there is no 
objection. (perl-data-messagepack,perl-data-section-simple, 
perl-file-slurper,perl-http-tiny,perl-inc-module-install,perl-local-lib, 
perl-net-mpd)

I could take perl-Modules-ScanDeps that is ORPHANED.

Let me know.

Merry Christmas, solstice or whatever :)

Enjoy a better new year (easy one no ?)

-- 
Regards,

Tonus
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] FreeBASIC update fails

2020-12-24 Thread B Watson
On 12/23/20, B Watson  wrote:
>
> Anyway I've managed to duplicate the error on a test system, so I'll
> have a fix in a couple hours I think.

Fixed FreeBASIC build pushed to my git branch. Sorry about the noise.
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/