Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 918852 - app-text/liblangtag configure fails
Summary: app-text/liblangtag configure fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal trivial
Assignee: Gentoo Office Team
URL: https://bitbucket.org/tagoh/liblangta...
Whiteboard: fixed in 0.6.6
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2023-11-29 13:52 UTC by spykyvenator
Modified: 2023-11-30 19:45 UTC (History)
0 users

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


Attachments
emerge --info (emerge-info.txt,7.52 KB, text/plain)
2023-11-29 13:52 UTC, spykyvenator
Details
patch (configure.diff,299 bytes, patch)
2023-11-29 14:00 UTC, spykyvenator
Details | Diff
build log (liblangtag.log,8.68 KB, text/plain)
2023-11-29 18:42 UTC, spykyvenator
Details

Note You need to log in before you can comment on or make changes to this bug.
Description spykyvenator 2023-11-29 13:52:18 UTC
Created attachment 875916 [details]
emerge --info

configure phase fails because configure script needs bash for an array instead of sh.

Patch that works for me:
--- ../liblangtag-0.6.5/configure       2023-11-24 12:28:15.000000000 +0100
+++ ./configure 2023-11-29 12:23:59.761977897 +0100
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.71 for liblangtag 0.6.5.
 #

I am not sure if this is an upstream problem since it is autoconf making the script from configure.ac so maybe its an autoconf issue?
Comment 1 spykyvenator 2023-11-29 14:00:06 UTC
Created attachment 875917 [details, diff]
patch
Comment 2 Mike Gilbert gentoo-dev 2023-11-29 16:45:51 UTC
Please attach a build log showing the failure.
Comment 3 spykyvenator 2023-11-29 18:42:39 UTC
Created attachment 875925 [details]
build log
Comment 4 spykyvenator 2023-11-29 18:50:38 UTC
note that
/bin/sh -> /bin/dash
Comment 5 Larry the Git Cow gentoo-dev 2023-11-30 19:45:18 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3779ebef95209d30fde3b3e40ea730ac36db971a

commit 3779ebef95209d30fde3b3e40ea730ac36db971a
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2023-11-30 19:30:15 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-11-30 19:45:01 +0000

    app-text/liblangtag: add 0.6.6
    
    Closes: https://bugs.gentoo.org/918852
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 app-text/liblangtag/Manifest                |  1 +
 app-text/liblangtag/liblangtag-0.6.6.ebuild | 55 +++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)