You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@issues.apache.org on 2010/08/08 21:10:58 UTC
[Bug 6478] New: install to a sudir failed
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6478
Summary: install to a sudir failed
Product: Spamassassin
Version: 3.3.1
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Building & Packaging
AssignedTo: dev@spamassassin.apache.org
ReportedBy: sca@andreasschulze.de
while packaging SA for debian I had to apply this patch
to install the configfiles into the build-environment
--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
[Bug 6478] install to a sudir failed
Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6478
sca@andreasschulze.de changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sca@andreasschulze.de
Version|3.3.1 |3.3.2
--- Comment #4 from sca@andreasschulze.de 2011-05-31 22:04:07 UTC ---
Kevin,
inserting "$(I_PREFIX)/../" means here not to install in /usr/../ but
/tmp/buildd/foo/usr/../
This is essensial because the buildsystem cannot install in /usr.
/usr/bin/perl -MFile::Copy -e "copy(q{rules/v320.pre},
q{/tmp/buildd/spamassassin-3.3.2-rc2/debian/spamassassin/usr/..//etc/mail/spamassassin/v320.pre})
unless -f
q{/tmp/buildd/spamassassin-3.3.2-rc2/debian/spamassassin/usr/..//etc/mail/spamassassin/v320.pre}"
--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
[Bug 6478] install to a sudir failed
Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6478
--- Comment #6 from sca@andreasschulze.de 2011-06-07 17:46:36 UTC ---
Kevin,
thanks for analysis.
I really did not tested my patch outside my buildsystem.
So the patch works for me. We schould not break the build for all others.
BUT:
It schould be addressed in future versions!
So you could let the bug sleep til the next release...
--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
[Bug 6478] install to a sudir failed
Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6478
Kevin A. McGrail <km...@pccc.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kmcgrail@pccc.com
--- Comment #3 from Kevin A. McGrail <km...@pccc.com> 2011-05-18 14:48:54 UTC ---
I'm testing this w/ 3.3.2rc1 and had to manually make the changes manually
since the patch doesn't work.
However, that aside, this patch is a -1 for me:
For example, here is the output of make conf__install for me with the patch
applied for the first two lines:
make conf__install
/usr/local/bin/perl "-MExtUtils::Command" -e mkpath
/usr/local/..//etc/mail/spamassassin
/usr/local/bin/perl -MFile::Copy -e "copy(q{rules/local.cf},
q{/usr/local/..//etc/mail/spamassassin/local.cf}) unless -f
q{/usr/local/..//etc/mail/spamassassin/local.cf}"
/usr/local/bin/perl -MFile::Copy -e "copy(q{rules/init.pre},
q{/etc/mail/spamassassin/init.pre}) unless -f
q{/etc/mail/spamassassin/init.pre}"
So instead of getting /etc/mail/spamassassin as the default, I now get a
directory /usr/etc/mail/spamassassin.
regards,
KAM
--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
[Bug 6478] install to a sudir failed
Posted by bu...@issues.apache.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6478
--- Comment #1 from sca@andreasschulze.de 2010-08-08 15:20:15 UTC ---
Created an attachment (id=4796)
--> (https://issues.apache.org/SpamAssassin/attachment.cgi?id=4796)
patch to install configfiles in a buildenvironment
--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
[Bug 6478] install to a sudir failed
Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6478
Mark Martinec <Ma...@ijs.si> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|Undefined |3.3.2
--- Comment #2 from Mark Martinec <Ma...@ijs.si> 2011-05-18 12:50:58 UTC ---
Just bumping the target to 3.3.2 tentatively - for consideration.
I don't fully understand the issue, but if it solves it for the
affected environment and does not hurt the rest, it's fine by me.
--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
[Bug 6478] install to a sudir failed
Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6478
--- Comment #5 from Kevin A. McGrail <km...@pccc.com> 2011-05-31 22:06:40 UTC ---
(In reply to comment #4)
> Kevin,
>
> inserting "$(I_PREFIX)/../" means here not to install in /usr/../ but
> /tmp/buildd/foo/usr/../
> This is essensial because the buildsystem cannot install in /usr.
>
> /usr/bin/perl -MFile::Copy -e "copy(q{rules/v320.pre},
> q{/tmp/buildd/spamassassin-3.3.2-rc2/debian/spamassassin/usr/..//etc/mail/spamassassin/v320.pre})
> unless -f
> q{/tmp/buildd/spamassassin-3.3.2-rc2/debian/spamassassin/usr/..//etc/mail/spamassassin/v320.pre}"
Perhaps, but your patch doesn't work outside of a build system. It tried to
install /etc/mail/spamassassin as /usr/etc/mail/spamassassin.
I can't disagree there isn't some bug in a buildenvironment but your patch
breaks a normal install as best I can tell.
--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
[Bug 6478] install to a sudir failed
Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6478
Kevin A. McGrail <km...@pccc.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
--- Comment #7 from Kevin A. McGrail <km...@pccc.com> 2011-06-23 19:09:39 UTC ---
End user has a patch that works for his special situation and this doesn't
really apply to the project. The patch breaks normal installations. Closing
as a resolved/wontfix but happy to reconsider if more people need this.
--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.