Opened 13 years ago

Closed 13 years ago

#27962 closed update (fixed)

update science/root port to v5.28.00

Reported by: cjones051073 (Chris Jones) Owned by: mattiafrancescomoro@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: mf2k (Frank Schima)
Port: root

Description

Hi,

The current version of root in MacPorts is v5r26.00b - This is now quite old, the current production version is v5.28.00

The attached Portfile is updated to this version. It passes my basic checks on my 10.6.6 MBPro, using the variants "@5.28.00_0+builtin_ftgl+opengl+roofit+ssl+xml"

Please consider updating the released Portfile to this version ?

cheers Chris

Attachments (13)

Portfile (9.0 KB) - added by cjones051073 (Chris Jones) 13 years ago.
root.portfile.diff (1.0 KB) - added by cjones051073 (Chris Jones) 13 years ago.
main.log.gz (111.5 KB) - added by mf2k (Frank Schima) 13 years ago.
installed.ports.txt (11.6 KB) - added by cjones051073 (Chris Jones) 13 years ago.
config.macsforever2000.log (149.5 KB) - added by mf2k (Frank Schima) 13 years ago.
crj.config.log (198.7 KB) - added by cjones051073 (Chris Jones) 13 years ago.
crj.config.2.log (198.7 KB) - added by cjones051073 (Chris Jones) 13 years ago.
crj.main.log.bz2 (80.0 KB) - added by cjones051073 (Chris Jones) 13 years ago.
Portfile.2 (9.0 KB) - added by cjones051073 (Chris Jones) 13 years ago.
Updated Portfile for v5.28.00b
root-build.log.bz2 (55.0 KB) - added by cjones051073 (Chris Jones) 13 years ago.
Log for non-MacPorts build
Portfile.3 (9.4 KB) - added by cjones051073 (Chris Jones) 13 years ago.
Portfile.4 (9.4 KB) - added by cjones051073 (Chris Jones) 13 years ago.
bump root version to v5.28.00c
Portfile.5 (9.4 KB) - added by cjones051073 (Chris Jones) 13 years ago.

Download all attachments as: .zip

Change History (60)

Changed 13 years ago by cjones051073 (Chris Jones)

Attachment: Portfile added

comment:1 Changed 13 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to mattiafrancescomoro@…
Version: 1.9.2

Unified diffs are greatly preferred.

comment:2 Changed 13 years ago by cjones051073 (Chris Jones)

unified diff now attached.

Chris

comment:3 Changed 13 years ago by jmroot (Joshua Root)

Note that the diff is reversed.

comment:4 Changed 13 years ago by cjones051073 (Chris Jones)

Duh. Should have spotted that. I'll fix it.

Changed 13 years ago by cjones051073 (Chris Jones)

Attachment: root.portfile.diff added

comment:5 Changed 13 years ago by mf2k (Frank Schima)

Cc: macsforever2000@… added

I see the following error when I tried this:

