Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] ERROR: net-print/imagescan (compile phase)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
goll
n00b
n00b


Joined: 23 Jan 2021
Posts: 18
Location: Brazil

PostPosted: Fri Feb 26, 2021 2:07 pm    Post subject: [SOLVED] ERROR: net-print/imagescan (compile phase) Reply with quote

imagescan fails to compile with the following errors:

Code:
monitor.cpp: In member function ‘std::string utsushi::monitor::default_device() const’:
monitor.cpp:79:56: error: ‘_1’ was not declared in this scope
   79 |                   bind (&scanner::info::is_driver_set, _1));
      |                                                        ^~
...
monitor.cpp: In function ‘bool utsushi::is_all_device_connected(const container_type&, const id_list&)’:
monitor.cpp:524:27: error: ‘_1’ was not declared in this scope
  524 |                           _1, id->first, id->second));
      |                           ^~
...
monitor.cpp: In function ‘bool utsushi::is_all_device_connected(const container_type&, const id_list&)’:
monitor.cpp:524:27: error: ‘_1’ was not declared in this scope
  524 |                           _1, id->first, id->second));
      |                           ^~
...
monitor.cpp: In function ‘void utsushi::configure_combo_device(utsushi::monitor::container_type&)’:
monitor.cpp:557:41: error: ‘_1’ was not declared in this scope
  557 |                                         _1, id->first, id->second));
      |                                         ^~


Output of emerge

I am using this ebuild with a local ebuild repo; I got the ebuild from here (page 2).
IDK much about ebuilds and patching, so I would be very happy if someone could help me solve this issue.


Last edited by goll on Sat Feb 27, 2021 9:21 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30915
Location: here

PostPosted: Fri Feb 26, 2021 2:46 pm    Post subject: Reply with quote

Moved from Portage & Programming to Unsupported Software.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30915
Location: here

PostPosted: Fri Feb 26, 2021 5:54 pm    Post subject: Reply with quote

Try this patch and change ebuild version to 3.61.0
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
goll
n00b
n00b


Joined: 23 Jan 2021
Posts: 18
Location: Brazil

PostPosted: Sat Feb 27, 2021 9:21 pm    Post subject: Reply with quote

thanks for the patch! unfortunately, scanimage segfaults when trying to scan. now i am using utsushi from the calculate repo and it is working (at first it wasn't, but i had to add utsushi to /etc/sane.d/dll.conf for it to work)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum