https://bugzilla.wikimedia.org/show_bug.cgi?id=68944

            Bug ID: 68944
           Summary: hphpize inject $PWD used at time of building to
                    HHVM_INCLUDE_DIRS
           Product: Wikimedia
           Version: wmf-deployment
          Hardware: All
                OS: All
            Status: NEW
          Keywords: hiphop
          Severity: normal
          Priority: Unprioritized
         Component: Continuous integration
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected]
            Blocks: 63120
       Web browser: ---
   Mobile Platform: ---

Forked from bug 63120

Ori quoted a discussion from Giuseppe:

> hphpize adds to the list of paths it configures the $PWD at the time of 
> building
> so when people try to use hphpize from the package I built, cmake complains it
> cannot find /root/joe/hhvm

After running cmake ., the CMakeLists.txt file has something like:

 set(HHVM_INCLUDE_DIRS;<snip>;/root/joe/hhvm)


That causes the build to abort with:

 cc1plus: error: /root/hhvm/joe/hhvm: Permission denied


The workaround for Jenkins is to use sed to strip the invalid path entirely.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to