Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109106 - sys-devel/gentooalt-m4 keywording request
Summary: sys-devel/gentooalt-m4 keywording request
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Diego Elio Pettenò (RETIRED)
URL: http://gentoo-alt.gentoo.org/maintnot...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-13 03:09 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2005-10-16 03:22 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2005-10-13 03:09:22 UTC
The gentooalt-m4 package contains two m4 macro files that are used to patch   
autotooled package to behave correctly on Gentoo/ALT ports. See the URL. 
   
I'm asking arches to keyword this package because I have fixes (in gentoo-alt 
overlay) for cups and netatalk that involves the use of this package as 
dependency, so this must be keyworded before I can proceed to submit those 
fixes to maintainers. 
 
Thanks in advance to everyone. 
 
Diego
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2005-10-13 03:48:00 UTC
Since its at autotool level, I do not see why the patch can include the macro as
well?
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-10-13 03:55:18 UTC
Yes it can, but I'd rather use this method mainly for two reasons:  
  
a) adding the m4 to the patch for every package that needs them (cups and  
netatalk are just two "proof of concept" to try it out, but other packages  
will follow in the future, as this fixes the -Wl,-z,now thing for macos and  
other operating systems) would probably mean adding a lot of redundant code  
that increases the size of the tree  
b) having the m4 in a centralized package allows to update it to work for new 
linkers/situations without having to update all the patch out there 
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2005-10-13 04:28:51 UTC
You can put the patch on the mirrors if that is an issue.  What I want to know
is if this 'fixes' will be going upstream or not ...
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-10-13 04:41:31 UTC
Well then you increase the size of the tree instead of using a single 
repository :) 
 
And yes, the idea behind this kind of patching is that it can go upstream. 
Problem is, netatalk upstream seems deadish, and I'm not really sure about who 
should I try to contact for cups. 
 
In case they go upstream, it would be handy to continue using this package and 
removing the shipped .m4 to allow adding more supports just updating this 
package itself. 
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2005-10-13 06:12:59 UTC
(In reply to comment #4)
> Well then you increase the size of the tree instead of using a single 
> repository :) 
>  

Ok?

> And yes, the idea behind this kind of patching is that it can go upstream. 
> Problem is, netatalk upstream seems deadish, and I'm not really sure about who 
> should I try to contact for cups. 
>  
> In case they go upstream, it would be handy to continue using this package and 
> removing the shipped .m4 to allow adding more supports just updating this 
> package itself. 

Do not really see the need for this, as you will only need the .m4 if you gonna
autoreconf it, so upstream will ship it anyhow.  And instead of you guys doing
it per alt-arch, its once again starting to become the 99% of the rest of
Gentoo's problem type thing.
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-10-13 06:55:27 UTC
(In reply to comment #5)  
> Do not really see the need for this, as you will only need the .m4 if you  
gonna  
> autoreconf it, so upstream will ship it anyhow.  And instead of you guys  
doing  
> it per alt-arch, its once again starting to become the 99% of the rest of  
> Gentoo's problem type thing.  
  
The problem is that if we start using it just conditionally for gentoo-alt 
arches, we need two patches for every package, one that add -Wl,-z,now for 
Linux, and one that uses the m4 for gentoo-alt. And this doesn't seem too good 
for maintainers. 
Also, if something changes in the m4, using a single package the fix is 
trivial, while if we have to send the patch to every maintainer, we might 
require tenths of bugs and different maintainers to fix the same thing... 
 
It seems more practical, to me, spending a bit more time keywording/bumping 
the m4 package instead of having to resend the patches everytime.. 
Comment 7 SpanKY gentoo-dev 2005-10-13 23:34:58 UTC
upstream tends to not accept bind now flags in their packages

why is m4 better than patching in say @BIND_NOW_FLAGS@ and then just running
`sed -i -e "s:@BIND_NOW_FLAGS@:$(bindnow-flags):" Makefile.in`
Comment 8 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-10-14 01:37:43 UTC
Because the m4 is pushable upstream. 
Why you say that they usually refuse them? 
 
Comment 9 SpanKY gentoo-dev 2005-10-14 06:41:57 UTC
experience
Comment 10 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-10-14 09:46:55 UTC
If you think that those patches should not go upstream, I'm fine with your 
solution and I can take down gentooalt-m4 entirely. 
 
Close this bug if you think so, and I'll act according. 
Comment 11 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-10-16 03:22:34 UTC
I'll go with vapier's idea then, using patch + sed . The package is going away 
soon. Sorry arches for the noise.