Am 04.10.2016 um 12:48 schrieb Tijl Coosemans: > On Tue, 4 Oct 2016 09:52:23 +0200 Gerhard Schmidt <[email protected]> wrote: >> make clean fails to clean autoconf and automake. >> >> If a port uses autoconf and autoconf isn't installed on the system, it >> will be build and installed. >> >> if you run make clean after installing the port, every dependency is >> cleaned as well but not autoconf. > > Can you give an example of such a port, because we have two mechanisms > that can pull in autoconf.
It's seams to be quite a complex problem. To find out which ports causes this problem tried to build lang/php56 which uses autoconf. But when I do a make clean autoconf is cleaned as well. [root@etustar /usr/ports/lang/php56]# make clean ===> Cleaning for autoconf-2.69_1 ===> Cleaning for php56-5.6.25_1 But it also installs help2man, gmake, p5-Locale-gettext-1.06 and autoconf-wrapper-20131203 and these are not cleaned. The transcript is attached as typescript_clean now do a pkg autoremove which removes autoconf and the missed ports form the system. now try again to compile php56 and it fails the transcript is attached as typescript_unclean It seams that dependencies of dependencies are not clean. It seams that autoconf was only the most memorable one. Regards Estartu
typescript_clean
Description: Binary data
Script started on Tue Oct 4 13:25:51 2016
[root@etustar /usr/ports/lang/php56]# pkg autoremove
Updating database digests format: 0%
Updating database digests format: 0%
Updating database digests format: 20%
Updating database digests format: 40%
Updating database digests format: 60%
Updating database digests format: 80%
Updating database digests format: 100%
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 5 packages:
Installed packages to be REMOVED:
autoconf-2.69_1
autoconf-wrapper-20131203
gmake-4.2.1_1
help2man-1.43.3_1
p5-Locale-gettext-1.06
Number of packages to be removed: 5
The operation will free 5 MiB.
Proceed with deinstalling packages? [y/N]: y
[1/5] Deinstalling autoconf-2.69_1...
[1/5] Deleting files for autoconf-2.69_1: 100%
[2/5] Deinstalling help2man-1.43.3_1...
[2/5] Deleting files for help2man-1.43.3_1: 100%
[3/5] Deinstalling autoconf-wrapper-20131203...
[3/5] Deleting files for autoconf-wrapper-20131203: 100%
[4/5] Deinstalling gmake-4.2.1_1...
[4/5] Deleting files for gmake-4.2.1_1: 100%
[5/5] Deinstalling p5-Locale-gettext-1.06...
[5/5] Deleting files for p5-Locale-gettext-1.06: 100%
[root@etustar /usr/ports/lang/php56]# make clean
===> Cleaning for php56-5.6.25_1
[root@etustar /usr/ports/lang/php56]# make
===> License PHP301 accepted by the user
===> Found saved configuration for php56-5.6.25_1
===> php56-5.6.25_1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by php56-5.6.25_1 for building
===> Extracting for php56-5.6.25_1
=> SHA256 Checksum OK for php-5.6.25.tar.xz.
===> Patching for php56-5.6.25_1
===> Applying FreeBSD patches for php56-5.6.25_1
===> php56-5.6.25_1 depends on file: /usr/local/bin/autoconf-2.69 - not found
===> autoconf-2.69_1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by autoconf-2.69_1 for building
===> Extracting for autoconf-2.69_1
=> SHA256 Checksum OK for autoconf-2.69.tar.xz.
===> Patching for autoconf-2.69_1
===> Applying FreeBSD patches for autoconf-2.69_1
===> autoconf-2.69_1 depends on executable: gm4 - found
===> autoconf-2.69_1 depends on executable: help2man - not found
===> autoconf-2.69_1 depends on executable: help2man - not found
*** Error code 1
Stop.
make[2]: stopped in /usr/ports/devel/autoconf
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/lang/php56
*** Error code 1
Stop.
make: stopped in /usr/ports/lang/php56
[root@etustar /usr/ports/lang/php56]# exit
exit
Script done on Tue Oct 4 13:26:18 2016
signature.asc
Description: OpenPGP digital signature
