Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Aug 2018 11:21:52 -0400
From:      Dan Langille <dan@langille.org>
To:        Tobias Kortkamp <tobik@FreeBSD.org>
Cc:        Jochen Neumeister <joneum@FreeBSD.org>, Nathan <ndowens.fbsd@yandex.com>, FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: svn commit: r475644 - head/databases/mantis
Message-ID:  <746ECDA4-0FAF-4187-A2D2-2182FA8AFC51@langille.org>
In-Reply-To: <1535147792.2908569.1485445424.798770B1@webmail.messagingengine.com>
References:  <201807291051.w6TApbaD077254@repo.freebsd.org> <1C5424FA-0CB2-4FD6-A997-100D83A91D24@langille.org> <1535147792.2908569.1485445424.798770B1@webmail.messagingengine.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_5B624BEB-F3CB-4754-AFE9-1E3E9A42D455
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

> On Aug 24, 2018, at 5:56 PM, Tobias Kortkamp <tobik@FreeBSD.org> =
wrote:
>=20
> On Mon, Aug 20, 2018, at 22:49, Dan Langille wrote:
>>> On Jul 29, 2018, at 6:51 AM, Jochen Neumeister <joneum@FreeBSD.org> =
wrote:
>>>=20
>>> Author: joneum
>>> Date: Sun Jul 29 10:51:37 2018
>>> New Revision: 475644
>>> URL: https://svnweb.freebsd.org/changeset/ports/475644
>>>=20
>>> Log:
>>> databases/mantis: Update to 2.15.0
>>>=20
>>> Changelog: =
https://mantisbt.org/bugs/changelog_page.php?project=3Dmantisbt&version=3D=
2.15.0
>>>=20
>>> PR:		229880
>>> Submitted by:	Nathan <ndowens.fbsd@yandex.com>
>>> MFH:		2018Q3
>>> Security:	0822a4cf-9318-11e8-8d88-00e04c1ea73d
>>>=20
>>> Modified:
>>> head/databases/mantis/Makefile
>>> head/databases/mantis/distinfo
>>=20
>> This version fails to run for me.  The vendor directory is missing.
>> This is the error I get:
>>=20
>> [Mon Aug 20 20:40:14.528249 2018] [:error] [pid 73365] [client =
redacted]
>> 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
>> [Mon Aug 20 20:40:14.528317 2018] [:error] [pid 73365] [client =
redacted]
>> PHP Fatal error:  require_once(): Failed opening required =
'/usr/local/
>> www/mantis/vendor/autoload.php' =
(include_path=3D'/usr/local/share/pear')
>> in /usr/local/www/mantis/core.php on line 71
>>=20
>> Is this working for anyone?
>>=20
>> There was no vendor directory in the 2.6.0 tarball.  There isn't one =
in
>> the 2.15.0 tarball either, but the code definitely references it.
>>=20
>> Upstream inquires
>> (https://mantisbt.org/forums/viewtopic.php?p=3D66190#p66190
>> <https://mantisbt.org/forums/viewtopic.php?p=3D66190#p66190>) =
indicate we
>> should be using Sourceforge downloads, not GitHub
>>=20
>> The vendor directory is present in the SF tarball at
>> https://sourceforge.net/projects/mantisbt/files/mantis-stable/2.16.0/
>> =
<https://sourceforge.net/projects/mantisbt/files/mantis-stable/2.16.0/>;
>>=20
>> I tried last night to update the port, but failed.
>>=20
>> Ideas please?
>=20
> Hi,
>=20
> could you test the update to 2.16.0 on =
https://reviews.freebsd.org/D16890 <https://reviews.freebsd.org/D16890>; =
?
> I've switched it over to the SF tarball and it seems to work ok
> for me, but would appreciate a confirmation from someone else that
> it works before committing it.
>=20
> Thanks!


The patch does not apply cleanly to the Makefile for me, so I applied it =
manually.

It builds, it runs.

A patch against head is belowl

I create diffs against head and uploaded them here:

https://gist.github.com/dlangille/a9de194209795a4261eebbd3de65e841 =
<https://gist.github.com/dlangille/a9de194209795a4261eebbd3de65e841>;

One is for the Makefile, the other is for the whole port.

Hope this helps.

Thank you, your work got me running again. I look forward to the commit.

--
Dan Langille - BSDCan / PGCon
dan@langille.org



--Apple-Mail=_5B624BEB-F3CB-4754-AFE9-1E3E9A42D455
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQGTBAEBCgB9FiEEzqcJ4oeyf8sgTIEBIU09XU2nXtMFAluBdBBfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldENF
QTcwOUUyODdCMjdGQ0IyMDRDODEwMTIxNEQzRDVENERBNzVFRDMACgkQIU09XU2n
XtPFcgf/evnKGCJNVe6uWndAMu00ldeg/2tdPqPmk8RMP2SwFxEFDbVSlHe31xqW
o63FaGqfB6mtRkbswyiGiWXmxHdlN9HStc6V9ReuP/h/BloaHNv0R6ESJJm1MYfa
8GiQGtWrNeiPnZmqNp0gq8S/iNxYFiW9e+2VI+6S7vX861KObeIHero3eaEyqbyD
pT8FNL+4rDA3tKEuNL909Rh7proHWag7Z+9sjbsqx/NJ4gsYUM45k+eMC2qFSNNP
Z1Y+BupSW3KgHO+MI4Y5mSAz4Q0il9gEXWGCaCfzZrUGp+9rbpAt8WDW4IzZWkJo
DsmW5wV3VSaErOalpLP9DlP7RZOP8A==
=Dm1y
-----END PGP SIGNATURE-----

--Apple-Mail=_5B624BEB-F3CB-4754-AFE9-1E3E9A42D455--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?746ECDA4-0FAF-4187-A2D2-2182FA8AFC51>