Summary: | app-doc/root-docs-5.34.03 - Error: Function Open(filename,"RECREATE") is not defined in current scope cernbuild.C:51 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | Current packages | Assignee: | Andrew Savchenko <bircoph> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bircoph, proxy-maint, sci-physics |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
/var/tmp/portage/app-doc/root-docs-5.34.03/temp/build.log
/var/tmp/portage/app-doc/root-docs-5.34.03/temp/environment |
Description
Juergen Rose
2013-01-22 10:35:32 UTC
Hello, looks like your root can't TFile dictionaries. ATM I can't reproduce your issue. Please provide more information about your sci-physics/root installation: emerge -pqv and please verify package integrity (qcheck from portage-utils) or try to reinstall it. Also please provide environment file from root-docs build. Do you use any PREFIX environment or non-standard install path? Hi Andrew, root@thinkpad:/home/rose(33)# emerge -pqv root [ebuild R ] sci-physics/root-5.34.03 USE="X doc emacs examples fftw fits graphviz htmldoc kerberos ldap math mpi mysql odbc opengl postgres python qt4 reflex ssl xml -afs -avahi -c++0x -openmp -oracle (-prefix) -pythia6 -pythia8 -ruby -xinetd -xrootd" [ebuild N ] app-doc/root-docs-5.34.03 USE="{-test}" * IMPORTANT: 3 news items need reading for repository 'gentoo'. * Use eselect news to read news items. root@thinkpad:/home/rose(34)# emerge -pvD root These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sci-physics/root-5.34.03::science USE="X doc emacs examples fftw fits graphviz htmldoc kerberos ldap math mpi mysql odbc opengl postgres python qt4 reflex ssl xml -afs -avahi -c++0x -openmp -oracle (-prefix) -pythia6 -pythia8 -ruby -xinetd -xrootd" 0 kB [ebuild N ] app-doc/root-docs-5.34.03::science USE="{-test}" 0 kB Total: 2 packages (1 new, 1 reinstall), Size of downloads: 0 kB * IMPORTANT: 3 news items need reading for repository 'gentoo'. * Use eselect news to read news items. root@thinkpad:/home/rose(35)# qcheck -e root Checking sci-physics/root-5.34.03 ... * 5524 out of 5524 files are good root@thinkpad:/home/rose(36)# genlop -t root | tail Wed Sep 5 08:06:09 2012 >>> sci-physics/root-5.34.01 merge time: 1 hour, 10 minutes and 10 seconds. Sun Dec 30 23:28:45 2012 >>> sci-physics/root-5.34.03 merge time: 1 hour, 8 minutes and 57 seconds. Wed Jan 16 11:54:23 2013 >>> sci-physics/root-5.34.03 merge time: 1 hour, 8 minutes and 31 seconds. I don't know, what is the meaning of PREFIX. I tried 'man emerge', 'man ebuild', 'man portage' and 'man make.conf', but I did not find PREFIX. So I suppose, that I don't use it. I energe two times more root, did some revdep-rbuild and tried to emerge root-docs. The last still fails: root@thinkpad:/root(7)# genlop -t root | tail Wed Jan 16 11:54:23 2013 >>> sci-physics/root-5.34.03 merge time: 1 hour, 8 minutes and 31 seconds. Sat Jan 26 23:22:42 2013 >>> sci-physics/root-5.34.03 merge time: 1 hour, 17 minutes and 16 seconds. Sun Jan 27 07:30:58 2013 >>> sci-physics/root-5.34.03 merge time: 1 hour, 17 minutes and 30 seconds. root@thinkpad:/root(8)# ll /var/tmp/portage/app-doc/root-docs-5.34.03/temp/environment -rw-rw-r-- 1 root portage 85110 Jan 28 06:37 /var/tmp/portage/app-doc/root-docs-5.34.03/temp/environment Created attachment 337112 [details]
/var/tmp/portage/app-doc/root-docs-5.34.03/temp/environment
Three weeks later it still fails with the same error. Sorry, for delay, but I still can't reproduce this problem. Till the end of week I'll update ROOT to 5.34.05, maybe this will help. Juergen, BTW what is your /etc/ld.so.conf content? It should contain /usr/lib/root. (In reply to comment #7) > Juergen, BTW what is your /etc/ld.so.conf content? > It should contain /usr/lib/root. It containes /usr/lib/root: ... Processing hsimple.C... Warning in <TClass::TClass>: no dictionary for class TFile is available hsimple : Real Time = 0.25 seconds Cpu Time = 0.25 seconds (class TFile*)0x94dc0a0 This is the end of ROOT -- Goodbye Processing cernbuild.C... Error: Function Open(filename,"RECREATE") is not defined in current scope cernbuild.C:51: *** Interpreter error recovered *** make: *** [html] Error 1 * ERROR: app-doc/root-docs-5.34.03 failed (compile phase): ... >>> Failed to emerge app-doc/root-docs-5.34.03, Log file: >>> '/var/tmp/portage/app-doc/root-docs-5.34.03/temp/build.log' root@thinkpad:/root(4)# cat /etc/ld.so.conf # ld.so.conf autogenerated by env-update; make all changes to # contents of /etc/env.d directory /lib /usr/lib /usr/local/lib include ld.so.conf.d/*.conf /usr/lib/opengl/xorg-x11/lib /usr/lib/itcl4.0.0/ /usr/lib/itk4.0.0/ /usr/lib/paraview-3.98 /usr/lib/qca2 /usr/lib/qt4 /usr/lib/postgresql /usr/lib/postgresql-9.2/lib/ /usr/lib/postgresql-9.1/lib/ /usr/lib/postgresql-9.0/lib/ /usr/lib/postgresql-8.4/lib/ /usr/games/lib /usr/lib/R/lib /usr/lib/fltk-1 /usr/lib/octave-3.6.3 /usr/lib/root root@thinkpad:/root(5)# Hello, I just bumped root and root-docs to 5.34.05 in the science overlay, please try it out. It also fails with root-docs-5.34.05: ... Running /var/tmp/portage_standard/app-doc/root-docs-5.34.05/work/root/build/unix/compiledata.sh Making include/compiledata.h Generating README/ReleaseNotes from package docs... Generated README/ReleaseNotes/v534/index.html Check the generated file with: http://validator.w3.org/#validate_by_upload+with_options Welcome to the ROOT tutorials Type ".x demos.C" to get a toolbar from which to execute the demos Type ".x demoshelp.C" to see the help window ==> Many tutorials use the file hsimple.root produced by hsimple.C ==> It is recommended to execute hsimple.C before any other script Processing hsimple.C... Warning in <TClass::TClass>: no dictionary for class TFile is available hsimple : Real Time = 0.64 seconds Cpu Time = 0.25 seconds (class TFile*)0x906a0c8 This is the end of ROOT -- Goodbye Processing cernbuild.C... Error: Function Open(filename,"RECREATE") is not defined in current scope cernbuild.C:51: *** Interpreter error recovered *** make: *** [html] Error 1 * ERROR: app-doc/root-docs-5.34.05 failed (compile phase): As far as I understand from bug 471236, 5.34.07 builds fine now. |