sysutils/xfce4-netload-plugin - why is it marked as broken on 8?

Greg Larkin glarkin at FreeBSD.org
Fri Jan 15 18:41:54 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Torfinn Ingolfsen wrote:
> Hi,
> 
> On Fri, Jan 15, 2010 at 1:14 AM, RW <rwmaillists at googlemail.com> wrote:
> 
>> On Thu, 14 Jan 2010 19:04:29 -0500
>> Greg Larkin <glarkin at FreeBSD.org> wrote:
>>
>>
>>> The CVS commit in question says that the breakage was reported by
>>> pointyhat (FreeBSD package building cluster):
>>>
>> http://www.freebsd.org/cgi/cvsweb.cgi/ports/sysutils/xfce4-netload-plugin/Makefile#rev1.28
>>> In fact, pav@ included the specific compiler error.  I wonder if there
>>> was possibly a bug in the early 8.0 OS at that time (13 Jun 2009) that
>>> caused the build failure.
>>>
>>> If you are able to build and run successfully under 8.0 now, I suggest
>>> filing a PR with a patch to unbreak the port.
>> I just tried it and it failed  on 8.0 (RELENGE_8_0), the OP is using
>> 8-stable.
>>
> 
> Well, shouldn't the port only be marked broken for RELENG_8_0 (and perhaps
> -CURRENT) then, and not for RELENG_8?
> I don't know how to do that, or I would file a PR.

Hi Torfinn,

There's an explanation of what happened to if_ppp.h here:

http://www.mail-archive.com/svn-src-all@freebsd.org/msg07293.html

This commit log refers to the fact that the value of __FreeBSD_version
was bumped to 800045 due to the removal of the if_ppp(4) driver.  You
can find all of the historical values of that variable here:
http://www.freebsd.org/doc/en/books/porters-handbook/freebsd-versions.html

In this case, the port Makefile should be patched like so:

- --- Makefile.orig       2010-01-15 13:37:50.374330422 -0500
+++ Makefile    2010-01-15 13:38:04.101133409 -0500
@@ -24,7 +24,7 @@

 .include <bsd.port.pre.mk>

- -.if ${OSVERSION} >= 800000
+.if ${OSVERSION} >= 800045
 BROKEN=                does not compile: error: net/if_ppp.h: No such
file or directory
 .endif

A better fix might be to port the code from using if_ppp(4) to the
replacement ppp(8), as noted in the commit log.

Regards,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/           - The Power To Serve
http://www.sourcehosting.net/     - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFLULbd0sRouByUApARAhzAAJ9QWrqCN1N/JRLF9RO4Rr/MBN76dgCfX4DH
tBd6gqJctCM0UFPCVi4TRiM=
=n8+3
-----END PGP SIGNATURE-----



More information about the freebsd-ports mailing list