Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jul 2007 15:35:44 -0700
From:      snowcrash+freebsd <schneecrash+freebsd@gmail.com>
To:        "Yuri Pankov" <yuri@darklight.org.ru>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: coredump on portupgrade of installed ruby-1.8.6, 1 to ruby-1.8.6_1, 1
Message-ID:  <70f41ba20707111535q32cfde90p21f218e128d9bc4c@mail.gmail.com>
In-Reply-To: <20070711214025.GD95578@darklight.org.ru>
References:  <70f41ba20707111230y66532185o7fd8a335d7c72694@mail.gmail.com> <20070711214025.GD95578@darklight.org.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
hi yuri,

> > known issue? something /i/ need to do?
> > thanks!
>
> Builds here. Can you try without those extra CFLAGS?


per suggestion, changing in my

	/usr/local/etc/ports.conf


	*:\
	CFLAGS= -O2 -pipe -funroll-loops -s -frename-registers -fomit-frame-pointer | \
	CXXFLAGS= -O2 -pipe -funroll-loops -s -frename-registers
	
	...
	
	lang/ruby18:\
+++	  CFLAGS= -O2 -pipe            | \
+++	  CXXFLAGS= -O2 -pipe          | \
	  WITHOUT_PTHREADS=true        | \
	  WITHOUT_ONIGURUMA=true       | \
	  WITHOUT_GCPATCH=true         | \
	  WITHOUT_IPV6=true            | \
	  WITHOUT_RDOC=true            | \
	  WITHOUT_DEBUG=true           | \
	  BATCH=Yes
	...

then (since a prior 'deinstall' of ruby18 while monkeying around with
this temporarily killed my 'portinstall' ...),

	cd /usr/ports/lang/ruby18
	make deinstall rmconfig clean install

seems to behave itself now, completing without error.

and, fwiw, a subsequent,

	cd /usr/ports/ports-mgmt/portupgrade
	make deinstall rmconfig install clean

which depends on the ruby install, also builds ok.

so, it seems that the port version bump from,

	ruby-1.8.6,1

to,

	ruby-1.8.6_1,1

introduces a 'sensitivity' to one or more of those C*FLAGS ... as, the
prior version built just fine.

thanks!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?70f41ba20707111535q32cfde90p21f218e128d9bc4c>