First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 59323
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: AMD64 Project <amd64@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Greg Symons <gsymons@gsconsulting.biz>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
pam_krb5-1.0-preserve-cflags.diff This patch modifies the pam_krb5 makefile to allow its own CFLAGS to be preserved patch Greg Symons 2004-08-03 18:18 0000 341 bytes Details | Diff
pam_krb5-1.0-r1.diff Patches pam_krb5-1.0-r1.ebuild to set ~amd64 and set appropriate CFLAGS to build pam_krb5 patch Greg Symons 2004-08-03 18:25 0000 876 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 59323 depends on: Show dependency tree
Bug 59323 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-08-03 18:13 0000
I've successfully installed pam_krb5-1.0-r1 under amd64. It did require a
little patching, however. I have patches both for the source and the ebuild
itself. I will attach them shortly. I'd recommend moving pam_krb-1.0-r1 to
~amd64.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Greg Symons 2004-08-03 18:18:25 0000 -------
Created an attachment (id=36722) [edit]
This patch modifies the pam_krb5 makefile to allow its own CFLAGS to be
preserved

This first patch modifies the makefile for the package so that it's own CFLAGS
are preserved and portage CFLAGS are appended, so that they take precedence.

------- Comment #2 From Greg Symons 2004-08-03 18:25:51 0000 -------
Created an attachment (id=36724) [edit]
Patches pam_krb5-1.0-r1.ebuild to set ~amd64 and set appropriate CFLAGS to
build pam_krb5

This second patch modifies the ebuild to apply the other patch and set the
GENTOOCFLAGS macro when make is called, so that pam_krb5's CFLAGS are
preserved.

We need to do this because pam_krb5 must be compiled with -fPIC on amd64. Since
I don't know if this is necessary on other platforms or not, I left the option
open to disable -fPIC through make.conf (though I can't really think of any
reasons for someone to want to do so).

------- Comment #3 From Danny van Dyk (RETIRED) 2004-08-08 10:09:02 0000 -------
Bad idea(tm) (no offense). IMHO this ebuild shouldn't do "make
CFLAGS=${CFLAGS}" at all. It has a perfectly working makefile and pam_krb5 does
not need any CFLAGS other than "-O2 -fPIC".

CC'ing the maintainer:

rphilips: Are you okay to change the "make ..." command to a plain emake ?

------- Comment #4 From Ryan Phillips (RETIRED) 2004-08-19 15:09:45 0000 -------
If the testing goes ok with emake, then go for it... There is no need for the
extra patching.

------- Comment #5 From Danny van Dyk (RETIRED) 2004-08-19 15:20:11 0000 -------
In CVS now.

First Last Prev Next    No search results available      Search page      Enter new bug