Subject: gimagereader: build failure: undefined references

From: Christopher Howard <[email-masked]>
Date: Mon, 3 Jan 2022 09:49:19 -0900

gimagereader fails to build, giving a lot of undefined reference errors during building of qt sources. E.g.:

```
ld: CMakeFiles/gimagereader.dir/qt/src/scanner/ScannerSane.cc.o: in function `ScannerSane::doCompletePage()':
/tmp/guix-build-gimagereader-3.3.1.drv-0/gimagereader-3.3.1/qt/src/scanner/ScannerSane.cc:521: undefined reference to `Scanner::pageAvailable(QString const&)'
ld: CMakeFiles/gimagereader.dir/qt/src/scanner/ScannerSane.cc.o: in function `ScannerSane::run()':
/tmp/guix-build-gimagereader-3.3.1.drv-0/gimagereader-3.3.1/qt/src/scanner/ScannerSane.cc:66: undefined reference to `Scanner::initFailed()'
ld: CMakeFiles/gimagereader.dir/qt/src/scanner/ScannerSane.cc.o: in function `ScannerSane::setState(Scanner::State)':
/tmp/guix-build-gimagereader-3.3.1.drv-0/gimagereader-3.3.1/qt/src/scanner/ScannerSane.cc:117: undefined reference to `Scanner::scanStateChanged(Scanner::State)'
ld: CMakeFiles/gimagereader.dir/qt/src/scanner/ScannerSane.cc.o: in function `ScannerSane::failScan(QString const&)':
/tmp/guix-build-gimagereader-3.3.1.drv-0/gimagereader-3.3.1/qt/src/scanner/ScannerSane.cc:122: undefined reference to `Scanner::scanFailed(QString const&)'
collect2: error: ld returned 1 exit status
```

My system:

```
christopher@theoden ~$ neofetch --stdout
christopher@theoden 
------------------- 
OS: Guix System d422848146f4b7d6aaec20776daaac8964416a0f x86_64 
Host: OptiPlex 9020 00 
Kernel: 5.15.5-gnu 
Uptime: 13 days, 1 hour, 12 mins 
Packages: 91 (guix-system), 150 (guix-user) 
Shell: bash 5.0.16 
Resolution: 1920x1080 
DE: GNOME 
Theme: Adwaita [GTK2/3] 
Icons: Adwaita [GTK2/3] 
Terminal: .emacs-27.2-rea 
CPU: Intel i5-4570 (4) @ 3.600GHz 
GPU: Intel HD Graphics 
GPU: AMD ATI Radeon HD 8490 / R5 235X OEM 
Memory: 3356MiB / 7869MiB 
```

-- 
📛 Christopher Howard
🚀 gemini://gem.librehacker.com
🌐 https://portal.mozz.us/gemini/gem.librehacker.com

בראשית ברא אלהים את השמים ואת הארץ