public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrice Clement" <monsieurp@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/rt/
Date: Tue,  3 Oct 2017 22:03:55 +0000 (UTC)	[thread overview]
Message-ID: <1507068223.46613dd254cb789aabc84dd7e77427fb1d419fb1.monsieurp@gentoo> (raw)

commit:     46613dd254cb789aabc84dd7e77427fb1d419fb1
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 26 17:32:25 2017 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Tue Oct  3 22:03:43 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46613dd2

www-apps/rt: fix loading of Date::Manip w/ Factory TZ.

On machines where TZ=Factory, such as ones freshly rolled out from
gentoo install media, `use Date::Manip` fails.

This leads to a failure at configure and install time.

Ideally, end users will need to configure their machines properly.

But their Timezone being right should have no bearing on the ability
to build this package.

Package-Manager: Portage-2.3.8, Repoman-2.3.3
Closes: https://github.com/gentoo/gentoo/pull/5795

 www-apps/rt/rt-4.2.12-r1.ebuild | 6 +++++-
 www-apps/rt/rt-4.4.1.ebuild     | 6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/www-apps/rt/rt-4.2.12-r1.ebuild b/www-apps/rt/rt-4.2.12-r1.ebuild
index 00b268f8c87..011c42d0189 100644
--- a/www-apps/rt/rt-4.2.12-r1.ebuild
+++ b/www-apps/rt/rt-4.2.12-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -231,6 +231,10 @@ src_configure() {
 		web="apache"
 		depsconf+=" --with-MODPERL2"
 	fi
+	# Any loading Date::Manip from here on
+	# may fail if TZ=Factory as it is on gentoo install
+	# media ( affects install as well )
+	export TZ=UTC
 
 	./configure --enable-layout=Gentoo \
 		--with-bin-owner=rt \

diff --git a/www-apps/rt/rt-4.4.1.ebuild b/www-apps/rt/rt-4.4.1.ebuild
index 3fa6e51a7e6..35232292400 100644
--- a/www-apps/rt/rt-4.4.1.ebuild
+++ b/www-apps/rt/rt-4.4.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -236,6 +236,10 @@ src_configure() {
 		web="apache"
 		depsconf+=" --with-MODPERL2"
 	fi
+	# Any loading Date::Manip from here on
+	# may fail if TZ=Factory as it is on gentoo install
+	# media ( affects install as well )
+	export TZ=UTC
 
 	./configure --enable-layout=Gentoo \
 		--with-bin-owner=rt \


             reply	other threads:[~2017-10-03 22:03 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-03 22:03 Patrice Clement [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-01 16:23 [gentoo-commits] repo/gentoo:master commit in: www-apps/rt/ Arthur Zamarin
2024-07-21  0:31 Sam James
2022-11-23 14:08 Jakov Smolić
2022-10-29 10:23 Jakov Smolić
2022-05-13 22:50 Conrad Kostecki
2021-06-03 19:13 Andreas K. Hüttel
2021-04-16 11:23 Sam James
2020-05-11 11:43 Aaron W. Swenson
2019-08-02 10:10 Aaron W. Swenson
2019-08-02 10:10 Aaron W. Swenson
2019-03-07 16:53 Aaron W. Swenson
2018-01-26 17:03 Aaron Swenson
2017-10-29 19:18 Jonas Stein
2017-10-24  7:11 Kent Fredric
2016-09-20 19:22 Aaron Swenson
2016-09-12 12:08 Kent Fredric
2016-08-02 11:54 Kent Fredric
2016-04-26 20:03 Andreas Hüttel
2016-04-26 20:03 Andreas Hüttel
2016-04-23 17:31 Andreas Hüttel
2016-03-10 23:10 Andreas Hüttel
2016-03-09 20:48 Andreas Hüttel
2016-02-29 15:36 Patrice Clement
2016-02-29 15:36 Patrice Clement
2015-11-18 18:02 Aaron Swenson
2015-11-18 18:01 Aaron Swenson
2015-09-11 22:29 Andreas Hüttel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1507068223.46613dd254cb789aabc84dd7e77427fb1d419fb1.monsieurp@gentoo \
    --to=monsieurp@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox