Packaging:Minutes20080408

Present

 * DominikMierzejewski
 * HansdeGoede
 * JasonTibbitts
 * RalfCorsepius
 * RexDieter
 * TomCallaway
 * ToshioKuratomi

Writeups
The following drafts have been accepted by FESCO and are to be written into the guidelines:

http://fedoraproject.org/wiki/Packaging/SysVInitScript http://fedoraproject.org/wiki/Packaging/Java http://fedoraproject.org/wiki/Packaging/EclipsePlugins http://fedoraproject.org/wiki/Packaging/GCJGuidelines
 * SysV-style initscript guidelines:
 * Java packaging guidelines:
 * Eclipse plugin guidelines:
 * GCJGuidelines:

Votes
The following proposals were considered:


 * No packages may own files or dirs in /srv
 * http://fedoraproject.org/wiki/PackagingDrafts/NoBitsInSrv
 * This is a new draft this week
 * Target release: F10 (including fixing noncompliant packages by then)
 * Accepted (6 - 0)
 * Voting for: tibbs spot Rathann abadger1999 racor hansg rdieter


 * Naming all packages in lowercase
 * http://fedoraproject.org/wiki/PackagingDrafts/ASCIINamingLowercase
 * This is a new draft.
 * Not Accepted (1 - 4)
 * Voting for: agadger1999
 * Voting against: tibbs spot hansg racor
 * Abstaining: Rathann rdieter


 * Revisiting the jpackagage naming exception
 * The original exception is at http://fedoraproject.org/wiki/Packaging/JPackagePolicy; the committee is revisiting the exception.
 * The committee requests from the Java group "a list of information as to why they need the jpp tag, specifically, how they're using it, by May 8th." The committee will revisit the issue then.
 * Accepted (5 - 0)
 * Voting for: tibbs abadger1999 spot rdieter hansg


 * Sugar Activity Guidelines
 * http://fedoraproject.org/wiki/DennisGilmore/SugarActivityGuidelines
 * A new draft this week
 * Some issues were identified:
 * arch-specific activities should not install under /usr/share
 * /usr/share/activities is rather generic
 * The draft is tabled until the next meeting.


 * Update the GCJ guidelines to require that it be called conditionally
 * http://fedoraproject.org/wiki/PackagingDrafts/ConditionalGCJ
 * A modification to the existing GCJ guidelines, new this week.
 * Accepted (6 - 0)
 * Voting for: abadger1999 spot tibbs rdieter Rathann hansg

Other Discussions
The meeting ended with a long discussion of the packaging of static libraries and the conditions under which static libraries are allowable in the -devel pacuage. This was triggered by the discussion in https://bugzilla.redhat.com/show_bug.cgi?id=430545. There was no written proposal.

Next meeting 2008-04-22.

