Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 496526 - sys-fs/cryptsetup-1.6.2 - configure.ac:132: error: possibly undefined macro: AM_PATH_LIBGCRYPT
Summary: sys-fs/cryptsetup-1.6.2 - configure.ac:132: error: possibly undefined macro: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-30 19:04 UTC by vonabarak
Modified: 2014-11-01 01:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
cat /var/tmp/portage/sys-fs/cryptsetup-1.6.2/temp/build.log (file_496526.txt,3.19 KB, text/plain)
2014-01-02 08:25 UTC, vonabarak
Details
cat /var/tmp/portage/sys-fs/cryptsetup-1.6.2/temp/autoconf.out (file_496526.txt,429 bytes, text/plain)
2014-01-02 08:26 UTC, vonabarak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vonabarak 2013-12-30 19:04:05 UTC
sys-fs/cryptsetup-1.6.2 (current stable version) depends on dev-libs/libgcrypt even with USE-flags set to "-gcrypt kernel" and failing to emerge on configure stage without ths library. With libgcrypt installed it compiles as usual.
May be with other backends it will not depend on libgcrypt (I haven't tested it)
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-12-30 19:18:16 UTC
1) Please post your `emerge --info sys-fs/cryptsetup' output in a comment.
2) Please attach the entire build log to this bug report.
3) Please attach the config.log file to this bug report.
Comment 2 vonabarak 2014-01-02 08:25:33 UTC
Created attachment 366746 [details]
cat /var/tmp/portage/sys-fs/cryptsetup-1.6.2/temp/build.log
Comment 3 vonabarak 2014-01-02 08:26:44 UTC
Created attachment 366750 [details]
cat /var/tmp/portage/sys-fs/cryptsetup-1.6.2/temp/autoconf.out
Comment 4 vonabarak 2014-01-02 08:39:42 UTC
(In reply to Jeroen Roovers from comment #1)
> 1) Please post your `emerge --info sys-fs/cryptsetup' output in a comment.
> 2) Please attach the entire build log to this bug report.
> 3) Please attach the config.log file to this bug report.

1) done.
2) done.
3) There are no any file with name "config.log" in /var/tmp/portage/sys-fs/cryptsetup-1.6.2/ and it's subdirs.

Btw compiled cryptsetup have no runtime dependencies on libgcrypt. So i can emerge libgcrypt, emerge cryptsetup, emerge -C libgcrypt and use cryptsetup.
Looks like a bug in configure script or smth.
Comment 5 vonabarak 2014-01-02 08:41:10 UTC
 emerge --info sys-fs/cryptsetup
Portage 2.2.7 (hardened/linux/amd64/no-multilib, gcc-4.7.3, glibc-2.16.0, 3.11.7-hardened-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.11.7-hardened-r1-x86_64-Intel-R-_Xeon-R-_CPU_E5-2620_0_@_2.00GHz-with-gentoo-2.2
KiB Mem:      502968 total,     49792 free
KiB Swap:     524284 total,    516520 free
Timestamp of tree: Wed, 01 Jan 2014 10:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-lang/python:          3.3.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.11.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mcx16 -msahf -mpopcnt -msse4.2 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=core2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=" --keep-going"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news notitles parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="xz"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
USE="acl amd64 berkdb bindist bzip2 cli cracklib crypt cxx dri hardened iconv ipv6 justify mmx modules mudflap ncurses nls nptl openmp pam pax_kernel pcre postgres readline session sse sse2 ssl syslog tcpd unicode urandom vim-syntax 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" 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" 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" LINGUAS="en ru ru_RU ru_RU.UTF-8" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python3_3" PYTHON_TARGETS="python3_3" RUBY_TARGETS="ruby19 ruby18" 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.3"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC

=================================================================
                        Package Settings
=================================================================

sys-fs/cryptsetup-1.6.2 was built with the following:
USE="kernel nls udev urandom -gcrypt -nettle -openssl -python -reencrypt -static -static-libs" PYTHON_SINGLE_TARGET="-python2_6 -python2_7" PYTHON_TARGETS="-python2_6 -python2_7"
Comment 6 SpanKY gentoo-dev 2014-11-01 01:08:17 UTC
should be all set now in the tree; thanks for the report!

Commit message: Only run eautoreconf when user patches are applied
http://sources.gentoo.org/sys-fs/cryptsetup/cryptsetup-1.6.5.ebuild?r1=1.15&r2=1.16
http://sources.gentoo.org/sys-fs/cryptsetup/cryptsetup-1.6.6.ebuild?r1=1.7&r2=1.8