All of lore.kernel.org
 help / color / mirror / Atom feed
* Need CRYPTO_CXXFLAGS with latest master?
@ 2012-11-01  1:27 Noah Watkins
  2012-11-01  3:22 ` Noah Watkins
  0 siblings, 1 reply; 9+ messages in thread
From: Noah Watkins @ 2012-11-01  1:27 UTC (permalink / raw)
  To: ceph-devel; +Cc: Sage Weil

Pushed changes to Makefile.am in branch:

   wip-make-crypto-flags

Several changes to Makefile.am that add CRYPTO_CXXFLAGS to various
test targets. I needed these to build after updating to master this
afternoon.

Not sure if there is something else going on in my environment..

Thanks,
Noah

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Need CRYPTO_CXXFLAGS with latest master?
  2012-11-01  1:27 Need CRYPTO_CXXFLAGS with latest master? Noah Watkins
@ 2012-11-01  3:22 ` Noah Watkins
  2012-11-01 19:05   ` Gary Lowell
  2012-11-03  1:04   ` Gary Lowell
  0 siblings, 2 replies; 9+ messages in thread
From: Noah Watkins @ 2012-11-01  3:22 UTC (permalink / raw)
  To: ceph-devel

Whoops, here is the original error:

  CXX    test_idempotent_sequence.o
In file included from ./os/LFNIndex.h:27:0,
                 from ./os/HashIndex.h:20,
                 from ./os/IndexManager.h:26,
                 from ./os/ObjectMap.h:18,
                 from ./os/ObjectStore.h:22,
                 from ./os/FileStore.h:32,
                 from test/filestore/test_idempotent_sequence.cc:22:
./common/ceph_crypto.h:44:22: fatal error: pk11pub.h: No such file or directory
compilation terminated.
  CXX    DeterministicOpSequence.o
In file included from ./os/LFNIndex.h:27:0,
                 from ./os/HashIndex.h:20,
                 from ./os/IndexManager.h:26,
                 from ./os/ObjectMap.h:18,
                 from ./os/ObjectStore.h:22,
                 from ./os/FileStore.h:32,
                 from test/filestore/DeterministicOpSequence.cc:21:
./common/ceph_crypto.h:44:22: fatal error: pk11pub.h: No such file or directory
compilation terminated.


On Wed, Oct 31, 2012 at 6:27 PM, Noah Watkins <jayhawk@cs.ucsc.edu> wrote:
> Pushed changes to Makefile.am in branch:
>
>    wip-make-crypto-flags
>
> Several changes to Makefile.am that add CRYPTO_CXXFLAGS to various
> test targets. I needed these to build after updating to master this
> afternoon.
>
> Not sure if there is something else going on in my environment..
>
> Thanks,
> Noah

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Need CRYPTO_CXXFLAGS with latest master?
  2012-11-01  3:22 ` Noah Watkins
@ 2012-11-01 19:05   ` Gary Lowell
  2012-11-02  3:54     ` Noah Watkins
  2012-11-03  1:04   ` Gary Lowell
  1 sibling, 1 reply; 9+ messages in thread
From: Gary Lowell @ 2012-11-01 19:05 UTC (permalink / raw)
  To: Noah Watkins; +Cc: ceph-devel

Hi Noah -

What platform are you building on, and are you building with nss or  cryptopp ?

Thanks,
Gary

On Oct 31, 2012, at 8:22 PM, Noah Watkins wrote:

