Package Details: brscan2 0.2.5_1-1

Git Clone URL: https://aur.archlinux.org/brscan2.git (read-only)
Package Base: brscan2
Description: SANE driver from Brother for brscan2 models
Upstream URL: http://support.brother.com
Licenses: GPL, custom:brother
Submitter: leidola
Maintainer: pmattern
Last Packager: pmattern
Votes: 40
Popularity: 0.296256
First Submitted: 2008-08-15 02:08
Last Updated: 2015-08-04 22:29

Latest Comments

AJSlye commented on 2015-02-26 04:29

I solved my issue by using the brscan2-network AUR package instead:
https://aur.archlinux.org/packages/brscan2-network/

AJSlye commented on 2015-02-26 04:28

I solved my issue by using the brscan2-network AUR package:
https://aur.archlinux.org/packages/brscan2-network/

AJSlye commented on 2015-02-25 22:25

This seems to be still broken, here is what I'm getting:
# scanimage -L
bugchk_free(ptr=(nil))@brother_modelinf.c(482)
Aborted (core dumped)

But It works as root:
# scanimage -L
bugchk_free(ptr=(nil))@brother_modelinf.c(482)

What Am I doing Wrong?

AJSlye commented on 2015-02-25 22:24

This is still broken here is what I'm getting:
# scanimage -L
bugchk_free(ptr=(nil))@brother_modelinf.c(482)
Aborted (core dumped)

But It works as root:
# scanimage -L
bugchk_free(ptr=(nil))@brother_modelinf.c(482)

What Am I doing Wrong?

AJSlye commented on 2015-02-25 21:44

This is still broken here is what I'm getting:
# scanimage -L
bugchk_free(ptr=(nil))@brother_modelinf.c(482)
Aborted (core dumped)

crs commented on 2015-01-11 06:11

/usr/local/Brother is referenced in libsane-brother2.so.1.0.7

the PKGBUILD tries to relocate the files in the RPM package from /usr/local/Brother to /usr/share/brother, but does an incomplete job.
This seems contrary to KISS, and the renaming of lib64 to lib seemed
inelegant too, so I found a way to do that while extracting from the RPM:

if [ "$CARCH" == "i686" ]; then
source="http://www.brother.com/pub/bsc/linux/dlf/$pkgname-$pkgver-$pkgrel.i386.rpm"
md5sums='944432983dcb918704862147b2a27977'
else
source="http://www.brother.com/pub/bsc/linux/dlf/$pkgname-$pkgver-$pkgrel.x86_64.rpm"
md5sums='88ab217b814ba87ac855b21dc037e0ac'
fi
rpm=`basename ${source[0]}`
noextract=($rpm) # we'll extract manually in prepare()

source+=('scanner-license.txt')
md5sums+=('SKIP')

prepare() {
# change "lib64" to "lib" in paths and symlinks
rpm2cpio $rpm | bsdtar -xpf - -s @/lib64/@/lib/@
}

package() {
cp -pR "$srcdir/usr" "$pkgdir"
install -m 644 -D scanner-license.txt \
"${pkgdir}/usr/share/licenses/${pkgname}/scanner-license.txt"
}


And finally, a suggestion for updating /etc/sane.d/dll.conf from brscan2.install:

post_install() {
echo 'brother2 #brscan2#' >> /etc/sane.d/dll.conf
}

post_remove() {
sed -i '/#brscan2#/d' /etc/sane.d/dll.conf
}

ams1 commented on 2014-12-04 17:05

I added that info to the wiki page for dcp150c.

robtaylor commented on 2014-09-17 20:15

I can confirm that to stop the crash on x86_64 you need
sudo ln -s /usr/share/brother/sane/ /usr/local/Brother/sane

However I can see no reason that it's trying to open /usr/local/Brother/sane/Brsane2.ini. strace confirms that it is, but I can find no occurance of /usr/local in any of the installed files!

May break out a debug build of glibc and see if I can figure what's going on...

Evilandi666 commented on 2014-07-29 11:57

I try to fix those bugs on x86_64

Anonymous comment on 2014-07-23 12:33

As the problem only seems to occur on 64-bit and I cannot test this myself, I will disown the package so that someone else can pick this up.

All comments