:info:build ==> lib/libTMVA.so done
:info:build g++ -dynamiclib -single_module -undefined dynamic_lookup -install_name /opt/local/lib/root/libReflexDict.so -O2 -m64 -mmacosx-version-min=10.6 -o lib/libReflexDict.so cint/reflex/src/G__Reflex.o -ldl
:info:build ==> lib/libReflexDict.so done
:info:build ==> lib/libCore.so done
:info:build g++ -O2 -m64 -mmacosx-version-min=10.6 -o bin/hist2workspace roofit/histfactory/src/MakeModelAndMeasurements.o     \
:info:build 		    -Llib -lCore -lCint -lMathCore -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lMatrix -lThread  -lRint -Llib -lRooFit -lRooFitCore -lTree -lRIO -lMatrix -lHist -lMathCore -lGraf -lGpad -lMinuit -lFoam -lRooStats -lXMLParser -lHistFactory  -lMathMore  -lm    -pthread -ldl    
:info:build g++ -O2 -m64 -mmacosx-version-min=10.6 -o bin/pq2 proof/pq2/src/pq2actions.o proof/pq2/src/pq2main.o proof/pq2/src/pq2ping.o proof/pq2/src/pq2wrappers.o proof/pq2/src/redirguard.o  -Llib -lRIO -lNet -lHist -lTree -lMatrix -lProof -lThread -lCore -lCint -lMathCore  -lm    -pthread -ldl  
:info:build Undefined symbols:
:info:build   "TSocket::RecvRaw(void*, int, ESendRecvOptions)", referenced from:
:info:build       pingXproofdAt()     in pq2ping.o
:info:build       pingXproofdAt()     in pq2ping.o
:info:build       pingXrootdAt()     in pq2ping.o
:info:build       pingXrootdAt()     in pq2ping.o
:info:build   "TSocket::SendRaw(void const*, int, ESendRecvOptions)", referenced from:
:info:build       pingXproofdAt()     in pq2ping.o
:info:build       pingXproofdAt()     in pq2ping.o
:info:build       pingXrootdAt()     in pq2ping.o
:info:build   "TSocket::TSocket(char const*, int, int)", referenced from:
:info:build       pingXproofdAt()     in pq2ping.o
:info:build       pingXrootdAt()     in pq2ping.o
:info:build   "TSocket::Close(char const*)", referenced from:
:info:build       TSocket::~TSocket()in pq2ping.o
:info:build   "vtable for TSocket", referenced from:
:info:build       TSocket::~TSocket()in pq2ping.o
:info:build ld: symbol(s) not found
:info:build collect2: ld returned 1 exit status
:info:build g++ -O2 -m64 -mmacosx-version-min=10.6 -o bin/root.exe main/src/rmain.o   \
:info:build 		   -Llib -lCore -lCint -lMathCore -lRint -lm    -pthread -ldl  
:info:build make: *** [bin/pq2] Error 1
:info:build make: *** Waiting for unfinished jobs....
:info:build rm core/utils/src/RStl_tmp.cxx core/utils/src/rootcint_tmp.cxx
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_mports_trunk_dports_science_root/work/root'
:info:build shell command " cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_science_root/work/root" && /usr/bin/make -j2 -w all CC=/usr/bin/gcc-4.2 CXX=/usr/bin/g++-4.2 F77= " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for root): org.macports.destroot org.macports.build
:notice:build Log for root is at: /opt/local/var/macports/logs/_opt_mports_trunk_dports_science_root/main.log

Any ideas?

comment:6 Changed 13 years ago by cjones051073 (Chris Jones)

I did not have any problems at when testing the patch myself. I only have one machine though, a MBpro running osx 10.6.6

Could you confirm exactly what system you are running on, exactly what port command you used and can you upload the log file /opt/local/var/macports/logs/_opt_mports_trunk_dports_science_root/main.log ?

cheers Chris

Changed 13 years ago by mf2k (Frank Schima)

Attachment: main.log.gz added

comment:7 in reply to:  6 Changed 13 years ago by mf2k (Frank Schima)

Replying to jonesc@…:

I did not have any problems at when testing the patch myself. I only have one machine though, a MBpro running osx 10.6.6

Could you confirm exactly what system you are running on, exactly what port command you used and can you upload the log file /opt/local/var/macports/logs/_opt_mports_trunk_dports_science_root/main.log ?

Hi Chris,

I've attached the log - compressed because it was too big otherwise. I am also running a late model MBPro with 10.6.6 and Xcode 3.2.5. I simply uninstalled root and installed it from scratch when i got the error.

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

I'm afraid but the file you uploaded doesn't seem to be a log file... All I get when I click on the link is html source ...

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

Did you use any variants when installing root. or was it just

 > sudo port install root 

?

comment:10 in reply to:  9 Changed 13 years ago by mf2k (Frank Schima)

Replying to jonesc@…:

Did you use any variants when installing root. or was it just

sudo port install root

I just did exactly that - no variants except the default. To download the log click on the little download icon just to the right of the attachment name - it's a different link.

comment:11 Changed 13 years ago by cjones051073 (Chris Jones)

Ok thanks....

So... I am unable to reproduce your problem. I just uninstalled and restart the port OK.

I guess it must be some port you have and I don't, or vice verse. The log file you posted didn't really help me much...

Ideas ? I'm not really much of a MacPorts expert, and more a root user than experienced builder....

I'll attach a list of the ports I have installed.

