×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

My gentoo overlay with indilib 3rd party drivers

  • Posts: 31
  • Thank you received: 7
Overlay just updated with fresh new 1.2.0 ebuilds. Enjoy!
8 years 2 months ago #6863

Please Log in or Create an account to join the conversation.

  • Posts: 205
  • Thank you received: 19
I'm rebuilding my laptop again (from a new install) and I stumbled across the qsi + libftdi problem I mentioned a long time ago. Would it be possible for the qsi build to request a < 1.0 version of the libftdi installed, and to depend on it? While it's easy enough to add the package mask and do the install, it's currently the only thing I've found in the @indilibs build set that doesn't happen automatically.

Also, thanks again for updating! :)
7 years 10 months ago #8505

Please Log in or Create an account to join the conversation.

  • Posts: 31
  • Thank you received: 7
Overlay has been updated to reflect new release of indilib!

New drivers are included. Please test!

Known problem: On my machine I cannot compile QHY driver, it throws this error:
/usr/bin/cmake -E cmake_link_script CMakeFiles/indi_qhy_ccd.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-g++   -march=amdfam10 -O2 -pipe    -Wl,-O1 -Wl,--as-needed CMakeFiles/indi_qhy_ccd.dir/qhy_ccd.cpp.o  -o indi_qhy_ccd -rdynamic -lindidriver -lcfitsio -lqhy -lusb-1.0 -lpthread 
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../libqhy.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find(char const*, unsigned long) const@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../libqhy.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string()@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../libqhy.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::c_str() const@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../libqhy.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::substr(unsigned long, unsigned long) const@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../libqhy.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator=(char const*)@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../libqhy.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::resize(unsigned long)@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../libqhy.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../libqhy.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../libqhy.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find(char, unsigned long) const@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../libqhy.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::data() const@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../libqhy.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::size() const@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../libqhy.so: undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_stringstream()@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../libqhy.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::empty() const@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../libqhy.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::length() const@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../libqhy.so: undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::str() const@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../libqhy.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::at(unsigned long)@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../libqhy.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../libqhy.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::begin()@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../libqhy.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::end()@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../libqhy.so: undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream(std::_Ios_Openmode)@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../libqhy.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::clear()@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../libqhy.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare(char const*) const@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../libqhy.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <char, std::char_traits<char>, std::allocator<char> >(std::basic_ostream<char, std::char_traits<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../libqhy.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator[](unsigned long)@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../libqhy.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../libqhy.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../libqhy.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::rfind(char const*, unsigned long) const@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../libqhy.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator+=(char const*)@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../libqhy.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator=(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCXX_3.4.21'

I have investigated, that this is some problem with my toolchain. I am curious, if you can report, that this works for you.
The following user(s) said Thank You: Jasem Mutlaq
7 years 5 months ago #11879

Please Log in or Create an account to join the conversation.

  • Posts: 31
  • Thank you received: 7
Finaly, the update to v1.4.1 is available in overlay. Keep in mind however, that QHY driver has to be compiled with GCC 5 which is not stable on Gentoo. This can result in requirement of rebuilding many packages on your machine.
7 years 1 month ago #15030

Please Log in or Create an account to join the conversation.

  • Posts: 31
  • Thank you received: 7
I am happy to announce, that ebuilds for v1.5.0 are now in overlay. Including new drivers: inovaplx, mgen and rtlsdr. Enjoy.
The following user(s) said Thank You: Jasem Mutlaq, Chris Ryan, Vincent Groenewold
6 years 3 months ago #21895

Please Log in or Create an account to join the conversation.

  • Posts: 205
  • Thank you received: 19
Should the download documentation page be updated for the changes you've made? I think it's still refers to 1.0.0 and doesn't list all the drivers.

Just for completeness, etc. :)
6 years 3 months ago #22370

Please Log in or Create an account to join the conversation.

  • Posts: 31
  • Thank you received: 7
Well up to date information is maintained here: dev.brancik.cz/git/brancik-overlay/tree/...ADME.indilib-drivers
I will try to update ebuilds to the latest version ASAP.
The following user(s) said Thank You: Chris Ryan
6 years 3 months ago #22371

Please Log in or Create an account to join the conversation.

  • Posts: 205
  • Thank you received: 19
That's great - I really meant this page here: indilib.org/download/gentoo.html since that's going to be the starting point for most people.
6 years 3 months ago #22372

Please Log in or Create an account to join the conversation.

  • Posts: 205
  • Thank you received: 19
I'm trying to build the live drivers for my system - most have built and installed fine, but I have got stuck on the sbig build:
>>> Emerging (1 of 1) sci-libs/libsbig-9999::brancik-overlay
>>> Unpacking source...
 * Fetching https://github.com/indilib/indi.git ...
git fetch https://github.com/indilib/indi.git +HEAD:refs/git-r3/HEAD
git symbolic-ref refs/git-r3/sci-libs/libsbig/0/__main__ refs/git-r3/HEAD
 * Checking out https://github.com/indilib/indi.git to /var/tmp/portage/sci-libs/libsbig-9999/work/libsbig-9999 ...
git checkout --quiet refs/git-r3/HEAD
GIT update -->
   repository:               https://github.com/indilib/indi.git
   at the commit:            7849fc0c6f7a6359bad6812a813f477df2455ee0
>>> Source unpacked in /var/tmp/portage/sci-libs/libsbig-9999/work
>>> Preparing source in /var/tmp/portage/sci-libs/libsbig-9999/work/libsbig-9999/3rdparty/libsbig ...
 * Applying libsbig-9999_fix_cmake_symlinks.patch ...
 
 * Failed Patch: libsbig-9999_fix_cmake_symlinks.patch !
 *  ( /var/tmp/portage/sci-libs/libsbig-9999/files/libsbig-9999_fix_cmake_symlinks.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/sci-libs/libsbig-9999/temp/libsbig-9999_fix_cmake_symlinks.patch.out
 
 * ERROR: sci-libs/libsbig-9999::brancik-overlay failed (prepare phase):
 *   Failed Patch: libsbig-9999_fix_cmake_symlinks.patch!
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called src_prepare
 *   environment, line 3427:  Called cmake-utils_src_prepare
 *   environment, line 1098:  Called epatch '/var/tmp/portage/sci-libs/libsbig-9999/files/libsbig-9999_fix_cmake_symlinks.patch'
 *   environment, line 1535:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";
 

I tried removing the patch, and it got further, but the failures indicated that the fix/patch is probably required.

I've attached the file request in the error above, with the ".out" changed to ".txt" to allow the upload to work.

Any ideas what's wrong?
6 years 3 months ago #22410
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 205
  • Thank you received: 19
Still got the above, but I'm also getting this:
>> Failed to execute postinst for sci-libs/indilib-9999
 
 * Messages for package sci-libs/indilib-9999:
 
 * FAILED postinst: 1
 * ERROR: sci-libs/indilib-9999::brancik-overlay failed (postinst phase):
 *   extra arguments no longer supported; please file a bug
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called pkg_postinst
 *   environment, line 3577:  Called enewuser 'indiserver' '-1' '-1' '-1' 'usb,uucp,video' '-U'
 *   environment, line 1640:  Called die
 * The specific snippet of code:
 *           die "extra arguments no longer supported; please file a bug";
 * 
 * If you need support, post the output of `emerge --info '=sci-libs/indilib-9999::brancik-overlay'`,
 * the complete build log and the output of `emerge -pqv '=sci-libs/indilib-9999::brancik-overlay'`.
 * The complete build log is located at '/var/tmp/portage/sci-libs/indilib-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-libs/indilib-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/sci-libs/indilib-9999/homedir'
 * S: '/var/tmp/portage/sci-libs/indilib-9999/work/indilib-9999/libindi'

Looks like remove the "-U" part of the command?
Last edit: 6 years 3 months ago by Chris Ryan.
6 years 3 months ago #22510

Please Log in or Create an account to join the conversation.

  • Posts: 31
  • Thank you received: 7
Fix for the indilib is now in repo. As for the libsbig I have proposed this PR to master: github.com/indilib/indi/pull/487, which should remove the need for the patch (for other drivers too). It is otherwise not very pleasant to maintain patches applied to the live tree. So please wait few days until my PR is resolved (I hope it will be accepted).
The following user(s) said Thank You: Chris Ryan
6 years 3 months ago #22526

Please Log in or Create an account to join the conversation.

  • Posts: 205
  • Thank you received: 19
Great, thanks. I've added myself to watch that PR. Hopefully it gets through soon.
6 years 3 months ago #22532

Please Log in or Create an account to join the conversation.

Time to create page: 0.796 seconds