Package Details: scanbd 1.5.1-5

Git Clone URL: https://aur.archlinux.org/scanbd.git (read-only, click to copy)
Package Base: scanbd
Description: Scanner button daemon looking for scanner button pressed
Upstream URL: http://scanbd.sourceforge.net/
Keywords: sane
Licenses: GPL2
Submitter: None
Maintainer: khampf
Last Packager: khampf
Votes: 7
Popularity: 0.000000
First Submitted: 2013-02-16 19:36
Last Updated: 2020-05-29 14:58

Latest Comments

1 2 Next › Last »

khampf commented on 2020-06-05 09:41

I'm all for POSIX compliance, the original sources have not been touched in three years but I am currently working on a fork of scanbd where we can fix stuff ourselves. Can you verify which scripts that are wrong and check if they are still using sh in my fork of a scanbd clone?

cobaltspace commented on 2020-06-03 02:08

One issue that I have discovered is that many of the scripts in this repo are not posix compliant. When building this package, if you use dash (see https://wiki.archlinux.org/index.php/Dash) as sh, you will need to temporarily switch back to bash, otherwise build will fail.

I opened a ticket upstream, suggesting the fix of replacing #!/bin/sh with #!/bin/bash for the scripts that aren't posix compliant.

khampf commented on 2020-05-29 17:45

@emilio-r: You caught me at the right time :)

emilio-r commented on 2020-05-29 15:12

@khampf: Wow, that must have been the most immediate fix I've ever experienced to a bug report! Thanks a bunch - compiles just fine! :)

khampf commented on 2020-05-29 15:01

@emilio-r: I noticed several similar allocation bugs in addition to the detected one in the upstream source, I hope I squashed them all. Thanks!

emilio-r commented on 2020-05-29 14:24

Doesn't compile:

In file included from /usr/include/string.h:495,
                 from common.h:57,
                 from scanbd.h:36,
                 from config.c:23:
In function ‘strncpy’,
    inlined from ‘make_script_path_abs’ at config.c:159:9:
/usr/include/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ 
specified bound 4096 equals destination size [-Werror=stringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos 
 (__dest));
      |          
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[1]: *** [Makefile:503: config.o] Error 1
make[1]: Leaving directory 
'/home/user/.cache/yay/scanbd/src/1.5.1/src/scanbd'
make: *** [Makefile:425: all-recursive] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

ainola commented on 2019-09-06 15:29

@khampf: Thank you for the improvements! I'll give you ownership of this package.

khampf commented on 2019-09-05 13:02

@ainola I made a small patch for getting rid of the strncpy bounds warning that hinders compilation - I can probably add it to the package and maintain for a while if you no longer use it. I noticed the Arch Wiki page is outdated too but one thing at a time - just recently got this working on my computer

bigfreak commented on 2017-06-12 13:48

got scanbd internal error in cfg-init_defaults

loading the Config file scanbd.conf fails with newest confuse-3.2-1 downgraded to 3.0-1 and it works again

ainola commented on 2017-04-01 01:28

As I'm no longer using this package it is difficult for me to accurately test new releases. If anyone would like to take over maintaining, please let me know!