Re: databases/mantis - require_once(/usr/local/www/mantis/vendor/autoload.php): failed to open stream
> On Aug 19, 2018, at 9:40 PM, Dan Langille wrote: > >> On Aug 19, 2018, at 5:13 PM, Rozhuk Ivan wrote: >> >> On Sun, 19 Aug 2018 12:38:03 -0400 >> Dan Langille wrote: >> >>> There is no vendor directory in the pkg-plist for this port. >>> >>> What are other mantis users doing? >> >> IMHO makefile must be switch back to use vendor site instead github: vendor >> package contain things that not included in github. > > Thank you for this very helpful information. > > I'll work on a port upgrade for 2.16. I've hit my first block. Some of the configuration items for mantis are from GitHub. I do not know how to combine both SF and GitHub into MASTER_SITES. For now, I tried to ignore GitHub and commented out USE_GITHUB Then I started trying this: DISTNAME= ${PORTNAME}bt-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX} MASTER_SITES= SF MASTER_SITE_SUBDIR= mantisbt/files/mantis-stable/${PORTVERSION} But so far I've been unable to get the download URL correct for make makesum. It keeps trying to download from https://downloads.sourceforge.net/project/mantisbt/files/mantis-stable/2.16.0/mantisbt-2.16.0.tar.gz But I know I can get it from https://sourceforge.net/projects/mantisbt/files/mantis-stable/2.16.0/mantisbt-2.16.0.tar.gz/download Or even just https://sourceforge.net/projects/mantisbt/files/mantis-stable/2.16.0/mantisbt-2.16.0.tar.gz I often find this part of DISTFILES confusing and difficult when it comes to the macros. -- Dan Langille - BSDCan / PGCon d...@langille.org signature.asc Description: Message signed with OpenPGP
Re: databases/mantis - require_once(/usr/local/www/mantis/vendor/autoload.php): failed to open stream
> On Aug 19, 2018, at 5:13 PM, Rozhuk Ivan wrote: > > On Sun, 19 Aug 2018 12:38:03 -0400 > Dan Langille wrote: > >> There is no vendor directory in the pkg-plist for this port. >> >> What are other mantis users doing? > > IMHO makefile must be switch back to use vendor site instead github: vendor > package contain things that not included in github. Thank you for this very helpful information. I'll work on a port upgrade for 2.16. -- Dan Langille - BSDCan / PGCon d...@langille.org signature.asc Description: Message signed with OpenPGP
Re: databases/mantis - require_once(/usr/local/www/mantis/vendor/autoload.php): failed to open stream
On Sun, 19 Aug 2018 12:38:03 -0400 Dan Langille wrote: > There is no vendor directory in the pkg-plist for this port. > > What are other mantis users doing? IMHO makefile must be switch back to use vendor site instead github: vendor package contain things that not included in github. ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
databases/mantis - require_once(/usr/local/www/mantis/vendor/autoload.php): failed to open stream
I'm using databases/mantis on FreeBSD 11.2 with PHP 5.6.37 The error I see is: [Sun Aug 19 16:21:51.240380 2018] [:error] [pid 13018] [client 50.243.42.139:50002] PHP Warning: require_once(/usr/local/www/mantis/vendor/autoload.php): failed to open stream: No such file or directory in /usr/local/www/mantis/core.php on line 71 [Sun Aug 19 16:21:51.240434 2018] [:error] [pid 13018] [client 50.243.42.139:50002] PHP Fatal error: require_once(): Failed opening required '/usr/local/www/mantis/vendor/autoload.php' (include_path='/usr/local/share/pear') in /usr/local/www/mantis/core.php on line 71 Searching online, it seems I must run: composer install https://stackoverflow.com/questions/41209349/requirevendor-autoload-php-failed-to-open-stream#41209642 I see nothing mentioned in the docs: https://mantisbt.org/docs/master/en-US/Admin_Guide/html/admin.install.config.html ... etc There is no vendor directory in the pkg-plist for this port. What are other mantis users doing? -- Dan Langille - BSDCan / PGCon d...@langille.org ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"