Failure in portsdd -Uu...

Oliver Eikemeier eikemeier at fillmore-labs.com
Sat Sep 4 19:07:47 PDT 2004


Joe Altman wrote:

> On Sat, Sep 04, 2004 at 08:09:08PM -0400, Joe Marcus Clarke wrote:
>> On Sat, 2004-09-04 at 20:03, Joe Altman wrote:
>>> ========================Begin Error==============================
>>>
>>> I AM ROOT on voip in /var/db # portsdb -Uu
>>> Updating the ports index ... Generating INDEX.tmp - please
>>> wait.."/usr/ports/Mk/bsd.port.mk", line 1011: Malformed conditional
>>> (${OSVERSION} >= 50036)
>>> "/usr/ports/Mk/bsd.port.mk", line 1011: Need an operator
>>> "/usr/ports/Mk/bsd.port.mk", line 1194: if-less endif
>>> "/usr/ports/Mk/bsd.port.mk", line 1194: Need an operator
>>> make: fatal errors encountered -- cannot continue
>>> ===> print/pips-spr300_310 failed
>>> [...]
>>> I AM ROOT on voip in /usr/ports # uname -a
>>> FreeBSD voip.chthonixia.net 4.10-STABLE FreeBSD 4.10-STABLE #0: Sat
>>> Sep  4 18:12:04 EDT 2004
>>> root at voip.chthonixia.net:/usr/obj/usr/src/sys/VOIP  i386
>>
>> Works for me, and works in a clean environment on pointyhat.  I imagine
>> you have some local bsd.port.mk changes that are messing this up.  I
>> would look for anywhere that checks for an OSVERSION of 50036.  This
>> looks to be missing a digit.
>
> Thanks for the followup. I just went w/ make fetchindex, since the
> last couple of days seem to have been busy for everyone, wrt the ruby
> issue (if it was, in fact, ruby; I don't know)...the fetchindex
> worked, so I'm content.
>
> I do note:
>
> From voip:
> .if ${OSVERSION} >= 500036 <-Line 1011
>
> From Anna:
> .if ${OSVERSION} >= 500036
>
> Same place in the referenced file, /usr/ports/Mk/bsd.port.mk.
>
> Line 1194 is just this: .endif
>
> I can find no other lines on either machine, in either
> /usr/ports/Mk/bsd.port.mk nor in print/pips-spr300_310 that contain
> the string that is missing a zero, as given below.
>
> I can only assume it was dropped, somehow, during the make process...I
> should also not that in neither of the two version above, do I see a
> set of parentheses. Yet it is present in the error message, before the
> $ and after the 6. But I don't understand the scripts; so I assume
> that to be normal.

The implicit parentheses are inserted by make(1). Could you give us the 
output of

   sysctl kern.osreldate

   cd /usr/ports/print/pips-spr300_310; make descrbe

and

   cd /usr/ports/print/pips-spr300_310; env OSVERSION=' ' make descrbe

? Does this happen on voip and Anna?

-Oliver



More information about the freebsd-ports mailing list