Subject: pkg/33582: build error in /graphics/gimp
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <tannert@mis.mpg.de>
List: pkgsrc-bugs
Date: 05/29/2006 06:10:00
>Number:         33582
>Category:       pkg
>Synopsis:       build error in /graphics/gimp
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 29 06:10:00 +0000 2006
>Originator:     Andreas Tannert
>Release:        
>Organization:
MPI MIS
>Environment:
>Description:
during the build phase the following error occurs:

ld: warning: file /opt/pkg/PKGsrcNeu/210406devel/pkgsrc/graphics/gimp24/work/gimp-2.3.8/libgimp/.libs/libgimp-2.0.so: linked to ../../libgimp/.libs/libgimp-2.0.so: attempted multiple inclusion of file
ld: warning: file /opt/pkg/PKGsrcNeu/210406devel/pkgsrc/graphics/gimp24/work/gimp-2.3.8/libgimpwidgets/.libs/libgimpwidgets-2.0.so: linked to ../../libgimpwidgets/.libs/libgimpwidgets-2.0.so: attempted multiple inclusion of file
ld: warning: file /opt/pkg/PKGsrcNeu/210406devel/pkgsrc/graphics/gimp24/work/gimp-2.3.8/libgimpconfig/.libs/libgimpconfig-2.0.so: linked to ../../libgimpconfig/.libs/libgimpconfig-2.0.so: attempted multiple inclusion of file
ld: warning: file /opt/pkg/PKGsrcNeu/210406devel/pkgsrc/graphics/gimp24/work/gimp-2.3.8/libgimpmath/.libs/libgimpmath-2.0.so: linked to ../../libgimpmath/.libs/libgimpmath-2.0.so: attempted multiple inclusion of file
ld: warning: file /opt/pkg/PKGsrcNeu/210406devel/pkgsrc/graphics/gimp24/work/gimp-2.3.8/libgimpcolor/.libs/libgimpcolor-2.0.so: linked to ../../libgimpcolor/.libs/libgimpcolor-2.0.so: attempted multiple inclusion of file
ld: warning: file /opt/pkg/PKGsrcNeu/210406devel/pkgsrc/graphics/gimp24/work/gimp-2.3.8/libgimpbase/.libs/libgimpbase-2.0.so: linked to ../../libgimpbase/.libs/libgimpbase-2.0.so: attempted multiple inclusion of file
Undefined                       first referenced
 symbol                             in file
png_write_destroy                   png.o
png_read_destroy                    png.o
ld: fatal: Symbol referencing errors. No output written to .libs/png
collect2: ld returned 1 exit status
gmake[3]: *** [png] Error 1
gmake[3]: Leaving directory `/opt/pkg/PKGsrcNeu/210406devel/pkgsrc/graphics/gimp24/work/gimp-2.3.8/plug-ins/common'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/opt/pkg/PKGsrcNeu/210406devel/pkgsrc/graphics/gimp24/work/gimp-2.3.8/plug-ins'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/opt/pkg/PKGsrcNeu/210406devel/pkgsrc/graphics/gimp24/work/gimp-2.3.8'
gmake: *** [all] Error 2
*** Error code 2

Any idea to solve this problem?
>How-To-Repeat:
bmake in /graphics/gimp
>Fix:
Unfortunately I always don't know what to do with this kind of error.