> Whoops, here is the original error:
> 
>  CXX    test_idempotent_sequence.o
> In file included from ./os/LFNIndex.h:27:0,
>                 from ./os/HashIndex.h:20,
>                 from ./os/IndexManager.h:26,
>                 from ./os/ObjectMap.h:18,
>                 from ./os/ObjectStore.h:22,
>                 from ./os/FileStore.h:32,
>                 from test/filestore/test_idempotent_sequence.cc:22:
> ./common/ceph_crypto.h:44:22: fatal error: pk11pub.h: No such file or directory
> compilation terminated.
>  CXX    DeterministicOpSequence.o
> In file included from ./os/LFNIndex.h:27:0,
>                 from ./os/HashIndex.h:20,
>                 from ./os/IndexManager.h:26,
>                 from ./os/ObjectMap.h:18,
>                 from ./os/ObjectStore.h:22,
>                 from ./os/FileStore.h:32,
>                 from test/filestore/DeterministicOpSequence.cc:21:
> ./common/ceph_crypto.h:44:22: fatal error: pk11pub.h: No such file or directory
> compilation terminated.
> 
> 
> On Wed, Oct 31, 2012 at 6:27 PM, Noah Watkins <jayhawk@cs.ucsc.edu> wrote:
>> Pushed changes to Makefile.am in branch:
>> 
>>   wip-make-crypto-flags
>> 
>> Several changes to Makefile.am that add CRYPTO_CXXFLAGS to various
>> test targets. I needed these to build after updating to master this
>> afternoon.
>> 
>> Not sure if there is something else going on in my environment..
>> 
>> Thanks,
>> Noah
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Need CRYPTO_CXXFLAGS with latest master?
  2012-11-01 19:05   ` Gary Lowell
@ 2012-11-02  3:54     ` Noah Watkins
  2012-11-02  4:53       ` Gary Lowell
  0 siblings, 1 reply; 9+ messages in thread
From: Noah Watkins @ 2012-11-02  3:54 UTC (permalink / raw)
  To: Gary Lowell; +Cc: ceph-devel

I guess I'm going to have to retract this problem, as I can't
reproduce it today. No clue what happened :)

On Thu, Nov 1, 2012 at 12:05 PM, Gary Lowell <gary.lowell@inktank.com> wrote:
> Hi Noah -
>
> What platform are you building on, and are you building with nss or  cryptopp ?
>
> Thanks,
> Gary
>
> On Oct 31, 2012, at 8:22 PM, Noah Watkins wrote:
>
>> Whoops, here is the original error:
>>
>>  CXX    test_idempotent_sequence.o
>> In file included from ./os/LFNIndex.h:27:0,
>>                 from ./os/HashIndex.h:20,
>>                 from ./os/IndexManager.h:26,
>>                 from ./os/ObjectMap.h:18,
>>                 from ./os/ObjectStore.h:22,
>>                 from ./os/FileStore.h:32,
>>                 from test/filestore/test_idempotent_sequence.cc:22:
>> ./common/ceph_crypto.h:44:22: fatal error: pk11pub.h: No such file or directory
>> compilation terminated.
>>  CXX    DeterministicOpSequence.o
>> In file included from ./os/LFNIndex.h:27:0,
>>                 from ./os/HashIndex.h:20,
>>                 from ./os/IndexManager.h:26,
>>                 from ./os/ObjectMap.h:18,
>>                 from ./os/ObjectStore.h:22,
>>                 from ./os/FileStore.h:32,
>>                 from test/filestore/DeterministicOpSequence.cc:21:
>> ./common/ceph_crypto.h:44:22: fatal error: pk11pub.h: No such file or directory
>> compilation terminated.
>>
>>
>> On Wed, Oct 31, 2012 at 6:27 PM, Noah Watkins <jayhawk@cs.ucsc.edu> wrote:
>>> Pushed changes to Makefile.am in branch:
>>>
>>>   wip-make-crypto-flags
>>>
>>> Several changes to Makefile.am that add CRYPTO_CXXFLAGS to various
>>> test targets. I needed these to build after updating to master this
>>> afternoon.
>>>
>>> Not sure if there is something else going on in my environment..
>>>
>>> Thanks,
>>> Noah
>> --
>> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Need CRYPTO_CXXFLAGS with latest master?
  2012-11-02  3:54     ` Noah Watkins
