Package Details: mecab-ipadic 2.7.0_20070801-10

Git Clone URL: https://aur.archlinux.org/mecab-ipadic.git (read-only, click to copy)
Package Base: mecab-ipadic
Description: IPA dictionary for mecab
Upstream URL: https://taku910.github.io/mecab
Licenses: GPL-2.0-only
Submitter: FSMaxB
Maintainer: envolution
Last Packager: envolution
Votes: 9
Popularity: 0.000000
First Submitted: 2015-08-12 14:03 (UTC)
Last Updated: 2025-09-01 09:28 (UTC)

Latest Comments

1 2 Next › Last »

envolution commented on 2025-09-01 09:28 (UTC)

@taotieren I see now. thank you

taotieren commented on 2025-09-01 09:23 (UTC)

These two lines need to be added; otherwise, I'll get an error when compiling in the devtools environment. Thanks.

makedepends=('git')
...
sed -i "s|^MECAB_DICT_INDEX=.*|MECAB_DICT_INDEX=/usr/lib/mecab/mecab-dict-index|g" configure configure.in

envolution commented on 2025-09-01 07:17 (UTC)

@taotieren thank you

taotieren commented on 2025-09-01 07:08 (UTC)

After making the following modifications, it passes the devtools compilation environment. Can we submit the update? Thank you.

# Maintainer: envolution
# Contributor: Max Bruckner (FSMaxB)
# shellcheck shell=bash disable=SC2034,SC2154
pkgname=mecab-ipadic
pkgver=2.7.0_20070801
pkgrel=9
pkgdesc="IPA dictionary for mecab"
arch=('any')
url="https://taku910.github.io/mecab"
depends=('mecab')
makedepends=('git')
license=(GPL-2.0-only)
#source=("$pkgname-${pkgver/_/-}.tar.gz::https://drive.google.com/uc?id=0B4y35FiV1wh7MWVlSDBCSXZMTXM&export=download")
_tag="2fd29256c6d5e1b10211cac838069ee9ede8c77a"
source=("$pkgname::git+https://github.com/taku910/mecab.git#tag=${_tag}")
md5sums=('5e33399fd830b3c3f66cd4b5c366c989')

prepare() {
  cd "$pkgname/$pkgname"
  sed -i "s|^MECAB_DICT_INDEX=.*|MECAB_DICT_INDEX=/usr/lib/mecab/mecab-dict-index|g" configure configure.in
  ./configure --libexec=/usr/lib/mecab --prefix=/usr --with-charset=utf-8
}
build() {
  cd "$pkgname/$pkgname"
  make
}

package() {
  cd "$pkgname/$pkgname"
  make DESTDIR="$pkgdir/" install
}
# vim:set ts=2 sw=2 et:

haxibami commented on 2025-04-07 09:14 (UTC)

This needs git in makedepends for building in a clean chroot.

LaughingMan commented on 2025-03-17 23:07 (UTC)

It builds fine with makepkg -s but fails to build with paru:

$ paru -S mecab-ipadic --asdeps
:: Resolving dependencies...
:: There are 2 providers available for mecab-ipadic:
:: Repository AUR:
    1) mecab-ipadic  2) mecab-ipadic-git  
Enter a number (default=1): 1
:: Calculating conflicts...
:: Calculating inner conflicts...

Aur (1)           Old Version  New Version       Make Only
aur/mecab-ipadic               2.7.0_20070801-7  No

:: Proceed to review? [Y/n]: y

:: Downloading PKGBUILDs...
 PKGBUILDs up to date
 nothing new to review
fetching devel info...
==> Making package: mecab-ipadic 2.7.0_20070801-7 (Mo 17 Mär 2025 23:53:34 CET)
==> Retrieving sources...
  -> Updating mecab-ipadic git repo...
==> Validating source files with md5sums...
    mecab-ipadic ... Passed
==> Making package: mecab-ipadic 2.7.0_20070801-7 (Mo 17 Mär 2025 23:53:36 CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating mecab-ipadic git repo...
==> Validating source files with md5sums...
    mecab-ipadic ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of mecab-ipadic git repo...
Cloning into 'mecab-ipadic'...
done.
Switched to a new branch 'makepkg'
==> Sources are ready.
mecab-ipadic-2.7.0_20070801-7: parsing pkg list...
==> Making package: mecab-ipadic 2.7.0_20070801-7 (Mo 17 Mär 2025 23:53:39 CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... missing
checking for working autoconf... found
checking for working automake-1.4... missing
checking for working autoheader... found
checking for working makeinfo... found
checking for a BSD-compatible install... /usr/bin/install -c
checking for mecab-config... /usr/bin/mecab-config
configure: creating ./config.status
config.status: creating Makefile
cd . && /home/username/.cache/paru/clone/mecab-ipadic/src/mecab-ipadic/mecab-ipadic/missing aclocal-1.4
WARNING: `aclocal-1.4' is missing on your system.  You should only need it if
         you modified `acinclude.m4' or `configure.in'.  You might want
         to install the `Automake' and `Perl' packages.  Grab them from
         any GNU archive site.
cd . && /home/username/.cache/paru/clone/mecab-ipadic/src/mecab-ipadic/mecab-ipadic/missing automake-1.4 --gnu --include-deps Makefile
WARNING: `automake-1.4' is missing on your system.  You should only need it if
         you modified `Makefile.am', `acinclude.m4' or `configure.in'.
         You might want to install the `Automake' and `Perl' packages.
         Grab them from any GNU archive site.
cd . && autoconf
configure.in:56: warning: AC_OUTPUT should be used without arguments.
configure.in:56: You should run autoupdate.
/bin/sh ./config.status --recheck
running CONFIG_SHELL=/bin/sh /bin/sh ./configure  --libexecdir=/usr/lib --prefix=/usr --with-charset=utf-8  --no-create --no-recursion
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... missing
checking for working autoconf... found
checking for working automake-1.4... missing
checking for working autoheader... found
checking for working makeinfo... found
checking for mecab-config... /usr/bin/mecab-config
configure: creating ./config.status
cd . \
  && CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status
config.status: creating Makefile
/usr/libexec/mecab/mecab-dict-index -d . -o . -f EUC-JP -t utf-8
make: /usr/libexec/mecab/mecab-dict-index: No such file or directory
make: *** [Makefile:253: matrix.bin] Error 127
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'mecab-ipadic-2.7.0_20070801-7': 
error: packages failed to build: mecab-ipadic-2.7.0_20070801-7

emceebois commented on 2025-01-07 17:29 (UTC)

Fixed, thank you!

envolution commented on 2025-01-07 17:17 (UTC)

@emceebois please try this new one

emceebois commented on 2025-01-07 13:59 (UTC)

Unfortunately after doing a clean build from the latest release I'm still seeing very similar issues as homocomputeris:

[user@arch mecab-ipadic]$ makepkg -Csi
==> Making package: mecab-ipadic 2.7.0_20070801-6 (Tue 07 Jan 2025 08:56:39 AM EST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating mecab-ipadic git repo...
==> Validating source files with md5sums...
    mecab-ipadic ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of mecab-ipadic git repo...
Cloning into 'mecab-ipadic'...
done.
Updating files: 100% (453/453), done.
Switched to a new branch 'makepkg'
==> Removing existing $pkgdir/ directory...
==> Starting build()...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... missing
checking for working autoconf... found
checking for working automake-1.4... missing
checking for working autoheader... found
checking for working makeinfo... found
checking for a BSD-compatible install... /usr/bin/install -c
checking for mecab-config... /usr/bin/mecab-config
configure: creating ./config.status
config.status: creating Makefile
cd . && /home/user/.cache/yay/mecab-ipadic/src/mecab-ipadic/mecab-ipadic/missing automake-1.4 --gnu --include-deps Makefile
WARNING: `automake-1.4' is missing on your system.  You should only need it if
         you modified `Makefile.am', `acinclude.m4' or `configure.in'.
         You might want to install the `Automake' and `Perl' packages.
         Grab them from any GNU archive site.
cd . \
  && CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status
config.status: creating Makefile
/usr/libexec/mecab/mecab-dict-index -d . -o . -f EUC-JP -t utf-8
make: /usr/libexec/mecab/mecab-dict-index: No such file or directory
make: *** [Makefile:253: matrix.bin] Error 127
==> ERROR: A failure occurred in build().
    Aborting...
[user@arch mecab-ipadic]$

homocomputeris commented on 2025-01-06 11:07 (UTC)

It works. Thanks!