Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 776679 - media-gfx/glimpse-0.2.0: fails to configure, syntax error
Summary: media-gfx/glimpse-0.2.0: fails to configure, syntax error
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Other bugs (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: GURU project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-16 14:45 UTC by Andrew Nowa Ammerlaan
Modified: 2021-03-18 10:24 UTC (History)
1 user (show)

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


Attachments
buildlog (build.log,19.20 KB, text/x-log)
2021-03-16 14:45 UTC, Andrew Nowa Ammerlaan
Details
emerge --info (emerge-info.txt,8.14 KB, text/plain)
2021-03-16 14:46 UTC, Andrew Nowa Ammerlaan
Details
emerge environment (env.txt,100.04 KB, text/plain)
2021-03-16 14:47 UTC, Andrew Nowa Ammerlaan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Nowa Ammerlaan gentoo-dev 2021-03-16 14:45:46 UTC
Created attachment 691824 [details]
buildlog

checking for ALSA CFLAGS... 
checking for ALSA LDFLAGS...  -lasound -lm -ldl -lpthread
checking for libasound headers version >= 1.0.0... found.
checking for snd_ctl_open in -lasound... yes
./configure: line 33540: syntax error near unexpected token `)'
./configure: line 33540: `fi)'

Full build log attached
Comment 1 Andrew Nowa Ammerlaan gentoo-dev 2021-03-16 14:46:28 UTC
Created attachment 691827 [details]
emerge --info
Comment 2 Andrew Nowa Ammerlaan gentoo-dev 2021-03-16 14:47:27 UTC
Created attachment 691830 [details]
emerge environment
Comment 3 James Beddek 2021-03-17 01:53:34 UTC
You attached the wrong build log

But I can't reproduce anyway
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-03-17 02:04:35 UTC
(In reply to Theo Anderson from comment #3)
> You attached the wrong build log
> 
> But I can't reproduce anyway

looks like autoconf 2.70
Comment 5 Sergey Torokhov 2021-03-17 03:33:35 UTC
Maybe similar resolved issue for gimp:

https://bugs.gentoo.org/750575  

Fix is already in upstream too.
Comment 6 Andrew Nowa Ammerlaan gentoo-dev 2021-03-17 10:20:56 UTC
(In reply to Theo Anderson from comment #3)
> You attached the wrong build log
> 
> But I can't reproduce anyway

I think it is the correct one:

 * Package:    media-gfx/glimpse-0.2.0
 * Repository: guru
 * Maintainer: gentoo@tastytea.de
 * Upstream:   https://github.com/glimpse-editor/Glimpse/issues
 * USE:        abi_x86_64 alsa amd64 cpu_flags_x86_mmx cpu_flags_x86_sse elibc_glibc kernel_linux mng udev userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox

<snip>

checking for ALSA CFLAGS... 
checking for ALSA LDFLAGS...  -lasound -lm -ldl -lpthread
checking for libasound headers version >= 1.0.0... found.
checking for snd_ctl_open in -lasound... yes
./configure: line 33540: syntax error near unexpected token `)'
./configure: line 33540: `fi)'(In reply to Sergey Torokhov from comment #5)

> Maybe similar resolved issue for gimp:
> 
> https://bugs.gentoo.org/750575  
> 
> Fix is already in upstream too.

Looks suspiciously similar indeed
Comment 7 tastytea 2021-03-17 10:39:51 UTC
I could reproduce the issue with an ~amd64 system. Applying <https://gitlab.gnome.org/GNOME/gimp/-/commit/cebeb90a87105cd6e35bcb357d53cc04c828ca21> fixes it.
Comment 8 Larry the Git Cow gentoo-dev 2021-03-18 10:24:21 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=71febc0ec7dbd8c32c8a0425f30b37d583f98cc6

commit 71febc0ec7dbd8c32c8a0425f30b37d583f98cc6
Author:     Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
AuthorDate: 2021-03-17 10:48:09 +0000
Commit:     Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
CommitDate: 2021-03-17 10:48:09 +0000

    media-gfx/glimpse: Fix configure error with autoconf-2.70.
    
    Closes: https://bugs.gentoo.org/776679
    
    Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>

 .../files/glimpse-0.2.0_fix_autoconf-2.70.patch    | 58 ++++++++++++++++++++++
 media-gfx/glimpse/glimpse-0.2.0.ebuild             |  4 +-
 2 files changed, 60 insertions(+), 2 deletions(-)