Skip to content

Instantly share code, notes, and snippets.

@nima2007
Created December 31, 2020 01:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nima2007/cb7f5e51bceba62445813aedc054bfd6 to your computer and use it in GitHub Desktop.
Save nima2007/cb7f5e51bceba62445813aedc054bfd6 to your computer and use it in GitHub Desktop.
ubuntu mcrypt
nmv@ubuntu:~$ cd Desktop/
nmv@ubuntu:~/Desktop$ ls
nixpkgs
nmv@ubuntu:~/Desktop$ cd
cd cd-fix-profile cd-it8
cd-create-profile cd-iccdump
nmv@ubuntu:~/Desktop$ cd
cd cd-fix-profile cd-it8
cd-create-profile cd-iccdump
nmv@ubuntu:~/Desktop$ cd nixpkgs/
nmv@ubuntu:~/Desktop/nixpkgs$ ls
COPYING default.nix doc flake.nix lib maintainers nixos pkgs README.md
nmv@ubuntu:~/Desktop/nixpkgs$ nix-build --option sandbox true default.nix -A mcrypt
these derivations will be built:
/nix/store/l3618c66z500xzvyamkbf39r5nf82zy7-mcrypt-2.6.8.drv
these paths will be fetched (53.63 MiB download, 234.08 MiB unpacked):
/nix/store/134fdr0yrl4wgrrasxn9d3s8vzcm5lxq-gnugrep-3.6
/nix/store/1yvpgm763b3hvg8q4fzpzmflr5674x4j-glibc-2.32-10
/nix/store/4l7wsi6h6283194r6fqy1731qxlagq62-bash-4.4-p23
/nix/store/57awdsrj50qrqkgvj0yn344j35f908l2-bzip2-1.0.6.0.1
/nix/store/5f1hy0sjzx0bkvcwz1igxxcf58w72n3l-mcrypt-2.6.8.tar.gz
/nix/store/6mic0pcmp4va0ghx7hn5wl3jl4ll4h2q-gnumake-4.3
/nix/store/6wzkn6gdpj3psqjgbfx858wd3dhanj12-diffutils-3.7
/nix/store/7d2w3lafm8cla7n6ii5jskhsnqg4zv3a-stdenv-linux
/nix/store/7niy0yd0ygv0wa05kl5l46x6fdflpwf1-glibc-2.32-10-bin
/nix/store/8gsdifv2q3hnq42v7ddk38nmiagmjd6c-coreutils-8.32
/nix/store/9mlv9nkdpq9x2g6nbvldbvzkinikpzjc-libmcrypt-2.5.8
/nix/store/b96dqbx6pri2xp2xxlq6i269virrdaw6-gcc-wrapper-9.3.0
/nix/store/bl6fl6zppf5bq27vznl4yqx6k70wn7ly-zlib-1.2.11
/nix/store/c13jjm75vr23fv15wr1gqvlkkf6s1m7g-libidn2-2.3.0
/nix/store/gm4gjb3pkyxyj54kb4fizldvr60cpb2l-gnutar-1.32
/nix/store/hzvfm203h5argiylhqprnpwznxxbdmj3-xz-5.2.5-bin
/nix/store/ip7xkk70anay3k7bp2cr6aqdg0mcdja2-binutils-wrapper-2.31.1
/nix/store/isy60my0ijjzh49rscgdb1i2457nf7lp-gcc-9.3.0-lib
/nix/store/jwcfz0gj6gkpivssldi024q3g6p5vklc-linux-headers-5.9.8
/nix/store/k857ipr76mc95m2rjp36wgc53wsqwj5f-attr-2.4.48
/nix/store/kcp0y7g1ir4dxq2gqz687i4vb7gqy8s0-binutils-2.31.1
/nix/store/kg1ck8dgi10yqwmm20gi7gx5m3sr5jdq-patchelf-0.12
/nix/store/khvalqldk47cx8d54gik9jrqsinzmwng-findutils-4.7.0
/nix/store/mi9mi8idw4d504aqmdwr2dq89g2ghsf7-mhash-0.9.9.9
/nix/store/myska9y3fhkymhkp6rn3zqrgjwyq9wx3-glibc-2.32-10-dev
/nix/store/n4a8ycwfddz0nb2y19h4px5gin6z95z3-pcre-8.44
/nix/store/ngc68ngmymx2vmbj6gih07n7z2024ffj-libunistring-0.9.10
/nix/store/nppp73f80cpz16c917nn553a4rq899ql-acl-2.2.53
/nix/store/pj616ldh4sbmqj7ad6dhmfcawfzgqpqf-bzip2-1.0.6.0.1-bin
/nix/store/q3ppqi1npx3vnsdlk8hk9s4p3adc4ygp-gnused-4.8
/nix/store/q7549l3ybw3r0zh6r7rfgv81qm5gz8cn-expand-response-params
/nix/store/q8iwxvjilsnd3np9bgwk5z0bglvdk384-xz-5.2.5
/nix/store/svhnwsc7rbzrfcfn0y1hsry1m8yi0y88-gzip-1.10
/nix/store/wav2vx6iaxvkmzcwzwa127p6jri4rqdz-patch-2.7.6
/nix/store/wmzmnnrj780268ybilmcfyd3grn5qzi6-gcc-9.3.0
/nix/store/xh6nn1ggd7l4w1yx7yphvjvizdk2d3ay-ed-1.16
/nix/store/y9rbfriadb1gq5l8hjm8476cvjjq38ww-gawk-5.1.0
copying path '/nix/store/5f1hy0sjzx0bkvcwz1igxxcf58w72n3l-mcrypt-2.6.8.tar.gz' from 'https://cache.nixos.org'...
copying path '/nix/store/ngc68ngmymx2vmbj6gih07n7z2024ffj-libunistring-0.9.10' from 'https://cache.nixos.org'...
copying path '/nix/store/jwcfz0gj6gkpivssldi024q3g6p5vklc-linux-headers-5.9.8' from 'https://cache.nixos.org'...
copying path '/nix/store/c13jjm75vr23fv15wr1gqvlkkf6s1m7g-libidn2-2.3.0' from 'https://cache.nixos.org'...
copying path '/nix/store/1yvpgm763b3hvg8q4fzpzmflr5674x4j-glibc-2.32-10' from 'https://cache.nixos.org'...
copying path '/nix/store/k857ipr76mc95m2rjp36wgc53wsqwj5f-attr-2.4.48' from 'https://cache.nixos.org'...
copying path '/nix/store/4l7wsi6h6283194r6fqy1731qxlagq62-bash-4.4-p23' from 'https://cache.nixos.org'...
copying path '/nix/store/nppp73f80cpz16c917nn553a4rq899ql-acl-2.2.53' from 'https://cache.nixos.org'...
copying path '/nix/store/57awdsrj50qrqkgvj0yn344j35f908l2-bzip2-1.0.6.0.1' from 'https://cache.nixos.org'...
copying path '/nix/store/8gsdifv2q3hnq42v7ddk38nmiagmjd6c-coreutils-8.32' from 'https://cache.nixos.org'...
copying path '/nix/store/pj616ldh4sbmqj7ad6dhmfcawfzgqpqf-bzip2-1.0.6.0.1-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/6wzkn6gdpj3psqjgbfx858wd3dhanj12-diffutils-3.7' from 'https://cache.nixos.org'...
copying path '/nix/store/xh6nn1ggd7l4w1yx7yphvjvizdk2d3ay-ed-1.16' from 'https://cache.nixos.org'...
copying path '/nix/store/q7549l3ybw3r0zh6r7rfgv81qm5gz8cn-expand-response-params' from 'https://cache.nixos.org'...
copying path '/nix/store/khvalqldk47cx8d54gik9jrqsinzmwng-findutils-4.7.0' from 'https://cache.nixos.org'...
copying path '/nix/store/y9rbfriadb1gq5l8hjm8476cvjjq38ww-gawk-5.1.0' from 'https://cache.nixos.org'...
copying path '/nix/store/isy60my0ijjzh49rscgdb1i2457nf7lp-gcc-9.3.0-lib' from 'https://cache.nixos.org'...
copying path '/nix/store/7niy0yd0ygv0wa05kl5l46x6fdflpwf1-glibc-2.32-10-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/6mic0pcmp4va0ghx7hn5wl3jl4ll4h2q-gnumake-4.3' from 'https://cache.nixos.org'...
copying path '/nix/store/myska9y3fhkymhkp6rn3zqrgjwyq9wx3-glibc-2.32-10-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/q3ppqi1npx3vnsdlk8hk9s4p3adc4ygp-gnused-4.8' from 'https://cache.nixos.org'...
copying path '/nix/store/gm4gjb3pkyxyj54kb4fizldvr60cpb2l-gnutar-1.32' from 'https://cache.nixos.org'...
copying path '/nix/store/svhnwsc7rbzrfcfn0y1hsry1m8yi0y88-gzip-1.10' from 'https://cache.nixos.org'...
copying path '/nix/store/9mlv9nkdpq9x2g6nbvldbvzkinikpzjc-libmcrypt-2.5.8' from 'https://cache.nixos.org'...
copying path '/nix/store/mi9mi8idw4d504aqmdwr2dq89g2ghsf7-mhash-0.9.9.9' from 'https://cache.nixos.org'...
copying path '/nix/store/wav2vx6iaxvkmzcwzwa127p6jri4rqdz-patch-2.7.6' from 'https://cache.nixos.org'...
copying path '/nix/store/kg1ck8dgi10yqwmm20gi7gx5m3sr5jdq-patchelf-0.12' from 'https://cache.nixos.org'...
copying path '/nix/store/n4a8ycwfddz0nb2y19h4px5gin6z95z3-pcre-8.44' from 'https://cache.nixos.org'...
copying path '/nix/store/q8iwxvjilsnd3np9bgwk5z0bglvdk384-xz-5.2.5' from 'https://cache.nixos.org'...
copying path '/nix/store/134fdr0yrl4wgrrasxn9d3s8vzcm5lxq-gnugrep-3.6' from 'https://cache.nixos.org'...
copying path '/nix/store/hzvfm203h5argiylhqprnpwznxxbdmj3-xz-5.2.5-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/bl6fl6zppf5bq27vznl4yqx6k70wn7ly-zlib-1.2.11' from 'https://cache.nixos.org'...
copying path '/nix/store/kcp0y7g1ir4dxq2gqz687i4vb7gqy8s0-binutils-2.31.1' from 'https://cache.nixos.org'...
copying path '/nix/store/wmzmnnrj780268ybilmcfyd3grn5qzi6-gcc-9.3.0' from 'https://cache.nixos.org'...
copying path '/nix/store/ip7xkk70anay3k7bp2cr6aqdg0mcdja2-binutils-wrapper-2.31.1' from 'https://cache.nixos.org'...
copying path '/nix/store/b96dqbx6pri2xp2xxlq6i269virrdaw6-gcc-wrapper-9.3.0' from 'https://cache.nixos.org'...
copying path '/nix/store/7d2w3lafm8cla7n6ii5jskhsnqg4zv3a-stdenv-linux' from 'https://cache.nixos.org'...
building '/nix/store/l3618c66z500xzvyamkbf39r5nf82zy7-mcrypt-2.6.8.drv'...
unpacking sources
unpacking source archive /nix/store/5f1hy0sjzx0bkvcwz1igxxcf58w72n3l-mcrypt-2.6.8.tar.gz
source root is mcrypt-2.6.8
setting SOURCE_DATE_EPOCH to timestamp 1226866190 of file mcrypt-2.6.8/po/stamp-po
patching sources
applying patch /nix/store/sh9ngrq3p4c54hl3d5igg2da1pyfmqx5-format-string_CVE-2012-4426.patch
patching file src/errors.c
Hunk #1 succeeded at 24 (offset -1 lines).
applying patch /nix/store/19s0ck8i40k181dsnhc4p1kn49f1hxzm-overflow_CVE-2012-4409.patch
patching file src/extra.c
applying patch /nix/store/y32c8ijj412faricq8m7976pfpaja81p-segv.patch
patching file src/rfc2440.c
Hunk #2 succeeded at 810 with fuzz 2.
applying patch /nix/store/1zjvkcfhnqp5i6jckgmh1fpbw79y2r75-sprintf_CVE-2012-4527.patch
patching file src/mcrypt.c
Hunk #1 succeeded at 46 (offset 5 lines).
applying patch /nix/store/q0wlgpmsr5671cppizhiaxvrnj76vw2y-malloc_to_stdlib.patch
patching file src/rfc2440.c
configuring
fixing libtool script ./ltmain.sh
configure flags: --disable-static --disable-dependency-tracking --prefix=/nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /nix/store/8gsdifv2q3hnq42v7ddk38nmiagmjd6c-coreutils-8.32/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /nix/store/8gsdifv2q3hnq42v7ddk38nmiagmjd6c-coreutils-8.32/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... none
checking for a sed that does not truncate output... /nix/store/q3ppqi1npx3vnsdlk8hk9s4p3adc4ygp-gnused-4.8/bin/sed
checking for grep that handles long lines and -e... /nix/store/134fdr0yrl4wgrrasxn9d3s8vzcm5lxq-gnugrep-3.6/bin/grep
checking for egrep... /nix/store/134fdr0yrl4wgrrasxn9d3s8vzcm5lxq-gnugrep-3.6/bin/grep -E
checking for fgrep... /nix/store/134fdr0yrl4wgrrasxn9d3s8vzcm5lxq-gnugrep-3.6/bin/grep -F
checking for ld used by gcc... ld
checking if the linker (ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... nm
checking the name lister (nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking for ld option to reload object files... -r
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse nm output from gcc object... ok
./configure: line 1: /usr/bin/file: not found
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) none
checking for libmcrypt-config... /nix/store/9mlv9nkdpq9x2g6nbvldbvzkinikpzjc-libmcrypt-2.5.8/bin/libmcrypt-config
checking for libmcrypt - version >= 2.5.0... yes
checking for mhash_keygen in -lmhash... yes
checking whether mhash >= 0.8.15... yes
checking whether NLS is requested... yes
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking for ld used by GCC... ld
checking if the linker (ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for compress in -lz... no
configure: WARNING: ***
*** ZLIB was not found. You will not be able to use ZLIB compression
*** in OpenPGP packets.
checking for an ANSI C-conforming const... yes
checking for a BSD-compatible install... /nix/store/8gsdifv2q3hnq42v7ddk38nmiagmjd6c-coreutils-8.32/bin/install -c
checking whether ln -s works... yes
checking for rm... /nix/store/8gsdifv2q3hnq42v7ddk38nmiagmjd6c-coreutils-8.32/bin/rm
checking for gzip... /nix/store/svhnwsc7rbzrfcfn0y1hsry1m8yi0y88-gzip-1.10/bin/gzip
checking for bzip2... /nix/store/pj616ldh4sbmqj7ad6dhmfcawfzgqpqf-bzip2-1.0.6.0.1-bin/bin/bzip2
checking whether use of /dev/random is requested... yes
checking whether static link is requested... no
checking whether in maintanance mode... no
checking whether included getpass is requested... yes
checking for random device... yes
checking whether byte ordering is bigendian... no
checking return type of signal handlers... void
checking for unsigned long int... yes
checking size of unsigned long int... 8
checking for unsigned int... yes
checking size of unsigned int... 4
checking for unsigned short int... yes
checking size of unsigned short int... 2
checking for unsigned char... yes
checking size of unsigned char... 1
checking for off_t... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for ANSI C header files... (cached) yes
checking for unistd.h... (cached) yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for strings.h... (cached) yes
checking mcrypt.h usability... yes
checking mcrypt.h presence... yes
checking for mcrypt.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking sgtty.h usability... yes
checking sgtty.h presence... yes
checking for sgtty.h... yes
checking for bzero... yes
checking for signal... yes
checking for sigaction... yes
checking for memset... yes
checking for fsync... yes
checking for siglongjmp... yes
checking for strlcpy... no
checking for umask... yes
checking for utime... yes
checking for memmove... yes
checking for bcopy... yes
checking for getpwuid... yes
checking for waitpid... yes
checking for kill... yes
checking for ftime... yes
checking for lstat... yes
checking for stat... yes
checking for fseeko... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
/nix/store/8gsdifv2q3hnq42v7ddk38nmiagmjd6c-coreutils-8.32/bin/rm: cannot remove 'libtoolT': No such file or directory
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing default commands
building
build flags: SHELL=/nix/store/4l7wsi6h6283194r6fqy1731qxlagq62-bash-4.4-p23/bin/bash
make all-recursive
make[1]: Entering directory '/build/mcrypt-2.6.8'
Making all in doc
make[2]: Entering directory '/build/mcrypt-2.6.8/doc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/build/mcrypt-2.6.8/doc'
Making all in src
make[2]: Entering directory '/build/mcrypt-2.6.8/src'
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8/share/locale\" -I../intl -g -O2 -I/nix/store/9mlv9nkdpq9x2g6nbvldbvzkinikpzjc-libmcrypt-2.5.8/include -Wall -c extra.c
extra.c: In function 'write_file_head':
extra.c:367:6: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
367 | buf = mhash_get_hash_name(hash_algorithm);
| ^
extra.c: In function 'test_file_headers':
extra.c:636:9: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses]
636 | if ( !(!x & 0x80) && bare_flag == FALSE) {
| ^~
extra.c: In function '_mcrypt_start_timer':
extra.c:690:2: warning: 'ftime' is deprecated [-Wdeprecated-declarations]
690 | ftime(&start_time);
| ^~~~~
In file included from extra.c:40:
/nix/store/myska9y3fhkymhkp6rn3zqrgjwyq9wx3-glibc-2.32-10-dev/include/sys/timeb.h:39:12: note: declared here
39 | extern int ftime (struct timeb *__timebuf)
| ^~~~~
extra.c: In function '_mcrypt_end_timer':
extra.c:698:2: warning: 'ftime' is deprecated [-Wdeprecated-declarations]
698 | ftime(&end_time);
| ^~~~~
In file included from extra.c:40:
/nix/store/myska9y3fhkymhkp6rn3zqrgjwyq9wx3-glibc-2.32-10-dev/include/sys/timeb.h:39:12: note: declared here
39 | extern int ftime (struct timeb *__timebuf)
| ^~~~~
extra.c: In function 'read_until_null':
extra.c:161:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
161 | fread(&pointer[i], 1, 1, fstream);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extra.c: In function 'check_file_head':
extra.c:182:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
182 | fread(buf, 1, 3, fstream);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
extra.c:183:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
183 | fread(&flags, 1, 1, fstream);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
extra.c:228:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
228 | fread(&keylen, sizeof(short int), 1, fstream);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extra.c:240:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
240 | fread(&sflag, 1, 1, fstream);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
extra.c:247:6: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
247 | fread(tmp_buf, 1, *salt_size,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
248 | fstream);
| ~~~~~~~~
extra.c: In function 'read_iv':
extra.c:289:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
289 | fread(IV, 1, ivsize, fstream);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
At top level:
extra.c:45:13: warning: 'rcsid' defined but not used [-Wunused-variable]
45 | static char rcsid[] =
| ^~~~~
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8/share/locale\" -I../intl -g -O2 -I/nix/store/9mlv9nkdpq9x2g6nbvldbvzkinikpzjc-libmcrypt-2.5.8/include -Wall -c mcrypt.c
mcrypt.c: In function 'check_hash_algo':
mcrypt.c:113:9: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
113 | y = mhash_get_hash_name(i);
| ^
mcrypt.c: In function 'main':
mcrypt.c:191:43: warning: variable 'used_algo' set but not used [-Wunused-but-set-variable]
191 | int x, y, i, file_count = 0, keys = 0, used_algo = FALSE;
| ^~~~~~~~~
At top level:
mcrypt.c:44:13: warning: 'rcsid' defined but not used [-Wunused-variable]
44 | static char rcsid[] =
| ^~~~~
In file included from /nix/store/myska9y3fhkymhkp6rn3zqrgjwyq9wx3-glibc-2.32-10-dev/include/string.h:519,
from /nix/store/mi9mi8idw4d504aqmdwr2dq89g2ghsf7-mhash-0.9.9.9/include/mutils/mincludes.h:62,
from /nix/store/mi9mi8idw4d504aqmdwr2dq89g2ghsf7-mhash-0.9.9.9/include/mhash.h:6,
from ./defines.h:8,
from mcrypt.c:25:
In function 'strncpy',
inlined from 'remove_suffix' at mcrypt.c:738:8,
inlined from 'main' at mcrypt.c:540:14:
/nix/store/myska9y3fhkymhkp6rn3zqrgjwyq9wx3-glibc-2.32-10-dev/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mcrypt.c: In function 'main':
mcrypt.c:718:9: note: length computed here
718 | y = strlen(filename);
| ^~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8/share/locale\" -I../intl -g -O2 -I/nix/store/9mlv9nkdpq9x2g6nbvldbvzkinikpzjc-libmcrypt-2.5.8/include -Wall -c keys.c
keys.c:29:13: warning: 'rcsid' defined but not used [-Wunused-variable]
29 | static char rcsid[] = "$Id: keys.c,v 1.2 2007/11/07 17:10:20 nmav Exp $";
| ^~~~~
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8/share/locale\" -I../intl -g -O2 -I/nix/store/9mlv9nkdpq9x2g6nbvldbvzkinikpzjc-libmcrypt-2.5.8/include -Wall -c random.c
random.c:27:13: warning: 'rcsid' defined but not used [-Wunused-variable]
27 | static char rcsid[] = "$Id: random.c,v 1.2 2007/11/07 17:10:22 nmav Exp $";
| ^~~~~
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8/share/locale\" -I../intl -g -O2 -I/nix/store/9mlv9nkdpq9x2g6nbvldbvzkinikpzjc-libmcrypt-2.5.8/include -Wall -c rndunix.c
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8/share/locale\" -I../intl -g -O2 -I/nix/store/9mlv9nkdpq9x2g6nbvldbvzkinikpzjc-libmcrypt-2.5.8/include -Wall -c xmalloc.c
xmalloc.c:23:13: warning: 'rcsid' defined but not used [-Wunused-variable]
23 | static char rcsid[] = "$Id: xmalloc.c,v 1.2 2007/11/07 17:10:23 nmav Exp $";
| ^~~~~
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8/share/locale\" -I../intl -g -O2 -I/nix/store/9mlv9nkdpq9x2g6nbvldbvzkinikpzjc-libmcrypt-2.5.8/include -Wall -c functions.c
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8/share/locale\" -I../intl -g -O2 -I/nix/store/9mlv9nkdpq9x2g6nbvldbvzkinikpzjc-libmcrypt-2.5.8/include -Wall -c errors.c
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8/share/locale\" -I../intl -g -O2 -I/nix/store/9mlv9nkdpq9x2g6nbvldbvzkinikpzjc-libmcrypt-2.5.8/include -Wall -c bits.c
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8/share/locale\" -I../intl -g -O2 -I/nix/store/9mlv9nkdpq9x2g6nbvldbvzkinikpzjc-libmcrypt-2.5.8/include -Wall -c openpgp.c
openpgp.c: In function 'pgp_encrypt_wrap':
openpgp.c:40:49: warning: pointer targets in passing argument 2 of 'get_password' differ in signedness [-Wpointer-sign]
40 | if (pass==NULL) _pass = get_password( ENCRYPT, &len);
| ^~~~
| |
| int *
In file included from openpgp.c:24:
./extra.h:10:8: note: expected 'unsigned int *' but argument is of type 'int *'
10 | char * get_password( int mode, unsigned int *len);
| ^~~~~~~~~~~~
openpgp.c: In function 'pgp_decrypt_wrap':
openpgp.c:62:49: warning: pointer targets in passing argument 2 of 'get_password' differ in signedness [-Wpointer-sign]
62 | if (pass==NULL) _pass = get_password( DECRYPT, &len);
| ^~~~
| |
| int *
In file included from openpgp.c:24:
./extra.h:10:8: note: expected 'unsigned int *' but argument is of type 'int *'
10 | char * get_password( int mode, unsigned int *len);
| ^~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8/share/locale\" -I../intl -g -O2 -I/nix/store/9mlv9nkdpq9x2g6nbvldbvzkinikpzjc-libmcrypt-2.5.8/include -Wall -c rndwin32.c
rndwin32.c:18:13: warning: 'rcsid' defined but not used [-Wunused-variable]
18 | static char rcsid[] = "$Id: rndwin32.c,v 1.3 2007/11/07 17:14:58 nmav Exp $";
| ^~~~~
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8/share/locale\" -I../intl -g -O2 -I/nix/store/9mlv9nkdpq9x2g6nbvldbvzkinikpzjc-libmcrypt-2.5.8/include -Wall -c environ.c
environ.c:28:13: warning: 'rcsid' defined but not used [-Wunused-variable]
28 | static char rcsid[] = "$Id: environ.c,v 1.2 2007/11/07 17:10:19 nmav Exp $";
| ^~~~~
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8/share/locale\" -I../intl -g -O2 -I/nix/store/9mlv9nkdpq9x2g6nbvldbvzkinikpzjc-libmcrypt-2.5.8/include -Wall -c getpass.c
getpass.c: In function 'readpass':
getpass.c:106:5: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
106 | ap = asterix;
| ^
At top level:
getpass.c:31:13: warning: 'rcsid' defined but not used [-Wunused-variable]
31 | static char rcsid[] = "$Id: getpass.c,v 1.1.1.1 2003/09/08 17:25:49 imipak Exp $";
| ^~~~~
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8/share/locale\" -I../intl -g -O2 -I/nix/store/9mlv9nkdpq9x2g6nbvldbvzkinikpzjc-libmcrypt-2.5.8/include -Wall -c ufc_crypt.c
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8/share/locale\" -I../intl -g -O2 -I/nix/store/9mlv9nkdpq9x2g6nbvldbvzkinikpzjc-libmcrypt-2.5.8/include -Wall -c popen.c
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8/share/locale\" -I../intl -g -O2 -I/nix/store/9mlv9nkdpq9x2g6nbvldbvzkinikpzjc-libmcrypt-2.5.8/include -Wall -c classic.c
classic.c: In function 'decrypt_general':
classic.c:940:11: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
940 | command = mhash_get_hash_name(hash_algorithm);
| ^
classic.c: In function 'print_hashlist':
classic.c:1056:12: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
1056 | tmpc = mhash_get_hash_name(tmpi);
| ^
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8/share/locale\" -I../intl -g -O2 -I/nix/store/9mlv9nkdpq9x2g6nbvldbvzkinikpzjc-libmcrypt-2.5.8/include -Wall -c rfc2440.c
rfc2440.c: In function 'dek_load':
rfc2440.c:566:21: warning: pointer targets in passing argument 5 of 'mhash_keygen_ext' differ in signedness [-Wpointer-sign]
566 | DIM (d->key), pass, strlen(pass));
| ^~~~
| |
| char *
In file included from /nix/store/mi9mi8idw4d504aqmdwr2dq89g2ghsf7-mhash-0.9.9.9/include/mhash.h:10,
from ./defines.h:8,
from rfc2440.c:18:
/nix/store/mi9mi8idw4d504aqmdwr2dq89g2ghsf7-mhash-0.9.9.9/include/mutils/mhash.h:108:24: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *'
108 | mutils_word8 *password, mutils_word32 passwordlen);
| ^
rfc2440.c: In function 'dek_create':
rfc2440.c:617:21: warning: pointer targets in passing argument 5 of 'mhash_keygen_ext' differ in signedness [-Wpointer-sign]
617 | DIM (d->key), pass, strlen(pass));
| ^~~~
| |
| char *
In file included from /nix/store/mi9mi8idw4d504aqmdwr2dq89g2ghsf7-mhash-0.9.9.9/include/mhash.h:10,
from ./defines.h:8,
from rfc2440.c:18:
/nix/store/mi9mi8idw4d504aqmdwr2dq89g2ghsf7-mhash-0.9.9.9/include/mutils/mhash.h:108:24: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *'
108 | mutils_word8 *password, mutils_word32 passwordlen);
| ^
rfc2440.c: In function 'symkey_enc_decode':
rfc2440.c:635:27: warning: pointer targets in passing argument 2 of 'header_decode' differ in signedness [-Wpointer-sign]
635 | header_decode(dat->d, &tag, &headlen, &offset, NULL);
| ^~~~
| |
| int *
rfc2440.c:426:41: note: expected 'uint32 *' {aka 'unsigned int *'} but argument is of type 'int *'
426 | header_decode(const uchar *buf, uint32 *tag, uint32 *len,
| ~~~~~~~~^~~
rfc2440.c:635:33: warning: pointer targets in passing argument 3 of 'header_decode' differ in signedness [-Wpointer-sign]
635 | header_decode(dat->d, &tag, &headlen, &offset, NULL);
| ^~~~~~~~
| |
| int *
rfc2440.c:426:54: note: expected 'uint32 *' {aka 'unsigned int *'} but argument is of type 'int *'
426 | header_decode(const uchar *buf, uint32 *tag, uint32 *len,
| ~~~~~~~~^~~
rfc2440.c:635:43: warning: pointer targets in passing argument 4 of 'header_decode' differ in signedness [-Wpointer-sign]
635 | header_decode(dat->d, &tag, &headlen, &offset, NULL);
| ^~~~~~~
| |
| int *
rfc2440.c:427:16: note: expected 'uint32 *' {aka 'unsigned int *'} but argument is of type 'int *'
427 | uint32 *headlen, PACKET *pkt)
| ~~~~~~~~^~~~~~~
rfc2440.c: In function 'pgp_encrypt_file':
rfc2440.c:1020:9: warning: variable 'tag' set but not used [-Wunused-but-set-variable]
1020 | int tag=0;
| ^~~
rfc2440.c: In function 'file_to_buf':
rfc2440.c:123:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
123 | fread(buf, 1, len, fp);
| ^~~~~~~~~~~~~~~~~~~~~~
At top level:
rfc2440.c:925:1: warning: 'do_uncompress' defined but not used [-Wunused-function]
925 | do_uncompress( int algo, uchar *inbuf, size_t insize, USTRING *ret_out )
| ^~~~~~~~~~~~~
rfc2440.c:836:1: warning: 'do_compress' defined but not used [-Wunused-function]
836 | do_compress(int algo, int flush, uchar *inbuf, size_t insize,
| ^~~~~~~~~~~
gcc -o gaaout.o -c gaaout.c -DLOCALEDIR=\"/nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8/share/locale\" -I../intl -g -O2 -I/nix/store/9mlv9nkdpq9x2g6nbvldbvzkinikpzjc-libmcrypt-2.5.8/include -Wall -I. -I..
mcrypt.gaa: In function 'gaa_try':
mcrypt.gaa:109:3: warning: implicit declaration of function 'mcrypt_license'; did you mean 'mcrypt_free'? [-Wimplicit-function-declaration]
109 | option (L, license) { mcrypt_license(); exit(0); } "Displays license information."
| ^~~~~~~~~~~~~~
| mcrypt_free
mcrypt.gaa:108:3: warning: implicit declaration of function 'mcrypt_version'; did you mean 'mcrypt_perror'? [-Wimplicit-function-declaration]
108 | option (v, version) { mcrypt_version(); exit(0); } "Prints the version number"
| ^~~~~~~~~~~~~~
| mcrypt_perror
mcrypt.gaa:107:3: warning: implicit declaration of function 'usage' [-Wimplicit-function-declaration]
107 | option (help) { usage(); exit(0); } "Prints this help"
| ^~~~~
mcrypt.gaa:99:3: warning: implicit declaration of function 'print_hashlist' [-Wimplicit-function-declaration]
99 | option (list-hash) { print_hashlist(); exit(0); } "Prints a list of the supported hash algorithms."
| ^~~~~~~~~~~~~~
mcrypt.gaa:98:3: warning: implicit declaration of function 'print_keylist' [-Wimplicit-function-declaration]
98 | option (list-keymodes) { print_keylist(); exit(0); } "Prints a list of the supported key modes."
| ^~~~~~~~~~~~~
mcrypt.gaa:97:3: warning: implicit declaration of function 'print_list' [-Wimplicit-function-declaration]
97 | option (list) { print_list(); exit(0); } "Prints a list of the supported algorithms and modes."
| ^~~~~~~~~~
At top level:
gaa.skel:339:14: warning: 'gaa_getfloat' defined but not used [-Wunused-function]
gaa.skel:325:13: warning: 'gaa_getchar' defined but not used [-Wunused-function]
/nix/store/4l7wsi6h6283194r6fqy1731qxlagq62-bash-4.4-p23/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -I/nix/store/9mlv9nkdpq9x2g6nbvldbvzkinikpzjc-libmcrypt-2.5.8/include -Wall -o mcrypt extra.o mcrypt.o keys.o random.o rndunix.o xmalloc.o functions.o errors.o bits.o openpgp.o rndwin32.o environ.o getpass.o ufc_crypt.o popen.o classic.o rfc2440.o gaaout.o -lmhash -L/nix/store/9mlv9nkdpq9x2g6nbvldbvzkinikpzjc-libmcrypt-2.5.8/lib -lmcrypt
libtool: link: gcc -g -O2 -I/nix/store/9mlv9nkdpq9x2g6nbvldbvzkinikpzjc-libmcrypt-2.5.8/include -Wall -o mcrypt extra.o mcrypt.o keys.o random.o rndunix.o xmalloc.o functions.o errors.o bits.o openpgp.o rndwin32.o environ.o getpass.o ufc_crypt.o popen.o classic.o rfc2440.o gaaout.o -lmhash -L/nix/store/9mlv9nkdpq9x2g6nbvldbvzkinikpzjc-libmcrypt-2.5.8/lib /nix/store/9mlv9nkdpq9x2g6nbvldbvzkinikpzjc-libmcrypt-2.5.8/lib/libmcrypt.so -Wl,-rpath -Wl,/nix/store/9mlv9nkdpq9x2g6nbvldbvzkinikpzjc-libmcrypt-2.5.8/lib -Wl,-rpath -Wl,/nix/store/9mlv9nkdpq9x2g6nbvldbvzkinikpzjc-libmcrypt-2.5.8/lib
make[2]: Leaving directory '/build/mcrypt-2.6.8/src'
Making all in po
make[2]: Entering directory '/build/mcrypt-2.6.8/po'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/build/mcrypt-2.6.8/po'
make[2]: Entering directory '/build/mcrypt-2.6.8'
make[2]: Leaving directory '/build/mcrypt-2.6.8'
make[1]: Leaving directory '/build/mcrypt-2.6.8'
installing
install flags: SHELL=/nix/store/4l7wsi6h6283194r6fqy1731qxlagq62-bash-4.4-p23/bin/bash install
Making install in doc
make[1]: Entering directory '/build/mcrypt-2.6.8/doc'
make[2]: Entering directory '/build/mcrypt-2.6.8/doc'
make[2]: Nothing to be done for 'install-exec-am'.
test -z "/nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8/share/man/man1" || /nix/store/8gsdifv2q3hnq42v7ddk38nmiagmjd6c-coreutils-8.32/bin/mkdir -p "/nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8/share/man/man1"
/nix/store/8gsdifv2q3hnq42v7ddk38nmiagmjd6c-coreutils-8.32/bin/install -c -m 644 './mcrypt.1' '/nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8/share/man/man1/mcrypt.1'
make[2]: Leaving directory '/build/mcrypt-2.6.8/doc'
make[1]: Leaving directory '/build/mcrypt-2.6.8/doc'
Making install in src
make[1]: Entering directory '/build/mcrypt-2.6.8/src'
make[2]: Entering directory '/build/mcrypt-2.6.8/src'
test -z "/nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8/bin" || /nix/store/8gsdifv2q3hnq42v7ddk38nmiagmjd6c-coreutils-8.32/bin/mkdir -p "/nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8/bin"
/nix/store/4l7wsi6h6283194r6fqy1731qxlagq62-bash-4.4-p23/bin/bash ../libtool --mode=install /nix/store/8gsdifv2q3hnq42v7ddk38nmiagmjd6c-coreutils-8.32/bin/install -c 'mcrypt' '/nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8/bin/mcrypt'
libtool: install: /nix/store/8gsdifv2q3hnq42v7ddk38nmiagmjd6c-coreutils-8.32/bin/install -c mcrypt /nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8/bin/mcrypt
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/build/mcrypt-2.6.8/src'
make[1]: Leaving directory '/build/mcrypt-2.6.8/src'
Making install in po
make[1]: Entering directory '/build/mcrypt-2.6.8/po'
/nix/store/8gsdifv2q3hnq42v7ddk38nmiagmjd6c-coreutils-8.32/bin/mkdir -p /nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8/share
installing el.gmo as /nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8/share/locale/el/LC_MESSAGES/mcrypt.mo
installing cs.gmo as /nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8/share/locale/cs/LC_MESSAGES/mcrypt.mo
installing pl.gmo as /nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8/share/locale/pl/LC_MESSAGES/mcrypt.mo
installing de.gmo as /nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8/share/locale/de/LC_MESSAGES/mcrypt.mo
installing es_AR.gmo as /nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8/share/locale/es_AR/LC_MESSAGES/mcrypt.mo
if test "mcrypt" = "gettext-tools"; then \
/nix/store/8gsdifv2q3hnq42v7ddk38nmiagmjd6c-coreutils-8.32/bin/mkdir -p /nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8/share/gettext/po; \
for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot Makevars.template; do \
/nix/store/8gsdifv2q3hnq42v7ddk38nmiagmjd6c-coreutils-8.32/bin/install -c -m 644 ./$file \
/nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8/share/gettext/po/$file; \
done; \
for file in Makevars; do \
rm -f /nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8/share/gettext/po/$file; \
done; \
else \
: ; \
fi
make[1]: Leaving directory '/build/mcrypt-2.6.8/po'
make[1]: Entering directory '/build/mcrypt-2.6.8'
make[2]: Entering directory '/build/mcrypt-2.6.8'
make install-exec-hook
make[3]: Entering directory '/build/mcrypt-2.6.8'
/nix/store/8gsdifv2q3hnq42v7ddk38nmiagmjd6c-coreutils-8.32/bin/rm -f /nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8/bin/mdecrypt
ln -s mcrypt /nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8/bin/mdecrypt
make[3]: Leaving directory '/build/mcrypt-2.6.8'
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/build/mcrypt-2.6.8'
make[1]: Leaving directory '/build/mcrypt-2.6.8'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8
shrinking /nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8/bin/mcrypt
gzipping man pages under /nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8/share/man/
strip is /nix/store/kcp0y7g1ir4dxq2gqz687i4vb7gqy8s0-binutils-2.31.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8/bin
patching script interpreter paths in /nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8
checking for references to /build/ in /nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8...
/nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8
nmv@ubuntu:~/Desktop/nixpkgs$ git log -n 1
commit 3bf056aad3513111b38aa1723553277d7d757e16 (HEAD -> mcrypt1, origin/mcrypt1)
Author: Nima <nmv@fb.com>
Date: Wed Dec 30 16:16:08 2020 -0800
mcrypt: patch to include stdlib.h instead of malloc.h to build on darwin
malloc.h is deprecated and the package does not compile on macOS due to this.
nmv@ubuntu:~/Desktop/nixpkgs$ /nix/store/7hi0dsvyn2akxzrx9b4zkbrxdmgyfqd5-mcrypt-2.6.8/bin/mcrypt --version
Mcrypt v.0.9.9 (x86_64-unknown-linux-gnu)
Linked against libmcrypt v.2.5.8
Copyright (C) 1998-2002 Nikos Mavroyanopoulos (nmav@gnutls.org)
nmv@ubuntu:~/Desktop/nixpkgs$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment