I have installed the stable sane-backends-1.0.19-r3. With them, installing simple-scan fails with the following error: [snap] >>> Compiling source in /var/tmp/portage/media-gfx/simple-scan-2.31.1/work/simple-scan-2.31.1 ... make -j3 Making all in src make[1]: Entering directory `/var/tmp/portage/media-gfx/simple-scan-2.31.1/work/simple-scan-2.31.1/src' CC simple_scan-book.o CC simple_scan-book-view.o CC simple_scan-page.o CC simple_scan-page-view.o CC simple_scan-simple-scan.o CC simple_scan-scanner.o CC simple_scan-ui.o scanner.c: In function 'do_get_option': scanner.c:1139: error: 'SANE_NAME_PAGE_WIDTH' undeclared (first use in this function) scanner.c:1139: error: (Each undeclared identifier is reported only once scanner.c:1139: error: for each function it appears in.) scanner.c:1139: warning: left-hand operand of comma expression has no effect scanner.c:1139: warning: left-hand operand of comma expression has no effect scanner.c:1147: error: 'SANE_NAME_PAGE_HEIGHT' undeclared (first use in this function) scanner.c:1147: warning: left-hand operand of comma expression has no effect scanner.c:1147: warning: left-hand operand of comma expression has no effect make[1]: *** [simple_scan-scanner.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/media-gfx/simple-scan-2.31.1/work/simple-scan-2.31.1/src' make: *** [all-recursive] Error 1 [/snap] Using "git blame" on saneopts.h shows, that the missing options were introduced in-between the releases 1.0.19 and 1.0.20 of sane-backends and are thus only included with 1.0.20 and following. Hence simple-scan needs to depend on at least this version. With sane-backends-1.0.20-r3 the installation of simple-scan succeeds.
Fixed