Bug 10600 - spec file needs a correction
Summary: spec file needs a correction
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: util-linux
Version: 6.2
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Erik Troan
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-04-05 18:15 UTC by michal
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-02-06 21:25:10 UTC
Embargoed:


Attachments (Terms of Use)
compressed archive with modified util-linux specs and extra patches (8.07 KB, application/octet-stream)
2001-02-06 19:24 UTC, Michal Jaegermann
no flags Details

Description michal 2000-04-05 18:15:41 UTC
Spec file for util-linux 2.10f says 'make "RPM_OPT_FLAGS=$RPM_OPT_FLAGS"'
which is not doing to well if one would need to pass some other flags
here.  It should read 'make "OPT==$RPM_OPT_FLAGS"' for a desired effect.

On the top of it 'fdisk' throws multum of "unaligned access" on alpha.

If somebody would want a reworked source rpm file for 2.10h, with
much better working fdisk for disklabels on alpha, then tell me where
to upload that.  I am not going to attach it to this message.

  Michal Jaegermann,
  michal

Comment 1 Jeff Johnson 2000-05-14 18:33:59 UTC
Could you attach a patch and/or spec file to this message? Thanks.

Comment 2 Michal Jaegermann 2001-02-06 19:23:24 UTC
Attached is a spec file in question and two extra patches, Alpha specific,
referenced in it.  Please note dates. :-)

  Michal


Comment 3 Michal Jaegermann 2001-02-06 19:24:54 UTC
Created attachment 9161 [details]
compressed archive with modified util-linux specs and extra patches

Comment 4 Erik Troan 2001-02-06 21:25:04 UTC
OPT change in 2.10p-6, the fdisk ones look out of date now. Please tell me if
patches are still needed.

Comment 5 Michal Jaegermann 2001-02-06 22:24:12 UTC
> OPT change in 2.10p-6, the fdisk ones look out of date now.

No, I do not see it.  Look at a file MCONFIG in a top directory of
util-linux.  Even patched with "redhat" changes it is still using
"OPT" to add other options.  There is really no good way to pass
automatically such platform dependendent flags like '-mcpu=ev4 -Wa,-mev45'
from ~/.rpmrc, or whatever else you may want there, other than with
a proposed change.

Also of alpha specific patches one about warning seems to be indeed
obsolete (my name shows up in a header comment of fdisk.c :-) but the
other one is still pretty vital for Alpha if "not official" and it
does change an fdisk behaviour in this particular case.  Also 'bdsfdisk'
for scripted writes of disklabels (Jeff, i.e. jbj, got that one from me
a while ago) depends on this.  Mind you, this is not tested; just a quick
peek at the current code.

Comment 6 Erik Troan 2001-02-06 22:27:44 UTC
I haven't built the new util-linux yet, I will tonight. If it needs any more
patches when you see it, reopen this bug.


Note You need to log in before you can comment on or make changes to this bug.