tech-pkg archive

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

pkg-conf --libs x11



I'm looking at the (bulkbuild) log which you may find at
  http://www.ki.nu/pkgsrc/reports/current/NetBSD-8.99.42/20190609.1051/meta/report.html

and, for example,  x11/xicc shows following line
http://www.ki.nu/pkgsrc/reports/current/NetBSD-8.99.42/20190609.1051/xicc-0.1nb4/install.log
   ERROR: bin/xicc: missing library: libglib-2.0.so.0

This happens also when just a single make package as shown below log part in this mail.

And I suspect pkg-config  (say, x11.pc) may have problem.
I've checked some portion, but my knowledge is not enough 
to figure out what is going on:

Please guide me (or just fix the problem) thanks.

1.
With my environment,
pkg-conf --libs x11 returns
Following string
  --------------
  pkgsrc@root 22:31:13/190615(..x11/xicc)% pkg-config --libs  x11                                                     
  -Wl,-rpath,/usr/X11R7/lib -L/usr/X11R7/lib -lX11 
  --------------
2.
We have two x11.pc, but both are the same for the moment.

pkgsrc@root 22:32:15/190615(..x11/xicc)% diff -u   /usr/X11R7/lib/pkgconfig/x11.pc /usr/pkg/share/x11-links/lib/pkgconfig/x11.pc

3.
And now both point X11R7 side

head -2 /usr/pkg/share/x11-links/lib/pkgconfig/x11.pc
prefix=/usr/X11R7
exec_prefix=${prefix}


log: 

cd /usr/pkgsrc/x11/xicc; make clean && make package
...
----------------------------
=> Generating pre-install file lists
=> Creating installation directories
/tmp/x11/xicc/work/.cwrapper/bin/libtool --tag=CC --mode=install /usr/bin/install -c -s -o root -g wheel -m 755 /tmp/x11/xicc/work/xicc-0.1/xicc /tmp/x11/xicc/work/.destdir/usr/pkg/bin/
libtool: install: /usr/bin/install -c -o root -g wheel -m 755 -s /tmp/x11/xicc/work/xicc-0.1/xicc /tmp/x11/xicc/work/.destdir/usr/pkg/bin/xicc
=> Automatic manual page handling
=> Generating post-install file lists
=> Checking file-check results for xicc-0.1nb4
=> Checking for non-existent script interpreters in xicc-0.1nb4
=> Checking file permissions in xicc-0.1nb4
=> Checking for missing run-time search paths in xicc-0.1nb4
ERROR: bin/xicc: missing library: libglib-2.0.so.0
*** Error code 1

Stop.
make[1]: stopped in /P/pkgsrc/x11/xicc
*** Error code 1

Stop.
make: stopped in /P/pkgsrc/x11/xicc


pkgsrc@root 21:31:23/190615(..x11/xicc)% ls -l /usr/pkg/lib/libglib*
lrwxr-xr-x  1 root  wheel       16 Jun 15 21:20 /usr/pkg/lib/libglib-2.0.so -> libglib-2.0.so.0
lrwxr-xr-x  1 root  wheel       23 Jun 15 21:20 /usr/pkg/lib/libglib-2.0.so.0 -> libglib-2.0.so.0.6000.3
-rwxr-xr-x  1 root  wheel  1283296 Jun 15 21:20 /usr/pkg/lib/libglib-2.0.so.0.6000.3

pkgsrc@root 21:32:56/190615(..x11/xicc)% ls -l /tmp/x11/xicc/work/.destdir/usr/pkg/bin/xicc
-rwxr-xr-x  1 root  wheel  7408 Jun 15 21:31 /tmp/x11/xicc/work/.destdir/usr/pkg/bin/xicc

pkgsrc@root 21:33:01/190615(..x11/xicc)% ldd  /tmp/x11/xicc/work/.destdir/usr/pkg/bin/xicc
/tmp/x11/xicc/work/.destdir/usr/pkg/bin/xicc:
        -lX11.7 => /usr/X11R7/lib/libX11.so.7
        -lxcb.2 => /usr/X11R7/lib/libxcb.so.2
        -lXau.7 => /usr/X11R7/lib/libXau.so.7
        -lc.12 => /usr/lib/libc.so.12
        -lXdmcp.7 => /usr/X11R7/lib/libXdmcp.so.7
        -lintl.1 => /usr/lib/libintl.so.1
        -lglib-2.0.0 => not found
pkgsrc@root 21:33:16/190615(..x11/xicc)%
----------------------------

-- 
Makoto Fujiwara
mef%NetBSD.org@localhost
makoto%if.t.u-tokyo.ac.jp@localhost
Key fingerprint = 0BFA FAEB EAD1 90BA 7498  8F85 6809 9E0B B7EF A12E


Home | Main Index | Thread Index | Old Index