Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 671128 - =app-admin/puppet-5.5.8 failing postinstall
Summary: =app-admin/puppet-5.5.8 failing postinstall
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-14 11:54 UTC by Matthew Marlowe (RETIRED)
Modified: 2018-11-19 19:12 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Marlowe (RETIRED) gentoo-dev 2018-11-14 11:54:52 UTC
Updated puppet from 5.5.7 to 5.5.8 on my test system and received the following error during install, seems to be related to changes to the 5.5.8 ebuild bump.

/var/tmp/portage/app-admin/puppet-5.5.8/temp/environment: line 1063: [[: 4.0.0: syntax error: invalid arithmetic operator (error token is ".0.0")
 * ERROR: app-admin/puppet-5.5.8::gentoo failed (postinst phase):
 *   _ver_parse_range: end of range must be >= start
 *
 * Call stack:
 *     ebuild.sh, line  124:  Called pkg_postinst
 *   environment, line 4694:  Called ver_cut '4.0.0' '5.5.7'
 *   environment, line 5967:  Called _ver_parse_range '4.0.0' '3'
 *   environment, line 1063:  Called die
 * The specific snippet of code:
 *           [[ ${start} -le ${end} ]] || die "${FUNCNAME}: end of range must be >= start";
 *
 * If you need support, post the output of `emerge --info '=app-admin/puppet-5.5.8::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-admin/puppet-5.5.8::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =puppet-5.5.8
 * The complete build log is located at '/var/tmp/portage/app-admin/puppet-5.5.8/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-admin/puppet-5.5.8/temp/environment'.
 * Working directory: '/var/tmp/portage/app-admin/puppet-5.5.8/homedir'
 * S: '/var/tmp/portage/app-admin/puppet-5.5.8/work'
 * FAILED postinst: 1

>>> Failed to execute postinst for app-admin/puppet-5.5.8
Comment 1 Larry the Git Cow gentoo-dev 2018-11-19 19:12:58 UTC
The bug has been closed via the following commit(s):

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

commit 61b059cc9b30057533e7ede52b1bc8e2dda5b38b
Author:     Matthew Thode <prometheanfire@gentoo.org>
AuthorDate: 2018-11-19 19:12:01 +0000
Commit:     Matthew Thode <prometheanfire@gentoo.org>
CommitDate: 2018-11-19 19:12:01 +0000

    app-admin/puppet: fix post_install for 5.7.7
    
    Fixes: https://bugs.gentoo.org/671128
    Package-Manager: Portage-2.3.51, Repoman-2.3.12
    Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>

 app-admin/puppet/puppet-5.5.8.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)