Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 494628 - www-apps/otrs-3.2.12 - Error in chown 101 81 .../work/otrs-3.2.12: Operation not permitted
Summary: www-apps/otrs-3.2.12 - Error in chown 101 81 .../work/otrs-3.2.12: Operation ...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on: 506052
Blocks:
  Show dependency tree
 
Reported: 2013-12-18 10:04 UTC by tazinblack
Modified: 2020-07-09 12:45 UTC (History)
5 users (show)

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


Attachments
build.log (build.log,1.99 KB, text/plain)
2013-12-18 10:08 UTC, tazinblack
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tazinblack 2013-12-18 10:04:47 UTC
Emerge of otrs fails with Error in chown 101 81 /var/tmp/portage/www-apps/otrs-3.2.12/work/otrs-3.2.12: Operation not permitted.

Looks like that there is a missung : between UID and GID.



Reproducible: Always

Steps to Reproduce:
1. emerge -av otrs
2.
3.
Actual Results:  
emerge -av otrs

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ~] www-apps/otrs-3.2.12  USE="apache2 gd mod_perl mysql pdf -fastcgi -ldap -postgres -soap" 0 kB

Total: 1 package (1 new), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] yes

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) www-apps/otrs-3.2.12
 * otrs-3.2.12.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                               [ ok ]
>>> Unpacking source...
>>> Unpacking otrs-3.2.12.tar.bz2 to /var/tmp/portage/www-apps/otrs-3.2.12/work
>>> Source unpacked in /var/tmp/portage/www-apps/otrs-3.2.12/work
>>> Preparing source in /var/tmp/portage/www-apps/otrs-3.2.12/work/otrs-3.2.12 ...
bin/otrs.SetPermissions.pl - set OTRS file permissions
Copyright (C) 2001-2013 OTRS AG, http://otrs.com/
Setting permissions on /var/tmp/portage/www-apps/otrs-3.2.12/work/otrs-3.2.12
Error in chown 101 81 /var/tmp/portage/www-apps/otrs-3.2.12/work/otrs-3.2.12: Operation not permitted
 * ERROR: www-apps/otrs-3.2.12::gentoo failed (prepare phase):
 *   Could not set permissions
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called src_prepare
 *   environment, line 2573:  Called die
 * The specific snippet of code:
 *       perl "${S}"/bin/otrs.SetPermissions.pl --otrs-user=otrs --web-user=apache --otrs-group=apache --web-group=apache "${S}" || die "Could not set permissions";
 * 
 * If you need support, post the output of `emerge --info '=www-apps/otrs-3.2.12::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-apps/otrs-3.2.12::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/www-apps/otrs-3.2.12/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-apps/otrs-3.2.12/temp/environment'.
 * Working directory: '/var/tmp/portage/www-apps/otrs-3.2.12/work/otrs-3.2.12/Kernel/Config'
 * S: '/var/tmp/portage/www-apps/otrs-3.2.12/work/otrs-3.2.12'

>>> Failed to emerge www-apps/otrs-3.2.12, Log file:

>>>  '/var/tmp/portage/www-apps/otrs-3.2.12/temp/build.log'

 * Messages for package www-apps/otrs-3.2.12:

 * ERROR: www-apps/otrs-3.2.12::gentoo failed (prepare phase):
 *   Could not set permissions
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called src_prepare
 *   environment, line 2573:  Called die
 * The specific snippet of code:
 *       perl "${S}"/bin/otrs.SetPermissions.pl --otrs-user=otrs --web-user=apache --otrs-group=apache --web-group=apache "${S}" || die "Could not set permissions";
 * 
 * If you need support, post the output of `emerge --info '=www-apps/otrs-3.2.12::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-apps/otrs-3.2.12::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/www-apps/otrs-3.2.12/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-apps/otrs-3.2.12/temp/environment'.
 * Working directory: '/var/tmp/portage/www-apps/otrs-3.2.12/work/otrs-3.2.12/Kernel/Config'
 * S: '/var/tmp/portage/www-apps/otrs-3.2.12/work/otrs-3.2.12'

Expected Results:  
otrs should build fine
Comment 1 tazinblack 2013-12-18 10:08:11 UTC
Created attachment 365578 [details]
build.log

Build log
Comment 2 tazinblack 2014-02-06 18:53:04 UTC
Isn't there someone out there who can help with this. 
I'm not familiar with perl. Or maybe there is another thing I can help with?
Comment 3 kevin.beppler 2014-02-12 12:49:41 UTC
got the same problem here. 
i desperately need it
Comment 4 tazinblack 2014-03-28 14:10:37 UTC
Is there anything I can help with here?
Comment 5 Marc Schiffbauer gentoo-dev 2014-07-15 21:13:11 UTC
Same here
Comment 6 Marc Schiffbauer gentoo-dev 2014-07-15 21:24:38 UTC
As a workaround you can use:

FEATURES="-userpriv" emerge -av otrs
Comment 7 Marc Schiffbauer gentoo-dev 2014-11-25 16:11:17 UTC
ping?
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-07-09 12:45:52 UTC
Removed in 934a47e2dfc9eb2ff6a38198622584ef458f028d, following last-rites in bug 664326, bug 692398.