Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#45381 closed defect (fixed)

gnutls: sed: 1: "/definition of _Noretur ...": filename expected

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: Schamschula (Marius Schamschula)
Priority: High Milestone:
Component: ports Version: 2.3.1
Keywords: Cc: mndavidoff (Monte Davidoff), udbraumann
Port: gnutls

Description

gnutls is failing to build on the OS X 10.8 and earlier builtbot servers, with this error:

rm -f stdnoreturn.h-t stdnoreturn.h && \
	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
	  sed -e '/definition of _Noreturn/r ' \
              < ./stdnoreturn.in.h; \
	} > stdnoreturn.h-t && \
	mv stdnoreturn.h-t stdnoreturn.h
sed: 1: "/definition of _Noretur ...": filename expected

Change History (7)

comment:1 Changed 10 years ago by Schamschula (Marius Schamschula)

I could not reproduce this issue on my own 10.8.5 machine, but did see it under 10.7.5 and 10.5.8. I have reported this to the GnuTLS mailing list.

comment:2 Changed 10 years ago by mndavidoff (Monte Davidoff)

Cc: md14-macports@… added

Cc Me!

comment:3 Changed 10 years ago by jmroot (Joshua Root)

This is src/libopts/Makefile.in line 1553:

@GL_GENERATE_STDNORETURN_H_TRUE@	  sed -e '/definition of _Noreturn/r $(_NORETURN_H)' \

So $(_NORETURN_H) appears to be empty.

comment:4 Changed 10 years ago by udbraumann

Cc: braumann@… added

Cc Me!

comment:5 Changed 10 years ago by jmroot (Joshua Root)

Oh, and I see why. Looks like someone botched applying a patch manually or something; there’s a leading + on line 13 of the Makefile.am which has carried over to 1549 in the Makefile.in.

comment:6 Changed 10 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Fixed in r126711. Please send the patch upstream.

comment:7 in reply to:  6 Changed 10 years ago by Schamschula (Marius Schamschula)

Replying to jmr@…:

Fixed in r126711. Please send the patch upstream.

Good catch! After manually deleting the +, I also tried patching Makefile.in, which didn't work…

I've sent the patch upstream.

Note: See TracTickets for help on using tickets.