checking for stdio.h... yes checking sqlite3.h usability... yes checking sqlite3.h presence... yes checking for sqlite3.h... yes checking for SQLITE3... yes checking for HUNSPELL... yes checking hunspell.h usability... yes checking hunspell.h presence... yes checking for hunspell.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking for LIBEDIT... yes checking for history_winit in -ledit... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking for regexec... yes ./configure: line 18581: syntax error near unexpected token `2.0.0,' ./configure: line 18581: `AX_PKG_SWIG(2.0.0, SwigF=yes, SwigF=no)' !!! Please attach the following file when seeking support: !!! /var/tmp/portage/dev-libs/link-grammar-5.3.3/work/link-grammar-link-grammar-5.3.3/config.log * ERROR: dev-libs/link-grammar-5.3.3::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 133: Called src_configure * environment, line 5329: Called gnome2_src_configure '--enable-shared' '--disable-aspell' '--enable-hunspell' '--disable-java-bindings' '--disable-python-bindings' '--disable-static' '--disable-pthreads' '--with-hunspell-dictdir=/usr/share/myspell' * environment, line 2399: Called econf '--disable-maintainer-mode' '--docdir=/usr/share/doc/link-grammar-5.3.3' '--enable-shared' '--disable-aspell' '--enable-hunspell' '--disable-java-bindings' '--disable-python-bindings' '--disable-static' '--disable-pthreads' '--with-hunspell-dictdir=/usr/share/myspell' * phase-helpers.sh, line 662: Called __helpers_die 'econf failed' * isolated-functions.sh, line 117: Called die * The specific snippet of code: * die "$@" * * If you need support, post the output of `emerge --info '=dev-libs/link-grammar-5.3.3::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-libs/link-grammar-5.3.3::gentoo'`. !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info =link-grammar-5.3.3 * The complete build log is located at '/var/tmp/portage/dev-libs/link-grammar-5.3.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/link-grammar-5.3.3/temp/environment'. * Working directory: '/var/tmp/portage/dev-libs/link-grammar-5.3.3/work/link-grammar-link-grammar-5.3.3' * S: '/var/tmp/portage/dev-libs/link-grammar-5.3.3/work/link-grammar-link-grammar-5.3.3'
Created attachment 425650 [details] build.log
Portage 2.2.27 (python 3.4.3-final-0, default/linux/amd64/13.0, gcc-5.3.0, glibc-2.22-r1, 4.1.15-gentoo-r1 x86_64) ================================================================= System uname: Linux-4.1.15-gentoo-r1-x86_64-Intel-R-_Xeon-R-_CPU_E5345_@_2.33GHz-with-gentoo-2.2 KiB Mem: 1011120 total, 390924 free KiB Swap: 3145724 total, 3085408 free sh bash 4.3_p42-r2 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 distcc 3.2rc1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.3_p42-r2::gentoo dev-lang/perl: 5.22.1::gentoo dev-lang/python: 2.7.11-r2::gentoo, 3.4.3-r7::gentoo dev-util/cmake: 3.4.3::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.20.4::gentoo sys-apps/sandbox: 2.10-r1::gentoo sys-devel/autoconf: 2.69-r1::gentoo sys-devel/automake: 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 4.9.3::gentoo, 5.3.0::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r2::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers) sys-libs/glibc: 2.22-r1::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: git+ssh://git@git.gentoo.org/repo/gentoo.git sync-user: grknight priority: -1000 crossdev location: /var/repo/crossdev masters: gentoo grknight location: /var/lib/layman/grknight sync-type: git sync-uri: git+ssh://git@github.com:grknight/gentoo.git sync-user: grknight masters: gentoo mysql mysql location: /var/lib/layman/mysql sync-type: laymansync sync-uri: git://anongit.gentoo.org/proj/mysql.git masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe" DISTDIR="/var/lib/portage/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build=y --keep-going" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j2" PKGDIR="/var/lib/portage/distfiles/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 mmx mmxext modules multilib mysql ncurses nls nptl openmp pam pcre readline seccomp session sse sse2 ssl unicode xattr zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php5-5 php7-0" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" USE_PYTHON="3.4 2.7" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 425662 [details] config.log
*** Bug 575282 has been marked as a duplicate of this bug. ***
[master 6f692f2] dev-libs/link-grammar: Fix java dependency and ensure all phases from eclasses are really executed (#574872), it needs swig (#574888), and a few more fixes and cosmetic things 1 file changed, 29 insertions(+), 26 deletions(-) rename dev-libs/link-grammar/{link-grammar-5.3.3.ebuild => link-grammar-5.3.3-r1.ebuild} (53%)
Still have the same error
It builds for me with swig-3.0.5, what version are you using?
(In reply to Pacho Ramos from comment #7) > It builds for me with swig-3.0.5, what version are you using? This was on an ~amd64 box with swig-3.0.8
Upstream autogen.sh contains: # TODO: make sure that ac_pkg_swig.m4 gets installed in m4 directory ... The file can be found at https://www.gnu.org/software/autoconf-archive/ax_pkg_swig.html I would advise them to check in a copy into ./ac-helpers.
*** Bug 578288 has been marked as a duplicate of this bug. ***
(In reply to Felix Janda from comment #9) > Upstream autogen.sh contains: > > # TODO: make sure that ac_pkg_swig.m4 gets installed in m4 directory ... > > The file can be found at > https://www.gnu.org/software/autoconf-archive/ax_pkg_swig.html > I would advise them to check in a copy into ./ac-helpers. Package dev-libs/link-grammar needs to be made dependent of sys-devel/autoconf-archive
Fixed in 5.3.9 bump, thanks for reporting.