Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52659 - net-mail/spambayes-1.0_beta1 bails on build error
Summary: net-mail/spambayes-1.0_beta1 bails on build error
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Thomas Raschbacher
Keywords: Bug
Depends on:
Reported: 2004-06-01 00:14 UTC by Brian Harring (RETIRED)
Modified: 2004-12-06 10:44 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Brian Harring (RETIRED) gentoo-dev 2004-06-01 00:14:27 UTC
Long story short...

bharring@exodus bharring $ sudo emerge spambayes
Calculating dependencies ...done!
>>> emerge (1 of 1) net-mail/spambayes-1.0_beta1 to /
>>> md5 src_uri ;-) spambayes-1.0b1.1.tar.gz
>>> Unpacking source...
>>> Unpacking spambayes-1.0b1.1.tar.gz to /var/tmp/portage/spambayes-1.0_beta1/work
>>> Source unpacked.
running build
running build_py
creating build
error: could not create 'build': Permission denied

!!! ERROR: net-mail/spambayes-1.0_beta1 failed.
!!! Function distutils_src_compile, Line 38, Exitcode 1
!!! compilation failed

spambaye's lacks support for a build option, and since no src_compile defined in the ebuild distutils_src_compile is defaulted to (which automatically tries build || die)

Maybe the distutils eclass changed on ya?

Either way, fix is straight forward- just define a dummy src_compile.
Might be useful to add an variable to distutils for switching on/off automatically attempting compilation, although not sure who reigns lord supreme over distutils.eclass...
Comment 1 Brian Harring (RETIRED) gentoo-dev 2004-06-01 00:18:47 UTC
Hmm.  slightly off in my description there :)
spambaye's is attempting to build, although I have no clue how it's attempting to do the build/installation (not familiar w/ distutils module).
Comment 2 Thomas Raschbacher gentoo-dev 2004-06-07 08:41:55 UTC
please try _rc1
Comment 3 Jason Ahrens 2004-10-12 07:07:31 UTC
Also, see bug 67227, same problem with rc1, with solution.
Comment 4 Thomas Raschbacher gentoo-dev 2004-12-06 10:44:32 UTC
noone reopened it so i close the bug