@ 2012-11-02  4:53       ` Gary Lowell
  0 siblings, 0 replies; 9+ messages in thread
From: Gary Lowell @ 2012-11-02  4:53 UTC (permalink / raw)
  To: Noah Watkins; +Cc: ceph-devel

Let me know if you see the problem again.  It's probably something in the autotools dependencies resolution.

Cheers,
Gary


On Nov 1, 2012, at 8:54 PM, Noah Watkins wrote:

> I guess I'm going to have to retract this problem, as I can't
> reproduce it today. No clue what happened :)
> 
> On Thu, Nov 1, 2012 at 12:05 PM, Gary Lowell <gary.lowell@inktank.com> wrote:
>> Hi Noah -
>> 
>> What platform are you building on, and are you building with nss or  cryptopp ?
>> 
>> Thanks,
>> Gary
>> 
>> On Oct 31, 2012, at 8:22 PM, Noah Watkins wrote:
>> 
>>> Whoops, here is the original error:
>>> 
>>> CXX    test_idempotent_sequence.o
>>> In file included from ./os/LFNIndex.h:27:0,
>>>                from ./os/HashIndex.h:20,
>>>                from ./os/IndexManager.h:26,
>>>                from ./os/ObjectMap.h:18,
>>>                from ./os/ObjectStore.h:22,
>>>                from ./os/FileStore.h:32,
>>>                from test/filestore/test_idempotent_sequence.cc:22:
>>> ./common/ceph_crypto.h:44:22: fatal error: pk11pub.h: No such file or directory
>>> compilation terminated.
>>> CXX    DeterministicOpSequence.o
>>> In file included from ./os/LFNIndex.h:27:0,
>>>                from ./os/HashIndex.h:20,
>>>                from ./os/IndexManager.h:26,
>>>                from ./os/ObjectMap.h:18,
>>>                from ./os/ObjectStore.h:22,
>>>                from ./os/FileStore.h:32,
>>>                from test/filestore/DeterministicOpSequence.cc:21:
>>> ./common/ceph_crypto.h:44:22: fatal error: pk11pub.h: No such file or directory
>>> compilation terminated.
>>> 
>>> 
>>> On Wed, Oct 31, 2012 at 6:27 PM, Noah Watkins <jayhawk@cs.ucsc.edu> wrote:
>>>> Pushed changes to Makefile.am in branch:
>>>> 
>>>>  wip-make-crypto-flags
>>>> 
>>>> Several changes to Makefile.am that add CRYPTO_CXXFLAGS to various
>>>> test targets. I needed these to build after updating to master this
>>>> afternoon.
>>>> 
>>>> Not sure if there is something else going on in my environment..
>>>> 
>>>> Thanks,
>>>> Noah
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
>>> the body of a message to majordomo@vger.kernel.org
>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>> 


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Need CRYPTO_CXXFLAGS with latest master?
  2012-11-01  3:22 ` Noah Watkins
  2012-11-01 19:05   ` Gary Lowell
@ 2012-11-03  1:04   ` Gary Lowell
  2012-11-03  2:21     ` Noah Watkins
  1 sibling, 1 reply; 9+ messages in thread
From: Gary Lowell @ 2012-11-03  1:04 UTC (permalink / raw)
  To: Noah Watkins; +Cc: ceph-devel

Looks like the complaints come from a small number of newish programs that are compiled only when the --with-debug flag is given.  When building against cryptpp (--with-cryptpp) the pk11 headers are found implicitly and  when building agains libnss (--with-nss) they are not.

So we probably need the changes in your wip-make-crypto-flags branch.

Cheers,
Gary

On Oct 31, 2012, at 8:22 PM, Noah Watkins wrote:

> Whoops, here is the original error:
> 
>  CXX    test_idempotent_sequence.o
> In file included from ./os/LFNIndex.h:27:0,
>                 from ./os/HashIndex.h:20,
>                 from ./os/IndexManager.h:26,
>                 from ./os/ObjectMap.h:18,
>                 from ./os/ObjectStore.h:22,
>                 from ./os/FileStore.h:32,
>                 from test/filestore/test_idempotent_sequence.cc:22:
> ./common/ceph_crypto.h:44:22: fatal error: pk11pub.h: No such file or directory
> compilation terminated.
>  CXX    DeterministicOpSequence.o
> In file included from ./os/LFNIndex.h:27:0,
>                 from ./os/HashIndex.h:20,
>                 from ./os/IndexManager.h:26,
>                 from ./os/ObjectMap.h:18,
>                 from ./os/ObjectStore.h:22,
>                 from ./os/FileStore.h:32,
>                 from test/filestore/DeterministicOpSequence.cc:21:
> ./common/ceph_crypto.h:44:22: fatal error: pk11pub.h: No such file or directory
> compilation terminated.
> 
> 
> On Wed, Oct 31, 2012 at 6:27 PM, Noah Watkins <jayhawk@cs.ucsc.edu> wrote:
>> Pushed changes to Makefile.am in branch:
>> 
>>   wip-make-crypto-flags
>> 
>> Several changes to Makefile.am that add CRYPTO_CXXFLAGS to various
>> test targets. I needed these to build after updating to master this
>> afternoon.
>> 
>> Not sure if there is something else going on in my environment..
>> 
>> Thanks,
>> Noah
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Need CRYPTO_CXXFLAGS with latest master?
  2012-11-03  1:04   ` Gary Lowell
@ 2012-11-03  2:21     ` Noah Watkins
  2012-11-03  6:31       ` Gary Lowell
  0 siblings, 1 reply; 9+ messages in thread
