Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 749693 - media-gfx/iscan-3.63.0 : ./configure:line <snip>: syntax error near unexpected token newline
Summary: media-gfx/iscan-3.63.0 : ./configure:line <snip>: syntax error near unexpecte...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marcin Deranek
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: autoconf-2.7x
  Show dependency tree
 
Reported: 2020-10-17 11:27 UTC by Toralf Förster
Modified: 2020-11-05 08:11 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.66 KB, text/plain)
2020-10-17 11:27 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,194.26 KB, text/plain)
2020-10-17 11:27 UTC, Toralf Förster
Details
environment (environment,97.93 KB, text/plain)
2020-10-17 11:27 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.68 KB, application/x-bzip)
2020-10-17 11:27 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,13.59 KB, application/x-bzip)
2020-10-17 11:27 UTC, Toralf Förster
Details
media-gfx:iscan-3.63.0:20201017-100107.log (media-gfx:iscan-3.63.0:20201017-100107.log,13.59 KB, text/plain)
2020-10-17 11:27 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,28.82 KB, application/x-bzip)
2020-10-17 11:27 UTC, Toralf Förster
Details
Potential patch (configure.ac.patch,1.15 KB, patch)
2020-10-19 21:13 UTC, Marcin Deranek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-10-17 11:27:40 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2020-10-17 11:27:41 UTC
Created attachment 666167 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-10-17 11:27:43 UTC
Created attachment 666170 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-10-17 11:27:45 UTC
Created attachment 666173 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-10-17 11:27:46 UTC
Created attachment 666176 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-10-17 11:27:48 UTC
Created attachment 666179 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-10-17 11:27:49 UTC
Created attachment 666182 [details]
media-gfx:iscan-3.63.0:20201017-100107.log
Comment 7 Toralf Förster gentoo-dev 2020-10-17 11:27:50 UTC
Created attachment 666185 [details]
temp.tbz2
Comment 8 Marcin Deranek 2020-10-19 21:13:48 UTC
Created attachment 667208 [details, diff]
Potential patch
Comment 9 Marcin Deranek 2020-10-19 21:15:02 UTC
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?
Comment 10 Toralf Förster gentoo-dev 2020-10-20 07:18:42 UTC
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
Comment 11 Marcin Deranek 2020-11-03 14:03:46 UTC
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..
Comment 12 Marcin Deranek 2020-11-03 15:08:18 UTC
Added MR in case answer is yes :-)
Comment 13 Larry the Git Cow gentoo-dev 2020-11-05 08:11:59 UTC
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(+)