pkgsrc-Bugs archive

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

Re: pkg/55593: Proposed modification to buildlink3.mk of libxml2



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

From: =?UTF-8?B?5bed5bWc5rSL56WQ?= <you.kawasaki%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/55593: Proposed modification to buildlink3.mk of libxml2
Date: Fri, 21 Aug 2020 10:42:11 +0900

 --0000000000002a2bb405ad5959cf
 Content-Type: text/plain; charset="UTF-8"
 Content-Transfer-Encoding: quoted-printable
 
 Dear Jonathan,
 
 I confirmed that the addition of following line in buildlink3.mk of libxml2
 resolved the issue too.
   BUILDLINK_INCDIRS.libxml2+=3D  include/libxml2
 
 The log states following flags to compile libhb/vfr.o
 
 /var/pkg/work/multimedia/handbrake/work/.cwrapper/bin/cc -std=3Dgnu99 -pipe
 -fmes
 sage-length=3D0 -Wall -Wno-format-truncation -g0 -O3 -O2 -D_GNU_SOURCE
 -I/usr/pkg
 /include/libxml2 -D_FORTIFY_SOURCE=3D2 -I/var/pkg/include -I/usr/include
 -I/var/p
 kg/include/glib-2.0 -I/var/pkg/include/gio-unix-2.0
 -I/var/pkg/lib/glib-2.0/inc
 lude -I/var/pkg/include/freetype2 -I/var/pkg/include/libxml2
 -I/var/pkg/include
 /libdrm -I/var/pkg/include -I/usr/include -I/var/pkg/include/glib-2.0
 -I/var/pk
 g/include/gio-unix-2.0 -I/var/pkg/lib/glib-2.0/include
 -I/var/pkg/include/freet
 ype2 -I/var/pkg/include/libxml2 -I/var/pkg/include/libdrm -mfpmath=3Dsse
 -msse2 -
 D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE
 -D_FILE_OFFSET_BITS=3D64
  -DHAS_STRERROR_R -DARCH_X86_64 -I./libhb/ -I./contrib/include
 -I/usr/include/l
 ibxml2 -c ../libhb/vfr.c -o libhb/vfr.o
 
 
 WIthout the insertion, the compilation stopped with following error.
 /include/libxml2 -D_FORTIFY_SOURCE=3D2 -I/var/pkg/include -I/usr/include
 -I/var/p
 kg/include/glib-2.0 -I/var/pkg/include/gio-unix-2.0
 -I/var/pkg/lib/glib-2.0/inc
 lude -I/var/pkg/include/freetype2 -I/var/pkg/include/libdrm
 -I/var/pkg/include
 -I/usr/include -I/var/pkg/include/glib-2.0 -I/var/pkg/include/gio-unix-2.0
 -I/v
 ar/pkg/lib/glib-2.0/include -I/var/pkg/include/freetype2
 -I/var/pkg/include/lib
 drm -mfpmath=3Dsse -msse2 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX
 -D_LARGEFILE_SOUR
 CE -D_FILE_OFFSET_BITS=3D64 -DHAS_STRERROR_R -DARCH_X86_64 -I./libhb/
 -I./contrib
 /include -I/usr/include/libxml2 -c ../libhb/vfr.c -o libhb/vfr.o
 ../libhb/plist.c:15:10: fatal error: libxml/parser.h: No such file or
 directory
  #include "libxml/parser.h"
 
 Thank you.
 
 Yosuke
 
 2020=E5=B9=B48=E6=9C=8820=E6=97=A5(=E6=9C=A8) 17:05 Jonathan Perkin <jperki=
 n%joyent.com@localhost>:
 
 > The following reply was made to PR pkg/55593; it has been noted by GNATS.
 >
 > From: Jonathan Perkin <jperkin%joyent.com@localhost>
 > To: gnats-bugs%netbsd.org@localhost
 > Cc: pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, pkgsrc-bugs%netbsd.or@localhost=
 g
 > Subject: Re: pkg/55593: Proposed modification to buildlink3.mk of libxml2
 > Date: Thu, 20 Aug 2020 09:03:28 +0100
 >
 >  * On 2020-08-20 at 06:27 BST, you.kawasaki%gmail.com@localhost wrote:
 >
 >  > BUILDLINK_CFLAGS.libxml2+=3D
 > -I${BUILDLINK_PREFIX.libxml2}/include/libxml2
 >
 >  Usually the correct way to do this would be to add:
 >
 >    BUILDLINK_INCDIRS.libxml2+=3D  include/libxml2
 >
 >  Does that resolve your issue too?
 >
 >  --
 >  Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com
 >
 >
 
 --0000000000002a2bb405ad5959cf
 Content-Type: text/html; charset="UTF-8"
 Content-Transfer-Encoding: quoted-printable
 
 <div dir=3D"ltr"><div dir=3D"ltr"><div>Dear Jonathan,</div><div><br></div><=
 div>I confirmed that the addition of following line in <a href=3D"http://bu=
 ildlink3.mk">buildlink3.mk</a> of libxml2 resolved the issue too.<br></div>=
 <div>=C2=A0 BUILDLINK_INCDIRS.libxml2+=3D=C2=A0 include/libxml2</div><div><=
 br></div><div>The log states following flags to compile libhb/vfr.o<br></di=
 v><div><br></div><div>/var/pkg/work/multimedia/handbrake/work/.cwrapper/bin=
 /cc -std=3Dgnu99 -pipe -fmes<br>sage-length=3D0 -Wall -Wno-format-truncatio=
 n -g0 -O3 -O2 -D_GNU_SOURCE -I/usr/pkg<br>/include/libxml2 -D_FORTIFY_SOURC=
 E=3D2 -I/var/pkg/include -I/usr/include -I/var/p<br>kg/include/glib-2.0 -I/=
 var/pkg/include/gio-unix-2.0 -I/var/pkg/lib/glib-2.0/inc<br>lude -I/var/pkg=
 /include/freetype2 -I/var/pkg/include/libxml2 -I/var/pkg/include<br>/libdrm=
  -I/var/pkg/include -I/usr/include -I/var/pkg/include/glib-2.0 -I/var/pk<br=
 >g/include/gio-unix-2.0 -I/var/pkg/lib/glib-2.0/include -I/var/pkg/include/=
 freet<br>ype2 -I/var/pkg/include/libxml2 -I/var/pkg/include/libdrm -mfpmath=
 =3Dsse -msse2 -<br>D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE=
  -D_FILE_OFFSET_BITS=3D64<br>=C2=A0-DHAS_STRERROR_R -DARCH_X86_64 -I./libhb=
 / -I./contrib/include -I/usr/include/l<br>ibxml2 -c ../libhb/vfr.c -o libhb=
 /vfr.o</div><div><br></div><div><br></div><div>WIthout the insertion, the c=
 ompilation stopped with following error.</div><div>/include/libxml2 -D_FORT=
 IFY_SOURCE=3D2 -I/var/pkg/include -I/usr/include -I/var/p<br>kg/include/gli=
 b-2.0 -I/var/pkg/include/gio-unix-2.0 -I/var/pkg/lib/glib-2.0/inc<br>lude -=
 I/var/pkg/include/freetype2 -I/var/pkg/include/libdrm -I/var/pkg/include <b=
 r>-I/usr/include -I/var/pkg/include/glib-2.0 -I/var/pkg/include/gio-unix-2.=
 0 -I/v<br>ar/pkg/lib/glib-2.0/include -I/var/pkg/include/freetype2 -I/var/p=
 kg/include/lib<br>drm -mfpmath=3Dsse -msse2 -D__LIBHB__ -DUSE_PTHREAD -DSYS=
 _LINUX -D_LARGEFILE_SOUR<br>CE -D_FILE_OFFSET_BITS=3D64 -DHAS_STRERROR_R -D=
 ARCH_X86_64 -I./libhb/ -I./contrib<br>/include -I/usr/include/libxml2 -c ..=
 /libhb/vfr.c -o libhb/vfr.o<br>../libhb/plist.c:15:10: fatal error: libxml/=
 parser.h: No such file or directory<br>=C2=A0#include &quot;libxml/parser.h=
 &quot;<br></div><div><br></div><div>Thank you.<br></div><div><br></div><div=
 >Yosuke<br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" clas=
 s=3D"gmail_attr">2020=E5=B9=B48=E6=9C=8820=E6=97=A5(=E6=9C=A8) 17:05 Jonath=
 an Perkin &lt;<a href=3D"mailto:jperkin%joyent.com@localhost";>jperkin%joyent.com@localhost</a>&=
 gt;:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px=
  0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The followi=
 ng reply was made to PR pkg/55593; it has been noted by GNATS.<br>
 <br>
 From: Jonathan Perkin &lt;<a href=3D"mailto:jperkin%joyent.com@localhost"; target=3D"_=
 blank">jperkin%joyent.com@localhost</a>&gt;<br>
 To: <a href=3D"mailto:gnats-bugs%netbsd.org@localhost"; target=3D"_blank">gnats-bugs@n=
 etbsd.org</a><br>
 Cc: <a href=3D"mailto:pkg-manager%netbsd.org@localhost"; target=3D"_blank">pkg-manager=
 @netbsd.org</a>, <a href=3D"mailto:gnats-admin%netbsd.org@localhost"; target=3D"_blank=
 ">gnats-admin%netbsd.org@localhost</a>, <a href=3D"mailto:pkgsrc-bugs%netbsd.org@localhost"; tar=
 get=3D"_blank">pkgsrc-bugs%netbsd.org@localhost</a><br>
 Subject: Re: pkg/55593: Proposed modification to <a href=3D"http://buildlin=
 k3.mk" rel=3D"noreferrer" target=3D"_blank">buildlink3.mk</a> of libxml2<br=
 >
 Date: Thu, 20 Aug 2020 09:03:28 +0100<br>
 <br>
 =C2=A0* On 2020-08-20 at 06:27 BST, <a href=3D"mailto:you.kawasaki%gmail.co@localhost=
 m" target=3D"_blank">you.kawasaki%gmail.com@localhost</a> wrote:<br>
 <br>
 =C2=A0&gt; BUILDLINK_CFLAGS.libxml2+=3D=C2=A0 =C2=A0 -I${BUILDLINK_PREFIX.l=
 ibxml2}/include/libxml2<br>
 <br>
 =C2=A0Usually the correct way to do this would be to add:<br>
 <br>
 =C2=A0 =C2=A0BUILDLINK_INCDIRS.libxml2+=3D=C2=A0 include/libxml2<br>
 <br>
 =C2=A0Does that resolve your issue too?<br>
 <br>
 =C2=A0-- <br>
 =C2=A0Jonathan Perkin=C2=A0 -=C2=A0 Joyent, Inc.=C2=A0 -=C2=A0 <a href=3D"h=
 ttp://www.joyent.com" rel=3D"noreferrer" target=3D"_blank">www.joyent.com</=
 a><br>
 <br>
 </blockquote></div></div>
 
 --0000000000002a2bb405ad5959cf--
 


Home | Main Index | Thread Index | Old Index