Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 404499 - dev-vcs/subversion - pkg_config(): 'enewgroup()' called from 'config' phase which is not OK:
Summary: dev-vcs/subversion - pkg_config(): 'enewgroup()' called from 'config' phase w...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Thomas Sachau
URL:
Whiteboard:
Keywords:
: 440702 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-02-19 10:44 UTC by Rafal Kupiec
Modified: 2012-11-01 15:23 UTC (History)
1 user (show)

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 Rafal Kupiec 2012-02-19 10:44:43 UTC
Actually it is impossible to configure subversion using emerge --config, automatically create user/group and repositories for svnserve.

Reproducible: Always

Steps to Reproduce:
1. emerge --config subversion
Actual Results:  
Ready to configure dev-vcs/subversion-1.7.2? [Yes/No] 

 * Initializing the database in //var/svn...
 * Populating repository directory...
 * Setting repository permissions...
 * 'enewgroup()' called from 'config' phase which is not OK:
 * You may only call from pkg_{setup,preinst,postinst} functions.
 * Package fails at QA and at life.  Please file a bug.
 * ERROR: dev-vcs/subversion-1.7.2 failed (config phase):
 *   Bad package!  enewgroup is only for use in some pkg_* functions!
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called pkg_config
 *   environment, line 5880:  Called enewgroup 'svnserve'
 *   environment, line 2620:  Called _assert_pkg_ebuild_phase 'enewgroup'
 *   environment, line  504:  Called die
 * The specific snippet of code:
 *               die "Bad package!  $1 is only for use in some pkg_* functions!"
 * 
 * If you need support, post the output of 'emerge --info =dev-vcs/subversion-1.7.2',
 * the complete build log and the output of 'emerge -pqv =dev-vcs/subversion-1.7.2'.
 * This ebuild is from an overlay named 'gentoo': '/var/db/pkg/'
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info
 * The complete build log is located at '/var/log/portage/dev-vcs:subversion-1.7.2:20120219-104135.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-vcs/subversion-1.7.2/temp/environment'.
 * S: '/var/tmp/portage/dev-vcs/subversion-1.7.2/work/subversion-1.7.2'
Comment 1 Thomas Sachau gentoo-dev 2012-03-11 15:39:31 UTC
Resolved with 1.7.4, should be on your local rsync mirror in a few hours.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-11-01 15:23:17 UTC
*** Bug 440702 has been marked as a duplicate of this bug. ***