Subject: pkg/24165: "MesaLib" package cannot be built under NetBSD-current
To: None <gnats-bugs@gnats.NetBSD.org>
From: Matthias Scheler <tron@colwyn.zhadum.de>
List: netbsd-bugs
Date: 01/20/2004 17:09:40
>Number:         24165
>Category:       pkg
>Synopsis:       "MesaLib" package cannot be built under NetBSD-current
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 20 16:10:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6ZH (2004-01-20 NetBSD and package sources)
>Organization:
Matthias Scheler                                  http://scheler.de/~matthias/
>Environment:
System: NetBSD lyssa.zhadum.de 1.6ZH NetBSD 1.6ZH (LYSSA) #0: Tue Jan 20 10:49:16 CET 2004 tron@lyssa.zhadum.de:/src/sys/compile/LYSSA i386
Architecture: i386
Machine: i386
>Description:
The "MesaLib" package can now longer be built after the upgrade to
version 6.0 at least under NetBSD-current:

===> Checking for vulnerabilities in MesaLib-6.0
=> Checksum OK for Mesa-6.0/MesaLib-6.0.tar.bz2.
===> Extracting for MesaLib-6.0
===> Required installed package libtool-base>=1.4.20010614nb11: libtool-base-1.4.20010614nb19 found
===> Required installed package x11-links>=0.19: x11-links-0.19 found
===> Patching for MesaLib-6.0
===> Applying pkgsrc patches for MesaLib-6.0
===> Overriding tools for MesaLib-6.0
===> Buildlinking for MesaLib-6.0
===> Building for MesaLib-6.0
[...]
../../bin/mklib -o GL -major 1  -minor 5 -patch 060000 -install ../../lib    main/api_arrayelt.o main/api_loopback.o main/api_noop.o main/api_validate.o main/accum.o main/arbparse.o main/arbprogram.o main/arbfragparse.o main/arbvertparse.o main/attrib.o main/blend.o main/bufferobj.o main/buffers.o main/clip.o main/colortab.o main/context.o main/convolve.o main/debug.o main/depth.o main/dispatch.o main/dlist.o main/drawpix.o main/enable.o main/enums.o main/eval.o main/extensions.o main/feedback.o main/fog.o main/get.o main/hash.o main/hint.o main/histogram.o main/image.o main/imports.o main/light.o main/lines.o main/matrix.o main/nvprogram.o main/nvfragparse.o main/nvvertexec.o main/nvvertparse.o main/occlude.o main/pixel.o main/points.o main/polygon.o main/program.o main/rastpos.o main/state.o main/stencil.o main/texcompress.o main/texformat.o main/teximage.o main/texobj.o main/texstate.o main/texstore.o main/texutil.o main/varray.o main/vtxfmt.o glapi/glapi.o glapi/glthread!
 .o math/m_debug_clip.o math/m_debug_norm.o math/m_debug_xform.o math/m_eval.o math/m_matrix.o math/m_translate.o math/m_vector.o math/m_xform.o array_cache/ac_context.o array_cache/ac_import.o tnl/t_array_api.o tnl/t_array_import.o tnl/t_context.o tnl/t_pipeline.o tnl/t_save_api.o tnl/t_save_loopback.o tnl/t_save_playback.o tnl/t_vb_fog.o tnl/t_vb_light.o tnl/t_vb_normals.o tnl/t_vb_points.o tnl/t_vb_program.o tnl/t_vb_render.o tnl/t_vb_texgen.o tnl/t_vb_texmat.o tnl/t_vb_vertex.o tnl/t_vertex.o tnl/t_vtx_api.o tnl/t_vtx_eval.o tnl/t_vtx_exec.o swrast/s_aaline.o swrast/s_aatriangle.o swrast/s_accum.o swrast/s_alpha.o swrast/s_alphabuf.o swrast/s_bitmap.o swrast/s_blend.o swrast/s_buffers.o swrast/s_copypix.o swrast/s_context.o swrast/s_depth.o swrast/s_drawpix.o swrast/s_feedback.o swrast/s_fog.o swrast/s_imaging.o swrast/s_lines.o swrast/s_logic.o swrast/s_masking.o swrast/s_nvfragprog.o swrast/s_pixeltex.o swrast/s_points.o swrast/s_readpix.o swrast/s_span.o swrast/s_sten!
 cil.o swrast/s_texture.o swrast/s_texstore.o swrast/s_triangle!
 .o swras
t/s_zoom.o swrast_setup/ss_context.o swrast_setup/ss_triangle.o x86/common_x86.o x86/x86.o x86/3dnow.o x86/sse.o sparc/sparc.o    drivers/x11/glxapi.o drivers/x11/fakeglx.o drivers/x11/xfonts.o drivers/x11/xm_api.o drivers/x11/xm_dd.o drivers/x11/xm_line.o drivers/x11/xm_span.o drivers/x11/xm_tri.o drivers/glide/fxapi.o drivers/glide/fxdd.o drivers/glide/fxddspan.o drivers/glide/fxddtex.o drivers/glide/fxsetup.o drivers/glide/fxtexman.o drivers/glide/fxtris.o drivers/glide/fxvb.o drivers/glide/fxglidew.o drivers/glide/fxg.o drivers/svga/svgamesa.o drivers/svga/svgamesa8.o drivers/svga/svgamesa15.o drivers/svga/svgamesa16.o drivers/svga/svgamesa24.o drivers/svga/svgamesa32.o drivers/fbdev/glfbdev.o
mklib: Making NetBSD PIC shared library:  libGL
/usr/bin/ld: unrecognized option '-Bforcearchive'
/usr/bin/ld: use the --help option for usage information
mklib: Installing libGL_pic.a libGL.so.1.5 in ../../lib
mv: rename libGL.so.1.5 to ../../lib//libGL.so.1.5: No such file or directory
*** Error code 1

Stop.
make: stopped in /src/NetBSD-current/pkgsrc/graphics/MesaLib/work.lyssa/Mesa-6.0/src/mesa
*** Error code 1

The problem seems to be related to NetBSD-current and doesn't show under
NetBSD 1.6.2_RC4.

>How-To-Repeat:
cd pkgsrc/graphics/MesaLib
make

>Fix:
None provided.

>Release-Note:
>Audit-Trail:
>Unformatted: