Summary: | ports that write something after bsd.port.mk | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Oliver Eikemeier <eikemeier> |
Component: | Individual Port(s) | Assignee: | Eitan Adler <eadler> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | ||
Priority: | Normal | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Oliver Eikemeier
2003-11-13 15:20:13 UTC
State Changed From-To: open->feedback I'll have to face the music Responsible Changed From-To: freebsd-ports-bugs->eik I'll have to face the music On Thu, Nov 13, 2003 at 04:13:57PM +0100, Oliver Eikemeier wrote: > included is a list of ports that write something after > > .include <bsd.port.mk> > .include <bsd.port.post.mk> > .include "${MASTERDIR}/Makefile" ... > Even though this may be an easy solution for the needs of your port, please > think about an other way to do it. ... > obrien@FreeBSD.org > - shells/bash2 > - vietnamese/unicode-uhoai Trust me I have tried to find other ways. Please send patches. For Bash yes bsd.port.mk is broken. I've tried to get it fixed and I don't care to fight that fight anymore. -- -- David (obrien@FreeBSD.org) David O'Brien wrote:
>>Even though this may be an easy solution for the needs of your port, please
>>think about an other way to do it.
>>[...]
>>obrien@FreeBSD.org
>> - shells/bash2
>> - vietnamese/unicode-uhoai
>
> Trust me I have tried to find other ways. Please send patches.
> For Bash yes bsd.port.mk is broken. I've tried to get it fixed and I
> don't care to fight that fight anymore.
Hi David,
thank you for your quick feedback. Please find attached the patches for both of
your Makefiles. I hope they work, I couldn't really test unicode-uhoai,
unfortunately I don't speak vietnamese. You might want to check anyway, because
there is a `@dirrm lib/X11/fonts/TrueType/vietnamese-unicode' in pkg-plist, but
I couldn't find where the port created it.
You are right with CONFIGURE_TARGET, 359 ports use a workaround, thanks again
for bringing this up. I'm using this workaround myself in the OpenLDAP ports,
and PR 52917 seems to deal with it. At least it should be easy to remove the
workaround from those ports, they all use the same assignment, so it's just a
simple search-and-replace.
Regards
Oliver
--- afterinclude.patch begins here ---
diff -u shells/bash2/Makefile.orig shells/bash2/Makefile
--- shells/bash2/Makefile.orig 19 May 2003 21:33:35 -0000
+++ shells/bash2/Makefile 13 Nov 2003 22:15:06 -0000
@@ -37,6 +37,8 @@
CONFIGURE_ENV= LDFLAGS=-static
MAN1= bash.1 bashbug.1
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+
.if defined(WITH_NET_REDIRECTIONS)
CONFIGURE_ARGS+= --enable-net-redirections
.endif
@@ -63,5 +65,3 @@
.endif
.include <bsd.port.post.mk>
-
-CONFIGURE_TARGET:= --build=${CONFIGURE_TARGET}
diff -u vietnamese/unicode-uhoai/Makefile.orig vietnamese/unicode-uhoai/Makefile
--- vietnamese/unicode-uhoai/Makefile.orig 7 Mar 2003 06:11:48 -0000
+++ vietnamese/unicode-uhoai/Makefile 13 Nov 2003 22:14:09 -0000
@@ -20,6 +20,8 @@
USE_X_PREFIX= yes
NO_BUILD= taken care of in do-install target
+EXTRACT_BEFORE_ARGS= -qoL
+
.include <bsd.port.pre.mk>
BUILD_DEPENDS= ttmkfdir:${PORTSDIR}/x11-fonts/ttmkfdir
@@ -36,5 +38,3 @@
${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.post.mk>
-
-EXTRACT_BEFORE_ARGS+= -L
--- afterinclude.patch ends here ---
On Thu, Nov 13, 2003 at 11:34:56PM +0100, Oliver Eikemeier wrote:
> You are right with CONFIGURE_TARGET, 359 ports use a workaround, thanks
> again
> for bringing this up. I'm using this workaround myself in the OpenLDAP
> ports,
> and PR 52917 seems to deal with it. At least it should be easy to remove the
> workaround from those ports, they all use the same assignment, so it's just
> a
> simple search-and-replace.
Unfortunately, that PR causes many more problems than it solves, and
the originator has not responded to requests to work on it.
Kris
On Thu, Nov 13, 2003 at 11:34:56PM +0100, Oliver Eikemeier wrote:
> You are right with CONFIGURE_TARGET, 359 ports use a workaround, thanks
> again for bringing this up. I'm using this workaround myself in the
> OpenLDAP ports, and PR 52917 seems to deal with it. At least it should
> be easy to remove the workaround from those ports, they all use the
> same assignment, so it's just a simple search-and-replace.
Maybe we need a knob (USE_NEW_CONFIGURE_TUPLE) or something so that
there is complete consistency in the GNU tuple string.
David O'Brien wrote:
> On Thu, Nov 13, 2003 at 11:34:56PM +0100, Oliver Eikemeier wrote:
>
>>You are right with CONFIGURE_TARGET, 359 ports use a workaround, thanks
>>again for bringing this up. I'm using this workaround myself in the
>>OpenLDAP ports, and PR 52917 seems to deal with it. At least it should
>>be easy to remove the workaround from those ports, they all use the
>>same assignment, so it's just a simple search-and-replace.
>
> Maybe we need a knob (USE_NEW_CONFIGURE_TUPLE) or something so that
> there is complete consistency in the GNU tuple string.
OR make it dependend on GNU_CONFIGURE/HAS_CONFIGURE or use
GNU_CONFIGURE= new
but we should discuss this as a followup of PR 52917
Hi David, did you have a chance to try the patches I sent? Do we really have to keep this PR in GNATS ? It's been there for a long time and will probably never be closed if we're waiting for all maintainer to fix their ports. -- Florent Thoumie flz@xbsd.org On Mon, Jun 06, 2005 at 12:09:51AM +0200, Florent Thoumie wrote:
> Do we really have to keep this PR in GNATS ?
>
> It's been there for a long time and will probably never be
> closed if we're waiting for all maintainer to fix their ports.
If you feel it's impossible to implement it, just close or suspend it.
-Kirill
On Jun 7, 2005, at 11:53 AM, Kirill Ponomarew wrote: > On Mon, Jun 06, 2005 at 12:09:51AM +0200, Florent Thoumie wrote: > >> Do we really have to keep this PR in GNATS ? >> >> It's been there for a long time and will probably never be >> closed if we're waiting for all maintainer to fix their ports. >> > > If you feel it's impossible to implement it, just close or suspend it. I talked to Clement about this issue. The point is not to just close the PR. I don't think it's impossible to solve it but at the moment we must ask ourselves if : x is it a real problem to write things past bsd.port{,.post}.mk, use USE_* before bsd.port.pre.mk, keep whitespaces instead of tabs. x if yes -> something must be done, the current approach is to wait for every maintainer to approve the change and it takes so long that the original submitter just give up or the patches don't apply. From what you can read in trevor's PR audit trail (#65409), everybody (or almost everybody) agree with this change. So i guess someone with the hat could either do the work or give blessing to someone else to do it, and he'll deal with unhappy maintainers. x if no -> just close the PR with a kind message. x if you think it's just impossible, then better close it than keep it for years. That's IMO obviously. Note: Apple Mail kinda sucks with line-wrapping, if shit happens please just accept my excuses. -- Florent Thoumie flz@xbsd.org On Tue, Jun 07, 2005 at 12:05:12PM +0200, Florent Thoumie wrote:
> On Jun 7, 2005, at 11:53 AM, Kirill Ponomarew wrote:
>
> >On Mon, Jun 06, 2005 at 12:09:51AM +0200, Florent Thoumie wrote:
> >
> >> Do we really have to keep this PR in GNATS ?
> >>
> >> It's been there for a long time and will probably never be
> >> closed if we're waiting for all maintainer to fix their ports.
> >>
> >
> >If you feel it's impossible to implement it, just close or suspend it.
>
> I talked to Clement about this issue. The point is not to just
> close the PR. I don't think it's impossible to solve it but at
> the moment we must ask ourselves if :
>
> x is it a real problem to write things past bsd.port{,.post}.mk,
> use USE_* before bsd.port.pre.mk, keep whitespaces instead of tabs.
>
> x if yes -> something must be done, the current approach is to
> wait for every maintainer to approve the change and it takes so
> long that the original submitter just give up or the patches don't
> apply. From what you can read in trevor's PR audit trail (#65409),
> everybody (or almost everybody) agree with this change. So i guess
> someone with the hat could either do the work or give blessing to
> someone else to do it, and he'll deal with unhappy maintainers.
>
> x if no -> just close the PR with a kind message.
>
> x if you think it's just impossible, then better close it than
> keep it for years.
>
> That's IMO obviously.
If those ports aren't broken by this change, I don't really care
what style Makefiles have. Unfortunately nobody provided the
patches to test these changes on the cluster.
-Kirill
On Jun 7, 2005, at 12:10 PM, Kirill Ponomarew wrote: > On Tue, Jun 07, 2005 at 12:05:12PM +0200, Florent Thoumie wrote: > >> On Jun 7, 2005, at 11:53 AM, Kirill Ponomarew wrote: >> >> >>> On Mon, Jun 06, 2005 at 12:09:51AM +0200, Florent Thoumie wrote: >>> >>> >>>> Do we really have to keep this PR in GNATS ? >>>> >>>> It's been there for a long time and will probably never be >>>> closed if we're waiting for all maintainer to fix their ports. >>>> >>>> >>> >>> If you feel it's impossible to implement it, just close or >>> suspend it. >>> >> >> I talked to Clement about this issue. The point is not to just >> close the PR. I don't think it's impossible to solve it but at >> the moment we must ask ourselves if : >> >> x is it a real problem to write things past bsd.port{,.post}.mk, >> use USE_* before bsd.port.pre.mk, keep whitespaces instead of tabs. >> >> x if yes -> something must be done, the current approach is to >> wait for every maintainer to approve the change and it takes so >> long that the original submitter just give up or the patches don't >> apply. From what you can read in trevor's PR audit trail (#65409), >> everybody (or almost everybody) agree with this change. So i guess >> someone with the hat could either do the work or give blessing to >> someone else to do it, and he'll deal with unhappy maintainers. >> >> x if no -> just close the PR with a kind message. >> >> x if you think it's just impossible, then better close it than >> keep it for years. >> >> That's IMO obviously. >> > > If those ports aren't broken by this change, I don't really care > what style Makefiles have. Unfortunately nobody provided the > patches to test these changes on the cluster. So we can take another approach. It things work just fine now, do we really care for style so much that we have to batch-fix these ports rather than fixing them in the next update (i'm still asking if these PRs are really useful) ? -- Florent Thoumie flz@xbsd.org State Changed From-To: feedback->suspended With bugmeister hat on, reassign from inactive committer. This discussion of the problem that this PR brings to light never reached consensus. I, personally, feel that it's a legitimate problem with the infrastructure, but I may be in the minority in this view. In any case unless someone wants to take up the banner and actually fix the infrastructure so these ports' hacks aren't necessary and/or submit patches to fix the individual ports so they can all be tested on the cluster, it's probably best to mark this as suspended. Responsible Changed From-To: eik->freebsd-ports-bugs Responsible Changed From-To: freebsd-ports-bugs->linimon I think that certain of these cases can now be addressed. When I have time, I'll look at it. State Changed From-To: suspended->open I haven't worked on this in years. Back to pool. Responsible Changed From-To: linimon->freebsd-ports-bugs Responsible Changed From-To: freebsd-ports-bugs->portmgr Assign to maintainer(s). Responsible Changed From-To: portmgr->eadler take with portmgr permission State Changed From-To: open->closed only 4 remaining of which 2 should not be fixed. |