Package Details: kconfig-frontends 3.12.0.0-2

Git Clone URL: https://aur.archlinux.org/kconfig-frontends.git (read-only)
Package Base: kconfig-frontends
Description: Out of the Linux source tree, packaging of the kconfig infrastructure, ready for use by third party projects
Upstream URL: http://ymorin.is-a-geek.org/projects/kconfig-frontends
Keywords: kconfig
Licenses: GPL
Submitter: romansaveljev
Maintainer: romansaveljev
Last Packager: romansaveljev
Votes: 4
Popularity: 0.000023
First Submitted: 2015-10-13 17:54
Last Updated: 2015-10-23 09:27

Latest Comments

VladR commented on 2018-02-06 21:35

@Falkenber9 - confirmed, your solution works for me also.

The original version will not compile anymore, at least for me.

Falkenber9 commented on 2017-04-19 07:49

I made an updated (quick 'n dirty) PKGBUILD for version 4.10.0.1.
It works for me, but should be verified by someone else.
-------------------------------

# Maintainer: Roman Saveljev <roman.saveljev@haltian.com>
# Updated: Robert Falkenberg <robert.falkenberg@tu-dortmund.de>
pkgname=kconfig-frontends
pkgver=4.10.0.1
pkgrel=0
pkgdesc='Out of the Linux source tree, packaging of the kconfig infrastructure, ready for use by third party projects'
arch=('x86_64' 'i686')
url="http://ymorin.is-a-geek.org/projects/kconfig-frontends"
license=('GPL')
depends=('ncurses' 'perl' 'libglade' 'python' 'qt5-base')
makedepends=('gperf')
source=("http://ymorin.is-a-geek.org/download/kconfig-frontends/$pkgname-$pkgver.tar.xz")
noextract=()
md5sums=('9cd9c850da70ee894997e29c199b96a9')
validpgpkeys=()

build() {
cd "$pkgname-$pkgver"
./configure --prefix=/usr
make clean
make
}

package() {
install -dm755 ${pkgdir}/usr/bin
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}

FreddieChopin commented on 2017-04-18 06:25

I've contacted Yann E. Morin (maintainer of the kconfig-frontends package) and told him about the problem with new gperf. He implemented an universal fix to the packages to detect gperf version and use appropriate type ("unsigned" for gperf prior to 3.1, "size_t" otherwise). This fix is present in the latest released version, which is kconfig-frontends-4.10.0.1. He also uploaded all the new releases to the download section of his website, so this AUR package could now be updated to use the most recent one and no patching would be required.

Falkenber9 commented on 2017-03-04 08:35

I have uploaded an updated PKGBUILD including the patch to https://gitlab.kn.e-technik.tu-dortmund.de/falkenberg/kconfig-frontends/blob/master/patch-size_t.zip

Regards,
Robert

Falkenber9 commented on 2017-03-01 16:10

The current version is causing a type conflict when compiling:

CC libkconfig_parser_la-yconf.lo
In file included from yconf.c:234:0:
hconf.gperf:141:1: error: conflicting types for 'kconf_id_lookup'
hconf.gperf:12:31: note: previous declaration of 'kconf_id_lookup' was here
static const struct kconf_id *kconf_id_lookup(register const char *str, register unsigned int len);
^~~~~~~~~~~~~~~
make[3]: *** [Makefile:456: libkconfig_parser_la-yconf.lo] Fehler 1



The following patch fixes the problem:

diff -aur kconfig-frontends-3.12.0.0/libs/parser/hconf.gperf kconfig-frontends-3.12.0.0.new/libs/parser/hconf.gperf
--- kconfig-frontends-3.12.0.0/libs/parser/hconf.gperf 2013-11-09 14:31:01.000000000 +0100
+++ kconfig-frontends-3.12.0.0.new/libs/parser/hconf.gperf 2017-03-01 16:54:59.000000000 +0100
@@ -9,7 +9,7 @@

struct kconf_id;

-static const struct kconf_id *kconf_id_lookup(register const char *str, register unsigned int len);
+static const struct kconf_id *kconf_id_lookup(register const char *str, register size_t len);

%%
mainmenu, T_MAINMENU, TF_COMMAND