[Home]

Summary:ASTERISK-28709: pjproject: Bundled pjproject install error
Reporter:Corey Farrell (coreyfarrell)Labels:
Date Opened:2020-01-21 17:31:33.000-0600Date Closed:
Priority:MinorRegression?
Status:Open/NewComponents:Third-Party/pjproject
Versions:16.7.0 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Run the following from a clean clone of the 16 branch as a non-root user:
{code}
./configure --enable-dev-mode --prefix=${PWD}/live
make -j16
make install samples
{code}

The following error is printed:
{code}
/usr/bin/install: cannot create directory ‘/opt/pjproject’: Permission denied
make[2]: *** [Makefile:188: _install] Error 1
make[1]: *** [Makefile:20: pjproject] Error 2
make: *** [Makefile:603: third-party-install] Error 2
{code}

When the error occurs it's trying to create /opt/pjproject/var/lib/asterisk/third-party/pjproject, somehow the pjproject prefix is altering the prefix used for ASTDATADIR.
Comments:By: Asterisk Team (asteriskteam) 2020-01-21 17:31:34.235-0600

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

Please note that once your issue enters an open state it has been accepted. As Asterisk is an open source project there is no guarantee or timeframe on when your issue will be looked into. If you need expedient resolution you will need to find and pay a suitable developer. Asking for an update on your issue will not yield any progress on it and will not result in a response. All updates are posted to the issue when they occur.

By: Benjamin Keith Ford (bford) 2020-01-28 11:08:00.736-0600

Very strange, this appears to work for me. What OS are you on? I'll open a ticket to investigate this further.

By: Corey Farrell (coreyfarrell) 2020-01-28 13:20:11.145-0600

I'm running Fedora 30 x86_64 Cinnamon Edition.  I am not running as root so {{mkdir -p /opt/pjproject}} is a legit permissions denied.