Subject: Re: pkg/32492: textproc/p5-XML-Parser build fails in pkgsrc-2005Q4
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Paavo Parkkinen <pparkkin@gmail.com>
List: pkgsrc-bugs
Date: 01/12/2006 19:05:02
The following reply was made to PR pkg/32492; it has been noted by GNATS.
From: Paavo Parkkinen <pparkkin@gmail.com>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org,
pkgsrc-bugs@netbsd.org
Subject: Re: pkg/32492: textproc/p5-XML-Parser build fails in pkgsrc-2005Q4
Date: Thu, 12 Jan 2006 21:02:42 +0200
On 1/12/06, Lubomir Sedlacik <salo@xtrmntr.org> wrote:
> this, unfortunately is no solution. it's a very dirty workaround at
> best. i don't know why your system seems to behave differently and the
> link is not created, though.
Maybe my choice of words wasn't correct. It was a 'workaround' and not
a 'fix'. :)
> can you post your .work.log too (as asked by the pkgsrc infrastructure)?
This is the log for a successful build, after my fix. I'm not sure if
it will be of any help, but here it is.
[*] /usr/pkgsrc/textproc/p5-XML-Parser/work/.tools/bin/true
<.> true
[*] /usr/pkgsrc/textproc/p5-XML-Parser/work/.tools/bin/true
<.> true
[*] /usr/pkgsrc/textproc/p5-XML-Parser/work/.tools/bin/true
<.> true
[*] /usr/pkgsrc/textproc/p5-XML-Parser/work/.tools/bin/true
<.> true
[*] /usr/pkgsrc/textproc/p5-XML-Parser/work/.tools/bin/true
<.> true
[*] /usr/pkgsrc/textproc/p5-XML-Parser/work/.tools/bin/true
<.> true
[*] /usr/pkgsrc/textproc/p5-XML-Parser/work/.tools/bin/true
<.> true
[*] /usr/pkgsrc/textproc/p5-XML-Parser/work/.tools/bin/true
<.> true
[*] /usr/pkgsrc/textproc/p5-XML-Parser/work/.tools/bin/true
<.> true
[*] /usr/pkgsrc/textproc/p5-XML-Parser/work/.tools/bin/true
<.> true
[*] /usr/pkgsrc/textproc/p5-XML-Parser/work/.tools/bin/true
<.> true
[*] /usr/pkgsrc/textproc/p5-XML-Parser/work/.tools/bin/true
<.> true
[*] /usr/pkgsrc/textproc/p5-XML-Parser/work/.wrapper/bin/cc -c
-I/usr/pkg/include -fno-strict-aliasing -pipe -I/usr/pkg/include -O2
-I/usr/pkg/include -I/usr/pkg/include -DVERSION=3D"2.34"
-DXS_VERSION=3D"2.34" -DPIC -fPIC
-I/usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE Expat.c
(wrapper.sh) append args:
-I/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/include
-L/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/lib
(arg-source) push: -c
(arg-source) push: -I/usr/pkg/include
(arg-source) push: -fno-strict-aliasing
(arg-source) push: -pipe
(arg-source) push: -I/usr/pkg/include
(arg-source) push: -O2
(arg-source) push: -I/usr/pkg/include
(arg-source) push: -I/usr/pkg/include
(arg-source) push: -DVERSION=3D"2.34"
(arg-source) push: -DXS_VERSION=3D"2.34"
(arg-source) push: -DPIC
(arg-source) push: -fPIC
(arg-source) push: -I/usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/=
CORE
(arg-source) push: Expat.c
(arg-source) push:
-I/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/include
(arg-source) push: -L/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink=
/lib
(logic) pop: -c
(logic) to: -c
(logic) push: -c
(logic) pop: -I/usr/pkg/include
(logic) to: -I/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/incl=
ude
(logic) push: -I/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/incl=
ude
(logic) pop: -fno-strict-aliasing
(logic) to: -fno-strict-aliasing
(logic) push: -fno-strict-aliasing
(logic) pop: -pipe
(logic) to: -pipe
(logic) push: -pipe
(logic) pop: -I/usr/pkg/include
(logic) to: =20
-I/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/include [cached]
(logic) push: -I/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/incl=
ude
(logic) pop: -O2
(logic) to: -O2
(logic) push: -O2
(logic) pop: -I/usr/pkg/include
(logic) to: =20
-I/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/include [cached]
(logic) push: -I/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/incl=
ude
(logic) pop: -I/usr/pkg/include
(logic) to: =20
-I/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/include [cached]
(logic) push: -I/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/incl=
ude
(logic) pop: -DVERSION=3D"2.34"
(logic) to: -DVERSION=3D"2.34"
(logic) push: -DVERSION=3D"2.34"
(logic) pop: -DXS_VERSION=3D"2.34"
(logic) to: -DXS_VERSION=3D"2.34"
(logic) push: -DXS_VERSION=3D"2.34"
(logic) pop: -DPIC
(logic) to: -DPIC
(logic) push: -DPIC
(logic) pop: -fPIC
(logic) to: -fPIC
(logic) push: -fPIC
(logic) pop: -I/usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE
(logic) to: =20
-I/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/lib/perl5/5.8.0/i386-n=
etbsd-thread-multi/CORE
(logic) push:
-I/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/lib/perl5/5.8.0/i386-n=
etbsd-thread-multi/CORE
(logic) pop: Expat.c
(logic) to: Expat.c [untransformed]
(logic) push: Expat.c
(logic) pop: -I/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/incl=
ude
(logic) to: -I/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/incl=
ude
(logic) push: -I/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/incl=
ude
(logic) pop: -L/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/lib
(logic) to: -L/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/lib
(logic) push: -L/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/lib
(cmd-sink) pop: -c
(cmd-sink) pop: -I/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/in=
clude
(cmd-sink) pop: -fno-strict-aliasing
(cmd-sink) pop: -pipe
(cmd-sink) pop: -I/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/in=
clude
(cmd-sink) pop: -O2
(cmd-sink) pop: -I/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/in=
clude
(cmd-sink) pop: -I/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/in=
clude
(cmd-sink) pop: -DVERSION=3D"2.34"
(cmd-sink) pop: -DXS_VERSION=3D"2.34"
(cmd-sink) pop: -DPIC
(cmd-sink) pop: -fPIC
(cmd-sink) pop:
-I/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/lib/perl5/5.8.0/i386-n=
etbsd-thread-multi/CORE
(cmd-sink) pop: Expat.c
(cmd-sink) pop: -I/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/in=
clude
(cmd-sink) pop: -L/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/li=
b
<.> /usr/pkgsrc/textproc/p5-XML-Parser/work/.gcc/bin/gcc -c
-I/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/include
-fno-strict-aliasing -pipe -O2 -DVERSION=3D\"2.34\"
-DXS_VERSION=3D\"2.34\" -DPIC -fPIC
-I/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/lib/perl5/5.8.0/i386-n=
etbsd-thread-multi/CORE
Expat.c -L/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/lib
[*] /usr/pkgsrc/textproc/p5-XML-Parser/work/.wrapper/bin/cc
-Wl,-R/usr/pkg/lib -pthread --whole-archive -shared -L/usr/pkg/lib
Expat.o -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o
../blib/arch/auto/XML/Parser/Expat/Expat.so -L/usr/pkg/lib -lexpat
-L/usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE
-Wl,-R/usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE
-Wl,-R/usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE -lperl
(wrapper.sh) append args:
-I/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/include
-L/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/lib
(arg-source) push: -Wl,-R/usr/pkg/lib
(arg-source) push: -pthread
(arg-source) push: --whole-archive
(arg-source) push: -shared
(arg-source) push: -L/usr/pkg/lib
(arg-source) push: Expat.o
(arg-source) push: -L/usr/pkg/lib
(arg-source) push: -Wl,-R/usr/pkg/lib
(arg-source) push: -o
(arg-source) push: ../blib/arch/auto/XML/Parser/Expat/Expat.so
(arg-source) push: -L/usr/pkg/lib
(arg-source) push: -lexpat
(arg-source) push: -L/usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/=
CORE
(arg-source) push:
-Wl,-R/usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE
(arg-source) push:
-Wl,-R/usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE
(arg-source) push: -lperl
(arg-source) push:
-I/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/include
(arg-source) push: -L/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink=
/lib
(logic) pop: -Wl,-R/usr/pkg/lib
(logic) to: -Wl,-R/usr/pkg/lib
(logic) push: -Wl,-R/usr/pkg/lib
(logic) pop: -pthread
(logic) to: -pthread
(logic) push: -pthread
(logic) pop: --whole-archive
(logic) to: --whole-archive
(logic) push: --whole-archive
(logic) pop: -shared
(logic) to: -shared
(logic) push: -shared
(logic) pop: -L/usr/pkg/lib
(logic) to: -L/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/lib
(logic) push: -L/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/lib
(logic) pop: Expat.o
(logic) to: Expat.o [untransformed]
(logic) push: Expat.o
(logic) pop: -L/usr/pkg/lib
(logic) to: =20
-L/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/lib [cached]
(logic) push: -L/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/lib
(logic) pop: -Wl,-R/usr/pkg/lib
(logic) to: -Wl,-R/usr/pkg/lib [cached]
(logic) push: -Wl,-R/usr/pkg/lib
(logic) pop: -o
(logic) to: -o
(logic) push: -o
(logic) pop: ../blib/arch/auto/XML/Parser/Expat/Expat.so
(logic) push: ../blib/arch/auto/XML/Parser/Expat/Expat.so [skipped]
(logic) pop: -L/usr/pkg/lib
(logic) to: =20
-L/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/lib [cached]
(logic) push: -L/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/lib
(logic) pop: -lexpat
(logic) to: -lexpat
(logic) push: -lexpat [split]
(logic) pop: -L/usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE
(logic) to: =20
-L/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/lib/perl5/5.8.0/i386-n=
etbsd-thread-multi/CORE
(logic) push:
-L/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/lib/perl5/5.8.0/i386-n=
etbsd-thread-multi/CORE
(logic) pop: -Wl,-R/usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/C=
ORE
(logic) to: -Wl,-R/usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/C=
ORE
(logic) push: -Wl,-R/usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/C=
ORE
(logic) pop: -Wl,-R/usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/C=
ORE
(logic) to: =20
-Wl,-R/usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE [cached]
(logic) push: -Wl,-R/usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/C=
ORE
(logic) pop: -lperl
(logic) to: -lperl
(logic) push: -lperl [split]
(logic) pop: -I/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/incl=
ude
(logic) to: =20
-I/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/include [cached]
(logic) push: -I/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/incl=
ude
(logic) pop: -L/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/lib
(logic) to: =20
-L/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/lib [cached]
(logic) push: -L/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/lib
(cmd-sink) pop: -Wl,-R/usr/pkg/lib
(cmd-sink) pop: -pthread
(cmd-sink) pop: --whole-archive
(cmd-sink) pop: -shared
(cmd-sink) pop: -L/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/li=
b
(cmd-sink) pop: Expat.o
(cmd-sink) pop: -L/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/li=
b
(cmd-sink) pop: -Wl,-R/usr/pkg/lib
(cmd-sink) pop: -o
(cmd-sink) pop: ../blib/arch/auto/XML/Parser/Expat/Expat.so
(cmd-sink) pop: -L/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/li=
b
(cmd-sink) pop: -lexpat
(cmd-sink) pop:
-L/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/lib/perl5/5.8.0/i386-n=
etbsd-thread-multi/CORE
(cmd-sink) pop: -Wl,-R/usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi=
/CORE
(cmd-sink) pop: -Wl,-R/usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi=
/CORE
(cmd-sink) pop: -lperl
(cmd-sink) pop: -I/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/in=
clude
(cmd-sink) pop: -L/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/li=
b
<.> /usr/pkgsrc/textproc/p5-XML-Parser/work/.gcc/bin/gcc
-Wl,-R/usr/pkg/lib -pthread --whole-archive -shared
-L/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/lib Expat.o -o
../blib/arch/auto/XML/Parser/Expat/Expat.so
-L/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/lib/perl5/5.8.0/i386-n=
etbsd-thread-multi/CORE
-Wl,-R/usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE
-I/usr/pkgsrc/textproc/p5-XML-Parser/work/.buildlink/include -lexpat
-lperl
[*] /usr/pkgsrc/textproc/p5-XML-Parser/work/.tools/bin/true
<.> true
[*] /usr/pkgsrc/textproc/p5-XML-Parser/work/.tools/bin/true
<.> true
[*] /usr/pkgsrc/textproc/p5-XML-Parser/work/.tools/bin/echo Appending
installation info to
/usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/perllocal.pod
<.> echo Appending installation info to
/usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/perllocal.pod
Paavo