pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/43550



The following reply was made to PR pkg/43550; it has been noted by GNATS.

From: "John D. Baker" <jdbaker%mylinuxisp.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: David Holland <dholland-pbugs%NetBSD.org@localhost>,
        Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
Subject: Re: pkg/43550
Date: Tue, 12 Oct 2010 19:28:07 -0500 (CDT)

 On Tue, 12 Oct 2010, David Holland wrote:
 > On Tue, Oct 12, 2010 at 02:45:02PM +0000, John D. Baker wrote:
 >  >  Looking back at the libtool commands and output, it appears that the
 >  >  include-dir directive:
 >  >     -I${WRKOBJDIR}/graphics/freetype2/work/freetype-2.4.2/include
 >  >  (where ft2build.h resides) was in the original
 >  >     libtool --mode=compile ...
 >  >  command, but was omitted when libtool actually ran the compiler.
 >
 > Was it dropped by libtool or by the pkgsrc wrappers? Check work/.work.log.
 
 I'm not sure how to interpret the entries in this file (and the pkgsrc
 guide doesn't describe them.  At the end of the file are these entries:
 
 [...]
 [*] /d0/tmp/pkgsrc//graphics/freetype2/work/.tools/bin/echo done.
 <.> echo  done.
 [*] /d0/tmp/pkgsrc//graphics/freetype2/work/.wrapper/bin/libtool 
/d0/tmp/pkgsrc/
 /graphics/freetype2/work/.wrapper/bin/libtool --mode=compile gcc -pedantic 
-ansi
   -no-cpp-precomp -isystem /usr/include -I/usr/include 
-I/d0/tmp/pkgsrc/graphics/
 freetype2/work/freetype-2.4.2/objs -I./builds/unix 
-I/d0/tmp/pkgsrc/graphics/fre
 etype2/work/freetype-2.4.2/include -c -Wall -pipe -O2 -fno-strict-aliasing 
-I/us
 r/include -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DDARWIN_NO_CARBON 
"-DFT_CONFIG_CONFIG_
 H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -o 
/d0/
 tmp/pkgsrc/graphics/freetype2/work/freetype-2.4.2/objs/ftsystem.lo 
builds/unix/f
 tsystem.c
 <.> /usr/pkg/bin/libtool --mode=compile gcc -pedantic -ansi -no-cpp-precomp 
-isy
 stem /usr/include -I./builds/unix -c -Wall -pipe -O2 -fno-strict-aliasing 
-DFT_C
 ONFIG_OPTION_SYSTEM_ZLIB -DDARWIN_NO_CARBON 
"-DFT_CONFIG_CONFIG_H=<ftconfig.h>" 
 -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -o 
/d0/tmp/pkgsrc/graph
 ics/freetype2/work/freetype-2.4.2/objs/ftsystem.lo builds/unix/ftsystem.c 
 [*] /d0/tmp/pkgsrc//graphics/freetype2/work/.tools/bin/mkdir 
/d0/tmp/pkgsrc/grap
 hics/freetype2/work/freetype-2.4.2/objs/.libs
 <.> /bin/mkdir -p 
/d0/tmp/pkgsrc/graphics/freetype2/work/freetype-2.4.2/objs/.li
 bs
 [*] /d0/tmp/pkgsrc//graphics/freetype2/work/.wrapper/bin/gcc 
/d0/tmp/pkgsrc//gra
 phics/freetype2/work/.wrapper/bin/gcc -pedantic -ansi -no-cpp-precomp -isystem 
/
 usr/include -I./builds/unix -c -Wall -pipe -O2 -fno-strict-aliasing 
-DFT_CONFIG_
 OPTION_SYSTEM_ZLIB -DDARWIN_NO_CARBON "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" 
-DFT2_
 BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" builds/unix/ftsystem.c 
-fno-c
 ommon -DPIC -o 
/d0/tmp/pkgsrc/graphics/freetype2/work/freetype-2.4.2/objs/.libs/
 ftsystem.o
 WARNING: [transform-gcc] passing unknown option -ansi
 WARNING: [transform-gcc] passing unknown option -no-cpp-precomp
 WARNING: [transform-gcc] passing unknown option -isystem
 <.> /d0/tmp/pkgsrc//graphics/freetype2/work/.gcc/bin/gcc -pedantic -ansi 
-no-cpp
 -precomp -isystem /usr/include -I./builds/unix -c -Wall -pipe -O2 
-fno-strict-al
 iasing -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DDARWIN_NO_CARBON 
"-DFT_CONFIG_CONFIG_H=<
 ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" 
builds/uni
 x/ftsystem.c -fno-common -DPIC -o 
/d0/tmp/pkgsrc/graphics/freetype2/work/freetyp
 e-2.4.2/objs/.libs/ftsystem.o 
-I/d0/tmp/pkgsrc//graphics/freetype2/work/.buildli
 nk/include -L/d0/tmp/pkgsrc//graphics/freetype2/work/.buildlink/lib 
 [EOF]
 
 If I guess correctly, the wrappers are losing the path to the extra
 include directory.
 
 Also:
 
 Joerg Sonnenberger <joerg%britannica.bec.de@localhost> wrote:
 
 > Does any part of WRKOBJDIR involve symlinks? That can often result in
 > such behavior.
 
 Yes.  In my /usr/pkg/etc/mk.conf file I have:
 
    WRKOBJDIR=          /d0/tmp/pkgsrc/
 
 where "/d0" is a symbolic link to "Volumes/d0"
 
 I'll try an absolute path without symlinks and see if it changes.
 
 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645
 


Home | Main Index | Thread Index | Old Index