Re: [Fink-users] Compile error on package xrootd4 (dependancy for root5-cernlib)

2017-01-09 Thread Remi Mommsen
Hi,

> On 03 Jan 2017, at 6:08 AM, Daniel Macks  wrote:
> 
> On Mon, 2 Jan 2017 18:00:20 +, "Attanayake, Harsha"  wrote:
>> [ 46%] Linking CXX shared library libXrdCryptossl.dylib
>> Undefined symbols for architecture x86_64:
>>  "_X509_NAME_hash_old", referenced from:
>>  XrdCryptosslX509::IssuerHash(int) in XrdCryptosslX509.cc.o
>>  XrdCryptosslX509::SubjectHash(int) in XrdCryptosslX509.cc.o
>>  XrdCryptosslX509Crl::IssuerHash(int) in XrdCryptosslX509Crl.cc.o
>>  XrdCryptosslX509Req::SubjectHash(int) in XrdCryptosslX509Req.cc.o
>> ld: symbol(s) not found for architecture x86_64
>> clang: error: linker command failed with exit code 1 (use -v to see 
>> invocation)
>> make[2]: *** [src/libXrdCryptossl.2.0.0.dylib] Error 1
>> make[1]: *** [src/CMakeFiles/XrdCryptossl.dir/all] Error 2
>> make: *** [all] Error 2
> [...]
>> Failed: phase compiling: xrootd4-4.0.3-12 failed
> 
> Same for me on 10.11 just now, but it had previously built successfully here. 
> The now-failure is a result of some security changes in openssl. Upstream 
> version 4.5.0 includes the following likely fix for it:
> 
> https://github.com/xrootd/xrootd/commit/728ee39efde40ed9a7c9230a2808d6111fae10ad
> 
> dan

I updated xrootd to version 4.5.0. This version builds for me on 10.11.

Cheers,
Remi




smime.p7s
Description: S/MIME cryptographic signature
--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Re: [Fink-users] Compile error on package xrootd4 (dependancy for root5-cernlib)

2017-01-02 Thread Daniel Macks
On Mon, 2 Jan 2017 18:00:20 +, "Attanayake, Harsha"  wrote:
> [ 46%] Linking CXX shared library libXrdCryptossl.dylib
> Undefined symbols for architecture x86_64:
>   "_X509_NAME_hash_old", referenced from:
>   XrdCryptosslX509::IssuerHash(int) in XrdCryptosslX509.cc.o
>   XrdCryptosslX509::SubjectHash(int) in XrdCryptosslX509.cc.o
>   XrdCryptosslX509Crl::IssuerHash(int) in XrdCryptosslX509Crl.cc.o
>   XrdCryptosslX509Req::SubjectHash(int) in XrdCryptosslX509Req.cc.o
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see 
> invocation)
> make[2]: *** [src/libXrdCryptossl.2.0.0.dylib] Error 1
> make[1]: *** [src/CMakeFiles/XrdCryptossl.dir/all] Error 2
> make: *** [all] Error 2
[...]
> Failed: phase compiling: xrootd4-4.0.3-12 failed

Same for me on 10.11 just now, but it had previously built successfully here. 
The now-failure is a result of some security changes in openssl. Upstream 
version 4.5.0 includes the following likely fix for it:

https://github.com/xrootd/xrootd/commit/728ee39efde40ed9a7c9230a2808d6111fae10ad

dan

-- 
Daniel Macks
dma...@netspace.org

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users


[Fink-users] Compile error on package xrootd4 (dependancy for root5-cernlib)

2017-01-02 Thread Attanayake, Harsha
Hi,

I need help installing root on MacOS Sierra.

Appreciate your help


Error report

[ 63%] Linking CXX shared library libXrdServer.dylib

[ 63%] Built target XrdServer

[ 63%] Linking CXX shared library libXrdCl.dylib

[ 63%] Built target XrdCl

make: *** [all] Error 2

### execution of /tmp/fink.e8xM2 failed, exit code 2

### execution of /tmp/fink.snHpz failed, exit code 2

Removing runtime build-lock...

Removing build-lock package...

/sw/bin/dpkg-lockwait -r fink-buildlock-xrootd4-4.0.3-12

(Reading database ... 9241 files and directories currently installed.)

Removing fink-buildlock-xrootd4-4.0.3-12 ...

Failed: phase compiling: xrootd4-4.0.3-12 failed


Also include the following system information:

Package manager version: 0.41.1

Distribution version: selfupdate-rsync Mon Jan  2 12:02:39 2017, 10.12, x86_64

Trees: local/main stable/main

Xcode.app: 7.3.1

Xcode command-line tools: 8.2.0.0.1.1480973914

Max. Fink build jobs:  8 (also tried 1)


Some more details which didn't work out.

I was trying to install root5-cernlib and it failed compiling xrootd4. Then I 
tried to install xrootd4 only thinking that if it goes through I'll be able to 
install root5-cernlib. However, xrootd4 installation failed on all the 
combinations listed below

xcode 8.2.1

command-line tools: 8.2

Max build jobs 1 and 8

This is on a fresh install of macOS Sierra 10.12.2



Here is another combination checked

[ 46%] Building CXX object 
src/CMakeFiles/XrdCryptossl.dir/XrdCrypto/XrdCryptosslgsiAux.cc.o

[ 46%] Building CXX object 
src/CMakeFiles/XrdCryptossl.dir/XrdCrypto/XrdCryptosslgsiX509Chain.cc.o

[ 46%] Linking CXX shared library libXrdCryptossl.dylib

Undefined symbols for architecture x86_64:

  "_X509_NAME_hash_old", referenced from:

  XrdCryptosslX509::IssuerHash(int) in XrdCryptosslX509.cc.o

  XrdCryptosslX509::SubjectHash(int) in XrdCryptosslX509.cc.o

  XrdCryptosslX509Crl::IssuerHash(int) in XrdCryptosslX509Crl.cc.o

  XrdCryptosslX509Req::SubjectHash(int) in XrdCryptosslX509Req.cc.o

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

make[2]: *** [src/libXrdCryptossl.2.0.0.dylib] Error 1

make[1]: *** [src/CMakeFiles/XrdCryptossl.dir/all] Error 2

make: *** [all] Error 2

### execution of /tmp/fink.1Fbgk failed, exit code 2

### execution of /tmp/fink.NmSAp failed, exit code 2

Removing runtime build-lock...

Removing build-lock package...

/sw/bin/dpkg-lockwait -r fink-buildlock-xrootd4-4.0.3-12

(Reading database ... 9241 files and directories currently installed.)

Removing fink-buildlock-xrootd4-4.0.3-12 ...

Failed: phase compiling: xrootd4-4.0.3-12 failed


Also include the following system information:

Package manager version: 0.41.1

Distribution version: selfupdate-rsync Mon Jan  2 12:51:11 2017, 10.12, x86_64

Trees: local/main stable/main

Xcode.app: 7.3.1

Xcode command-line tools: 7.3.1.0.1.1461711523

Max. Fink build jobs:  1
--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users