[MacPorts] #30013: update root to 5.30.00
MacPorts
noreply at macports.org
Sun Jul 3 05:47:53 PDT 2011
#30013: update root to 5.30.00
--------------------------------------+-------------------------------------
Reporter: jonesc@… | Owner: macports-tickets@…
Type: update | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port: root
--------------------------------------+-------------------------------------
Hi,
The attached unified diff updates the Portfile for root to the latest
production release, v5.30.00
There is though a problem with the gfortran variant, which fails during
the destroot stage
{{{
:debug:destroot destroot phase started at Sun Jul 3 12:17:37 BST 2011
:debug:destroot Executing org.macports.destroot (root)
:debug:destroot Environment: CPATH='/opt/local/include'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_Users_chris_Projects_MacPorts_portfiles_science_root/work/.CC_PRINT_OPTIONS'
LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:destroot Assembled command: 'cd
"/opt/local/var/macports/build/_Users_chris_Projects_MacPorts_portfiles_science_root/work/root"
&& /usr/bin/make install
DESTDIR=/opt/local/var/macports/build/_Users_chris_Projects_MacPorts_portfiles_science_root/work/destroot'
:info:destroot cp
/opt/local/var/macports/build/_Users_chris_Projects_MacPorts_portfiles_science_root/work/root/hist/hbook/inc/THbookBranch.h
include/THbookBranch.h
:info:destroot cp
/opt/local/var/macports/build/_Users_chris_Projects_MacPorts_portfiles_science_root/work/root/hist/hbook/inc/THbookFile.h
include/THbookFile.h
:info:destroot cp
/opt/local/var/macports/build/_Users_chris_Projects_MacPorts_portfiles_science_root/work/root/hist/hbook/inc/THbookKey.h
include/THbookKey.h
:info:destroot cp
/opt/local/var/macports/build/_Users_chris_Projects_MacPorts_portfiles_science_root/work/root/hist/hbook/inc/THbookTree.h
include/THbookTree.h
:info:destroot bin/rmkdepend -R -fmisc/minicern/src/cernlib.d -Y -w 1000
-- -m64 -pipe -Wshadow -W -Wall -fsigned-char -fno-common -Iinclude
-DR__HAVE_CONFIG -pthread --
/opt/local/var/macports/build/_Users_chris_Projects_MacPorts_portfiles_science_root/work/root/misc/minicern/src/cernlib.c
:info:destroot /usr/bin/gcc-4.2 -O2 -m64 -pipe -Wshadow -W -Wall -fsigned-
char -fno-common -Iinclude -DR__HAVE_CONFIG -pthread -o
misc/minicern/src/cernlib.o -c
/opt/local/var/macports/build/_Users_chris_Projects_MacPorts_portfiles_science_root/work/root/misc/minicern/src/cernlib.c
:info:destroot gfortran-mp-4.4 -O2 -m64 -std=legacy -o
misc/minicern/src/hbook.o -c
/opt/local/var/macports/build/_Users_chris_Projects_MacPorts_portfiles_science_root/work/root/misc/minicern/src/hbook.f
:info:destroot gfortran-mp-4.4 -O2 -m64 -std=legacy -o
misc/minicern/src/kernlib.o -c
/opt/local/var/macports/build/_Users_chris_Projects_MacPorts_portfiles_science_root/work/root/misc/minicern/src/kernlib.f
:info:destroot gfortran-mp-4.4 -O2 -m64 -std=legacy -o
misc/minicern/src/zebra.o -c
/opt/local/var/macports/build/_Users_chris_Projects_MacPorts_portfiles_science_root/work/root/misc/minicern/src/zebra.f
:info:destroot g++ -dynamiclib -single_module -undefined dynamic_lookup
-install_name /opt/local/lib/root/libminicern.so -O2 -m64 -mmacosx-
version-min=10.6 -o lib/libminicern.so misc/minicern/src/cernlib.o -ldl
misc/minicern/src/hbook.o misc/minicern/src/kernlib.o
misc/minicern/src/zebra.o /bin/sh: gfortran: command not found /bin/sh:
gfortran: command not found
:info:destroot i686-apple-darwin10-g++-4.2.1: /bin/sh:: No such file or
directory
:info:destroot i686-apple-darwin10-g++-4.2.1: gfortran:: No such file or
directory
:info:destroot i686-apple-darwin10-g++-4.2.1: command: No such file or
directory
:info:destroot i686-apple-darwin10-g++-4.2.1: not: No such file or
directory
:info:destroot i686-apple-darwin10-g++-4.2.1: found: No such file or
directory
:info:destroot i686-apple-darwin10-g++-4.2.1: /bin/sh:: No such file or
directory
:info:destroot i686-apple-darwin10-g++-4.2.1: gfortran:: No such file or
directory
:info:destroot i686-apple-darwin10-g++-4.2.1: command: No such file or
directory
:info:destroot i686-apple-darwin10-g++-4.2.1: not: No such file or
directory
:info:destroot i686-apple-darwin10-g++-4.2.1: found: No such file or
directory
:info:destroot make: *** [lib/libminicern.so] Error 1
:info:destroot shell command " cd
"/opt/local/var/macports/build/_Users_chris_Projects_MacPorts_portfiles_science_root/work/root"
&& /usr/bin/make install
DESTDIR=/opt/local/var/macports/build/_Users_chris_Projects_MacPorts_portfiles_science_root/work/destroot
" returned error 2
:error:destroot Target org.macports.destroot returned: shell command
failed (see log for details)
:debug:destroot Backtrace: shell command failed (see log for details)
while executing
"command_exec destroot"
(procedure "portdestroot::destroot_main" line 2)
invoked from within
"$procedure $targetname"
:info:destroot Warning: the following items did not execute (for root):
org.macports.destroot
:notice:destroot Log for root is at:
/opt/local/var/macports/logs/_Users_chris_Projects_MacPorts_portfiles_science_root/main.log
}}}
It looks like the problem is gfortran from gcc4.4 is used to build some
*.f files, but then gcc 4.2 is used to link them. Not sure how to fix this
?
Just wondering, but would it make sense to move to using gcc44 by default
to build this port ?
Chris
--
Ticket URL: <https://trac.macports.org/ticket/30013>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list