Chris

Changed 13 years ago by cjones051073 (Chris Jones)

Attachment: installed.ports.txt added

comment:12 Changed 13 years ago by mf2k (Frank Schima)

I've been digging into this and I'm still not sure what is going on. I noticed, however, that my build log says that it cannot find a f77 compiler. It is looking for gfortran. I know that we use gcc4.4 for that. I would like to see your build log if possible. you can say "sudo port build root" and then get the log. Also the config.log would be helpful. Mine is located here for reference:

$ pwd
/opt/mports/trunk/dports/science/root/work/root
$ ls -l config.log
-rw-r--r--  1 nobody  admin  153104 Feb  1 16:43 config.log

I'll attach my config.log. If you can post both of those, I can compare them. Thanks!

Changed 13 years ago by mf2k (Frank Schima)

Attachment: config.macsforever2000.log added

comment:13 Changed 13 years ago by cjones051073 (Chris Jones)

Here are a logs ...

Chris

Changed 13 years ago by cjones051073 (Chris Jones)

Attachment: crj.config.log added

Changed 13 years ago by cjones051073 (Chris Jones)

Attachment: crj.config.2.log added

Changed 13 years ago by cjones051073 (Chris Jones)

Attachment: crj.main.log.bz2 added

comment:14 in reply to:  13 Changed 13 years ago by mf2k (Frank Schima)

Replying to jonesc@…:

Here are a logs ...

Thanks! I'm comparing your config.log to mine. I'm still looking but right off the bat it appears that you have files installed in /usr/local/lib. That can cause problems. Ironically it may be helping you build successfully where I cannot. Can i ask you to temporarily move your entire /usr/local/ directory to /usr/local.moved/ (or whatever) then uninstall root and reinstall and see if it works for you?

comment:15 Changed 13 years ago by cjones051073 (Chris Jones)

Not sure why I have things in /usr/local, but its nothing to do with MacPorts. Looking at the contents it appears to have come from other applications I have installed.

