Package Details: idutils 4.6-2

Git Clone URL: https://aur.archlinux.org/idutils.git (read-only, click to copy)
Package Base: idutils
Description: A package of language independent tools that indexes program identifiers, literal numbers, or words of human-readable text.
Upstream URL: http://www.gnu.org/software/idutils/
Licenses: GPL
Replaces: id-utils
Submitter: yhfudev
Maintainer: petronny
Last Packager: petronny
Votes: 15
Popularity: 0.000000
First Submitted: 2015-08-31 03:30 (UTC)
Last Updated: 2022-07-17 14:07 (UTC)

Latest Comments

timourf commented on 2020-08-16 06:38 (UTC) (edited on 2020-08-16 06:39 (UTC) by timourf)

Doesn't compile with newer versions of glibc because the source is checking the value of GNU_LIBRARY, which is deprecated and replaced by GLIBC. A quick fix is to add the following two lines before "./configure" in build:

sed -i 's/__GNU_LIBRARY__ == 1/__GNU_LIBRARY__ == 1 || defined __GLIBC__/' lib/fseterr.c
sed -i 's/__GNU_LIBRARY__ == 1/__GNU_LIBRARY__ == 1 || defined __GLIBC__/' lib/fseeko.c

chopps commented on 2018-09-05 23:48 (UTC) (edited on 2018-09-05 23:48 (UTC) by chopps)

Doesn't build for me:

gcc -DHAVE_CONFIG_H -I.   -D_FORTIFY_SOURCE=2  -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT fseterr.o -MD -MP -MF .deps/fseterr.Tpo -c -o fseterr.o fseterr.c
fseterr.c: In function 'fseterr':
fseterr.c:74:3: error: #error "Please port gnulib fseterr.c to your platform! Look at the definitions of ferror and clearerr on your system, then report this to bug-gnulib."
  #error "Please port gnulib fseterr.c to your platform! Look at the definitions of ferror and clearerr on your system, then report this to bug-gnulib."
   ^~~~~
make[3]: *** [Makefile:1590: fseterr.o] Error 1

aishpant commented on 2017-12-07 11:48 (UTC) (edited on 2017-12-07 11:49 (UTC) by aishpant)

If libuser is not installed, lines 31 & 32 should be removed.

mv $pkgdir/usr/bin/lid $pkgdir/usr/bin/lid-idutils

mv $pkgdir/usr/share/man/man1/lid.1 $pkgdir/usr/share/man/man1/lid-idutils.1

chrishamm commented on 2015-11-09 20:03 (UTC)

Hi, you should replace line 29 with make DESTDIR="$pkgdir/" install or makepkg produces an empty package.