Opened 14 years ago

Closed 14 years ago

#2907 closed defect (fixed)

case problem in

Reported by: willu.mailingLists@… Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version: 0.20
Severity: medium Keywords:
Cc: Ticket locked: no


I recently updated to r12478 from r11798 and started getting an error when running to do with filename case. Attached is a patch to fix it.

Attachments (2)

case-fix.diff (162 bytes) - added by willu.mailingLists@… 14 years ago.
patch to fix some filename case issues
case-fix.2.diff (644 bytes) - added by willu.mailinLists@… 14 years ago.
universal diff of fix

Download all attachments as: .zip

Change History (6)

Changed 14 years ago by willu.mailingLists@…

Attachment: case-fix.diff added

patch to fix some filename case issues

Changed 14 years ago by willu.mailinLists@…

Attachment: case-fix.2.diff added

universal diff of fix

comment:1 Changed 14 years ago by Nigel

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 pdbailey@…

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 willu.mailingLists@…

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?


$ -verbose -pluginskip -svnrev 12490


[osx-pkg] Building self-contained MythFrontend
[osx-pkg] rm -fr /Users/willu/src/mythsvn/
[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 line 943.

comment:4 Changed 14 years ago by Nigel

Resolution: fixed
Status: newclosed

(In [12505]) programs/myth*/myth* are lower case. Script uses upper case. Closes #2907

Note: See TracTickets for help on using tickets.