Package Details: dict-wn 3.1-5

Git Clone URL: https://aur.archlinux.org/dict-wn.git (read-only, click to copy)
Package Base: dict-wn
Description: WordNet for dictd et al.
Upstream URL: https://wordnet.princeton.edu/
Licenses: GPL2, GPL, custom: WordNet License
Conflicts: dictd-wn
Provides: dictd-wn
Submitter: respiranto
Maintainer: respiranto
Last Packager: respiranto
Votes: 20
Popularity: 0.035974
First Submitted: 2015-08-24 20:15 (UTC)
Last Updated: 2024-07-12 16:24 (UTC)

Latest Comments

1 2 3 Next › Last »

pedrormjunior commented on 2025-06-13 17:09 (UTC)

I confirm the same error with hash() as reported by others. I tried building manually with makepkg as well. Maybe it is due to an (apparently) recent update of gcc (version 15.1.1). Whoever is building successfully, could please confirm the gcc version?

Aftermath commented on 2025-06-12 14:34 (UTC)

Hi @lngndvs, and everyone;

I get a similar error and can't build it, too.

The OS is a proper Arch, updated just recently, before trying to build dict-wn. I use aur fetch to download the PKGBUILD’s repository, manually, and I use makepkg to build things, directly.

src and SRCDEST are clean, and the build is done with makepkg -Ccsf.

The error failing the build is as follows:

WordNet is now configured

  Installation directory:               /usr/local/WordNet-3.0

  To build and install WordNet:

    make
    make install

  To run, environment variables should be set as follows:

    PATH - include ${exec_prefix}/bin
    WNHOME - if not using default installation location, set to /usr/local/WordNet-3.0

    See INSTALL file for details and additional environment variables
    which may need to be set on your system.


make: Entering directory '/tmp/makepkg/dict-wn/src/WordNet-3.0/src/grind'
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include    -march=native -O3 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -flto=auto -Wno-error=implicit-function-declaration -Wno-error=int-conversion -Wno-error=implicit-int -MT create.o -MD -MP -MF .deps/create.Tpo -c -o create.o create.c
create.c: In function ‘CreateSymbol’:
create.c:135:19: error: too many arguments to function ‘hash’; expected 0, have 1
  135 |         hashval = hash(s);
      |                   ^~~~ ~
create.c:111:17: note: declared here
  111 | static unsigned hash();
      |                 ^~~~
create.c: At top level:
create.c:142:17: error: conflicting types for ‘hash’; have ‘unsigned int(char *)’
  142 | static unsigned hash(char *s)
      |                 ^~~~
create.c:111:17: note: previous declaration of ‘hash’ with type ‘unsigned int(void)’
  111 | static unsigned hash();
      |                 ^~~~
create.c:111:17: warning: ‘hash’ used but never defined
make: *** [Makefile:442: create.o] Error 1
make: Leaving directory '/tmp/makepkg/dict-wn/src/WordNet-3.0/src/grind'
==> ERROR: A failure occurred in build().
    Aborting...

Pretty similar to what @lngndvs gets.

Lngndvs commented on 2025-06-10 02:03 (UTC)

In the interest of transparency, I am running EndeavourOS, i3WM.

Alan

Lngndvs commented on 2025-06-10 02:01 (UTC)

I have been unable to build this package. Some of the explanations provided here are beyond my capacity, but I tried yay, paru, and makepkg several times.

The issue is in the src/grind directory.

# BEGIN RELEVANT PART OF MESSAGES

make: Entering directory '/home/mrjones/.cache/paru/clone/dict-wn/src/WordNet-3.0/src/grind' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-error=implicit-function-declaration -Wno-error=int-conversion -Wno-error=implicit-int -MT create.o -MD -MP -MF .deps/create.Tpo -c -o create.o create.c create.c: In function ‘CreateSymbol’: create.c:135:19: error: too many arguments to function ‘hash’; expected 0, have 1 135 | hashval = hash(s); | ^~ ~ create.c:111:17: note: declared here 111 | static unsigned hash(); | ^~ create.c: At top level: create.c:142:17: error: conflicting types for ‘hash’; have ‘unsigned int(char )’ 142 | static unsigned hash(char s) | ^~ create.c:111:17: note: previous declaration of ‘hash’ with type ‘unsigned int(void)’ 111 | static unsigned hash(); | ^~ create.c:111:17: warning: ‘hash’ used but never defined make: *** [Makefile:442: create.o] Error 1 make: Leaving directory '/home/mrjones/.cache/paru/clone/dict-wn/src/WordNet-3.0/src/grind' ==> ERROR: A failure occurred in build(). Aborting... error: failed to build 'dict-wn-3.1-5': error: packages failed to build: dict-wn-3.1-5

## END ERROR MESSAGE

This dictionary is an extremely important one, using dictd.

Alan D

Aftermath commented on 2025-05-02 18:10 (UTC)

Hey @S0AndS0,

I couldn't reproduce your issue; it builds successfully with no errors or issues. I don't use yay any more, however.

Can you, please, try to build the PKGBUILD manually with makepkg?

When doing so, do clean the source files of the PKGBUILD fetched from your previous effort to build the package (usually in a directory called src and managed with the SRCDEST variable of makepkg) and also use makepkg -C (-C flag) for a clean build.

S0AndS0 commented on 2025-05-01 17:26 (UTC)

Getting install errors as of 2025-05-01 with the following output from yay;

create.c: In function ‘CreateSymbol’:
create.c:135:19: error: too many arguments to function ‘hash’; expected 0, have 1
  135 |         hashval = hash(s);
      |                   ^~~~ ~
create.c:111:17: note: declared here
  111 | static unsigned hash();
      |                 ^~~~
create.c: At top level:
create.c:142:17: error: conflicting types for ‘hash’; have ‘unsigned int(char *)’
  142 | static unsigned hash(char *s)
      |                 ^~~~
create.c:111:17: note: previous declaration of ‘hash’ with type ‘unsigned int(void)’
  111 | static unsigned hash();
      |                 ^~~~
create.c:111:17: warning: ‘hash’ used but never defined
make: *** [Makefile:442: create.o] Error 1
make: Leaving directory '/home/s0ands0/.cache/yay/dict-wn/src/WordNet-3.0/src/grind'
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: dict-wn-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
dict-wn - exit status 4
Script done.

... Seems up-stream may have changed the type sig. for hash function.

respiranto commented on 2024-07-12 16:25 (UTC)

Hi simonzack,

sorry for the late reply; fixed.

simonzack commented on 2024-05-26 15:55 (UTC)

The grind make command needs to be updated:

make -j1 'CFLAGS=-Wno-implicit-function-declaration -Wno-int-conversion -Wno-implicit-int' -C src/grind/ grind

utkarsh commented on 2021-09-09 11:35 (UTC)

Sorry for the noise!

IMO there was some problem with my AUR helper: paru. But now I have removed it as now I only have 4 AUR packages.

Thank you for quick response.

respiranto commented on 2021-09-08 20:36 (UTC)

Hi utkarsh,

unfortunately, I cannot reproduce your issue.

Please try building in a clean chroot.