Re: libtbb.so.2 not found
On Sunday, 04 October 2020 at 19:41, Iñaki Ucar wrote: > On Sun, 4 Oct 2020 at 18:29, Dominik 'Rathann' Mierzejewski > wrote: > > > > On Sunday, 04 October 2020 at 15:06, Iñaki Ucar wrote: > > > Hi, > > > > > > I'm not sure what's the issue here: > > > > > > - tbb provides libtbb.so.2 > > > > That seems correct. > > > > > - opencv-core requires libtbb.so.2 > > > > Does it? Not on F32: > > $ sudo dnf repoquery --whatprovides 'libtbb.so.2()(64bit)' > > Last metadata expiration check: 1:09:38 ago on Sun 04 Oct 2020 17:08:45 > > CEST. > > tbb-0:2020.2-1.fc32.x86_64 > > $ sudo dnf repoquery --requires opencv-core > Last metadata expiration check: 0:59:24 ago on dom 04 oct 2020 18:38:18. > ... > libtbb.so.2 > libtbb.so.2()(64bit) > ... Right. I misread your "requires" as "provides". Sorry for the confusion. Regards, Dominik -- Fedora https://getfedora.org | RPM Fusion http://rpmfusion.org There should be a science of discontent. People need hard times and oppression to develop psychic muscles. -- from "Collected Sayings of Muad'Dib" by the Princess Irulan ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: libtbb.so.2 not found
On Mon, 5 Oct 2020 at 07:59, Pavel Raiskup wrote: > > On Sunday, October 4, 2020 7:44:49 PM CEST Iñaki Ucar wrote: > > On Sun, 4 Oct 2020 at 18:39, Jerry James wrote: > > > > > > On Sun, Oct 4, 2020 at 7:07 AM Iñaki Ucar wrote: > > > > I'm not sure what's the issue here: > > > > > > > > - tbb provides libtbb.so.2 > > > > - opencv-core requires libtbb.so.2 > > > > > > > > but [1] pulls opencv-devel and tbb is not pulled too, so the linker > > > > throws the following error: > > > > > > > > libtbb.so.2: cannot open shared object file: No such file or directory > > > > > > > > tbb issue?, opencv issue?, dnf issue?, mock issue?, other? > > > > > > > > [1] > > > > https://download.copr.fedorainfracloud.org/results/iucar/cran/fedora-rawhide-x86_64/01694086-R-CRAN-image.textlinedetector/builder-live.log.gz > > > > > > I did local mock fedora-rawhide-x86_64 builds of R-CRAN-curl, > > > R-CRAN-Rcpp, R-CRAN-magrittr, R-CRAN-magick, and finally > > > R-CRAN-image.textlinedetector. The R-CRAN-image.texlinedetector build > > > was successful. I don't know why you are hitting this error in COPR. > > > > Interesting. So mock or Copr? Adding @praiskup to CC. > > That's because your project provides alternative libtbb soname, which is > installed instead of tbb: > > $ dnf repoquery "--disablerepo=*" --enablerepo custom > --repofrompath=custom,https://copr-be.cloud.fedoraproject.org/results/iucar/cran/fedora-rawhide-x86_64/ > --whatprovides 'libtbb.so.2()(64bit)' 2>/dev/null > R-CRAN-RcppParallel-0:5.0.2-1.fc33.x86_64 You are right, didn't see that. Thanks all for your help. -- Iñaki Úcar ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: libtbb.so.2 not found
On Sunday, October 4, 2020 7:44:49 PM CEST Iñaki Ucar wrote: > On Sun, 4 Oct 2020 at 18:39, Jerry James wrote: > > > > On Sun, Oct 4, 2020 at 7:07 AM Iñaki Ucar wrote: > > > I'm not sure what's the issue here: > > > > > > - tbb provides libtbb.so.2 > > > - opencv-core requires libtbb.so.2 > > > > > > but [1] pulls opencv-devel and tbb is not pulled too, so the linker > > > throws the following error: > > > > > > libtbb.so.2: cannot open shared object file: No such file or directory > > > > > > tbb issue?, opencv issue?, dnf issue?, mock issue?, other? > > > > > > [1] > > > https://download.copr.fedorainfracloud.org/results/iucar/cran/fedora-rawhide-x86_64/01694086-R-CRAN-image.textlinedetector/builder-live.log.gz > > > > I did local mock fedora-rawhide-x86_64 builds of R-CRAN-curl, > > R-CRAN-Rcpp, R-CRAN-magrittr, R-CRAN-magick, and finally > > R-CRAN-image.textlinedetector. The R-CRAN-image.texlinedetector build > > was successful. I don't know why you are hitting this error in COPR. > > Interesting. So mock or Copr? Adding @praiskup to CC. That's because your project provides alternative libtbb soname, which is installed instead of tbb: $ dnf repoquery "--disablerepo=*" --enablerepo custom --repofrompath=custom,https://copr-be.cloud.fedoraproject.org/results/iucar/cran/fedora-rawhide-x86_64/ --whatprovides 'libtbb.so.2()(64bit)' 2>/dev/null R-CRAN-RcppParallel-0:5.0.2-1.fc33.x86_64 Pavel ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: libtbb.so.2 not found
On Mon, 2020-10-05 at 00:23 +0200, Iñaki Ucar wrote: > On Sun, 4 Oct 2020 at 21:54, Sérgio Basto wrote: > > On Sun, 2020-10-04 at 19:44 +0200, Iñaki Ucar wrote: > > > On Sun, 4 Oct 2020 at 18:39, Jerry James > > > wrote: > > > > On Sun, Oct 4, 2020 at 7:07 AM Iñaki Ucar < > > > > iu...@fedoraproject.org> > > > > wrote: > > > > > I'm not sure what's the issue here: > > > > > > > > > > - tbb provides libtbb.so.2 > > > > > - opencv-core requires libtbb.so.2 > > > > > > > > > > but [1] pulls opencv-devel and tbb is not pulled too, so the > > > > > linker > > > > > throws the following error: > > > > > > > > > > libtbb.so.2: cannot open shared object file: No such file or > > > > > directory > > > > > > > > > > tbb issue?, opencv issue?, dnf issue?, mock issue?, other? > > > > > > > > > > [1] > > > > > https://download.copr.fedorainfracloud.org/results/iucar/cran/fedora-rawhide-x86_64/01694086-R-CRAN-image.textlinedetector/builder-live.log.gz > > > > > > > > I did local mock fedora-rawhide-x86_64 builds of R-CRAN-curl, > > > > R-CRAN-Rcpp, R-CRAN-magrittr, R-CRAN-magick, and finally > > > > R-CRAN-image.textlinedetector. The R-CRAN- > > > > image.texlinedetector > > > > build > > > > was successful. I don't know why you are hitting this error in > > > > COPR. > > > > > > Interesting. So mock or Copr? Adding @praiskup to CC. > > > > mock -r fedora-rawhide-x86_64 --clean --install opencv-devel > > > > it installs opencv-devel well > > Yes, including tbb. So the question is why isn't tbb installed in the > build I referenced in Copr for image.texlinedetector. OK , I see the problem, indeed is strange, copr installed opencv-core and not installed tbb. It is even stranger when it happened in all branches [1] . Haven't you a package in your repo that provides libtbb.so.2()(64bit) ? [1] https://copr.fedorainfracloud.org/coprs/iucar/cran/build/1694086/ > > it seems to me you need install tbb-devel ? > > No, image.texlinedetector does not require tbb. OpenCV does. > > -- > Iñaki Úcar > ___ > devel mailing list -- devel@lists.fedoraproject.org > To unsubscribe send an email to devel-le...@lists.fedoraproject.org > Fedora Code of Conduct: > https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: > https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org -- Sérgio M. B. ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: libtbb.so.2 not found
On Sun, 4 Oct 2020 at 21:54, Sérgio Basto wrote: > > On Sun, 2020-10-04 at 19:44 +0200, Iñaki Ucar wrote: > > On Sun, 4 Oct 2020 at 18:39, Jerry James > > wrote: > > > On Sun, Oct 4, 2020 at 7:07 AM Iñaki Ucar > > > wrote: > > > > I'm not sure what's the issue here: > > > > > > > > - tbb provides libtbb.so.2 > > > > - opencv-core requires libtbb.so.2 > > > > > > > > but [1] pulls opencv-devel and tbb is not pulled too, so the > > > > linker > > > > throws the following error: > > > > > > > > libtbb.so.2: cannot open shared object file: No such file or > > > > directory > > > > > > > > tbb issue?, opencv issue?, dnf issue?, mock issue?, other? > > > > > > > > [1] > > > > https://download.copr.fedorainfracloud.org/results/iucar/cran/fedora-rawhide-x86_64/01694086-R-CRAN-image.textlinedetector/builder-live.log.gz > > > > > > I did local mock fedora-rawhide-x86_64 builds of R-CRAN-curl, > > > R-CRAN-Rcpp, R-CRAN-magrittr, R-CRAN-magick, and finally > > > R-CRAN-image.textlinedetector. The R-CRAN-image.texlinedetector > > > build > > > was successful. I don't know why you are hitting this error in > > > COPR. > > > > Interesting. So mock or Copr? Adding @praiskup to CC. > > > mock -r fedora-rawhide-x86_64 --clean --install opencv-devel > > it installs opencv-devel well Yes, including tbb. So the question is why isn't tbb installed in the build I referenced in Copr for image.texlinedetector. > it seems to me you need install tbb-devel ? No, image.texlinedetector does not require tbb. OpenCV does. -- Iñaki Úcar ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: libtbb.so.2 not found
On Sun, 2020-10-04 at 15:28 -0600, Jerry James wrote: > On Sun, Oct 4, 2020 at 1:47 PM Sérgio Basto > wrote: > > mock -r fedora-rawhide-x86_64 --clean --install opencv-devel > > > > it installs opencv-devel well, it seems to me you need install tbb- > > devel ? > > That wouldn't explain why I got a good build in mock. Where Iñaki > got > an error, my build log shows: I saw in https://download.copr.fedorainfracloud.org/results/iucar/cran/fedora-rawhide-x86_64/01694086-R-CRAN-image.textlinedetector/builder-live.log.gz that tbb-devel was not installed in build root ... > ** building package indices > ** testing if installed package can be loaded from temporary location > ** checking absolute paths in shared objects and dynamic libraries > ** testing if installed package can be loaded from final location > ** testing if installed package keeps a record of temporary > installation path > * DONE (image.textlinedetector) > > Also, the only direct references to libtbb in the sources are two > instances of "-ltbb" in image.textlinedetector/src/Makevars.win, > which > isn't used (or shouldn't be used!) in a Linux build. > > R is attempting to do the equivalent of ldd on > image.textlinedetector.so and is reporting that it cannot find a > library, libtbb.so.2, that the shared object is already linked to, > and > that we know is installed due to the presence of opencv-devel. The > question is why that is happening. Being able to reproduce the > problem would help. :-) > -- > Jerry James > http://www.jamezone.org/ > ___ > devel mailing list -- devel@lists.fedoraproject.org > To unsubscribe send an email to devel-le...@lists.fedoraproject.org > Fedora Code of Conduct: > https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: > https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org -- Sérgio M. B. ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: libtbb.so.2 not found
On Sun, Oct 4, 2020 at 1:47 PM Sérgio Basto wrote: > mock -r fedora-rawhide-x86_64 --clean --install opencv-devel > > it installs opencv-devel well, it seems to me you need install tbb-devel ? That wouldn't explain why I got a good build in mock. Where Iñaki got an error, my build log shows: ** building package indices ** testing if installed package can be loaded from temporary location ** checking absolute paths in shared objects and dynamic libraries ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (image.textlinedetector) Also, the only direct references to libtbb in the sources are two instances of "-ltbb" in image.textlinedetector/src/Makevars.win, which isn't used (or shouldn't be used!) in a Linux build. R is attempting to do the equivalent of ldd on image.textlinedetector.so and is reporting that it cannot find a library, libtbb.so.2, that the shared object is already linked to, and that we know is installed due to the presence of opencv-devel. The question is why that is happening. Being able to reproduce the problem would help. :-) -- Jerry James http://www.jamezone.org/ ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: libtbb.so.2 not found
On Sun, 2020-10-04 at 19:44 +0200, Iñaki Ucar wrote: > On Sun, 4 Oct 2020 at 18:39, Jerry James > wrote: > > On Sun, Oct 4, 2020 at 7:07 AM Iñaki Ucar > > wrote: > > > I'm not sure what's the issue here: > > > > > > - tbb provides libtbb.so.2 > > > - opencv-core requires libtbb.so.2 > > > > > > but [1] pulls opencv-devel and tbb is not pulled too, so the > > > linker > > > throws the following error: > > > > > > libtbb.so.2: cannot open shared object file: No such file or > > > directory > > > > > > tbb issue?, opencv issue?, dnf issue?, mock issue?, other? > > > > > > [1] > > > https://download.copr.fedorainfracloud.org/results/iucar/cran/fedora-rawhide-x86_64/01694086-R-CRAN-image.textlinedetector/builder-live.log.gz > > > > I did local mock fedora-rawhide-x86_64 builds of R-CRAN-curl, > > R-CRAN-Rcpp, R-CRAN-magrittr, R-CRAN-magick, and finally > > R-CRAN-image.textlinedetector. The R-CRAN-image.texlinedetector > > build > > was successful. I don't know why you are hitting this error in > > COPR. > > Interesting. So mock or Copr? Adding @praiskup to CC. mock -r fedora-rawhide-x86_64 --clean --install opencv-devel it installs opencv-devel well, it seems to me you need install tbb-devel ? > -- > Iñaki Úcar > ___ > devel mailing list -- devel@lists.fedoraproject.org > To unsubscribe send an email to devel-le...@lists.fedoraproject.org > Fedora Code of Conduct: > https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: > https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org -- Sérgio M. B. ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: libtbb.so.2 not found
On Sun, 4 Oct 2020 at 18:39, Jerry James wrote: > > On Sun, Oct 4, 2020 at 7:07 AM Iñaki Ucar wrote: > > I'm not sure what's the issue here: > > > > - tbb provides libtbb.so.2 > > - opencv-core requires libtbb.so.2 > > > > but [1] pulls opencv-devel and tbb is not pulled too, so the linker > > throws the following error: > > > > libtbb.so.2: cannot open shared object file: No such file or directory > > > > tbb issue?, opencv issue?, dnf issue?, mock issue?, other? > > > > [1] > > https://download.copr.fedorainfracloud.org/results/iucar/cran/fedora-rawhide-x86_64/01694086-R-CRAN-image.textlinedetector/builder-live.log.gz > > I did local mock fedora-rawhide-x86_64 builds of R-CRAN-curl, > R-CRAN-Rcpp, R-CRAN-magrittr, R-CRAN-magick, and finally > R-CRAN-image.textlinedetector. The R-CRAN-image.texlinedetector build > was successful. I don't know why you are hitting this error in COPR. Interesting. So mock or Copr? Adding @praiskup to CC. -- Iñaki Úcar ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: libtbb.so.2 not found
On Sun, 4 Oct 2020 at 18:29, Dominik 'Rathann' Mierzejewski wrote: > > On Sunday, 04 October 2020 at 15:06, Iñaki Ucar wrote: > > Hi, > > > > I'm not sure what's the issue here: > > > > - tbb provides libtbb.so.2 > > That seems correct. > > > - opencv-core requires libtbb.so.2 > > Does it? Not on F32: > $ sudo dnf repoquery --whatprovides 'libtbb.so.2()(64bit)' > Last metadata expiration check: 1:09:38 ago on Sun 04 Oct 2020 17:08:45 CEST. > tbb-0:2020.2-1.fc32.x86_64 $ sudo dnf repoquery --requires opencv-core Last metadata expiration check: 0:59:24 ago on dom 04 oct 2020 18:38:18. ... libtbb.so.2 libtbb.so.2()(64bit) ... -- Iñaki Úcar ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: libtbb.so.2 not found
On Sun, Oct 4, 2020 at 7:07 AM Iñaki Ucar wrote: > I'm not sure what's the issue here: > > - tbb provides libtbb.so.2 > - opencv-core requires libtbb.so.2 > > but [1] pulls opencv-devel and tbb is not pulled too, so the linker > throws the following error: > > libtbb.so.2: cannot open shared object file: No such file or directory > > tbb issue?, opencv issue?, dnf issue?, mock issue?, other? > > [1] > https://download.copr.fedorainfracloud.org/results/iucar/cran/fedora-rawhide-x86_64/01694086-R-CRAN-image.textlinedetector/builder-live.log.gz I did local mock fedora-rawhide-x86_64 builds of R-CRAN-curl, R-CRAN-Rcpp, R-CRAN-magrittr, R-CRAN-magick, and finally R-CRAN-image.textlinedetector. The R-CRAN-image.texlinedetector build was successful. I don't know why you are hitting this error in COPR. -- Jerry James http://www.jamezone.org/ ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: libtbb.so.2 not found
On Sunday, 04 October 2020 at 15:06, Iñaki Ucar wrote: > Hi, > > I'm not sure what's the issue here: > > - tbb provides libtbb.so.2 That seems correct. > - opencv-core requires libtbb.so.2 Does it? Not on F32: $ sudo dnf repoquery --whatprovides 'libtbb.so.2()(64bit)' Last metadata expiration check: 1:09:38 ago on Sun 04 Oct 2020 17:08:45 CEST. tbb-0:2020.2-1.fc32.x86_64 > but [1] pulls opencv-devel and tbb is not pulled too, so the linker > throws the following error: > > libtbb.so.2: cannot open shared object file: No such file or directory > tbb issue?, opencv issue?, dnf issue?, mock issue?, other? > > [1] > https://download.copr.fedorainfracloud.org/results/iucar/cran/fedora-rawhide-x86_64/01694086-R-CRAN-image.textlinedetector/builder-live.log.gz Can you show the spec file? I'd say it's probably a missing build dependency on tbb-devel. opencv doesn't depend on tbb directly. Regards, Dominik -- Fedora https://getfedora.org | RPM Fusion http://rpmfusion.org There should be a science of discontent. People need hard times and oppression to develop psychic muscles. -- from "Collected Sayings of Muad'Dib" by the Princess Irulan ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org