Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 216130 - sci-physics/root - Install tutorials where /usr/share/doc/${P}/test expects them
Summary: sci-physics/root - Install tutorials where /usr/share/doc/${P}/test expects them
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Science Physics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-04 03:17 UTC by Jeroen Roovers (RETIRED)
Modified: 2008-04-04 10:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2008-04-04 03:17:15 UTC
The stuff that is installed to /usr/share/doc/root-5.18.00/test depends on a sibling directory named tutorials, not tutorial, to build (copy both directories to a user's directory and run make all):

sci-physics-root/test $ make all
hppa2.0-unknown-linux-gnu-g++ -O2 -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wal
l  -O2 -Wall -fPIC -pthread -I/usr/include/root -c stressProof.cxx
stressProof.cxx:71:41: error: ../tutorials/proof/getProof.C: No such file or dir
ectory
stressProof.cxx: In function ‘Int_t PT_Open(void*)’:
stressProof.cxx:334: error: ‘getProof’ was not declared in this scope
make: *** [stressProof.o] Error 1

The following patch should solve this minor issue:

gentoo-x86/sci-physics/root $ cvs diff
Index: root-5.18.00.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-physics/root/root-5.18.00.ebuild,v
retrieving revision 1.2
diff -u -B -r1.2 root-5.18.00.ebuild
--- root-5.18.00.ebuild 18 Jan 2008 19:37:56 -0000      1.2
+++ root-5.18.00.ebuild 4 Apr 2008 03:12:23 -0000
@@ -113,7 +113,7 @@
                --srcdir=/usr/share/${PN}/src \
                --docdir=/usr/share/doc/${PF} \
                --testdir=/usr/share/doc/${PF}/test \
-               --tutdir=/usr/share/doc/${PF}/tutorial \
+               --tutdir=/usr/share/doc/${PF}/tutorials \
                --elispdir=/usr/share/emacs/site-lisp \
                --etcdir=/etc/${PN} \
                --disable-builtin-afterimage \
Comment 1 Sébastien Fabbro (RETIRED) gentoo-dev 2008-04-04 10:21:01 UTC
fixed. Thanks!