pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: spectrwm in pkgsrc-2018Q4 NetBSD
Looks like... Here is the relevant part of .work.log:
......
[*] /usr/pkgsrc/wm/spectrwm/work/.tools/bin/true
<.> true
[*] /usr/pkgsrc/wm/spectrwm/work/.tools/bin/true
<.> true
[*] cc -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib
-Wl,-R/usr/X11R7/lib -L/usr/lib -Wl,-R/usr/lib -lutil -L/usr/pkg/lib
-lX11 -lX11-xcb -lxcb -lxcb-icccm -lxcb-keysyms -lxcb-randr -lxcb-util
-lxcb-xinput -lxcb-xtest -lXft -lXcursor -o spectrwm spectrwm.o
<.> /usr/pkgsrc/wm/spectrwm/work/.gcc/bin/gcc
-L/usr/pkgsrc/wm/spectrwm/work/.buildlink/lib -Wl,-rpath,/usr/pkg/lib
-L/usr/pkgsrc/wm/spectrwm/work/.x11-buildlink/lib
-Wl,-rpath,/usr/X11R7/lib -lutil -lX11 -lX11-xcb -lxcb -lxcb-icccm
-lxcb-keysyms -lxcb-randr -lxcb-util -lxcb-xinput -lxcb-xtest -lXft
-lXcursor -o spectrwm spectrwm.o
-I/usr/pkgsrc/wm/spectrwm/work/.buildlink/include
......
They should be doing the same, and yet the first one, when executed in
the right place, succeeds, whereas the second one fails:
......
# /usr/pkgsrc/wm/spectrwm/work/.gcc/bin/gcc
-L/usr/pkgsrc/wm/spectrwm/work/.buildlink/lib -Wl,-rpath,/usr/pkg/lib
-L/usr/pkgsrc/wm/spectrwm/work/.x11-buildlink/lib
-Wl,-rpath,/usr/X11R7/lib -lutil -lX11 -lX11-xcb -lxcb -lxcb-icccm
-lxcb-keysyms -lxcb-randr -lxcb-util -lxcb-xinput -lxcb-xtest -lXft
-lXcursor -o spectrwm spectrwm.o
-I/usr/pkgsrc/wm/spectrwm/work/.buildlink/include
ld: cannot find -lxcb-xinput
root@ymir:/usr/pkgsrc/wm/spectrwm/work/spectrwm-SPECTRWM_3_2_0/netbsd
# cc -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib
-Wl,-R/usr/X11R7/lib -L/usr/lib -Wl,-R/usr/lib -lutil -L/usr/pkg/lib
-lX11 -lX11-xcb -lxcb -lxcb-icccm -lxcb-keysyms -lxcb-randr -lxcb-util
-lxcb-xinput -lxcb-xtest -lXft -lXcursor -o spectrwm spectrwm.o
(that is OK).
Aside from this, I am having also problem building the latest ntop -
the Makefile in the plugins directory has ''-flat_namespace' on all CC
commands, which as far as I can find it is only for Darwin; if one
takes it out, the targets for the .o files do not get executed and
have to be dome manually, but only after '-fPIC' is added to the
compilation command line; the link after that succeeds (all six or
seven targets have to be done manually). It smells to me again
something to do with cwrappers.
( the resulting package works).
On Sat, 5 Jan 2019 at 15:16, Martin Husemann <martin%duskware.de@localhost> wrote:
>
> On Sat, Jan 05, 2019 at 11:33:26AM +0000, Chavdar Ivanov wrote:
> > Its weird, I get the same error on current pkgsrc running on 8.99.30;
> > however, if I cd to work/spectrwm-SPECTRWM_3_2_0/netbsd and run the
> > failng gcc command, it executes without error and spectrwm is linked
> > against xcb-xinput.
>
> Sounds like the wrappers break something then - check work.log for what
> got really invoked.
>
> Martin
--
----
Home |
Main Index |
Thread Index |
Old Index