IRC Logs
[12:06] *** rdieter sets the channel topic to "Channel is used by various Fedora groups and committees for their regular meetings | Note that meetings often get logged | For questions about using Fedora please ask in #fedora | See http://fedoraproject.org/wiki/Communicate/FedoraMeetingChannel for meeting schedule". [12:06] abadger1999, racor, hansg, tibbs? [12:06] * hansg is present and ready [12:07] I'm here [12:07] * tibbs here [12:07] --> Rathann has joined this channel (n=rathann@onizuka.greysector.net). [12:07] * Rathann present [12:07] ok, thats 6 of us. [12:08] --> caillon has joined this channel (n=caillon@75.147.7.113). [12:08] first item is about the FPC seats [12:08] right now, we have two open seats [12:08] we had an election to determine the first open seat [12:08] but two candidates came out in a tie for first [12:08] How convenient. [12:08] thus, it seems reasonable to offer both of them a seat. :) [12:09] +1 to that. [12:09]  +1 [12:09]   +1 [12:09]  +1 [12:09]  +1 [12:09]  +1 [12:09]  ok, i will send them email today to invite them to join [12:10]  now, lets get to the fun stuff [12:10]  Well, first, who are the two new folks? [12:10]  Or is it a secret until they accept? [12:10]  well, i'd rather make sure they are still willing [12:11]  sorry, for being late, and sorry in advance, I'll also have to quit early, today :/ [12:11]  first item of business: http://fedoraproject.org/wiki/PackagingDrafts/NoBitsInSrv [12:11]  I wish we could handle this better. [12:12]  tibbs: i wish the FHS wasn't such a trainwreck here. [12:13]  I like the quote.  Self-contradictions are always good for proving a point. [12:13]  if the FHS ever gets its head out of its ass here, we'll draft proper usage guidelines for /srv [12:13]  Well, yeah.  I guess in the absense of useful guidance we just have to stay clear of it. [12:14] +1 to the draft, although I've no idea how to go about fixing things. [12:14] So what's the plan for migration from F-9 w/ /srv usage to F-10 without? [12:14] abadger1999: i'll file bugs and work with the packagers on a case-by-case [12:14] The thing that really bothers me is that if we could just fix a structure for /srv, we could have working selinux rules for that content. [12:15] Right now you have to know too much about selinux in order to move your web sites out of /var, for example. [12:15]  tibbs: wouldn't mount --bind work around that? [12:16] * spot is +1 on this draft (since it is one of mine) [12:16]  +1 from me too [12:16] +1 [12:16]  +1 [12:16]  If we run into problems porting I'm sure you'll let us know. [12:16]  tibbs: it says "at this time", we can revisit it later [12:17] Rathann: Yes, it is always the case that we can revisit guidelines. [12:17] ok, thats a +5... hansg, if you'd like a vote on the record, feel free to chime in. [12:17] +1 [12:18]  next item: http://fedoraproject.org/wiki/PackagingDrafts/ASCIINamingLowercase [12:18] +1 nobitsinsrv (too) [12:18] -1 [12:18]  * spot notes that "Even historic mixed-case packages like X have been converted to lowercase over time." is pretty much false. [12:18] -10 [12:18]  -1 [12:19]  well, if others would like to vote here, they can go on the record [12:19]  0 [12:19] -1 [12:19]  but this one is pretty much dead. [12:20] +1 [12:20]  while I tend to agree with the sentiment of this proposal, it's implementation, wording isn't acceptable. [12:20] :-) [12:20]  rdieter: Agreed [12:20]  0 [12:20]  OK, lets move on. Next item: Revoke JPackage Naming Exception [12:20]  Specifically, I propose that we revoke: http://fedoraproject.org/wiki/Packaging/JPackagePolicy [12:20]  I could live with a rule saying that mixed case package names should have an all lowercase provides for easy yum install foo instead of yum install fOo [12:21]  the arguments in that exception policy were ... tenuous at best. [12:21]  hansg: I agree; I would also be happy with a rule about whether you can have two packages whose names differ only in case. [12:22]  -1 (to revoking it) seing the discussion on the devel-list, there doesn't seem to be a consensus on this in our community [12:22]  no progress has been made by anyone to work towards improving the areas of concern, but there has also been no serious loss to anyone as a result of their absense. [12:22]  spot: I agree about the jpackage naming policy, but as far as I know we still haven't received that information about why it's actually needed. [12:22] tibbs: indeed. I don't think we're ever going to get any. [12:22] Well, I don't want to go revoking it without understanding why it's actually needed. [12:22] I agree it isn't completely pretty, but revoking it nw can only result in bad blood between Fedora and jpackage, which is not something I want [12:22] But then again, they can just not submit the requested information. [12:23] other than to perform "group exclusions", which no one seems to actually use. [12:23] So what we need is a deadline, I think. [12:23] tibbs: nod, put the onus on justifying the exception... or else. :) [12:24] * spot proposes April 30th, 2008 [12:24]  "The exception will expire automatically on unless we're presented with sufficient information to consider extending it." [12:24]  that should be plenty of time. [12:25]  +1 to the deadline for requested information [12:25]  We should be meeting on May 6th; how about that as a deadline? [12:25]  ok. [12:25]  How would reasons differ from what's already there? [12:25]  It also gives them four full weeks. [12:26]  abadger1999: There was a conference call wherein this was discussed.  Several reasons were mentioned which I had not heard of before. [12:26]  Okay. [12:26]  abadger1999: well, the reasons already there... they're... umm... not terribly believable. [12:26]  One of the action items from that call was that Fernando Nasser would write up something indicating why this is necessary. [12:26]  <-- Kevin_Kofler has left this channel ("Bye!"). [12:26] spot: Very true but we accepted them when we passed it the first time. [12:26] That call was about a month ago. [12:26] abadger1999: Well, we accepted them temporarily. [12:27] We accepted the exception emporarily. [12:27] abadger1999: yes, but we accepted it on the grounds that they would work on workarounds. [12:27] But we accepted the rationale as true. [12:27] no work whatsoever has been done. [12:27] this either means that A) they have no intentions of using proper workarounds [12:27]  or B) these concerns are not realistic. [12:28] spot: who is they? jpp or the Fedora folks integrating java? [12:28] racor: the Fedora folks integrating java [12:28] spot: Okay. Then deadline is a good thing. Should it be a deadline for new information or a deadline for work to be done on existing information? [12:29] * hansg would like to see more cross (rpm based) distro collaboration not less [12:29] abadger1999: i think a list of information as to why they need the jpp tag, specifically, how they're using it. [12:29] +1 [12:29]  spot: OK, IMO, then we should not set them a deadline, but change the rules. [12:29] * Rathann wonders what those "grouped operations on all the Java packages" are... [12:29] rationale: jpp is an external repo, not of any busines with fedora [12:29] I think in the sense of cross distro collaboration we should see jpackage as upstream, and see our own mods as bugfixes to that upstream, which we then merge back upstream [12:30] racor: i'd like to see the JPackage folks drop the tag, but thats their business. [12:30] hansg: except that we're acting more like a weird fork of jpp [12:30] The current scheme with a fedora specific version after the jpp tag nicely reflects this upstream <-> downstream release, and gives clear info on which upstream release our release is based on [12:31]  spot: jpp is not our business, Fedora is our business and concern. [12:31] racor: indeed. [12:31]  hansg: I think URL: is enough of an upstream indicator [12:31] racor: thats a rather narrow view [12:31]  we don't need to put it in %{release}, too [12:31] hansg: perhaps we should tag "gnome" on everything from GNOME? [12:31] Rathann ?? URL should point to the _real_ upstream, not to jpackage [12:31]  exactly [12:32]  oh [12:32]   right [12:32] Spot: No, but we don't remove part of their versioning either because we find it ugly [12:33] hansg: its not in their versioning [12:33] sorry guys, dinner is waiting, I got to quit .. (DST hits) [12:33] jpackage is no more of an upstream than Fedora is. [12:33] we don't use gnome specfiles which sometimes have different release versions, e.g. .jh [12:33]  and when these packages go into Fedora, they're Fedora packages. [12:34] "and when these packages go into Fedora, they're Fedora packages", that doesn't sound like a cross fistro collaboration view of things, not _at all_ [12:34] Also, keep in mind that the reasons I heard about in the conference call didn't have anything to do with upstreams or interlacing jpackage versioning with Fedora versioning. [12:34]  hansg: well, how does suse or mandriva handle this? [12:34] Why should every tpm based distro do its own fork of java packages? [12:34] s/tpm/rpm/ [12:34] or kernel, or glibc, or X [12:34]  if we can avoid that, that would be a big win! [12:35] the simple fact is that all distributions package differently [12:35] Rathann, I have no idea [12:35] hansg: The one thing I don't like about the jpackage naming is that it is built around making the Fedora package interleave with the JPackage packages. That means that local changes to make a particular package work in Fedora will be reverted when JPackage releases a new version. [12:35] i doubt strongly that OpenSUSE would take packages where a "fedora" tag was forced on them. [12:36] Yes, but java code depends on a jre, not an OS, so it should be possible (and this has been show) todo pretty distro agnostic packages [12:36] hansg: so, if they're distribution agnostic, why the jpp tag? [12:36] why do we care where they came from? [12:36] they should be properly maintained inside the Fedora repo. [12:36] Also, if they're distro-agnostic, then fine, they're not something to be considered by this committee. [12:37] But if they'\re in Fedora, then they should be regular Fedora packages. [12:37] hansg: Not entirely true. For instance filesystem placement, gcj compilation.... [12:37]  suse doesn't seem to have any packages with jpp in the release [12:37]  at least in the official repos [12:38] About the interleaving, don't think of it as interleaving. Think of it as version versus release, version should always win, anyways I'm clearly in the minority here, so I'll shut up now [12:38] * spot feels like we're going in circles here [12:38]  +1 to the jpp draft from me [12:38]  hansg: version doesn't always win. [12:39] hansg: version wins when there's another Fedora package with a higher version. [12:39] abadger1999, it does over release [12:39] hansg: It doesn't win when there's an upstream version with a higher version than the Fedora Package. [12:39] I propose that we ask specifically for a list of information as to why they need the jpp tag, specifically, how they're using it, by May 8th. [12:39] amend that to: We don't support or encourage it to win. [12:39] spot +1 [12:39] unless a 3th party repo which has this version is activated, which is the exact scenario which can be the case with jpackage [12:40] We'll revisit this at that point, with that data in hand (or not). [12:40] (As rpm will happily upgrade foo-1.0-fedora.rpm with random.sf.net/foo-1.1.rpm but we are very much against supporting the pieces in that case.) [12:41] +1 [12:41]  +1 [12:41]  +1 [12:41]  0 [12:41]  hansg: So you don't support asking for more information? [12:42] Not with a gun to their head added to it, no [12:42]  hansg: we've been waiting 2~ years now fo this information [12:42] hansg: without some sort of motivation, I don't believe we'll ever get it [12:42]  Simply talking about it again in a month is holding a gun to their head? [12:42] Wow. [12:43]  according to rpmdev-vercmp foo-1.0-1jpp is older than foo-1.0-1.1 and foo-1.0-2jpp is newer than foo-1.0-1.1 [12:43] dropping the exception without receiving new information, *is* a gun, of sorts. [12:43] Rathann: this is why you shouldn't put alpha characters randomly into release. :P [12:43]  so for all intents and purposes, we can drop jpp from our release but keep the number that precedes it [12:43]  rdieter: Where was that in spot's proposal? [12:43] tibbs, quoting you from this irc meeting:  "The exception will expire automatically on unless we're presented with sufficient information to consider extending it." [12:43] So yes thats a gun to their head [12:43] That was me. [12:43] Rathann: that was the proposal I came up with over a year ago, which has fallen on deaf jpackage ears. [12:43] all i am proposing is: [12:43] That wasn't spot's proposal. [12:44] I propose that we ask specifically for a list of information as to why they need the jpp tag, specifically, how they're using it, by May 8th. [12:44] ok [12:44]  We'll revisit this at that point, with that data in hand (or not). [12:44] In that case, spot +1 [12:44] ok, thats a +5. [12:44] <Rathann> f13: it was a good proposal :) [12:44]  abadger1999: javascript isn't ready, i assume? [12:45]  spot: No.  Not enough feedback. [12:45]  Fair enough. Next item: http://fedoraproject.org/wiki/DennisGilmore/SugarActivityGuidelines [12:45]  Unless someone here has ideas,I'll draft something, send it to the list, and see if I can get someone to at least flame it. [12:46]  Are these sugar activities always noarch? [12:47]  <Rathann> hm, python-only -> noarch? can't it contain some binary bits? [12:47]  Lokspretty good. [12:47]  tibbs: "Architecture-specific Activities" [...] [12:47]  Hmm, I don like: "%define sugaractivitydir /usr/share/activities/" [12:47]  Yeah, but above says they always go in /usr/share/activities [12:47]  If arch-specific, that would be bad. [12:48]  <Rathann> indeed [12:48]  dgilmore: ping [12:48]  Rathann: Maybe we should clarify that.  I took it to mean, no C extensions for the python module. [12:48] Hmm, I hadn't even looked at that (arch specific under /usr/share) [12:48] <Rathann> abadger1999: ok, but are they always noarch? [12:49] I find /usr/share/activities a bit to generic, why not /usr/share/sugar/activities [12:49] Well, it says that they don't have to be. [12:49] <Rathann> if yes, then why python-only should be noarch? [12:49] Good catch, tibbs [12:49] What if another framework comes around which also has activities, why this claim on the global %{_datadir} namespace? [12:49] spot, btw, i'd like to ask for clarification on one item with f9 impact if there's time today [12:50] *** knurd is now known as knurd_afk. [12:50] caillon: ok... [12:50] I agree that /usr/share/activities is a bit generic. [12:50] since dennis isn't around, i'll ask him for clarification here [12:50] and we'll revisit it in two weeks [12:50] We also have all these too generic kde stuff directly under %{_datadir} while they really belong under %{_datadir}/kde [12:51] Next item: http://fedoraproject.org/wiki/PackagingDrafts/ConditionalGCJ [12:51] I wonder if that's changable on OLPC. I wonder if we can have a different value for the macro on OLPC builds vs Fedora builds if it isn't/ [12:51] basically, this draft argues that whenever gcj is used, it should be conditionalized. [12:51] abadger1999, I wonder the same, if it isn't changeable I guess we will have to live with it, grumble [12:52] <Rathann> it's another copy&paste bit to put into specfiles [12:52] this means that you can't have a package with gcj and noarch bits together. [12:52] <Rathann> I don't like it very much, but I'm not opposed [12:52] <Rathann> I wish it could be handled with an rpm macro [12:53] This is certainly simpler than the conditionals I've seen from some java packages. [12:53] well, i take it back, i suppose it just enables the gcj bits with the conditional [12:53] spot: Actually, that was already the case, righyT? [12:53] spot: why not? (or maybe we don't want to encourage the koji can build pkgs as both arch and noarch hack) [12:53] rigt. [12:53] But isn't there a bcond macro that does this? [12:53] spot: pong [12:54] dgilmore: we had a few concerns about the sugaractivities draft [12:54] spot: shoot [12:54] dgilmore: 1. /usr/share/activities is very generic [12:54] dgilmore: is that something OLPC depends on, or could it be /usr/share/sugar/activities ? [12:54] spot: thats where sugar looks for activities  there and ~/Activities [12:55] spot: it could be changed but will take time [12:55] ok, 2. What about architecture specific activities? [12:55] they shouldn't go in /usr/share [12:56] an example of an architecture specific activity is simcity [12:56] where does it live currently? [12:56] /usr/share/activities/SimCity.activity/ [12:56] hrm. that seems like it really isn't right. [12:57] i think we'd want a %{_libdir}/activities (at a minimum) [12:57] although, i'm not sure if OLPC will buy off on that [12:58] since OLPC has no multilib concerns [12:58] <Rathann> well, Fedora does have them [12:58] there is a python wrapper for all activities [12:59] even arch specific ones [12:59] dgilmore: yes, but the arch specific bits really don't belong under /usr/share [12:59] the FHS says no. :/ [13:00] dgilmore: let's think about this some more and table it for now [13:00] all the examples i can think of that are arch specific should run ok outside of sugar [13:00] ok FPC folks, can we vote on the http://fedoraproject.org/wiki/PackagingDrafts/ConditionalGCJ ? [13:00] +1 [13:00]  +1 [13:00]  +1 [13:00]  +1 [13:01]  Why _must_ the use of gcj be made conditional? [13:01] hansg: so that it can be disabled for local builds. [13:01] Although if anyone understands the bcond macros, I'd like to know why they aren't used here. [13:01] hansg: one reason, enables spec sharing between Fedora and jpp [13:01] <Rathann> +1, with comments above :) [13:01]  I don't like conditionals, esp not these style, weren't we supposed to have something better then this now? [13:01]  <Rathann> tibbs: are they present in EL-4? [13:02]  This draft basically eliminates one difference between Fedora and jpackage guidelines. [13:02]  well, thats a +5, so this passes. [13:02]  Ok, I understand the why now, and I see that this is good to have [13:03]  caillon: you had something for today? go ahead. [13:03]  Rathann: I cannot answer that question. [13:03]  <Rathann> one more question, why >= 1.0.31? [13:03]  spot, wanted clarification on https://bugzilla.redhat.com/show_bug.cgi?id=430545 [13:03]  <Rathann> or is that taken from jpackage as well? [13:03]  http://fedoraproject.org/wiki/PackagingDrafts/ConditionalGCJ +1 [13:03]  spot, the static issue there in the last few comments [13:04]  Rathann: I imagine there is some version specific dependency; I guess you'd have to see what changed in that version to enable this kind of thing. [13:05] caillon: so, does SDL depend on that static library? [13:05] caillon: That's an interesting issue we didn't consider. [13:05] <Rathann> the solution in comment #11 isn't good [13:05] <Rathann> it violates packaging guidelines [13:05] I don't get the issue. Why can't the -static subpackage require the -devel subpackage? [13:06] <Rathann> f13: it should require it, I think [13:06] AFAIK, SDLmain shouldn't be used on Unix at all, its a windows thing which does the necessary dll loading (windows dynamic linking stinks?) [13:06] <Rathann> as with any -static package [13:06] spot, i'm not the SDL guy, just someone trying to rebuild things against GCC 4.3... but AIUI SDL doesn't require it, but pretty much anything that BR SDL does [13:06] i think the solution is for packages to properly BuildRequire: SDL-static if they really need it. [13:06] <Rathann> the question is, does every sdl app need that libSDLmain.a to build? [13:06] <Rathann> if not, what spot just said is my proposal as well [13:07] hansg: you do more SDL than I do... [13:07] caillon: wouldn't lots of other stuff be breaking here if that was the case? [13:07] since libSDLmain.a is static only, including it in -devel is (should be!) ok. [13:08] spot, no idea :) [13:08]  <Rathann> rdieter: I disagree (if it isn't needed to build ALL SDL apps) [13:08]  rdieter: that's now how I read the guidelines [13:08]  rdieter: no, i'm pretty sure it needs to be in a -static [13:08]  rdieter: if sdl-devel were entirely made up of just static libraries, thenit could be -devel. [13:08]  I maintain tons of SDL packages and non require SDLmain, using that under unix is in general ill advised, it isn't needed. It does some magic to hide main vs winmain for windows compatibility and more ugliness like that [13:09]  but since there is both shared /and/ static libraries (not all the same) there needs to be a -static subpackage. [13:09]  shrug, that's just my interpretation and intent of those guidelines. [13:09]  [hans@localhost ~] $ sdl-config --libs [13:09]  <Rathann> so, IOW, whatever uses libSDLmain.a should be fixed not to use it? [13:09]  caillon: well, it seems like packages that need that package should properly BR and R it. [13:09] -lSDL -lpthread [13:09] If it's necesssary then I think we want a subpackage [13:09] Notice how there is no -lSDLmain there [13:09] hrm. [13:09] <Rathann> hansg: well, it IS static only [13:09] sounds like it should be dropped all together, and the offending packages built. [13:09] subpackage for SDLmain that is. [13:09] s/built/fixed/ [13:09] <Rathann> hansg: no reason for it to show up there [13:09] there's qt4 as well as a few kde packages are in violation then. [13:09] Erm [13:10] allegro-config --libs [13:10] Then it can have a -static or -devel independent of SDL. [13:10] -Wl,--export-dynamic -lalleg-4.2.2 -lalleg_unsharable [13:10] We should first consider the intent of the static guideline, and then apply that intent to the package in question. [13:10] alleg_unsharable is static too [13:11] tibbs: I do believe the intent was to isolate the static libs and campaign to remove them all together [13:11] The point was that any application which uses a static library should have a dependency on the -static package so we can find them and rebuild them if necessary. [13:11] f13: I think that would be a good solution yes [13:11] tibbs: and also to be able to find when things require static libs, so when we update a static lib, the other things get rebuilt so that they aren't continually vulnerable in their static copy. [13:11] But since F-9 is close, I guess we can just move SDLmain.a to -devel [13:11] The exception about putting them in -devel was to avoid having a pointless -devel package with no libraries. [13:11] * f13 agrees with tibbs [13:11] --> Kevin_Kofler has joined this channel (n=Kevin_Ko@chello213047068123.17.14.vie.surfer.at). [13:12] So, how does that apply to this case? [13:12] * spot remains unsure as to why this package which needs this SDL-static lib can't just use BuildRequires: SDL-static, SDL-devel [13:12] Does the package in question need the static library? [13:12] tibbs, AFAIK yes [13:12] <Kevin_Kofler> libSDLmain.a contains the main function. [13:12] <Kevin_Kofler> A program without a main function won't run... [13:12] Then it should depend on the -static package at build time. [13:12] So what issue remains? [13:13] <Kevin_Kofler> The guidelines say: [13:13] <Kevin_Kofler> > If a library you depend on _only_ provides a static version your package can [13:13] <Kevin_Kofler> > link against it provided that you BuildRequire the *-devel subpackage. [13:13] <Kevin_Kofler> not the *-static one. [13:13] Kevin_Kofler: that seems counter to what hansg has just been saying. [13:13] No, Kevin is right. [13:13] hansg: you were just saying it wasn't needed! [13:14] so, if we fix that to say "If a library you depend on _only_ provides a static version your package can link against it provided that you BuildRequire both the *-devel and the *-static subpackage." [13:14] Kevin_Kofler: ah, I think that's poorly worded. [13:14] spot: No [13:14]  Here is how it _normally_ works, an SDL app has a normal main, and on windows that gets #defined to SDLmain with SDLmain.a providing the real main [13:14] I think that defeats the intention of that wording. [13:15] The intention was, when/if a dynamic version appears, the next rebuild will do the right thing and link dynamically. [13:15] abadger1999: +1! [13:15] spot: I think it should be: "If a library package you depend on _only_ provides static libraries, your package can link against it provided that you BuildRequire the -devel suppackage" [13:15] However some applications have trouble with the #define because of the way they prototype their main, this can be solved by doing the renaming in the source instead of letting the preprocessor do it [13:15]  Kevin_Kofler: The quote from the guidelines above do not seem to be correct. [13:15] <Rathann> hm, right, but in this case there won't be a next version with dynamic lib [13:15] in this case the app will need SDLmain.a on other platforms too [13:15] At least, I can't see where you pasted that from. [13:16] <Kevin_Kofler> From the page which says that FESCo approval is needed for BRing *-static. [13:16] Kevin_Kofler: I think that snippit only applies when the library package in question only has static, there are no shared libraries whatsoever, which isn't hte case with SDL [13:16] The guidelines themselves seem quite clear on this to me. [13:16] Kevin_Kofler, btw, not sure why i didn't think of pinging you about this, but thanks for joining anyway. you know more about this than i do. :) [13:16] I'm not really sure that there's a question here that isn't answered by the guidelines themselves. [13:16]  To me the solution is quite simple, since there is no dynamic SDLmain, the static one may and should go in the normal -devel [13:17]  tibbs: yeah, i agree. i'm not sure where that wording came from. [13:17]  <Kevin_Kofler> Here's the source: http://fedoraproject.org/wiki/Packaging/Guidelines#head-ed9c4b45be77361033ccbc199bb3d49d02283ba9 [13:17]  hansg: no, thats really not right. [13:17]  <Rathann> obviously libSDLmain.a is a special case [13:17]  so, what I'm really missing, is what is the complaint?  If SDL is following the guidelines, and it seems it is by havinging -devel for shared, and -static for the statics, what is the problem? [13:17]  spot, why not? [13:17]  <Rathann> hansg: that's the simple solution [13:17]  <Kevin_Kofler> spot: It comes from a page you maintain. ;-) [13:17] Kevin_Kofler: i probably even wrote it. [13:17]  Kevin_Kofler: The text that you quoted above is not present at the url you just gave. [13:18]  tibbs: "If a library you depend on only provides a static version your package can link against it provided that you BuildRequire the *-devel subpackage. BuildRequiring *-devel causes your package to link against the dynamic version once the library starts providing one and your package is rebuilt." [13:18]  f13, " havinging -devel for shared, and -static for the statics" only applies when there are both versions of a lib, in the libSDLmain case there only is a static version [13:18]  tibbs: its there [13:18]  <Kevin_Kofler> The "not the *-static one" text isn't there, but that wasn't a quote. [13:18]  That means that you buildrequire both the -static and the -devel packages. [13:19]  <Rathann> I propose a separate SDL-devel-SDLmain package with the problematic library only [13:19] hansg: no, you're talking about versions of individual library files, whereas the guidelines are talking about /any/ shared, vs /any/ static. [13:19] tibbs: which does defeat the point, but its the best solution i see [13:19] Crap, or am I confused now? [13:19] f13 are they? [13:19] Rathann: +1 [13:19] hansg: that was my understanding. [13:19] f13: I'd rather clarify the guidelines to say something like "in the case of *both* shared and static versions of a library are provided, the static one should go in -static" [13:19] Rathann: Maybe SDL-SDLmain-devel, though [13:19] But that it is not why they literary say! [13:20] <Kevin_Kofler> FWIW, rdieter's proposal is what I've been arguing for in the bug report. [13:20] hansg: which is why we have humans to parse them and adjust them for clarity. [13:20] <Rathann> abadger1999: I wasn't sure about the name :) [13:20]  And the logical thing would be to put SDLmain.a in -devel, as when there are only static libs, we put them in -devel [13:20]  So, there are two use cases: [13:20]  hansg: the intent may be different than the literal translation. [13:20]  Unfortunately IRC really isn't the place for this. [13:20]  1. static libs and dynamic libs [13:20]  hansg: +1 [13:20]  2. static libs only [13:20]  spot: 3. [13:20]  In the past we've said that we'd only address written drafts here, and I guess this is what happens when we go off-script. [13:20]  static libs of one library only, dynamic libs of different libraries in the same package. [13:21]  *** gregdek is now known as gregdek_gone. [13:21]  f13: foreach lib in *.so *.a ; case 1 2 ; done [13:21]  problem is the guidelines think of a single library (static or dynamic) per package [13:21]  <Rathann> yeah, we should continue this on fedora-packaging [13:21] What about subpackage? Both Rathann and I have suggested it. [13:22] abadger1999: would violate the guidelines as written. [13:22] abadger1999: -1 needless complication (and I'd rather sort out the guidelines intention first) [13:22] rdieter: so again, I feel you're trying to apply the 'package' guidelines to individual 'files'. I don't believe that was the original intent of the guidelines [13:22] rdieter: as now, if you just BR the -devel package, we have no way of knowing that you actually used static libraries. [13:22] f13: ok, I guess we just disagree then. :) [13:22] spot: Depends on your definition of "package" I guess. [13:22]  this is almost getting Clintonesque. [13:22]  (I've gotten in trouble for that before as hans canattest :-/) [13:23]  the idea behind the -static package was this [13:23]  we could track packages that used static libraries by looking at BuildRequires [13:23]  f13: right, my intention was -static let's you know if static libs were used, but shlibs were available. [13:23]  if SDL packages need this static library, great, let them BR it. [13:24]  lots of SDL packages don't need it. [13:24]  * hansg isholding a crying baby now so don't exprvt much input from me atm [13:24]  that's it! we made the baby cry. stop now. :) [13:24] I have no voting power, but I agree with spot [13:25] I just think forcing  -static  pkgs for which there are no shlib equivalents is a little silly. [13:25] caillon: question, what is the F9 impact here? [13:25] i agree that the static section could use some clarification (and possibly simplification), but the spirit of putting static bits in -static whenever any dynamic libs (whether they are a whole set replacement or not) are present. [13:26] f13, several gcc rebuild failures depend on SDLmain.a [13:26]  rdieter: if you brought the static into -devel, -devel would have to provide -static, and then /every/ SDL app would pop as having "static" requirements. [13:26] * hansg just realizes this applies to allegro too [13:26] rdieter: it would ruin our ability to track the things that really do require static libraries. [13:26] <Rathann> the way I see it, puting it in -devel defeats the intent of keeping static libs separate and putting it in -static may make a package linking against it link static versions of other SDL shared libs [13:27] <Rathann> hence my and abadger1999's proposal seems sane [13:27] f13: sorry, being selfish thinking as packager only here. it's an increased burden by changing what I thought the intention was. [13:27] I thought the intention was to simplify things for packagers (mostly) [13:27] rdieter: this is. [13:27] allegro has a liballeg_unsharable which contains non pic asm code liballeg.so needs [13:27] not primarily be a means of tracking where static libs were being used. [13:28] rdieter: it helps the maintianer realize with a static library they require changes. [13:28] * spot thinks about Rathann's point [13:28] rdieter: if we just chuck the static library in the same package with all the other shared libraries, it increases the difficulty to track just static changes. [13:28] f13: but if they BR: foo-devel foo-static, they'll never notice. [13:29] rdieter: yes they will, because of the -static, and because they'll have to be on the initialcc of the package. [13:29] <Rathann> make it SDL-SDLmain-static if you want to have -static in the name [13:29] i would rather have a package linking against 99% shared and 1% static than 100 static [13:29] -1 to a seperate subpackage [13:29] hansg: is there a way to prevent it from static linking to the rest of the static libs? [13:29] SDLmain.a belongs in -devel, as there is no shared equivalent [13:30] hansg: seems we're in the minority on that viewpoint. [13:30] f13, I've lost you here, need more context [13:30] well, if we make the case that static libraries with no shared library equivalent stay in -devel... [13:31] if they ever grew a shared library equivalent, they'd need to move into -static [13:31] spot +1 [13:31] hansg: if we were to put main.a in -devel, the -devel subpackage would have to grow a Provides: -static. Then everybody BRing -devel would suddenly trigger as requiring "static" libraries [13:31] yes [13:31] but we wouldn't need a -static Requires in -devel [13:31] <Rathann> if a bug is found in libSDLmain, you need to rebuild all packages which BRequire it anyway [13:31] f13 why? [13:31] spot: which would then trigger false positives on repo searches [13:31] hansg: Yes it belongs in a -devel. No it does not belong in SDL-devel. [13:31] f13: i'm not sure I understand this [13:31] hansg: there is now way to tell "I BR foo-devel for the shared, not for the static in there" vs "I BR foo-devel for the static" [13:32] <Rathann> how do you know which packages are linked against libSDLmain.a? [13:32]  we're way overtime here. [13:32] i'll try to come up with a draft here. [13:32] and i'll send it to the list. [13:32] spot: thx, you're a saint. [13:32] I seriously don't understand what's so difficult about changing a couple packages to grow a BR on -static. [13:32] f13: i'll come talk to you [13:32] Rathann, you don't know which packages are linked against libSDLmain.a [13:33]  <Rathann> hansg: exactly [13:33] ok guys, we're done for the day. [13:33] thanks all. [13:33] <Rathann> hence it shouldn't be in -devel [13:33] <Kevin_Kofler> Easy: they failed to rebuild in the GCC 4.3 mass rebuild. ;-) [13:33] f13, fwiw, many maintainers don't notice that their package failed rebuild.  i doubt they'd notice a static lib changed and needs rebuild either.  not that it's an argument one way or another. [13:33]  Rathann, I see your point [13:33]  We could set the virtual provide to  SDLmain-static instead of SDL-static but then we should also have a virtual provide for SDLmain-devel.... which is basically a subpackage [13:33]  <Rathann> yeah, let's continue this in the mailing list [13:34]  caillon: sometimes it's not about the packagers noticing, but about the security team seeking out and fixing things. [13:34]  <Rathann> Kevin_Kofler: that's only because libSDLmain was moved to -static, isn't it? [13:34]  fair enough [13:35]  <Rathann> hansg: and with BR: SDL-SDLmain-static (or something similar), you can track those packages [13:35]  bye all (baby is becoming heavy) [13:35]  <Rathann> :) [13:35] <-- hansg has left this server ("Leaving"). [13:35] <Rathann> ok, thanks everyone, see you [13:36] Later [13:36] <-- Rathann has left this channel ("Leaving.").