Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 630470 - www-misc/zoneminder fails configure when timezone==factory
Summary: www-misc/zoneminder fails configure when timezone==factory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-09 12:24 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2018-03-14 22:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (zoneminder-1.30.0:20170909-122046.log,7.60 KB, text/x-log)
2017-09-09 12:24 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details
CMakeError.log (CMakeError.log,2.80 KB, text/x-log)
2017-09-09 12:24 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details
CMakeOutput.log (CMakeOutput.log,73.37 KB, text/x-log)
2017-09-09 12:25 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-09-09 12:24:32 UTC
Created attachment 493508 [details]
build.log

This is also an issue in Date-Manip itself ( which is worked around during test time by setting TZ= )


md5sum $( qlist timezone-data | grep -i Factory ) /etc/localtime
4d2914d00b644647c401037be61965c8  /usr/share/zoneinfo/Factory
4d2914d00b644647c401037be61965c8  /etc/localtime


-- Found Perl: /usr/bin/perl (found version "5.26.0")
-- Checking for perl module Sys::Syslog
-- Checking for perl module Sys::Syslog - found at /usr/lib64/perl5/5.26.0/x86_64-linux/Sys/Syslog.pm
-- Checking for perl module DBI
-- Checking for perl module DBI - found at /usr/lib64/perl5/vendor_perl/5.26.0/x86_64-linux/DBI.pm
-- Checking for perl module DBD::mysql
-- Checking for perl module DBD::mysql - found at /usr/lib64/perl5/vendor_perl/5.26.0/x86_64-linux/DBD/mysql.pm
-- Checking for perl module Getopt::Long
-- Checking for perl module Getopt::Long - found at /usr/lib64/perl5/5.26.0/Getopt/Long.pm
-- Checking for perl module Time::HiRes
-- Checking for perl module Time::HiRes - found at /usr/lib64/perl5/5.26.0/x86_64-linux/Time/HiRes.pm
-- Checking for perl module Date::Manip
-- Checking for perl module Date::Manip - failed
-- Checking for perl module LWP::UserAgent
-- Checking for perl module LWP::UserAgent - found at /usr/lib64/perl5/vendor_perl/5.26.0/LWP/UserAgent.pm
-- Checking for perl module ExtUtils::MakeMaker
-- Checking for perl module ExtUtils::MakeMaker - found at /usr/lib64/perl5/5.26.0/ExtUtils/MakeMaker.pm
-- Checking for perl module Sys::Mmap
-- Checking for perl module Sys::Mmap - found at /usr/lib64/perl5/vendor_perl/5.26.0/x86_64-linux/Sys/Mmap.pm
-- Could NOT find PerlModules (missing:  PERLMODULES_DATE_MANIP_MODULE)
CMake Error at CMakeLists.txt:646 (message):
  Not all required perl modules were found on your system


---[ CMakeError.log ]---
Determining if the Perl module Date::Manip exists failed with the following error output:
ERROR: Date::Manip unable to determine Time Zone.
ERROR LOADING MODULE: Date::Manip::DM6 at /usr/lib64/perl5/vendor_perl/5.26.0/Date/Manip.pm line 35.
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.


Setting TZ in configure and other places where DateManip are required might be sufficient here.

Clearly anyone who needs to actually use DateManip stuff will need to set a more appropriate localtime, but annoying failures during build can be avoided.
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-09-09 12:24:54 UTC
Created attachment 493510 [details]
CMakeError.log
Comment 2 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-09-09 12:25:42 UTC
Created attachment 493514 [details]
CMakeOutput.log
Comment 3 Larry the Git Cow gentoo-dev 2018-03-14 22:48:27 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0878ef31bfa691c5d0bb46331b7ac477ce9ec56

commit e0878ef31bfa691c5d0bb46331b7ac477ce9ec56
Author:     Kent Fredric <kentnl@gentoo.org>
AuthorDate: 2018-03-14 05:24:55 +0000
Commit:     Kent Fredric <kentnl@gentoo.org>
CommitDate: 2018-03-14 22:47:47 +0000

    www-misc/zoneminder: Fix build failure w/ TZ=factory bug #630470
    
    Acked-By: dilfridge
    Closes: https://bugs.gentoo.org/630470
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 www-misc/zoneminder/zoneminder-1.30.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)