failing building root

Rodolfo Aramayo raramayo at gmail.com
Sun Dec 11 18:05:45 PST 2011


It worked!

Root compiled just fine...

Thanks

--R

On Sun, Dec 11, 2011 at 13:13, Chris Jones <jonesc at hep.phy.cam.ac.uk> wrote:

> Hi,
>
> The update has been committed. I would be grateful if you could sync your
> ports and try the update again, and report back (hopefully with success).
>
> cheers Chris
>
> On 10 Dec 2011, at 6:51pm, Chris Jones wrote:
>
> Update submitted
>
> https://trac.macports.org/ticket/32491
>
> On 10 Dec 2011, at 3:42pm, Rodolfo Aramayo wrote:
>
> Chris,
>
> Thank You. I will wait for you to submit your solution
>
> Thanks again
>
> --R
>
> On Sat, Dec 10, 2011 at 07:59, Chris Jones <jonesc at hep.phy.cam.ac.uk>wrote:
>
>> Hi,
>>
>> Yes, I'm aware of this. The problem is the opengl variant requires glew
>> to be installed with the x11 variant, which is not the default. For some
>> reason with the latest root update this is now causing problems..
>>
>> I'm working on a solution, which is to use a feature of root which is to
>> build its own built-in GLEW support, and not rely on the external version,
>> which it previously was doing. I have a few checks to run, but so far this
>> seems to be working, so I hope to submit an update soon.
>>
>> In the meantime, you have two work arounds
>>
>>  - install without the opengl variant. If you are upgrading from a
>> version with this enabled (which was the default) you will need to
>> uninstall then reinstall from scratch.
>>
>> - reinstall glew with the x11 variant.
>>
>> Chris
>>
>> On 10 Dec 2011, at 3:51am, Rodolfo Aramayo wrote:
>>
>> > Folks,
>> >
>> > Am I the only one having issues building root?
>> >
>> > It is failing to build in all my 12 machines
>> >
>> > The last 50 lines of the log say:
>> >
>> > ==:info:build /usr/bin/g++-4.2 -dynamiclib -single_module
>> -Wl,-dead_strip_dylibs -install_name /opt/local/lib/root/libRooStats.so -O2
>> -m64 -mmacosx-version-min=10.6 -o lib/libRooStats.so
>> roofit/roostats/src/AsymptoticCalculator.o
>> roofit/roostats/src/BayesianCalculator.o
>> roofit/roostats/src/BernsteinCorrection.o
>> roofit/roostats/src/ConfidenceBelt.o roofit/roostats/src/FeldmanCousins.o
>> roofit/roostats/src/FrequentistCalculator.o roofit/roostats/src/HLFactory.o
>> roofit/roostats/src/Heaviside.o roofit/roostats/src/HybridCalculator.o
>> roofit/roostats/src/HybridCalculatorOriginal.o
>> roofit/roostats/src/HybridPlot.o roofit/roostats/src/HybridResult.o
>> roofit/roostats/src/HypoTestCalculatorGeneric.o
>> roofit/roostats/src/HypoTestInverter.o
>> roofit/roostats/src/HypoTestInverterOriginal.o
>> roofit/roostats/src/HypoTestInverterPlot.o
>> roofit/roostats/src/HypoTestInverterResult.o
>> roofit/roostats/src/HypoTestPlot.o roofit/roostats/src/HypoTestResult.o
>> roofit/roostats/src/LikelihoodInterval.o
>> roofit/roostats/src/LikelihoodIntervalPlot.o
>> roofit/roostats/src/MCMCCalculator.o roofit/roostats/src/MCMCInterval.o
>> roofit/roostats/src/MCMCIntervalPlot.o roofit/roostats/src/MarkovChain.o
>> roofit/roostats/src/MetropolisHastings.o roofit/roostats/src/ModelConfig.o
>> roofit/roostats/src/NeymanConstruction.o
>> roofit/roostats/src/NumberCountingPdfFactory.o
>> roofit/roostats/src/NumberCountingUtils.o roofit/roostats/src/PdfProposal.o
>> roofit/roostats/src/PointSetInterval.o
>> roofit/roostats/src/ProfileInspector.o
>> roofit/roostats/src/ProfileLikelihoodCalculator.o
>> roofit/roostats/src/ProfileLikelihoodTestStat.o
>> roofit/roostats/src/ProposalHelper.o
>> roofit/roostats/src/RatioOfProfileLikelihoodsTestStat.o
>> roofit/roostats/src/RooStatsUtils.o roofit/roostats/src/SPlot.o
>> roofit/roostats/src/SamplingDistPlot.o
>> roofit/roostats/src/SamplingDistribution.o
>> roofit/roostats/src/SequentialProposal.o
>> roofit/roostats/src/SimpleInterval.o
>> roofit/roostats/src/SimpleLikelihoodRatioTestStat.o
>> roofit/roostats/src/ToyMCSampler.o roofit/roostats/src/ToyMCStudy.o
>> roofit/roostats/src/UniformProposal.o
>> roofit/roostats/src/UpperLimitMCSModule.o roofit/roostats/src/G__RooStats.o
>> -ldl -Llib -lRooFit -lRooFitCore -lTree -lRIO -lHist -lMatrix -lMathCore
>> -lMinuit -lFoam -lGraf -lGpad -Llib -lCore -lCint
>> > :info:build Undefined symbols:
>> > :info:build   "FTGLBitmapFont::FTGLBitmapFont(char const*)", referenced
>> from:
>> > :info:build       TGLFontManager::RegisterFont(int, int,
>> TGLFont::EMode, TGLFont&)in TGLFontManager.o
>> > :info:build   "FTGLTextureFont::FTGLTextureFont(char const*)",
>> referenced from:
>> > :info:build       TGLFontManager::RegisterFont(int, int,
>> TGLFont::EMode, TGLFont&)in TGLFontManager.o
>> > :info:build   "FTGLOutlineFont::FTGLOutlineFont(char const*)",
>> referenced from:
>> > :info:build       TGLFontManager::RegisterFont(int, int,
>> TGLFont::EMode, TGLFont&)in TGLFontManager.o
>> > :info:build   "FTGLPolygonFont::FTGLPolygonFont(char const*)",
>> referenced from:
>> > :info:build       TGLFontManager::RegisterFont(int, int,
>> TGLFont::EMode, TGLFont&)in TGLFontManager.o
>> > :info:build       TGLText::SetGLTextFont(short) in TGLText.o
>> > :info:build   "___GLXEW_ARB_multisample", referenced from:
>> > :info:build       TGLFormat::InitAvailableSamples()      in TGLFormat.o
>> > :info:build   "FTGLPixmapFont::FTGLPixmapFont(char const*)", referenced
>> from:
>> > :info:build       TGLFontManager::RegisterFont(int, int,
>> TGLFont::EMode, TGLFont&)in TGLFontManager.o
>> > :info:build   "FTFont::BBox(char const*, float&, float&, float&,
>> float&, float&, float&)", referenced from:
>> > :info:build       TGLFont::BBox(char const*, float&, float&, float&,
>> float&, float&, float&) constin TGLFontManager.o
>> > :info:build       TGLFont::MeasureBaseLineParams(float&, float&,
>> float&, char const*) constin TGLFontManager.o
>> > :info:build       TGLText::BBox(char const*, float&, float&, float&,
>> float&, float&, float&)in TGLText.o
>> > :info:build       TGLText::PaintBBox(char const*)in TGLText.o
>> > :info:build       TGLText::PaintGLText(double, double, double, char
>> const*)in TGLText.o
>> > :info:build   "FTGLExtrdFont::FTGLExtrdFont(char const*)", referenced
>> from:
>> > :info:build       TGLFontManager::RegisterFont(int, int,
>> TGLFont::EMode, TGLFont&)in TGLFontManager.o
>> > :info:build ld: symbol(s) not found
>> > :info:build collect2: ld returned 1 exit status
>> > :info:build make: *** [lib/libRGL.so] Error 1
>> > :info:build make: *** Waiting for unfinished jobs....
>> > :info:build ==> lib/libRooStats.so done
>> > :info:build make: Leaving directory
>> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_root/root/work/root'
>> > :info:build shell command " cd
>> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_root/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.install org.macports.build org.macports.destroot
>> > :notice:build Log for root is at:
>> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_root/root/main.log
>> > ==
>> > _______________________________________________
>> > macports-users mailing list
>> > macports-users at lists.macosforge.org
>> > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>>
>>
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20111211/dc66ff0e/attachment.html>


More information about the macports-users mailing list