Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44268 - ut2003-bonuspack-epic fails to install properlly
Summary: ut2003-bonuspack-epic fails to install properlly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-10 10:51 UTC by Andrew Roden
Modified: 2004-03-17 04:15 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 Andrew Roden 2004-03-10 10:51:10 UTC
I have followed all instructions that I can find for installing ut2003-bonuspack-epic and alas it starts with these errors still.


Reproducible: Always
Steps to Reproduce:
1. emerge ut2003
2. emerge ut2003-bonuspack-epic
3. ebuild /usr/portage/games-fps/ut2003-bonuspack-epic/ut2003-bonuspack-epic-1.ebuild config
4. ut2003
Actual Results:  
When running #ut2003 I get no signs of the bonus pack and this output to console:

  ERROR: Could not open OGGPlayer.u for reading!
  ERROR: Could not open SkaarjPack_rc.u for reading!
  ERROR: Could not open SkaarjPack.u for reading!
  ERROR: Could not open BonusPack.u for reading!
 
Xlib:  extension "XiG-SUNDRY-NONSTANDARD" missing on display ":0.0".
pause_audiodevice stubbed for 0x2



There does not seem to be /opt/ut2003/epic-install as mentioned in the ebuild
notes. 

It appears that the bonus-pack was correctly unziped and the apporate files
edited.  

Running ut2k3 as root I get:
 fcntl: Invalid argument
 fcntl: Invalid argument
 Xlib:  extension "XiG-SUNDRY-NONSTANDARD" missing on display ":0.0".
However I don't think that the bonuspack is active. (What would be a sure way to
know?)

I have checked the permissions they all seem ok, I just don't know what is going
wrong..

I can see and open the files errored for no read.. such as #less
/opt/ut2003/BonusPack.u 

I tried deleteing ~/.ut2003 but that just gave me this new error (opps!):
 MisingIni
 History: 

 Exiting due to error

So here I am now I can't even run ut2003 anymore (as non-root)... *sigh*
Comment 1 Andrew Roden 2004-03-10 10:58:10 UTC
On an attempt to re-emerge the bonus-pack I noted this:

>>> Install ut2003-bonuspack-epic-1 into /var/tmp/portage/ut2003-bonuspack-epic-1/image/ category games-fps
install: cannot stat `/usr/portage/games-fps/ut2003-bonuspack-epic/files/epic-installer': No such file or directory
`/var/tmp/portage/ut2003-bonuspack-epic-1/work/UT2003-BonusPack/System/Manifest.ini' -> `/var/tmp/portage/ut2003-bonuspack-epic-1/image///opt/ut2003/Manifest.ini.epic'
man:
>>> Completed installing into /var/tmp/portage/ut2003-bonuspack-epic-1/image/
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2004-03-10 11:47:54 UTC
I just changed the installer name, so wait 30 then try again.

If this doesn't solve the problem, reopen this bug.
Comment 3 Andrew Roden 2004-03-10 15:38:19 UTC
Still same error:
  ERROR: Could not open SkaarjPack_rc.u for reading!
  ERROR: Could not open SkaarjPack.u for reading!
  ERROR: Could not open BonusPack.u for reading!

I know its not me as a went to the trouble of unmerging ut2003 and deleting ~/.ut2003 but alas it still gives me this.
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2004-03-10 16:35:30 UTC
OK.  I found the problem.  I was missing a couple "System" paths in the ebuild.  Everything should be working fine now.
Comment 5 Andrew Roden 2004-03-16 22:14:30 UTC
I re-opened this bug as now I get this error on another computer, tested on main one and I get same problem:

 >>> Install ut2003-bonuspack-epic-1 into /var/tmp/portage/ut2003-bonuspack-epic-1/image/ category games-fps
 cp: `/var/tmp/portage/ut2003-bonuspack-epic-1/image///opt/ut2003/System': specified destination directory does not exist
 Try `cp --help' for more information.

 !!! ERROR: games-fps/ut2003-bonuspack-epic-1 failed.
 !!! Function src_install, Line 47, Exitcode 1
 !!! Copying System files

Took a look at the ebuild seems to be this line its referenceing, however I can not fix it yet (however I am reading all the damn material but still not getting it to have a damn space)

 cp ${S}/System/{*.{det,est,frt,int,itt,kot,tmt,u},User.ini} ${Ddir}/System \
                || die "Copying System files"
Comment 6 Andrew Roden 2004-03-17 00:08:44 UTC
I found a solution:

Comment out the funny copy:
 #cp ${S}/System/{*.{det,est,frt,int,itt,kot,tmt,u},User.ini} ${Ddir}/Sy$
 #       || die "Copying System files"

And add the system folder to the line above:
 cp -r ${S}/{Maps,Sounds,StaticMeshes,Textures,System} ${Ddir} \
                || die "Copying Maps/Sounds/Textures"

I haven't had any problems doing it this way. Plus I don't think it even overwrites any files b/c of this line in src_unpack takes care of the only problem I can see:
 # This is done since the files are the same
 rm ${S}/Textures/LastManStanding.ut

Sorry if this isn't the place to put this stuff but I am a big newb about this.
Comment 7 Chris Gianelloni (RETIRED) gentoo-dev 2004-03-17 04:14:06 UTC
Funny enough, I had fixed that in my repository and had forgotten to commit it.

It should work fine now.
Comment 8 Chris Gianelloni (RETIRED) gentoo-dev 2004-03-17 04:15:45 UTC
I definitely did not want tocomment the copy, becauseI don't like copying crap that is good only in windows, like .dll files.  Anyway, adding the dodir ${Ddir}/System before the copies takes care of it.