Opened 14 years ago
Closed 14 years ago
#2907 closed defect (fixed)
case problem in osx-packager.pl
Reported by: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythtv | Version: | 0.20 |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Attachments (2)
Change History (6)
Changed 14 years ago by
Attachment: | case-fix.diff added |
---|
comment:1 Changed 14 years ago by
I understand the patch, but am curious about the error. Can you attach it? The volume that is created should be case-insensitive. Were you building on an NFS or SMB share?
comment:2 Changed 14 years ago by
Oddly, I encountered this problem at first too, and made a similar change to the script.
However, when I ran the whole process again from scratch, I didn't have an issue. Not massively informative, but since it works for me now, I didn't submit my patch. I was building on my local drive, btw.
comment:3 Changed 14 years ago by
I was using a previous checkout of the whole system, with a previously created disk image, to save some other local patches. The error occurs because the myth build system has created a file $svndir/mythtv/programs/mythfrontend/mythfrontend, and the script wants to copy MythFrontend. It can't find the file.
My build filesystem is case sensitive. I'm reusing the one I've been using for a while, but the script just creates a new UFS filesystem doesn't it? Why would that be case insensitive? And I thought that whole point of creating the new filesystem at all was to make it case sensitive? If you want it case insensitive, why not just use a normal directory?
Anyway:
$ osx-packager.pl -verbose -pluginskip -svnrev 12490 [snip] [osx-pkg] Building self-contained MythFrontend [osx-pkg] rm -fr /Users/willu/src/mythsvn/MythFrontend.app [osx-pkg] cp /Users/willu/src/mythsvn/.osx-packager/src/myth-svn/mythtv/programs/MythFrontend/MythFrontend /Users/willu/src/mythsvn/MythFrontend cp: /Users/willu/src/mythsvn/.osx-packager/src/myth-svn/mythtv/programs/MythFrontend/MythFrontend: No such file or directory [osx-pkg] Failed system call: " cp /Users/willu/src/mythsvn/.osx-packager/src/myth-svn/mythtv/programs/MythFrontend/MythFrontend /Users/willu/src/mythsvn/MythFrontend " with error code 1 Died at osx-packager.pl line 943.
patch to fix some filename case issues