BSD port build failure with soylatte1.0.3 as a bootstrap
Kurt Miller
kurt at intricatesoftware.com
Tue Jun 16 06:22:44 PDT 2009
Hi Andrei,
The following environment variables no longer need to be
set on Apple since they default to correct locations now:
DEVTOOLS, ALT_CUPS_HEADERS_PATH
For all openjdk7-b59 and later based ports ALT_BINARY_PLUGS_PATH
is no longer needed.
ALT_HOTSPOT_IMPORT_PATH, ALT_JDK_IMPORT_PATH should never be set
when building the full bsd-port. This may be the source of the
problem you are hitting.
I also recommend that a controlled, clean environment be used
to build bsd-port. For Apple something similar to this should be
correct:
env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin \
make \
ALT_BOOTDIR=$DEVTOOLS/soylatte16-i386-1.0.3/ \
ALT_FREETYPE_HEADERS_PATH=/usr/X11R6/include \
ALT_FREETYPE_LIB_PATH=/usr/X11R6/lib \
ALT_JIBX_LIBS_PATH=/export/devtools/jibx-1.1.6 \
ANT_HOME=/usr/share/ant \
NO_DOCS=true \
HOTSPOT_BUILD_JOBS=1
Regards,
-Kurt
Andrei Dmitriev wrote:
> Hi Christian,
>
> here it is:
>
> export LC_ALL=C
> export LC_LANG=C
> export DEVTOOLS=/export/devtools/binary.plugs
> export ALT_BOOTDIR=$DEVTOOLS/soylatte16-i386-1.0.3/
> export ALT_BINARY_PLUGS_PATH=$DEVTOOLS/jdk-7-icedtea-plugs
> export ALT_FREETYPE_HEADERS_PATH=/usr/X11R6/include
> export ALT_FREETYPE_LIB_PATH=/usr/X11R6/lib
> export ALT_CUPS_HEADERS_PATH=/usr/include
> export ANT_HOME=/usr/share/ant
> export NO_DOCS=true
> export HOTSPOT_BUILD_JOBS=1
> export ALT_HOTSPOT_IMPORT_PATH=$ALT_BOOTDIR
> export ALT_JIBX_LIBS_PATH=/export/devtools/jibx-1.1.6
> export ALT_JDK_IMPORT_PATH=$ALT_BOOTDIR
>
> time -p make VARIANT=DBG $* 2>&1 | tee $log
>
> You've compiled it on BSD or Mac?
> Thanks,
> Andrei
>
> Christian Thalinger wrote:
>> Andrei Dmitriev wrote:
>>
>>> Hi folks,
>>>
>>> the problem still persists with soylatte as well as with
>>> openjdk6-b16-24_apr_2009-r1.
>>>
>>> $sw_vers
>>> ProductName: Mac OS X
>>> ProductVersion: 10.5.7
>>> BuildVersion: 9J61
>>>
>>> I feel that the javac of the newer version is required. How are you
>>> building that guys, huh?! :)
>>>
>>
>> This is very strange. The compiler error is because of the JSR 292
>> stuff that was commited to b59. I have compiled myself the JDK with
>> openjdk6-b16-24_apr_2009-r1 and it worked. What environment variables
>> have you set?
>>
>> -- Christian
>>
>>
>
>
More information about the bsd-port-dev
mailing list