Opened 12 years ago

Last modified 12 years ago

#33558 closed defect

Root 5.32.01: +pythia variant fails to build on Snow Leopard — at Version 10

Reported by: watsodw Owned by: mattiafrancescomoro@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc: jonesc@…
Port: root

Description (last modified by mf2k (Frank Schima))

Upgrade from Root 5.32.00 to 5.32.01 fails, apparently with problem with pythia.

Change History (12)

Changed 12 years ago by watsodw

Attachment: main.log added

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: mattiafrancescomoro@… removed
Owner: changed from macports-tickets@… to mattiafrancescomoro@…
Summary: Root 5.32.01 upgrade failsRoot 5.32.01 upgrade fails: error: 'Event' does not name a type

The errors seem to start here:

:info:build In file included from /opt/macports/include/Pythia.h:12:0,
:info:build                  from include/TPythia8.h:69,
:info:build                  from /opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_root/root/work/root/montecarlo/pythia8/src/TPythia8.cxx:75:
:info:build /opt/macports/include/Analysis.h:38:22: error: 'Event' does not name a type

First, you should see whether this problem is related to the fact that you are upgrading rather than installing from scratch. Deactivate the existing root port, clean the new root build, then try again.

sudo port -f deactivate root
sudo port clean root
sudo port install root

Changed 12 years ago by watsodw

Attachment: main2.log added

comment:2 Changed 12 years ago by watsodw

Did that. Build fails with other errors. See main2.log.

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

Probably just another instance of

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

Please try without the opengl variant.

comment:4 Changed 12 years ago by watsodw

Ran "sudo port install root +clarens +fftw3 +fitsio +gcc46 +graphviz +gsl +minuit2 +mysql +python27 +qt_mac +roofit +soversion +ssl +tmva +xml" for Root 5.32.01, which does not include "+pythia +opengl" that is included in my previous install of Root 5.32.00. It built and installed correctly even though the install added back "+opengl". Evidently 5.32.01 and pythia don't like each other yet.

comment:5 Changed 12 years ago by cjones051073 (Chris Jones)

I think the problem is only with opengl, pythia is OK. Could you try adding pythia back, but still without opengl ?

For the record, pythia and opengl variants build just fine here, with OSX 10.7 and Xcode 4.2. The issue is more with 10.6 and Xcode 3 (which I cannot test against).

Chris

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

b.t.w. qt_mac my have built but it almost certainly won't work. I don't particularly recommend using this variant...

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

note you have to add -opengl to disable that variant, as it is enabled by default. Just not adding +opengl is not enough.

comment:8 Changed 12 years ago by watsodw

Did that and the build still fails because of pythia. Builds fine with opengl. By th e way, I'm using 10.6.8 and Xcode 3.2.6.

comment:9 Changed 12 years ago by jmroot (Joshua Root)

Is this still a problem with 5.34.01?

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

Description: modified (diff)
Summary: Root 5.32.01 upgrade fails: error: 'Event' does not name a typeRoot 5.32.01: +pythia variant fails to build on Snow Leopard
Note: See TracTickets for help on using tickets.