Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 531152 - net-wireless/gr-baz - aclocal-1.14: error: 'configure.ac' is required
Summary: net-wireless/gr-baz - aclocal-1.14: error: 'configure.ac' is required
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Rick Farina (Zero_Chaos)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-29 17:03 UTC by ehrich.weiss
Modified: 2015-05-01 01:38 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ehrich.weiss 2014-11-29 17:03:54 UTC
I can compile the source just fine from git. This appears to be a bug in the configure/prepare phase but I haven't managed to track down the actual cause. 

Here's /var/tmp/portage/net-wireless/gr-baz-9999/temp/aclocal.out which doesn't give a lot of useful info.


***** aclocal *****
***** PWD: /var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999
***** aclocal

aclocal-1.14: error: 'configure.ac' is required



All the fixes I've read thus far have said I needed to upgrade or downgrade my autoconf or the like but none of that seems to have fixed the problem. 



Reproducible: Always

Steps to Reproduce:
1. emerge gr-baz
2.
3.
Actual Results:  
It doesn't compile

Expected Results:  
It compiles.
Comment 1 ehrich.weiss 2014-11-29 17:05:25 UTC
Here's the build log. 

* Package:    net-wireless/gr-baz-9999
 * Repository: gentoo
 * Maintainer: zerochaos@gentoo.org radio@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux pentoo userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
GIT update -->
   repository:               https://github.com/balint256/gr-baz.git
   at the commit:            13f9f714455ace971d30391d87e7d35e13ea83e6
   branch:                   master
   storage directory:        "/usr/portage/distfiles/egit-src/gr-baz.git"
   checkout type:            bare repository
Cloning into '/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999'...
done.
Branch branch-master set up to track remote branch master from origin.
Switched to a new branch 'branch-master'
>>> Unpacked to /var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999
>>> Source unpacked in /var/tmp/portage/net-wireless/gr-baz-9999/work
>>> Preparing source in /var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999 ...
 * Running eautoreconf in '/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999' ...
egrep: configure.??: No such file or directory
egrep: configure.??: No such file or directory
egrep: configure.??: No such file or directory
egrep: configure.??: No such file or directory
egrep: configure.??: No such file or directory
egrep: configure.??: No such file or directory
 * Running aclocal ...                                                                                                                                  [ !! ]

 * Failed Running aclocal !
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/net-wireless/gr-baz-9999/temp/aclocal.out

 * ERROR: net-wireless/gr-baz-9999::gentoo failed (prepare phase):
 *   Failed Running aclocal !
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_prepare
 *   environment, line 4485:  Called eautoreconf
 *   environment, line 1279:  Called eaclocal
 *   environment, line 1174:  Called autotools_run_tool '--at-m4flags' 'aclocal'
 *   environment, line 1146:  Called die
 * The specific snippet of code:
 *           die "Failed Running $1 !";
 * 
 * If you need support, post the output of `emerge --info '=net-wireless/gr-baz-9999::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-wireless/gr-baz-9999::gentoo'`.
mkdir: cannot create directory '/var/lib/tinderbox/net-wireless/gr-baz/gr-baz-9999/ae9b2235-c514-4839-a505-dba664cf412d': Permission denied
/etc/portage/profile/profile.bashrc: line 125: /var/lib/tinderbox/net-wireless/gr-baz/gr-baz-9999/ae9b2235-c514-4839-a505-dba664cf412d/arch: No such file or di
rectory
/etc/portage/profile/profile.bashrc: line 125: /var/lib/tinderbox/net-wireless/gr-baz/gr-baz-9999/ae9b2235-c514-4839-a505-dba664cf412d/profile: No such file or
 directory
/etc/portage/profile/profile.bashrc: line 125: /var/lib/tinderbox/net-wireless/gr-baz/gr-baz-9999/ae9b2235-c514-4839-a505-dba664cf412d/timestamp: No such file 
or directory
cp: cannot create regular file '/var/lib/tinderbox/net-wireless/gr-baz/gr-baz-9999/ae9b2235-c514-4839-a505-dba664cf412d': Permission denied
 * The complete build log is located at '/var/tmp/portage/net-wireless/gr-baz-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-wireless/gr-baz-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999'
 * S: '/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999'
Comment 2 Alexander Tsoy 2014-11-29 21:57:20 UTC
Upstream switched from autotools to cmake.

https://github.com/balint256/gr-baz/commit/0ec0e30de70bd25713e33ff180d8b12f913070fd
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2014-12-01 14:24:14 UTC
As a workaround until the ebuild is fixed, you can try to build with EGIT_COMMIT="34f1c4bd0e02f834aad5aabbb0535aad7b45be56" which is the last commit that still had autotools files.

However that commit only supports gnuradio-3.6 and not 3.7 from what I can tell.
Comment 4 ehrich.weiss 2015-03-15 23:08:34 UTC
I've created an ebuild that appears to work for getting this to compile. If someone wants to update the current ebuild, that'd be great. (I'm not sure that the "-DCMAKE_INSTALL_PREFIX=/usr" is required but I added it just in case)


# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-wireless/gr-baz/gr-baz-9999.ebuild,v 1.1 2012/09/10 02:30:22 zerochaos Exp $

EAPI=5

PYTHON_DEPEND="2"

#inherit autotools subversion python
inherit cmake-utils git-2 python

DESCRIPTION="Gnuradio baz"
HOMEPAGE="http://wiki.spench.net/wiki/Gr-baz"
#ESVN_REPO_URI="http://svn.spench.net/main/gr-baz/"
EGIT_REPO_URI="https://github.com/balint256/gr-baz.git"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS=""
IUSE=""

DEPEND="net-wireless/gnuradio"
RDEPEND="${DEPEND}"

pkg_setup() {
        python_set_active_version 2
        python_pkg_setup
}

src_configure() {
        mycmakeargs=(
                -DCMAKE_INSTALL_PREFIX="/usr"}
        )
        cmake-utils_src_configure
}

src_install() {
        cmake-utils_src_install
}
Comment 5 ehrich.weiss 2015-04-25 20:02:38 UTC
Ooops, I accidentally included a closing "}" after the "/usr"

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-wireless/gr-baz/gr-baz-9999.ebuild,v 1.1 2012/09/10 02:30:22 zerochaos Exp $

EAPI=5

PYTHON_DEPEND="2"

#inherit autotools subversion python
inherit cmake-utils git-2 python

DESCRIPTION="Gnuradio baz"
HOMEPAGE="http://wiki.spench.net/wiki/Gr-baz"
#ESVN_REPO_URI="http://svn.spench.net/main/gr-baz/"
EGIT_REPO_URI="https://github.com/balint256/gr-baz.git"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS=""
IUSE=""

DEPEND="net-wireless/gnuradio"
RDEPEND="${DEPEND}"

pkg_setup() {
        python_set_active_version 2
        python_pkg_setup
}

src_configure() {
        mycmakeargs=(
                -DCMAKE_INSTALL_PREFIX="/usr"
        )
        cmake-utils_src_configure
}

src_install() {
        cmake-utils_src_install
}
Comment 6 Rick Farina (Zero_Chaos) gentoo-dev 2015-05-01 01:38:08 UTC
I've updated the ebuild in the tree.  It still has the worst kind of automagic deps, but it's at least functional as long as we ignore basically all QA standards.