First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 33067
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux High-Performance Clustering Team <hp-cluster@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Thomas Eckert <eckert.thomas@gmx.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
pvm-ebuild.patch patch against pvm-3.4.4-r1.ebuild text/plain Thomas Eckert 2003-11-09 01:44 0000 930 bytes Details
pvm-povray-3.1g-r1.ebuild Correct variable text/plain Antonio 2004-03-02 11:53 0000 3.36 KB Details
pvm-povray-3.1g-r1.ebuild Sorry ! This is correct text/plain Antonio 2004-03-02 12:07 0000 3.37 KB Details
pvm-3.4.4-r1.ebuild This is ebuild in portage text/plain Antonio 2004-03-02 14:52 0000 1.11 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 33067 depends on: Show dependency tree
Show dependency graph
Bug 33067 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-11-09 01:43 0000
some cleanups for the pvm-ebuild -- it improves (I hope) the one submitted in
bug
#24197:
- replaced duplicate install-dir references with one variable (PVM_ROOT).
- changed destdir from /usr/local/pvm3 to /usr/share/pvm3 (/usr/local should
not
  be filled with portage-controlled stuff I guess).
- patch replaced by epatch

Reproducible: Always
Steps to Reproduce:

------- Comment #1 From Thomas Eckert 2003-11-09 01:44:16 0000 -------
Created an attachment (id=20464) [edit]
patch against pvm-3.4.4-r1.ebuild

------- Comment #2 From Donnie Berkholz 2003-11-10 00:49:03 0000 -------
Could you fix this to use tabs instead of spaces? The whole env.d section
is spaces.

Also replace the name and version in the epatch with ${P}, so it doesn't
require editing every version bump.

Is there any reason for /usr/share/pvm3 instead of /usr/share/pvm?

And creation of the env.d file should take place at ${T}/98pvm. No need for
the touch either.

------- Comment #3 From Donnie Berkholz 2003-11-10 01:03:54 0000 -------
I just cleaned up the ebuild, please take my changes into consideration before
submitting another patch. Thanks.

------- Comment #4 From Thomas Eckert 2003-11-13 15:52:15 0000 -------
the spaces were due to pasting, sorry.

beside that I overlooked the hardcoded version and only switched to epatch its unlikely that there will be a new version of pvm -- but who knows ...

/usr/share/pvm3 is commonly used to I thought it would be a good idea to leave that -- /usr/local is not the correct place imho.

don't understand the ${T} stuff.

don't have the time to deal with this -- switch to fixed if you want.

take care,
thomas


------- Comment #5 From Donnie Berkholz 2003-11-13 16:05:10 0000 -------
I agree on moving away from /usr/local. If pvm3 is typical instead of pvm, that
sounds fine. ${T} is a temporary directory in /var/tmp/portage, you can read
more in man 5 ebuild. I don't have enough time right now to make these fixes,
that's why I asked you to submit another patch.

If anyone else wants to "port" the changes in the old patch to the current
ebuild, feel free. Otherwise I'll get back to it in a while.

------- Comment #6 From Antonio 2004-03-02 11:48:32 0000 -------
I have installed pvm and pvm-povray-3.1g
pvm-3.4.4-r1 install in /usr/local/pvm3    is correct ?
pvm-3.4.4-r1 set in env.d the file 98pvm with PVM_ROOT and PVM_ARCH
but when installing pvm-povrayg-3.1g the ebuild search PVMROOT and not installing.
There are 2 solution: add PVMROOT on env.d/98pvm or correct the ebuild
I propose the 2nd solution.

------- Comment #7 From Antonio 2004-03-02 11:53:29 0000 -------
Created an attachment (id=26723) [edit]
Correct variable

------- Comment #8 From Antonio 2004-03-02 11:54:18 0000 -------
In ebuild attachment is correct also PVM_ARCH variable

------- Comment #9 From Antonio 2004-03-02 12:07:35 0000 -------
Created an attachment (id=26724) [edit]
Sorry ! This is correct

------- Comment #10 From Thomas Eckert 2004-03-02 13:47:08 0000 -------
correct: the current pvm-3.4.4-r1.ebuild installs to /usr/local (the patch in
this
bug would change this to /usr/share/pvm3).

