Package Details: brlaser 6.2.8-1

Git Clone URL: https://aur.archlinux.org/brlaser.git (read-only, click to copy)
Package Base: brlaser
Description: Brother laser printer driver
Upstream URL: https://github.com/Owl-Maintain/brlaser
Licenses: GPL-2.0-or-later
Submitter: arnottcr
Maintainer: lmartinez-mirror
Last Packager: lmartinez-mirror
Votes: 25
Popularity: 1.39
First Submitted: 2017-12-10 03:29 (UTC)
Last Updated: 2025-11-06 05:15 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

hcjl commented on 2025-11-28 14:49 (UTC) (edited on 2025-12-14 11:35 (UTC) by hcjl)

Update: With the new makepkg.conf and updated CFLAGS provided by pacman 7.1.0.r7.gb9f7d4a-1 the problem is solved and the package builds w/o problems. Cheers, hcjl

@lmartinez-mirror, thx a lot for updating the package. Building on x86_64 machines works w/o any problems, but on my Raspberry Pi Zero 2 W running on armv7h I still cannot build. I get the following error. It would be great, if someone could have a look at it ;-) Thx & Cheers, hcjl

$ makepkg
==> Making package: brlaser 6.2.8-1 (Fri Nov 28 15:48:24 2025)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading brlaser-6.2.8.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0   0     0   0     0     0     0  --:--:-- --:--:-- --:--:--     0
100 29401 100 29401   0     0 59436     0  --:--:-- --:--:-- --:--:-- 59436
==> Validating source files with sha512sums...
    brlaser-6.2.8.tar.gz ... Passed
==> Extracting sources...
  -> Extracting brlaser-6.2.8.tar.gz with bsdtar
==> Starting build()...
-- The CXX compiler identification is GNU 15.2.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - failed
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ - broken
CMake Error at /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:73 (message):
  The C++ compiler

    "/usr/bin/c++"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: '/home/nfjl/0wrk/brlaser/src/build/CMakeFiles/CMakeScratch/TryCompile-NULAl9'

    Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_ca3ad/fast
    /usr/bin/make  -f CMakeFiles/cmTC_ca3ad.dir/build.make CMakeFiles/cmTC_ca3ad.dir/build
    make[1]: Entering directory '/home/nfjl/0wrk/brlaser/src/build/CMakeFiles/CMakeScratch/TryCompile-NULAl9'
    Building CXX object CMakeFiles/cmTC_ca3ad.dir/testCXXCompiler.cxx.o
    /usr/bin/c++   -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS  -o CMakeFiles/cmTC_ca3ad.dir/testCXXCompiler.cxx.o -c /home/nfjl/0wrk/brlaser/src/build/CMakeFiles/CMakeScratch/TryCompile-NULAl9/testCXXCompiler.cxx
    c++: error: unrecognized command-line option '-mno-omit-leaf-frame-pointer'; did you mean '-fno-omit-frame-pointer'?
    make[1]: *** [CMakeFiles/cmTC_ca3ad.dir/build.make:81: CMakeFiles/cmTC_ca3ad.dir/testCXXCompiler.cxx.o] Error 1
    make[1]: Leaving directory '/home/nfjl/0wrk/brlaser/src/build/CMakeFiles/CMakeScratch/TryCompile-NULAl9'
    make: *** [Makefile:134: cmTC_ca3ad/fast] Error 2





  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:2 (project)


-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
    Aborting...

hcjl commented on 2025-08-11 12:19 (UTC)

Hey DownBackDad, sorry for the very late reply ;-) Thanks a lot for your effort. I got it working as well. Cheers

DownBackDad commented on 2025-04-30 23:21 (UTC)

@hcjl I'm seeing the build error on x86_64 as well. After digging into it, I found that the issue is due to CMake 4.0 changing the allowable values for specifying the minimum CMake version. I've created a pull request upstream:

https://github.com/Owl-Maintain/brlaser/pull/43

In the meantime, you can apply the following patch to get it working (tested and confirmed on my system):

diff -ura brlaser-6.2.7.orig/CMakeLists.txt brlaser-6.2.7.new/CMakeLists.txt
--- brlaser-6.2.7.orig/CMakeLists.txt
+++ brlaser-6.2.7.new/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.1)
+cmake_minimum_required(VERSION 3.5)
 project(Owl-Maintain/brlaser CXX)
 set(BRLASER_VERSION "6.2.7")

If it works for others, maybe we could get this patch added to the current AUR package (until the next version - 6.2.8 - is released)?

Jzavrk commented on 2025-04-29 09:39 (UTC)

@silensys https://github.com/Owl-Maintain/brlaser/wiki/Installing-brlaser

I should have mentioned my sources, my apologies for disturbing you.

<deleted-account> commented on 2025-04-24 22:33 (UTC)

@Jzavrk there is no such thing on the wiki, please don't spread misleading information, thank you.

Jzavrk commented on 2025-04-22 21:47 (UTC) (edited on 2025-04-22 21:48 (UTC) by Jzavrk)

As mentioned in wiki:

Note to Packagers:

Please declare ghostscript as an explicit runtime dependency. This is essential for the proper functioning of brlaser and reduces user confusion if the package is missing from their system.

hcjl commented on 2025-04-08 12:45 (UTC)

Hey zoof, makepkg on armv7h aborts with the following error:


==> Making package: brlaser 6.2.7-1 (Tue Apr  8 14:40:39 2025)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found v6.2.7.tar.gz
==> Validating source files with sha512sums...
    v6.2.7.tar.gz ... Passed
==> Extracting sources...
  -> Extracting v6.2.7.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.


-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
    Aborting...

cmake version is 4.0.0-1. The brlaser-git does not build as well. It would be great, if you could have a look at that.

Thx & Cheers, hcjl

thwright commented on 2023-07-25 04:39 (UTC)

As the main branch has been unresponsive for a while, we might want to consider updating this package to the following fork:

https://github.com/Owl-Maintain/brlaser

noahrinehart commented on 2023-06-29 18:29 (UTC)

With my Brother HL-L2320D printer, I received a CUPS state on a print job of "Unable to launch Ghostscript: gs: No such file or directory". Installing ghostscript "sudo pacman -S ghostscript" remediated this issue. Suggest potentially adding "ghostscript" as an optional source?

Xoloitzcuintli commented on 2023-05-10 02:16 (UTC)

I am able to get my Brother HL-L2370DW working with the HL-L2360D driver that was bundled with this. Works like a charm, thanks!