Date: Thu, 7 Apr 2016 03:03:47 -0700 (PDT) From: Don Lewis <truckman@FreeBSD.org> To: grog@FreeBSD.org Cc: ports@freebsd.org Subject: Re: Strangenesses with package dependencies Message-ID: <201604071003.u37A3lIO024235@gw.catspoiler.org> In-Reply-To: <201604070826.u378QbXW023739@gw.catspoiler.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 7 Apr, Don Lewis wrote: > On 7 Apr, Greg 'groggy' Lehey wrote: >> Bug 208575 describes a problem installing the hugin package: most of >> the dependencies didn't get installed. It works fine building the >> port from source, and neither I nor edwin@ (ex-mentor) can work out >> why. Here's what I get when I try 'pkg install hugin' on my test box: >> >> FreeBSD stable.lemis.com 10.3-STABLE FreeBSD 10.3-STABLE #0: Thu Apr 7 13:13:03 AEST 2016 root@stable.lemis.com:/usr/obj/eureka/home/src/FreeBSD/svn/stable/10/sys/GENERIC amd64 >> >> New packages to be INSTALLED: >> hugin: 2016.0.0_1 >> p5-Image-ExifTool: 10.10 >> vigra: 1.11.0 >> hdf5: 1.8.15_1 >> fftw3-float: 3.3.3_2 >> >> In /usr/ports/graphics/hugin, make run-depends-list lists all the >> dependencies. >> >> Looking at the package >> (http://pkg.freebsd.org/freebsd:10:x86:64/latest/All/hugin-2016.0.0_1.txz), >> the file +MANIFEST contains the names of all the dependencies. After >> replacing , with \n, I get stuff like: >> >> "OpenEXR":{"origin":"graphics/OpenEXR" >> "version":"2.2.0_5"} >> "glew":{"origin":"graphics/glew" >> "version":"1.13.0"} >> >> All the missing dependencies are listed in +MANIFEST. I don't know >> enough about the format to determine if something's wrong, but >> currently this looks like a pkg issue to me. >> >> Any thoughts? Anything else I can try? The package is very new >> (2016-Apr-07 01:59), not quite 6 hours old. And yes, I've checked >> that the problem still occurs with this version. > > Not that it helps, but I tried buiding the package and ran into this > plist problem: > > ====> Checking for pkg-plist issues (check-plist) > ===> Parsing plist > ===> Checking for items in STAGEDIR missing from pkg-plist > Error: Orphaned: %%DATADIR%%/data/blended_stacks.executor > Error: Orphaned: %%DATADIR%%/data/fused_layers.executor > Error: Orphaned: %%DATADIR%%/data/hdr_pano.executor > Error: Orphaned: %%DATADIR%%/data/normal_enblend.executor > Error: Orphaned: %%DATADIR%%/data/normal_smartblend.executor > Error: Orphaned: %%DATADIR%%/data/zeronoise.executor > Error: Orphaned: %%DATADIR%%/xrc/data/ptbatcher_pause.ico > Error: Orphaned: %%DATADIR%%/xrc/data/ptbatcher_pause.png > Error: Orphaned: %%DATADIR%%/xrc/data/ptbatcher_running.ico > Error: Orphaned: %%DATADIR%%/xrc/data/ptbatcher_running.png > ===> Checking for items in pkg-plist which are not in STAGEDIR > ===> Error: Plist issues found. If I fix that problem, use poudriere to build the package, then run poudriere testport -i -o graphics/hugin to rebuild it in a jail, then run pkg delete -a do deinstall all the installed packages, and then run pkg install hugin I see: # pkg install hugin Updating local repository catalogue... [101STABLEamd64-default] Fetching meta.txz: 100% 264 B 0.3kB/s 00:01 [101STABLEamd64-default] Fetching packagesite.txz: 100% 362 KiB 370.8kB/s 00:01 Processing entries: 100% local repository update completed. 1510 packages processed. Checking integrity... done (0 conflicting) The following 145 package(s) will be affected (of 0 checked): New packages to be INSTALLED: hugin: 2016.0.0_1 p5-Image-ExifTool: 10.10 perl5: 5.20.3_9 vigra: 1.11.0 fftw3: 3.3.3_2 indexinfo: 0.2.4 tiff: 4.0.6_1 jbigkit: 2.1_1 jpeg-turbo: 1.4.2 OpenEXR: 2.2.0_5 ilmbase: 2.2.0 png: 1.6.21 hdf5: 1.8.15_1 hdf-szip: 2.1_2 fftw3-float: 3.3.3_2 gtk-update-icon-cache: 2.24.29 hicolor-icon-theme: 0.15 libXdamage: 1.1.4_3 xproto: 7.0.28 libXfixes: 5.0.1_3 fixesproto: 5.0 libX11: 1.6.3,1 libXdmcp: 1.1.2 libxcb: 1.11.1 libxml2: 2.9.3 libpthread-stubs: 0.3_6 libXau: 1.0.8_3 kbproto: 1.0.7 damageproto: 1.2.1 pango: 1.38.0 encodings: 1.0.4_3,1 font-util: 1.3.1 libXft: 2.3.2_1 libXrender: 0.9.9 renderproto: 0.11.1 fontconfig: 2.11.1_1,1 expat: 2.1.0_3 freetype2: 2.6.3 xorg-fonts-truetype: 7.7_1 font-misc-meltho: 1.0.3_3 mkfontdir: 1.0.7 mkfontscale: 1.1.2 libfontenc: 1.1.3 font-bh-ttf: 1.0.3_3 font-misc-ethiopic: 1.0.3_3 dejavu: 2.35 harfbuzz: 1.2.3 cairo: 1.14.6,2 libGL: 11.1.2 dri2proto: 2.8 libdevq: 0.0.2_1 libXxf86vm: 1.1.4_1 xf86vidmodeproto: 2.3.1 libXext: 1.3.3_1,1 xextproto: 7.3.0 libdrm: 2.4.66,1 libpciaccess: 0.13.4 pciids: 20160227 libxshmfence: 1.2 libglapi: 11.1.2 libXvMC: 1.0.9 libXv: 1.0.10_3,1 videoproto: 2.3.2 glproto: 1.4.17 libEGL: 11.1.2 gbm: 11.1.2 llvm37: 3.7.1_1 python27: 2.7.11_1 libffi: 3.2.1 openssl: 1.0.2_11 gettext-runtime: 0.19.7 libedit: 3.1.20150325_2 pixman: 0.34.0 xcb-util-renderutil: 0.3.9_1 xcb-util: 0.4.0_1,1 glib: 2.46.2 libiconv: 1.14_9 pcre: 8.38_1 icu: 55.1 graphite2: 1.3.8 libXcursor: 1.1.14_3 libXinerama: 1.1.3_3,1 xineramaproto: 1.2.1 libXcomposite: 0.4.4_3,1 compositeproto: 0.4.2 libXi: 1.7.6,1 inputproto: 2.3.1 atk: 2.18.0 libXrandr: 1.5.0 randrproto: 1.5.0 gdk-pixbuf2: 2.32.3 libXt: 1.1.5,1 libSM: 1.2.2_3,1 libICE: 1.0.9_1,1 jasper: 1.900.1_16 shared-mime-info: 1.5 autopano-sift-C: 2.5.1_5 libpano13: 2.9.19_1 gtk2: 2.24.29_2 cups: 2.1.3_2 avahi-app: 0.6.31_5 gnome_subr: 1.0 dbus-glib: 0.104 dbus: 1.8.20 gobject-introspection: 1.46.0 python2: 2_3 gdbm: 1.11_2 libdaemon: 0.14_1 gnutls: 3.4.10 nettle: 3.2 gmp: 5.1.3_3 ca_root_nss: 3.22.2 libtasn1: 4.7 p11-kit: 0.23.2 trousers-tddl: 0.3.10_7 libidn: 1.31 libpaper: 1.1.24.4 python: 2.7_2,2 panomatic: 0.9.4 enblend: 4.1.4_1 gsl: 1.16_2 lcms2: 2.7_2 glew: 1.13.0 libGLU: 9.0.0_2 libXmu: 1.1.2_3,1 freeglut: 3.0.0 boost-libs: 1.55.0_10 exiv2: 0.24_2,1 gmake: 4.1_2 sqlite3: 3.11.1 desktop-file-utils: 0.22_3 wx28-gtk2: 2.8.12_6 libmspack: 0.5 gstreamer-plugins: 0.10.36_6,3 orc: 0.4.25 gstreamer: 0.10.36_4 gconf2: 3.2.6_4 dconf: 0.24.0_1 polkit: 0.113_1 spidermonkey170: 17.0.0_1 nspr: 4.12 ORBit2: 2.14.19_1 libIDL: 0.8.14_2 pangox-compat: 0.0.2_1 wx28-gtk2-common: 2.8.12_6 The process will require 863 MiB more space. Proceed with this action? [y/N]: It looks to me like everything in LIB_DEPENDS and RUN_DEPENDS is included in that list. If I answer "y" at the above prompt, 145 packages get installed. All of the ones that were mentioned as missing in the PR were installed. This is with pkg-1.7.2.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604071003.u37A3lIO024235>