Bug 61740 - Configured --without-libtasn1 still pulls libtasn1.h include
Summary: Configured --without-libtasn1 still pulls libtasn1.h include
Status: RESOLVED FIXED
Alias: None
Product: p11-glue
Classification: Unclassified
Component: p11-kit (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) FreeBSD
: medium normal
Assignee: Stef Walter
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-03 15:34 UTC by Roman Bogorodskiy
Modified: 2013-03-04 08:47 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
fix missing bracket in trust module check (466 bytes, patch)
2013-03-03 15:51 UTC, Roman Bogorodskiy
Details | Splinter Review

Description Roman Bogorodskiy 2013-03-03 15:34:41 UTC
configuring p11-kit with '--without-libtasn1' flag.

At the end it shows:

....

    With libtasn1 dependency:        no

....

Then building fails:

/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I..  -I../common      -g             -Wall -Wstrict-prototypes -Wmissing-declarations                -Wmissing-prototypes -Wnested-externs -Wpointer-arith               -Wdeclaration-after-statement -Wformat=2 -Winit-self            -Waggregate-return -Wno-missing-format-attribute                -fno-strict-aliasing -Wmissing-include-dirs -Wundef -MT p11_kit_trust_la-adapter.lo -MD -MP -MF .deps/p11_kit_trust_la-adapter.Tpo -c -o p11_kit_trust_la-adapter.lo `test -f 'adapter.c' || echo './'`adapter.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I.. -I../common -g -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -fno-strict-aliasing -Wmissing-include-dirs -Wundef -MT p11_kit_trust_la-adapter.lo -MD -MP -MF .deps/p11_kit_trust_la-adapter.Tpo -c adapter.c  -fPIC -DPIC -o .libs/p11_kit_trust_la-adapter.o
In file included from adapter.c:48:
../common/x509.h:35:10: fatal error: 'libtasn1.h' file not found
#include <libtasn1.h>
         ^
1 error generated.
*** [p11_kit_trust_la-adapter.lo] Error code 1

Stop in /usr/home/novel/code/p11-kit/trust.
Comment 1 Roman Bogorodskiy 2013-03-03 15:51:23 UTC
Created attachment 75840 [details] [review]
fix missing bracket in trust module check

Appears that there's a missing bracket that causes configure not to disable trust module build even if --without-libtasn1 was specified.
Comment 2 Stef Walter 2013-03-04 08:47:27 UTC
Thanks. Pushed to git master.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.