Chris-Jones-Macbook-Pro ~ > ls /usr/local/*
/usr/local/bin:
change-svn-wc-format.py	svnadmin		svnserve
growlnotify		svndumpfilter		svnsync
svn			svnlook			svnversion

/usr/local/include:
fuse	fuse.h	ntfs	ntfs-3g

/usr/local/lib:
libfuse.0.dylib			libfuse_ino64.2.7.3.dylib
libfuse.2.7.3.dylib		libfuse_ino64.2.dylib
libfuse.2.dylib			libfuse_ino64.dylib
libfuse.dylib			libfuse_ino64.la
libfuse.la			pkgconfig

/usr/local/man:
man1

/usr/local/sbin:

/usr/local/share:
doc	man

i.e. mainly fuse and ntfs-3g - Never of these where installed via MacPorts.

I'll try what you suggest, but I will be surprise if the presence of the fuse libs is helping root build somehow ....

Chris

comment:16 Changed 13 years ago by cjones051073 (Chris Jones)

Moving /usr/local out the way didn't make any difference. root still builds.

Chris

comment:17 Changed 13 years ago by mf2k (Frank Schima)

Indeed i did not find any differences between our config.log files except that your config.log tried to find files in /usr/local/ but never actually did find anything. I'm stumped right now.

comment:18 Changed 13 years ago by mf2k (Frank Schima)

Going through the main.log files, I see one difference. Yours is using the system python26 whereas mine is using Macports python26. I' not sure if that's the problem though.

comment:19 Changed 13 years ago by cjones051073 (Chris Jones)

For reference, I do have macPorts python 2.6 (amongst others) installed though ...

Chris-Jones-Macbook-Pro ~ > sudo port installed | grep python
  dbus-python26 @0.83.2_0 (active)
  git-core @1.7.4_0+doc+python26 (active)
  gtk-doc @1.16_0+python27 (active)
  libgpod @0.8.0_4+python27 (active)
  py26-ipython @0.10.1_1+scientific (active)
  python25 @2.5.5_2 (active)
  python26 @2.6.6_1 (active)
  python27 @2.7.1_1 (active)
  python_select @0.3_0 (active)
  swig-python @2.0.1_0 (active)
  xorg-xcb-proto @1.6_0+python26 (active)

Chris

comment:20 in reply to:  19 Changed 13 years ago by mf2k (Frank Schima)

Replying to jonesc@…:

For reference, I do have macPorts python 2.6 (amongst others) installed though ...

Very strange. Did you use python_select to select it as I have on my setup?

sudo python_select python26

comment:21 Changed 13 years ago by cjones051073 (Chris Jones)

No, I've never run python_select. If I just run 'python' I get the MP 2.6 version

unknown-00-23-6c-8b-a2-5a ~ > which python
/opt/local/bin/python
unknown-00-23-6c-8b-a2-5a ~ > python
Python 2.6.1 (r261:67515, Jun 24 2010, 21:47:49) 
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> 

comment:22 Changed 13 years ago by mf2k (Frank Schima)

That's really odd. "which" is indeed showing the Macports version of python, but version 2.6.1 is Apple's version, not Macports. So when you run the "python" command, you are getting Apple's python. All that said, none of this helps debug how to properly compile root, but this is clearly a difference between our systems.

comment:23 Changed 13 years ago by cjones051073 (Chris Jones)

You are correct, it is just a sym link

Chris-Jones-Macbook-Pro ~ > ls -l /opt/local/bin/python
lrwxr-xr-x  1 root  admin  18 30 Jan 11:51 /opt/local/bin/python -> /usr/bin/python2.6

Didn't create that myself, by hand, so must have come via some MacPorts package, probably python_select I would guess.

Could you try undoing your 'sudo python_select python26', to use the same, and see if that helps ?

comment:24 Changed 13 years ago by cjones051073 (Chris Jones)

Just wondering, did you ever try running with the same python version as I used ?

comment:25 Changed 13 years ago by mf2k (Frank Schima)

Here is my latest try. I see the following build error whether I use the Macports or Apple python:

:info:build bin/rmkdepend -R -fcore/metautils/src/TClassEdit.d -Y -w 1000 -- -m64 -pipe -Wshadow -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Iinclude -DR__HAVE_CONFIG   -D_REENTRANT -pthread -D__cplusplus -- /opt/local/var/macports/build/_opt_mports_trunk_dports_science_root/work/root/core/metautils/src/TClassEdit.cxx
:info:build bin/rmkdepend -R -fcore/clib/src/snprintf.d -Y -w 1000 -- -m64 -pipe -Wshadow -W -Wall -fsigned-char -fno-common -Iinclude -DR__HAVE_CONFIG   -D_REENTRANT -pthread -- /opt/local/var/macports/build/_opt_mports_trunk_dports_science_root/work/root/core/clib/src/snprintf.c
:info:build bin/rmkdepend -R -fcore/clib/src/strlcpy.d -Y -w 1000 -- -m64 -pipe -Wshadow -W -Wall -fsigned-char -fno-common -Iinclude -DR__HAVE_CONFIG   -D_REENTRANT -pthread -- /opt/local/var/macports/build/_opt_mports_trunk_dports_science_root/work/root/core/clib/src/strlcpy.c
:info:build rmkdepend(7953) malloc: *** error for object 0x10012b6c0: pointer being freed was not allocated
:info:build *** set a breakpoint in malloc_error_break to debug
:info:build rmkdepend(7956) malloc: *** error for object 0x10012b6c0: pointer being freed was not allocated
:info:build *** set a breakpoint in malloc_error_break to debug
:info:build bin/rmkdepend -R -fcore/clib/src/strlcat.d -Y -w 1000 -- -m64 -pipe -Wshadow -W -Wall -fsigned-char -fno-common -Iinclude -DR__HAVE_CONFIG   -D_REENTRANT -pthread -- /opt/local/var/macports/build/_opt_mports_trunk_dports_science_root/work/root/core/clib/src/strlcat.c
:info:build rmkdepend(7959) malloc: *** error for object 0x10012b6c0: pointer being freed was not allocated
:info:build *** set a breakpoint in malloc_error_break to debug
:info:build rmkdepend(7961) malloc: *** error for object 0x10012b6c0: pointer being freed was not allocated
:info:build *** set a breakpoint in malloc_error_break to debug
:info:build bin/rmkdepend -R -fcore/utils/src/rootcint.d -Y -w 1000 -- -m64 -pipe -Wshadow -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Iinclude -DR__HAVE_CONFIG   -D_REENTRANT -pthread -D__cplusplus -- /opt/local/var/macports/build/_opt_mports_trunk_dports_science_root/work/root/core/utils/src/rootcint.cxx
:info:build rmkdepend(7963) malloc: *** error for object 0x10012b6c0: pointer being freed was not allocated
:info:build *** set a breakpoint in malloc_error_break to debug
:info:build rmkdepend(7964) malloc: *** error for object 0x10012b6c0: pointer being freed was not allocated
:info:build *** set a breakpoint in malloc_error_break to debug
:info:build Running /opt/local/var/macports/build/_opt_mports_trunk_dports_science_root/work/root/cint/ROOT/configcint.mk
:info:build Making cint/cint/inc/configcint.h
:info:build bin/rmkdepend -R -fcore/utils/src/RStl.d -Y -w 1000 -- -m64 -pipe -Wshadow -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Iinclude -DR__HAVE_CONFIG   -D_REENTRANT -pthread -D__cplusplus -- /opt/local/var/macports/build/_opt_mports_trunk_dports_science_root/work/root/core/utils/src/RStl.cxx
:info:build rmkdepend(7968) malloc: *** error for object 0x10012b6c0: pointer being freed was not allocated
:info:build *** set a breakpoint in malloc_error_break to debug
:info:build bin/rmkdepend -R -fcore/utils/src/rlibmap.d -Y -w 1000 -- -m64 -pipe -Wshadow -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Iinclude -DR__HAVE_CONFIG   -D_REENTRANT -pthread -D__cplusplus -- /opt/local/var/macports/build/_opt_mports_trunk_dports_science_root/work/root/core/utils/src/rlibmap.cxx
:info:build /usr/bin/g++-4.2 -O2 -m64 -pipe -Wshadow -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Iinclude -DR__HAVE_CONFIG   -D_REENTRANT -pthread -o core/utils/src/rlibmap.o -c /opt/local/var/macports/build/_opt_mports_trunk_dports_science_root/work/root/core/utils/src/rlibmap.cxx
:info:build make: *** [core/utils/src/RStl.o] Abort trap
:info:build make: *** Waiting for unfinished jobs....
:info:build make: *** [core/utils/src/rootcint.o] Abort trap
:info:build make: *** [core/clib/src/strlcpy.o] Abort trap
:info:build make: *** [core/metautils/src/TClassEdit.o] Abort trap
:info:build make: *** [core/clib/src/snprintf.o] Abort trap
:info:build make: *** [core/clib/src/strlcat.o] Abort trap
:info:build make: *** [core/metautils/src/RConversionRuleParser.o] Abort trap
:info:build rm core/utils/src/RStl_tmp.cxx core/utils/src/rootcint_tmp.cxx
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_mports_trunk_dports_science_root/work/root'
:info:build shell command " cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_science_root/work/root" && /usr/bin/make -j8 -w all CC=/usr/bin/gcc-4.2 CXX=/usr/bin/g++-4.2 F77= " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)

comment:26 Changed 13 years ago by cjones051073 (Chris Jones)

Do you perhaps have a problem with your version of rmkdepend ?

Changed 13 years ago by cjones051073 (Chris Jones)

Attachment: Portfile.2 added

Updated Portfile for v5.28.00b

comment:27 Changed 13 years ago by cjones051073 (Chris Jones)

I've upload a new Portfile, for the latest version. Who knows, maybe this one will work for you...

Also, just an idea but if not could you try building ROOT for source outside macPorts. Just download the tarball from

http://root.cern.ch/drupal/

a simple

./configure --disable-opengl
make

worked for me. I'll upload the log of the build.

Chris

Changed 13 years ago by cjones051073 (Chris Jones)

Attachment: root-build.log.bz2 added

Log for non-MacPorts build

comment:28 Changed 13 years ago by mf2k (Frank Schima)

I'm still seeing the TSocket error listed up in comment 7 on 2 different machines. I have not yet tried to build it manually. I'll try to build it after a fresh Macports install soon.

comment:29 Changed 13 years ago by mf2k (Frank Schima)

It installed fine on a clean system. So some port must be interfering with the build. I'll keep digging into it.

comment:30 Changed 13 years ago by cjones051073 (Chris Jones)

I've gone through and added a few missing dependencies that probably should already have been there.

I'll upload a new Portfile next. Could you give it a try ?

Chris

Changed 13 years ago by cjones051073 (Chris Jones)

Attachment: Portfile.3 added

comment:31 Changed 13 years ago by mf2k (Frank Schima)

OK. I'll try it out. Thanks!

comment:32 Changed 13 years ago by mattiafrancescomoro@…

I'll test it, tomorrow

comment:33 Changed 13 years ago by cjones051073 (Chris Jones)

Thanks.

I'm not really expecting miracles here, but from my side its all I can think to try....

comment:34 Changed 13 years ago by mf2k (Frank Schima)

Just an update. I'm swamped at work and I'll commit this when I can. I can build root 5.28 from a clean install. I'm just trying to find the port that seems to interfere with the build.

Changed 13 years ago by cjones051073 (Chris Jones)

Attachment: Portfile.4 added

bump root version to v5.28.00c

comment:35 Changed 13 years ago by cjones051073 (Chris Jones)

I've added another Portfile to bump the version to the latest release.

Any news on if and when this might actually get committed ;) ?

Chris

comment:36 Changed 13 years ago by mf2k (Frank Schima)

My apologies. I'm still having problems installing on my system with lots of ports installed. On a clean system, it installs fine. I've been trying to determine which port is interfering with it. I've been very busy at work lately and so I'm working on it slowly. I don't like to commit a portfile with a known build problem. I'll take a look at your latest portfile now.

comment:37 Changed 13 years ago by mf2k (Frank Schima)

BTW, a unified diff is much preferred over a complete portfile so I can easily see the changes you made.

comment:38 Changed 13 years ago by mf2k (Frank Schima)

Well it fails for me on my main machine (with many ports):

:info:build /usr/bin/g++-4.2 -O2 -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Iinclude -DR__HAVE_CONFIG  -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__ROOT -DG__REDIRECTIO -DG__OSFDLL -DG__STD_EXCEPTION  -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -I/opt/local/var/macports/build/_opt_mports_trunk_dports_science_root/work/root/cint/cint/inc -I/opt/local/var/macports/build/_opt_mports_trunk_dports_science_root/work/root/cint/cint/src -I/opt/local/var/macports/build/_opt_mports_trunk_dports_science_root/work/root/cint/cint/src/dict -D_REENTRANT -pthread -I. -o cint/cint/main/cppmain.o -c cint/cint/main/cppmain.cxx
:info:build rmkdepend(92788) malloc: *** error for object 0x10012b6e0: pointer being freed was not allocated
:info:build *** set a breakpoint in malloc_error_break to debug
:info:build rmkdepend(92782) malloc: *** error for object 0x10012b6e0: pointer being freed was not allocated
:info:build *** set a breakpoint in malloc_error_break to debug
:info:build rmkdepend(92784) malloc: *** error for object 0x10012b6e0: pointer being freed was not allocated
:info:build *** set a breakpoint in malloc_error_break to debug
:info:build rmkdepend(92786) malloc: *** error for object 0x10012b6e0: pointer being freed was not allocated
:info:build *** set a breakpoint in malloc_error_break to debug
:info:build rmkdepend(92787) malloc: *** error for object 0x10012b6e0: pointer being freed was not allocated
:info:build *** set a breakpoint in malloc_error_break to debug
:info:build bin/rmkdepend -R -fcore/utils/src/rootcint.d -Y -w 1000 -- -m64 -pipe -Wshadow -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Iinclude -DR__HAVE_CONFIG   -D_REENTRANT -pthread -D__cplusplus -- /opt/local/var/macports/build/_opt_mports_trunk_dports_science_root/work/root/core/utils/src/rootcint.cxx
:info:build rmkdepend(92795) malloc: *** error for object 0x10012b6e0: pointer being freed was not allocated
:info:build *** set a breakpoint in malloc_error_break to debug
:info:build Running /opt/local/var/macports/build/_opt_mports_trunk_dports_science_root/work/root/cint/ROOT/configcint.mk
:info:build Making cint/cint/inc/configcint.h
:info:build bin/rmkdepend -R -fcore/utils/src/RStl.d -Y -w 1000 -- -m64 -pipe -Wshadow -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Iinclude -DR__HAVE_CONFIG   -D_REENTRANT -pthread -D__cplusplus -- /opt/local/var/macports/build/_opt_mports_trunk_dports_science_root/work/root/core/utils/src/RStl.cxx
:info:build rmkdepend(92799) malloc: *** error for object 0x10012b6e0: pointer being freed was not allocated
:info:build *** set a breakpoint in malloc_error_break to debug
:info:build make: *** [core/utils/src/RStl.o] Abort trap
:info:build make: *** Waiting for unfinished jobs....
:info:build make: *** [core/utils/src/rootcint.o] Abort trap
:info:build make: *** [core/clib/src/strlcpy.o] Abort trap
:info:build make: *** [core/clib/src/snprintf.o] Abort trap
:info:build make: *** [core/metautils/src/RConversionRuleParser.o] Abort trap
:info:build make: *** [core/clib/src/strlcat.o] Abort trap
:info:build make: *** [core/metautils/src/TClassEdit.o] Abort trap
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_mports_trunk_dports_science_root/work/root'
:info:build shell command " cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_science_root/work/root" && /usr/bin/make -j7 -w all CC=/usr/bin/gcc-4.2 CXX=/usr/bin/g++-4.2 F77= " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)

Any ideas about why this is happening?

comment:39 Changed 13 years ago by cjones051073 (Chris Jones)

Sorry, should have been more explicit. The new port file just bumps the version up to the latest. I did't expect it to fix your problems.

I'm afraid I have no idea why you get this. Obviously, I don't. I posted a while back the list of ports I have installed (quite a few myself) which you can compare to. Thats all I can say ....

Chris

comment:40 Changed 13 years ago by mf2k (Frank Schima)

Update: I am able to compile root now on my main machine. I'm working on fixing the python bindings. Stay tuned.

comment:41 Changed 13 years ago by cjones051073 (Chris Jones)

Sounds like progress. let me know if I can help.

In the meantime, heres another minor version bump

Chris

Changed 13 years ago by cjones051073 (Chris Jones)

Attachment: Portfile.5 added

comment:42 Changed 13 years ago by mf2k (Frank Schima)

Updated to 5.28.00c in r78935 plus other changes including:

  1. Partially fixing and changing the python variant to python26 so we can add other python variants in the future like python27.
  2. Fix the gfortran variant to use gcc44 so it can build on Snow Leopard.

comment:43 Changed 13 years ago by mf2k (Frank Schima)

@jonesc: please post unified diffs of the Portfile, not complete portfiles! Also, would you like to be added as a co-maintainer of this port?

comment:44 Changed 13 years ago by cjones051073 (Chris Jones)

Sorry - I know you keep asking for unified diffs, and somehow I keep forgetting... My mistake.

As for being a co-maintainer, why not...

cheers Chris

comment:45 Changed 13 years ago by mf2k (Frank Schima)

@ jonesc: If you don't mind, please post a unified diff of your changes against r78935 and I will work on committing the update to 5.28.00d. Or is it simply a version/checksum bump without any other changes? Thanks!

comment:46 Changed 13 years ago by cjones051073 (Chris Jones)

Yes, the only changes were to the version and to update the tarball md5/sha1/rmd160 checksums accordingly.

Chris

comment:47 in reply to:  46 Changed 13 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: newclosed

Replying to jonesc@…:

Yes, the only changes were to the version and to update the tarball md5/sha1/rmd160 checksums accordingly.

Updated in r79353. I added you as a co-maintainer with the current maintainer's blessing (via email). Thanks for your patience. Please use a new ticket for future updates.

For the record, the python26 variant works if you add the following code to each script:

import sys
sys.path.append('/opt/local/lib/root')
import ROOT

I'm open to a better solution which does not require setting the LD_LIBRARY_PATH.

Note: See TracTickets for help on using tickets.