OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: -current and -stable 4.4 make build stop in openssl.

From: Sean Kennedy (woodentuliphotmail.com)
Date: Sun Nov 02 2008 - 11:47:16 CST


Just for Clarity, I did not add rm -rf /usr/obj/* to the list (which I did)
but all processes I am following are in accordance to FAQ-5 sections 5.3.5

Not like I have been doing this for the past 6 years,

Last time I ran into the Userland Build problem, it was accurately pointed out
not to miss the [env DESTDIR=/ make-distrib-dirs ] in my userland build.
OK, I earned that one, unlike then, this appears to be a Missing function call
in a library, that I missed some obscure and undocumented step to update.

Note: the i386 build was for a system from scratch, using the 4.4 -stable
install as well as -stable CVS update. I can re-run CVS checkout instead for
the i386, but then that would mean there is a problem with the src.tar.gz that
is in the 4.4 -stable release folder on ftp.

Is there a step not listed in FAQ 5.3.5?

-sean

> Date: Sun, 2 Nov 2008 10:14:04 +0100
> From: ottodrijf.net
> To: woodentuliphotmail.com
> CC: techopenbsd.org
> Subject: Re: -current and -stable 4.4 make build stop in openssl.
>
> On Sat, Nov 01, 2008 at 02:04:17PM -0400, Sean Kennedy wrote:
>
>> This was an issue I started seeing a week ago, and I thought it a problem
with
>> -current but it's in the -stable CVS when a 4.4 stable is installed, the
>> src.tar.gz is pulled and cvs'ed with -rOPENBSD_4_4 and all good builds
>> followed. kernel: config GENERIC, make clean, make depend, make, make
>> install. reboot do userland: make clean, make depend, make obj, 'etc' env
>> DESTDIR=/ make distrib-dirs, 'src' make build.
>
> you not rebuilding userland correctly.
>
> -Otto
>
>>
>>
>> Make build stops on both macppc (-current snapshot 2-days old install) and
>> i386 4.4-stable install today.
>> CVS both of them to -rOPENBSD_4_4 and both stop with:
>>
>> -(i386)-
>>
>> dgst.o(.text+0xf71): In function 'do_fp':
>> : undefined reference to 'HMAC_CTX_set_flags'
>> collect2: ld returned 1 exit status
>> *** error code 1
>>
>> -(macppc)-
>>
>> dgst.o(.text+0xff4): In function 'do_fp':
>> : undefined reference to 'HMAC_CTX_set_flags'
>> *** error code 1
>>
>> Both of these are in the /usr/src/usr.sbin/openssl section of the build.
These
>> are both brand new installs, and the src tree is built from cvs -stable.
But I
>> am loath to admit if the libraries -lssl and -l crypto are completely
>> up-to-date since one of my tests 3-4 days ago was to update the libraries
>> manually and re-compile, to no avail.
>>
>> I can keep the build stopped here for the moment, (non-production systems,
>> just test units) and would consider suggestions to look into. (I can test
on
>> macppc and then on i386)
>> This is hardware independent since both show on separate platforms, so if
a
>> dmesg is required, I will send, but I did not consider it the factor in
this
>> case.
>>
>> Sincerely.
>>
>> -sean
>> _________________________________________________________________

_________________________________________________________________