@unit73e Manjaro just updated the gcc package and now I can build this AUR package without any problems, thanks
Search Criteria
Package Details: cnijfilter2 6.80-3
Package Actions
Git Clone URL: | https://aur.archlinux.org/cnijfilter2.git (read-only, click to copy) |
---|---|
Package Base: | cnijfilter2 |
Description: | Canon IJ Printer Driver for Linux |
Upstream URL: | https://www.canon.com.au/home-printers |
Keywords: | Canon Driver Printer |
Licenses: | GPL, custom:canon |
Conflicts: | cnijfilter, cnijfilter-mg3600 |
Provides: | cnijlgmon3, tocanonij, tocnpwg |
Submitter: | iAndrewT |
Maintainer: | unit73e |
Last Packager: | unit73e |
Votes: | 49 |
Popularity: | 1.04 |
First Submitted: | 2016-12-22 12:46 (UTC) |
Last Updated: | 2025-05-02 23:24 (UTC) |
Dependencies (5)
- cups (cups-gitAUR, cups-gssapiAUR)
- ghostscript
- libxml2 (libxml2-gitAUR, libxml2-2.9AUR)
- autoconf (autoconf-gitAUR) (make)
- automake (automake-gitAUR) (make)
Required by (0)
Sources (4)
marmotz commented on 2025-05-15 07:22 (UTC)
unit73e commented on 2025-05-06 20:33 (UTC)
@marmotz ok, meanwhile you can use the previous version, 6.80-2. there's not much difference except the 6.80-3 fixes the gcc15 compilation error.
Maybe you already know this but AUR is not expected to support derivatives, and that's because only the latest snapshot is stable, and that's why you always need to update everything. Just letting you know. Hopefully Manjaro updates to GCC15 soon and it won't be a problem. Otherwise you can remove the "gcc15-fix.patch" and it should work, or just use 6.80-2, which is the same thing.
marmotz commented on 2025-05-06 06:08 (UTC)
Indeed, the version of my gcc is 14.2.1.
After a little research, I just figured out that Archlinux went to 15.x but Manjaro is still in 14.x, that's why it doesn't work at home.
I'll wait until Manjaro updates gcc in version 15
unit73e commented on 2025-05-05 19:32 (UTC)
@marmotz run gcc --version
to confirm you have the correct gcc version. It should be 15.1.1. Anything bellow 15 will fail.
marmotz commented on 2025-05-05 19:15 (UTC)
@unit73e yes my system is up to date... Except this package
unit73e commented on 2025-05-05 19:11 (UTC)
@marmotz hello. you can ignore most of the log, your issue is here:
In file included from ./common/libcnnet2.h:29,
from cnijifnet2.c:55:
./common/libcnnet2_type.h:60:3: error: unknown type name 'bool'
Guarantee that your whole system is updated before updating this package, namely your issue is gcc. You should have gcc 15.1.1. In other words, run yay -Syu
in your case. In arch you always have to update everything to guarantee packages work.
marmotz commented on 2025-05-05 19:01 (UTC)
I can't update from 6.80.2 to 6.80.3
I have errors : https://pastebin.com/U4BeZKex
If somebody can help me...
unit73e commented on 2025-05-02 23:24 (UTC)
Looks like the solution was easy after all. It's just that C23 has bool, and it didn't before. There was a type definition of boolean that can't be used anymore. Thanks again @TwistedZeon.
unit73e commented on 2025-05-02 23:09 (UTC)
@TwistedZeon confirmed, thanks. This might take a while to figure out the best solution, but gcc14
exists in extra if anyone needs this package fast.
TwistedZeon commented on 2025-05-02 13:12 (UTC)
@unit73e It seems that this package is broken with gcc15 and won't build now
Pinned Comments
unit73e commented on 2022-10-01 15:47 (UTC)
Just a kindly reminder (because I forgot) that to have the scanner working you probably should use avahi:
https://wiki.archlinux.org/title/SANE/Scanner-specific_problems#Scanning_over_the_network_with_Canon_PIXMA_or_imageCLASS_all-in-one_printer/scanners
There are other methods but this is the easiest one.