i am not patient today but this is just a poor ebuild... what and where is it expecting to find this stuff... i have mounted and exported the CD_ROOT for all the 6 cds... then i had to cp the linux-install.sh from cd1 to disfiles to get it past this error ..... # emerge -uD world Calculating world dependencies ...done! >>> emerge (1 of 3) games-fps/ut2004-data-3186 to / >>> Unpacking source... !!! ERROR: games-fps/ut2004-data-3186 failed. !!! Function find_unpackable_file, Line 1055, Exitcode 0 !!! Could not find requested archive /linux-installer.sh !!! If you need support, post the topmost build error, NOT this status message. >>> Unpacking to /var/tmp/portage/ut2004-data-3186/work where it just hangs for eternity... then after cp'ing the sh to distfiles i get this.... # emerge -uD world Calculating world dependencies ...done! >>> emerge (1 of 4) games-fps/ut2004-data-3186 to / >>> Unpacking source... >>> Unpacking linux-installer.sh to /var/tmp/portage/ut2004-data-3186/work >>> Source unpacked. >>> Test phase [not enabled]: games-fps/ut2004-data-3186 >>> Install ut2004-data-3186 into /var/tmp/portage/ut2004-data-3186/image/ category games-fps * Copying files from Disk 1... cp: cannot stat `/Animations': No such file or directory cp: cannot stat `/ForceFeedback': No such file or directory cp: cannot stat `/Help': No such file or directory cp: cannot stat `/KarmaData': No such file or directory cp: cannot stat `/Maps': No such file or directory cp: cannot stat `/Sounds': No such file or directory cp: cannot stat `/Web': No such file or directory !!! ERROR: games-fps/ut2004-data-3186 failed. !!! Function src_install, Line 66, Exitcode 1 !!! copying files !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. 2. 3.
You need to export SETUP_CDROM=/mnt/cdrom (or whatever your cd is mounted on) before you emerge ut2004. There needs to be a check integrated in the ebuild to handle this. afaik it's in the old ut2004 ebuild, maybe somebody should take a look there and put it in this ebuild, too.
well i cant see why that would make any difference when i used export CD_ROOT_1=/home/rommel/ut2004/cd1 for example where cd1 was where the cd1.iso was mounted to. i had already used export to define each of the cd iso locations.
It looks like the ebuild isn't doing the cdrom detection for regular cds, only for dvds? It appears to be a misplaced else branch?
Created attachment 51998 [details, diff] patch to change else/fi nesting I've made a patch that appears to work for me, by changing the nesting of an else branch.
well your patch works but now i am getting an error i guess on uncompressing a file... there isnt too much to go on from emerge. # emerge -uD world Calculating world dependencies ...done! >>> emerge (1 of 3) games-fps/ut2004-data-3186 to / * Found CD #1 root at /home/rommel/ut2004/cd1 >>> Unpacking source... >>> Unpacking linux-installer.sh to /var/tmp/portage/ut2004-data-3186/work >>> Source unpacked. >>> Test phase [not enabled]: games-fps/ut2004-data-3186 >>> Install ut2004-data-3186 into /var/tmp/portage/ut2004-data-3186/image/ category games-fps * Copying files from Disk 1... * Found CD #2 root at /home/rommel/ut2004/cd2 * Copying files from Disk 2... * Found CD #3 root at /home/rommel/ut2004/cd3 * Copying files from Disk 3... * Found CD #4 root at /home/rommel/ut2004/cd4 * Copying files from Disk 4... * Found CD #5 root at /home/rommel/ut2004/cd5 * Copying files from Disk 5... * Found CD #6 root at /home/rommel/ut2004/cd6 * Copying files from Disk 6... * Uncompressing files... this *will* take a while... !!! ERROR: games-fps/ut2004-data-3186 failed. !!! Function games_ut_unpack, Line 179, Exitcode 4 !!! uncompressing file X_CliffTest.utx.uz2 !!! If you need support, post the topmost build error, NOT this status message.
Actually, it needed to stay where it was *and* added where your patch put it. emerge --sync and try again, as I've updated the ebuild...
>>> emerge (1 of 3) games-fps/ut2004-data-3186 to / * This package will need access to 6 cds. * If you do not have the CDs, but have the data files * mounted somewhere on your filesystem, just export * the following variables so they point to the right place: * CD_ROOT_1 CD_ROOT_2 CD_ROOT_3 CD_ROOT_4 CD_ROOT_5 CD_ROOT_6 * Or, if you have all the files in the same place, or * you only have one cdrom, you can export CD_ROOT * and that place will be used as the same data source * for all the CDs. * For example: * export CD_ROOT_1=/mnt/cdrom find: warning: you have specified the -maxdepth option after a non-option argument -iname, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. * Found CD #1 root at /home/rommel/ut2004/cd1 >>> Unpacking source... >>> Unpacking linux-installer.sh to /var/tmp/portage/ut2004-data-3186/work >>> Source unpacked. >>> Test phase [not enabled]: games-fps/ut2004-data-3186 >>> Install ut2004-data-3186 into /var/tmp/portage/ut2004-data-3186/image/ category games-fps * Copying files from Disk 1... find: warning: you have specified the -maxdepth option after a non-option argument -iname, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. find: warning: you have specified the -maxdepth option after a non-option argument -iname, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. find: warning: you have specified the -maxdepth option after a non-option argument -iname, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. find: warning: you have specified the -maxdepth option after a non-option argument -iname, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. * Found CD #2 root at /home/rommel/ut2004/cd2 * Copying files from Disk 2... find: warning: you have specified the -maxdepth option after a non-option argument -iname, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. find: warning: you have specified the -maxdepth option after a non-option argument -iname, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. find: warning: you have specified the -maxdepth option after a non-option argument -iname, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. find: warning: you have specified the -maxdepth option after a non-option argument -iname, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. * Found CD #3 root at /home/rommel/ut2004/cd3 * Copying files from Disk 3... find: warning: you have specified the -maxdepth option after a non-option argument -iname, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. find: warning: you have specified the -maxdepth option after a non-option argument -iname, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. * Found CD #4 root at /home/rommel/ut2004/cd4 * Copying files from Disk 4... find: warning: you have specified the -maxdepth option after a non-option argument -iname, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. find: warning: you have specified the -maxdepth option after a non-option argument -iname, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. * Found CD #5 root at /home/rommel/ut2004/cd5 * Copying files from Disk 5... find: warning: you have specified the -maxdepth option after a non-option argument -iname, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. * Found CD #6 root at /home/rommel/ut2004/cd6 * Copying files from Disk 6... ut2004-bin | 100% | 11 MiB | 1676 KiB/s | ETA 00:00.02 * Uncompressing files... this *will* take a while... !!! ERROR: games-fps/ut2004-data-3186 failed. !!! Function games_ut_unpack, Line 179, Exitcode 4 !!! uncompressing file X_CliffTest.utx.uz2 !!! If you need support, post the topmost build error, NOT this status message.
So I changed absolutely nothing with the eclass and now you're having find problems? Post your "emerge --info" and specifically your findutils version, as I get no such problems in testing on several machines. Attach a copy of the emerge with --debug to this bug.
chris i am not sure what happened but the find errors occured on two installs... actually one was a rsync of another.. but now the find errors no longer occur... it was either a reboot or rsync that fixed it? i have no idea. the failure to decompress that archive was a disk error... i had moved /opt /home and /var to another drive and it was apparently not handling it too well. sorry for all the crap and thanks for the help.