I can't update from 6.80.2 to 6.80.3
I have errors : https://pastebin.com/U4BeZKex
If somebody can help me...
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: | 48 |
Popularity: | 0.41 |
First Submitted: | 2016-12-22 12:46 (UTC) |
Last Updated: | 2025-05-02 23:24 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 .. 10 Next › Last »
I can't update from 6.80.2 to 6.80.3
I have errors : https://pastebin.com/U4BeZKex
If somebody can help me...
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.
@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.
@unit73e It seems that this package is broken with gcc15 and won't build now
@Zaed thanks, confirmed that this is indeed a new problem.
keytext.c:38:10: fatal error: libxml/parser.h: No such file or directory
38 | #include <libxml/parser.h> /* Ver.2.80 */
| ^~~~~~~~~~~~~~~~~
You're right the symlink is not an ideal solution. The issue is xml2-config
doesn't exist anymore (did it ever exist before?) and should be changed to pkg-config libxml-2.0
instead. This can be found in configuration.in
in two files. I think in arch this is the correct solution.
Added a new patch. It should work now.
The compiler throws an error that it's not able to include libxml/parser.h. I was able to solve it by creating a symlink in /usr/include/libxml, but it feels like it should not be necessary.
@kiodo1981 @vvkjndl thanks and updated.
@unit73e I've updated the PKGBUILD to version 6.80-1. These are the 2 new entries to overwrite in the file.
source=("https://gdlp01.c-wss.com/gds/2/0100012302/02/$pkgname-source-$pkgver-1.tar.gz" 'add-missing-import.patch')
sha256sums=('5d5b6ba67f0025616d9b1e9d55a613bd812bc343c9df002e570a832182cfc1d3' 'a1f2ebcfa0c5c6e0d680480bd349ff4b8e4315d031315819ff92a1c11e3d2281')
New version 6.80-1 available: https://asia.canon/en/support/0101230201 https://gdlp01.c-wss.com/gds/2/0100012302/02/cnijfilter2-source-6.80-1.tar.gz
Just found a newer version that adds more printers, and updated.
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.