From: Noah Watkins @ 2012-11-03  2:21 UTC (permalink / raw)
  To: Gary Lowell; +Cc: ceph-devel

On Fri, Nov 2, 2012 at 6:04 PM, Gary Lowell <gary.lowell@inktank.com> wrote:
> Looks like the complaints come from a small number of newish programs that are compiled only when the --with-debug flag is given.  When building against cryptpp (--with-cryptpp) the pk11 headers are found implicitly and  when building agains libnss (--with-nss) they are not.
>
> So we probably need the changes in your wip-make-crypto-flags branch.

Ahh that makes sense. Now I can reproduce it. The branch is up at
wip-crypto-flags. Seems like we should have ./configure blow up too if
it can't find this stuff?

- Noah

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Need CRYPTO_CXXFLAGS with latest master?
  2012-11-03  2:21     ` Noah Watkins
@ 2012-11-03  6:31       ` Gary Lowell
  2012-11-03 19:14         ` Sage Weil
  0 siblings, 1 reply; 9+ messages in thread
From: Gary Lowell @ 2012-11-03  6:31 UTC (permalink / raw)
  To: Noah Watkins; +Cc: ceph-devel

Digging a little bit deeper, there is actually a comment in common/ceph_crypto.h that when using libnss you need the CRYPTO_CXFLAGS.  Since the pk11 headers are installed, I'm not sure there is problem we could detect.

This may be related to dmick's question about include paths.  Someone who knows more history will have to answer that.

Cheers,
Gary



On Nov 2, 2012, at 7:21 PM, Noah Watkins wrote:

> On Fri, Nov 2, 2012 at 6:04 PM, Gary Lowell <gary.lowell@inktank.com> wrote:
>> Looks like the complaints come from a small number of newish programs that are compiled only when the --with-debug flag is given.  When building against cryptpp (--with-cryptpp) the pk11 headers are found implicitly and  when building agains libnss (--with-nss) they are not.
>> 
>> So we probably need the changes in your wip-make-crypto-flags branch.
> 
> Ahh that makes sense. Now I can reproduce it. The branch is up at
> wip-crypto-flags. Seems like we should have ./configure blow up too if
> it can't find this stuff?
> 
> - Noah


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Need CRYPTO_CXXFLAGS with latest master?
  2012-11-03  6:31       ` Gary Lowell
@ 2012-11-03 19:14         ` Sage Weil
  0 siblings, 0 replies; 9+ messages in thread
From: Sage Weil @ 2012-11-03 19:14 UTC (permalink / raw)
  To: Gary Lowell; +Cc: Noah Watkins, ceph-devel

On Fri, 2 Nov 2012, Gary Lowell wrote:
> Digging a little bit deeper, there is actually a comment in 
> common/ceph_crypto.h that when using libnss you need the CRYPTO_CXFLAGS.  
> Since the pk11 headers are installed, I'm not sure there is problem we 
> could detect.

Let's add the flags to all of our builds.  Is it possible to include them 
in AM_CXXFLAGS or something insetad of adding it to every target's 
CXXFLAGS?

sage

> This may be related to dmick's question about include paths.  Someone 
> who knows more history will have to answer that.
> 
> Cheers,
> Gary
> 
> 
> 
> On Nov 2, 2012, at 7:21 PM, Noah Watkins wrote:
> 
> > On Fri, Nov 2, 2012 at 6:04 PM, Gary Lowell <gary.lowell@inktank.com> wrote:
> >> Looks like the complaints come from a small number of newish programs that are compiled only when the --with-debug flag is given.  When building against cryptpp (--with-cryptpp) the pk11 headers are found implicitly and  when building agains libnss (--with-nss) they are not.
> >> 
> >> So we probably need the changes in your wip-make-crypto-flags branch.
> > 
> > Ahh that makes sense. Now I can reproduce it. The branch is up at
> > wip-crypto-flags. Seems like we should have ./configure blow up too if
> > it can't find this stuff?
> > 
> > - Noah
> 
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-11-03 19:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-01  1:27 Need CRYPTO_CXXFLAGS with latest master? Noah Watkins
2012-11-01  3:22 ` Noah Watkins
2012-11-01 19:05   ` Gary Lowell
2012-11-02  3:54     ` Noah Watkins
2012-11-02  4:53       ` Gary Lowell
2012-11-03  1:04   ` Gary Lowell
2012-11-03  2:21     ` Noah Watkins
2012-11-03  6:31       ` Gary Lowell
2012-11-03 19:14         ` Sage Weil

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.