checking for LIBUSB... yes checking for LIBMAGICK_PP... yes ./configure: line 20463: syntax error near unexpected token `newline' ./configure: line 20463: ` ''' !!! Please attach the following file when seeking support: ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop-libressl-20201012-031827 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10.2.0 * clang version 11.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/11/bin /usr/lib/llvm/11 11.0.0 Available Python interpreters, in order of preference: [1] python3.7 [2] python3.9 (fallback) [3] python3.8 (fallback) Available Ruby profiles: [1] ruby25 (with Rubygems) [2] ruby26 (with Rubygems) [3] ruby27 (with Rubygems) * Available Rust versions: [1] rust-bin-1.47.0 [2] rust-1.47.0 * The following VMs are available for generation-2: *) AdoptOpenJDK 8.265_p01 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.8.4 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Sat Oct 17 08:35:14 AM UTC 2020 /var/db/repos/libressl Fri Oct 9 07:35:07 PM UTC 2020 emerge -qpvO media-gfx/iscan [ebuild N ] media-gfx/iscan-3.63.0 USE="gui -graphicsmagick -test"
Created attachment 666167 [details] emerge-info.txt
Created attachment 666170 [details] emerge-history.txt
Created attachment 666173 [details] environment
Created attachment 666176 [details] etc.portage.tbz2
Created attachment 666179 [details] logs.tbz2
Created attachment 666182 [details] media-gfx:iscan-3.63.0:20201017-100107.log
Created attachment 666185 [details] temp.tbz2
Created attachment 667208 [details, diff] Potential patch
I have included potential patch which could fix the problem. Would you be able to test it as I am not able to replicate your problem nor find out conditions under which it takes place?
no, it fails with checking for LIBUDEV... yes checking for LIBUSB... yes checking for LIBMAGICK_PP... yes ./configure: line 20466: syntax error near unexpected token `newline' ./configure: line 20466: ` ''' but pls see the blocker
Hmm.. I tried to build iscan with autoconf-2.70_beta2 and indeed I get the following error (same as yours): checking for LIBMAGICK_PP... yes ./configure: line 20463: syntax error near unexpected token `newline' ./configure: line 20463: ` ''' When I apply an attached patch iscan builds just fine. Is this because you tried autoconf-2.70_beta1 vs autoconf-2.70_beta2 (current version in repo)? I see there were some changes in the meantime..
Added MR in case answer is yes :-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fe8a9e6c60f9163cadad830ba4935c069c67b10 commit 4fe8a9e6c60f9163cadad830ba4935c069c67b10 Author: Marcin Deranek <marcin.deranek@booking.com> AuthorDate: 2020-11-03 14:15:40 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2020-11-05 08:11:33 +0000 media-gfx/iscan: Allow to build with >=sys-devel/autoconf-2.70_beta2 Closes: https://bugs.gentoo.org/749693 Signed-off-by: Marcin Deranek <marcin.deranek@slonko.net> Closes: https://github.com/gentoo/gentoo/pull/18119 Signed-off-by: Joonas Niilola <juippis@gentoo.org> .../iscan/files/iscan-3.63.0-autoconf-2.70.patch | 34 ++++++++++++++++++++++ media-gfx/iscan/iscan-3.63.0.ebuild | 1 + 2 files changed, 35 insertions(+)