Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-10178

build.xml does not specify path to find - breaks on FreeBSD

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.8
    • Fix Version/s: 3.0.9-RC1
    • Component/s: None
    • Labels:
      None

      Description

      On FreeBSD the path argument to find is not optional like it is on linux. Therefore not specifying it results in the following errors:

      ...
      phpBB > export:
       
           [exec] Executing command: git archive release-3.0.2 | tar -xf - -C ../build/old_versions/release-3.0.2 2>&1
         [delete] Deleting: /usr/home/pie/apps/phpbb/build/old_versions/release-3.0.2/config.php
         [delete] Deleting directory /usr/home/pie/apps/phpbb/build/old_versions/release-3.0.2/develop
         [delete] Deleting directory /usr/home/pie/apps/phpbb/build/old_versions/release-3.0.2/install/data
           [echo] Setting permissions for checkout of release-3.0.2 in build/old_versions/release-3.0.2
           [exec] Executing command: find -type f|xargs chmod 644 2>&1
      find: illegal option -- t
      find: illegal option -- y
      find: illegal option -- p
      find: illegal option -- e
      find: f: No such file or directory
           [exec] Executing command: find -type d|xargs chmod 755 2>&1
      find: illegal option -- t
      find: illegal option -- y
      find: illegal option -- p
      find: illegal option -- e
      find: d: No such file or directory
          [chmod] Changed file mode on '/usr/home/pie/apps/phpbb/build/old_versions/release-3.0.2/cache' to 777
          [chmod] Changed file mode on '/usr/home/pie/apps/phpbb/build/old_versions/release-3.0.2/store' to 777
          [chmod] Changed file mode on '/usr/home/pie/apps/phpbb/build/old_versions/release-3.0.2/files' to 777
          [chmod] Changed file mode on '/usr/home/pie/apps/phpbb/build/old_versions/release-3.0.2/images/avatars/upload' to 777
      [phingcall] Calling Buildfile '/usr/home/pie/apps/phpbb/build/build.xml' with target 'clean-diff-dir'
      ...
      

        Attachments

          Activity

            People

            • Assignee:
              Oleg Oleg [X] (Inactive)
              Reporter:
              Oleg Oleg [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: