Solved update-mime-database - not found

Another one.
Code:
===>   xmlto-0.0.28 depends on file: /usr/local/bin/getopt - not found
Searching by pathname yields too many results. There has to be a better way?
 
Missing dependencies are automatically installed. Why are you trying to figure this out by hand?
 
Well, for same reason they are not. How to troubleshoot this issue? I think the trouble started after I executed pkg autoremove.
 
I think the trouble started after I executed pkg autoremove.
That only removes packages that were installed as dependencies but nothing is depending on them any more.

Please post the whole output of the build attempt. I have a feeling you're simply looking at the wrong things.
 
Code:
===>   xmlto-0.0.28 depends on executable: xsltproc - found
===>   Returning to build of xmlto-0.0.28
===>   xmlto-0.0.28 depends on package: docbook-xsl>0 - not found
===>   xmlto-0.0.28 depends on package: docbook-xsl>0 - not found
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/textproc/xmlto
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/textproc/xmlto
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/devel/git
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/git
 
pkg_libchk -qo /tmp/ports-to-rebuild.txt This command does nothing, no error, no file created in /tmp.
 
Below is another one. Me scratching head.
Code:
# portinstall docbook-xsl
[Reading data from pkg(8) ... - 142 packages found - done]
--->  Installing 'docbook-xsl-1.76.1_3' from a port (textproc/docbook-xsl)
--->  Building '/usr/ports/textproc/docbook-xsl'
===>  Cleaning for xmlcatmgr-2.2_2
===>  Cleaning for docbook-1.5
===>  Cleaning for docbook-xsl-1.76.1_3
===>  Found saved configuration for docbook-xsl-1.76.1_2
===>   docbook-xsl-1.76.1_3 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by docbook-xsl-1.76.1_3 for building
===>  Extracting for docbook-xsl-1.76.1_3
=> SHA256 Checksum OK for docbook-xsl-1.76.1.tar.bz2.
/usr/bin/find /usr/ports/textproc/docbook-xsl/work/docbook-xsl-1.76.1 \( -name '.*' -or -name '*.sh' -or -name '*.LOG' \) -delete
/usr/bin/find /usr/ports/textproc/docbook-xsl/work/docbook-xsl-1.76.1/extensions -type d -mindepth 1 -maxdepth 1 -print0 | /usr/bin/xargs -0 /bin/rm -f -rf
===>  Patching for docbook-xsl-1.76.1_3
===>   docbook-xsl-1.76.1_3 depends on executable: xmlcatmgr - found
===>  Configuring for docbook-xsl-1.76.1_3
===>  Staging for docbook-xsl-1.76.1_3
===>   docbook-xsl-1.76.1_3 depends on package: docbook>=0 - not found
===>   docbook-1.5 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by docbook-1.5 for building
===>  Extracting for docbook-1.5
===>  Patching for docbook-1.5
===>  Configuring for docbook-1.5
===>  Staging for docbook-1.5
===>   docbook-1.5 depends on file: /usr/local/share/sgml/docbook/catalog - not found
===>   docbook-1.5 depends on file: /usr/local/share/sgml/docbook/catalog - not found
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/textproc/docbook
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/textproc/docbook-xsl
*** Error code 1

Stop.
make: stopped in /usr/ports/textproc/docbook-xsl
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall20160713-47504-g5gxhd env make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! textproc/docbook-xsl  (unknown build error)
 
pkg_libchk -qo /tmp/ports-to-rebuild.txt This command does nothing, no error, no file created in /tmp.

Oops, sorry it was my fault (I forgot to redirect output):

Run pkg_libchk -qo > /tmp/ports-to-rebuild.txt
 
Is there anything in /etc/make.conf? And have you tried the normal make install instead of portinstall(1) (to rule out issues with it)?
 
That one rings a bell. I think those ports were the primary reason I switched to package builders (Poudriere and Synth) after fixing the problem for fifth or sixth time manually. I can't remember exactly what I did but it involve rebuilding every single port involved and removing all of the files involved as well. It's probably the leftover files after deletion or upgrade that are the main cause but I can't remember for sure.
 
I just did another portsclean -C and ... surprisingly enough dependencies solve now. Go figure, must have been some cruft in ports tree.
 
Yup, FreeBSD is amazing. I think this install is as old as ... I even do not remember. I think it was several FreeBSD forums ago. :) I remember one forum after another doomed and I already had this box running. Hard drive has been upgraded, motherboard, but the install is still the same. Rebuilding the world every time a new version comes out ... rolling, rolling, rolling ...
 
Back
Top