Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#49935 closed update (fixed)

root6 - update to 6.04.12

Reported by: cjones051073 (Chris Jones) Owned by: mojca (Mojca Miklavec)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch maintainer Cc: mojca (Mojca Miklavec)
Port: root6

Description

Update to 6.04.12. Also enables builtin Davix support.

Attachments (1)

root6.diff (1.4 KB) - added by cjones051073 (Chris Jones) 9 years ago.

Download all attachments as: .zip

Change History (10)

Changed 9 years ago by cjones051073 (Chris Jones)

Attachment: root6.diff added

comment:1 Changed 9 years ago by mojca (Mojca Miklavec)

I'm compiling it now. Independent question about Python: is there any need to keep support for 2.6 around? Did you test 3.5? (I'm not sure how to use Python.)

comment:2 Changed 9 years ago by mojca (Mojca Miklavec)

Owner: changed from macports-tickets@… to mojca@…

comment:3 Changed 9 years ago by cjones051073 (Chris Jones)

I find keeping two different python 2.x variants around as slightly useful, if only for testing, as if you recall the root5 and root6 ports cannot both activate support for the same python version. Also note that python 3.x support has always been a little patchy, but i confess i have not tried it recently.

comment:4 Changed 9 years ago by mojca (Mojca Miklavec)

Resolution: fixed
Status: newclosed

Committed in r143274.

comment:5 Changed 9 years ago by andre.david@…

I have found problems compiling this:

For root6 +python34 build.jobs=1 it fails early:

:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_root6/root6/work/build/GSL-prefix/src && /opt/local/bin/cmake -P /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_root6/root6/work/build/GSL-prefix/src/GSL-stamp/verify-GSL.cmake
:info:build -- verifying file...
:info:build      file='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_root6/root6/work/build/GSL-prefix/src/gsl-1.15.tar.gz'
:info:build -- verifying file... warning: did not verify file - no URL_HASH specified?
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_root6/root6/work/build/GSL-prefix/src && /opt/local/bin/cmake -P /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_root6/root6/work/build/GSL-prefix/src/GSL-stamp/extract-GSL.cmake
:info:build -- extracting...
:info:build      src='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_root6/root6/work/build/GSL-prefix/src/gsl-1.15.tar.gz'
:info:build      dst='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_root6/root6/work/build/GSL-prefix/src/GSL'
:info:build -- extracting... [tar xfz]
:info:build -- extracting... [analysis]
:info:build -- extracting... [rename]
:info:build -- extracting... [clean up]
:info:build -- extracting... done
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_root6/root6/work/build/GSL-prefix/src && /opt/local/bin/cmake -E touch /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_root6/root6/work/build/GSL-prefix/src/GSL-stamp/./GSL-download
:info:build [  0%] No patch step for 'GSL'
:info:build /opt/local/bin/cmake -E echo_append
:info:build /opt/local/bin/cmake -E touch /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_root6/root6/work/build/GSL-prefix/src/GSL-stamp/./GSL-patch
:info:build [  0%] No update step for 'GSL'
:info:build /opt/local/bin/cmake -E echo_append
:info:build /opt/local/bin/cmake -E touch /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_root6/root6/work/build/GSL-prefix/src/GSL-stamp/./GSL-update
:info:build [  0%] Performing configure step for 'GSL'
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_root6/root6/work/build/GSL-prefix/src/GSL-build && /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_root6/root6/work/build/GSL-prefix/src/GSL/configure --prefix /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_root6/root6/work/build --enable-shared=no "CFLAGS=-pipe -Os -arch x86_64  -m64 -pipe -W -Wall -fsigned-char -fno-common -Qunused-arguments -pthread"
:info:build checking for a BSD-compatible install... /opt/local/bin/ginstall -c
:info:build checking whether build environment is sane... yes
:info:build checking for a thread-safe mkdir -p... /opt/local/bin/gmkdir -p
:info:build checking for gawk... gawk
:info:build checking whether make sets $(MAKE)... yes
:info:build checking whether to enable maintainer-specific portions of Makefiles... no
:info:build checking for a sed that does not truncate output... /opt/local/bin/gsed
:info:build checking whether make sets $(MAKE)... (cached) yes
:info:build checking build system type... x86_64-apple-darwin14.5.0
:info:build checking host system type... x86_64-apple-darwin14.5.0
:info:build checking for gcc... gcc
:info:build checking whether the C compiler works... no
:info:build configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_root6/root6/work/build/GSL-prefix/src/GSL-build':
:info:build configure: error: C compiler cannot create executables
:info:build See `config.log' for more details
:info:build make[2]: *** [GSL-prefix/src/GSL-stamp/GSL-configure] Error 77

while for root6 +python34-gsl build.jobs=1 it goes a long way and then:

:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_root6/root6/work/build/math/mathmore && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++   -DMathMore_EXPORTS -DUSE_ROOT_ERROR -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_root6/root6/work/build/include/root -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_root6/root6/work/root-6-04-12 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_root6/root6/work/build/include  -pipe -Os -arch x86_64 -stdlib=libc++  -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Qunused-arguments -pthread -std=c++11 -Wno-deprecated-declarations -Wc++11-narrowing -Wsign-compare -Wsometimes-uninitialized -Wconditional-uninitialized -Wheader-guard -Warray-bounds -Wcomment -Wtautological-compare -Wstrncat-size -Wloop-analysis -Wbool-conversion -stdlib=libc++ -DR__HAVE_CONFIG -O2 -DNDEBUG -arch x86_64 -fPIC   -I/opt/local/include -o CMakeFiles/MathMore.dir/src/GSLNLSMinimizer.cxx.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_root6/root6/work/root-6-04-12/math/mathmore/src/GSLNLSMinimizer.cxx
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_root6/root6/work/root-6-04-12/math/mathmore/src/GSLNLSMinimizer.cxx:19:
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_root6/root6/work/root-6-04-12/math/mathmore/src/GSLMultiFit.h:146:38: error: no member named 'J' in 'gsl_multifit_fdfsolver'
:info:build       gsl_multifit_gradient(fSolver->J, fSolver->f,fVec);
:info:build                             ~~~~~~~  ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_root6/root6/work/root-6-04-12/math/mathmore/src/GSLMultiFit.h:157:45: error: no member named 'J' in 'gsl_multifit_fdfsolver'
:info:build       int ret = gsl_multifit_covar(fSolver->J, kEpsrel, fCov);
:info:build                                    ~~~~~~~  ^
:info:build 2 errors generated.
:info:build make[2]: *** [math/mathmore/CMakeFiles/MathMore.dir/src/GSLNLSMinimizer.cxx.o] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_root6/root6/work/build'
:info:build make[1]: *** [math/mathmore/CMakeFiles/MathMore.dir/all] Error 2
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_root6/root6/work/build'
:info:build make: *** [all] Error 2

which is the same problem found in #50007 but with root5 +gsl.

I am lost: with +gsl, GSL refuses to compile (I have tried both +clang37 and +gcc5); with -gsl something still uses some version of GSL that is not compatible, according to #49594.

comment:6 Changed 9 years ago by mf2k (Frank Schima)

Please do not comment on (correctly) closed tickets because it will likely get ignored. Instead, open a new ticket with the complete main.log file.

comment:7 Changed 9 years ago by cjones051073 (Chris Jones)

As mf2k says, please start a new ticket with a complete build log following running

> sudo port clean root6
> sudo port uninstall root6
> sudo port sync
> sudo port install root6

Please do that last command with *no* variants to start with, and post the complete log (compressed if need be) to a new ticket.

cheers Chris

Last edited 9 years ago by cjones051073 (Chris Jones) (previous) (diff)

comment:8 Changed 9 years ago by cjones051073 (Chris Jones)

One final comment, looking at your first log snippet I wonder if you have 'port selected' a gcc 5 version ? If you have, undo this for the ROOT build, as there is currently a bug in the internal GSL build performed by ROOT that causes it to ignore the ports compiler settings, and find 'gcc' itself, and then fail to build as it is not compatible.

Upstream bug report is

https://sft.its.cern.ch/jira/browse/ROOT-7782

So please also run

sudo port select gcc none

prior to the ROOT build. You can then reverse this after the build.

Chris

comment:9 in reply to:  8 Changed 9 years ago by cjones051073 (Chris Jones)

Replying to jonesc@…:

One final comment, looking at your first log snippet I wonder if you have 'port selected' a gcc 5 version ? If you have, undo this for the ROOT build, as there is currently a bug in the internal GSL build performed by ROOT that causes it to ignore the ports compiler settings, and find 'gcc' itself, and then fail to build as it is not compatible.

Upstream bug report is

https://sft.its.cern.ch/jira/browse/ROOT-7782

So please also run

sudo port select gcc none

prior to the ROOT build. You can then reverse this after the build.

Chris

Note that the above issue is fixed in the latest update, I submitted over the weekend.

https://trac.macports.org/ticket/50011

Note: See TracTickets for help on using tickets.