for some reason pvm-povray uses PVMROOT instead of PVM_ROOT (only the latter is
documented in pvm_intro(1PVM)).

the attached ebuild (#9) is for pvm-povray -- not for pvm itself.

if there is other pvm-enabled software out there that uses PVMROOT it may make
sense to add this variable as some kind of "alias" to /etc/env.d/98pvm?

------- Comment #11 From Antonio 2004-03-02 14:44:20 0000 -------
This is extract for doc pvm-povray:

1.4. Building PVMPOV

After the patch has been applied successfully you can build the PVMPOV binaries. Change into the povray31/source/pvm directory and type 

------- Comment #12 From Antonio 2004-03-02 14:44:20 0000 -------
This is extract for doc pvm-povray:

1.4. Building PVMPOV

After the patch has been applied successfully you can build the PVMPOV binaries. Change into the povray31/source/pvm directory and type “aimk newunix”. (“aimk” is a wrapper program for “make”, used to portably select options to build PVM and PVM applications on various machines. “aimk” is part of the PVM suite.) When the compilation finishes, compile the display capable versions of PVMPOV by executing “aimk newsvga” and “aimk newxwin”. The binaries will then be in povray31/sources/pvm/$PVM_ARCH.

When the compilation failes, make sure, that you have set up PVM correctly (i.e.: that the environment variables PVMROOT and PATH fit your requirements.) 

1.5. Installing the binaries

As the case may be, the PVMPOV binaries can be installed in lots of ways.

    * If you can get administrative rights, then do the following:

$ su -
$ cd /home/flierl/tmp/pvmpov3_1g_2/povray31/source/pvm
$ aimk install

      This will copy the binaries to $PVM_ROOT/bin/$PVM_ARCH and create symbolic links in /usr/local/bin.
    * If you cannot get “root” you have two other options:
         1. Move the binaries into $HOME/pvm3/bin/$PVM_ARCH.
         2. Use the “ep=$PATH” option in your pvm.hosts file. Read the PVM documentation for more information. 

For me PVM_ROOT is correct and PVMROOT it is an error.

------- Comment #13 From Antonio 2004-03-02 14:46:23 0000 -------
because in portage the pvm-3.4.4-r1 is old. The patch is not applicate?

------- Comment #14 From Antonio 2004-03-02 14:52:58 0000 -------
Created an attachment (id=26732) [edit]
This is ebuild in portage

Because this ebuild ??

------- Comment #15 From Antonio 2004-03-02 14:58:26 0000 -------
Also xpvm ebuils with PVM_ROOT=/usr/local/pvm3 !!!
Where is correct !!!???

------- Comment #16 From Antonio 2004-03-02 15:01:23 0000 -------
I propose to correct only the variable PVM_ROOT and PVM_ARCH in the ebuid for
pvm-povray

------- Comment #17 From Thomas Eckert 2004-03-02 15:17:28 0000 -------
Antonio,
at the moment all the pvm-ebuilds (both pvm itself and xpvm) install to
/usr/local/pvm -- the suggestion I made in bug you are reading comments in is to
change this to /usr/share/pvm3. But that change has not happend yet (maybe it will
never happen -- no offense meant).

what i wanted to say is that maybe you are commenting the wrong bug: if pvm-povray
uses non-existing (and regarding PVM itself undocumented) variables it's a problem
of the pvm-povray-ebuild and not of the pvm-ebuild.

Thomas

------- Comment #18 From Antonio 2004-03-03 05:45:19 0000 -------
you have reason Sorry 
I open the bug for pvm-povray
Thanks

Antonio

------- Comment #19 From Michael Imhof 2004-03-28 02:07:24 0000 -------
Okay, so what about this bug?

Should we change the install path to /usr/share/pvm3 or leave it as is?

Thomas? Comments?

------- Comment #20 From Thomas Eckert 2004-03-28 03:35:14 0000 -------
yep: s@/usr/local/pvm3@/usr/share/pvm3@g.
The environment-stuff is already in -- no new patch attached as the changes are
trivial (3 occurences).

------- Comment #21 From Donnie Berkholz 2004-04-02 14:10:16 0000 -------
I fixed this in pvm-3.4.4-r2. Please file another bug for any issues with
pvm-povray.

Thanks for the contribution and sorry about the delay.

First Last Prev Next    No search results available      Search page      Enter new bug