Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 750983 - dev-libs/hidapi-0.8.0_rc1_p20140719 : * Failed Running aclocal !
Summary: dev-libs/hidapi-0.8.0_rc1_p20140719 : * Failed Running aclocal !
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Luke-Jr
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: autoconf-2.7x
  Show dependency tree
 
Reported: 2020-10-24 06:49 UTC by Toralf Förster
Modified: 2020-12-09 09:12 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.42 KB, text/plain)
2020-10-24 06:49 UTC, Toralf Förster
Details
aclocal.out (aclocal.out,447 bytes, text/plain)
2020-10-24 06:49 UTC, Toralf Förster
Details
dev-libs:hidapi-0.8.0_rc1_p20140719:20201024-000602.log (dev-libs:hidapi-0.8.0_rc1_p20140719:20201024-000602.log,2.41 KB, text/plain)
2020-10-24 06:49 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,220.71 KB, text/plain)
2020-10-24 06:49 UTC, Toralf Förster
Details
environment (environment,119.05 KB, text/plain)
2020-10-24 06:49 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,16.10 KB, application/x-bzip)
2020-10-24 06:49 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,27.34 KB, application/x-bzip)
2020-10-24 06:49 UTC, Toralf Förster
Details

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-24 06:49:19 UTC
 * ERROR: dev-libs/hidapi-0.8.0_rc1_p20140719::gentoo failed (prepare phase):
 *   Failed Running aclocal !
 * 

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-20201019-041507

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] 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)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  (none found)
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


  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Fri Oct 23 10:35:26 PM UTC 2020

emerge -qpvO dev-libs/hidapi
[ebuild  N    ] dev-libs/hidapi-0.8.0_rc1_p20140719  USE="-doc (-fox) -static-libs"
Comment 1 Toralf Förster gentoo-dev 2020-10-24 06:49:21 UTC
Created attachment 668237 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-10-24 06:49:22 UTC
Created attachment 668240 [details]
aclocal.out
Comment 3 Toralf Förster gentoo-dev 2020-10-24 06:49:23 UTC
Created attachment 668243 [details]
dev-libs:hidapi-0.8.0_rc1_p20140719:20201024-000602.log
Comment 4 Toralf Förster gentoo-dev 2020-10-24 06:49:25 UTC
Created attachment 668246 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2020-10-24 06:49:27 UTC
Created attachment 668249 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2020-10-24 06:49:28 UTC
Created attachment 668252 [details]
etc.portage.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-10-24 06:49:29 UTC
Created attachment 668255 [details]
temp.tbz2
Comment 8 Sergei Trofimovich (RETIRED) gentoo-dev 2020-10-31 10:02:18 UTC
"""
configure.ac:23: error: AC_CONFIG_MACRO_DIR can only be used once
./lib/autoconf/general.m4:1849: AC_CONFIG_MACRO_DIR is expanded from...
configure.ac:23: the top level
autom4te-2.70_beta2: error: /usr/bin/m4 failed with exit status: 1
aclocal-1.16: error: echo failed with exit status: 1
"""

The following seems to be enough to fix the failure:

--- a/configure.ac
+++ b/configure.ac
@@ -20,7 +20,6 @@ LTLDFLAGS="-version-info ${lt_current}:${lt_revision}:${lt_age}"

 AC_CONFIG_MACRO_DIR([m4])
 AM_INIT_AUTOMAKE([foreign -Wall -Werror])
-AC_CONFIG_MACRO_DIR([m4])

 m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
 LT_INIT
Comment 9 Larry the Git Cow gentoo-dev 2020-12-09 09:12:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5169e9a45d41ae6a7b9a4ad15ced9b363f7c34d4

commit 5169e9a45d41ae6a7b9a4ad15ced9b363f7c34d4
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-12-09 09:12:05 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-12-09 09:12:05 +0000

    dev-libs/hidapi: tweak for autoconf-2.70
    
    Closes: https://bugs.gentoo.org/750983
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 .../files/hidapi-0.8.0_rc1_p20140719-autoconf-2.70.patch      | 11 +++++++++++
 dev-libs/hidapi/hidapi-0.8.0_rc1_p20140719.ebuild             |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)