freebsd / portupgrade

FreeBSD ports and packages management app
http://www.FreeBSD.org/
BSD 3-Clause "New" or "Revised" License
42 stars 26 forks source link

portinstall does not track missing dependencies #30

Open bdrewery opened 12 years ago

bdrewery commented 12 years ago

===>   Registering installation for buildbot-0.8.6p1
===>  Building package for buildbot-0.8.6p1
===>  Cleaning for py27-sqlalchemy-0.7.7
===>  Cleaning for py27-migrate-0.7.2
===>  Cleaning for py27-MySQLdb-1.2.3_1
===>  Cleaning for py27-psycopg2-2.4.5
===>  Cleaning for py27-Tempita-0.5.1
===>  Cleaning for py27-decorator-3.3.1
===>  Cleaning for postgresql-client-9.0.8
===>  Cleaning for buildbot-0.8.6p1
--->  Removing temporary files and directories
--->  Keeping old package in '/usr/ports/packages/All'
--->  Installation of devel/buildbot ended at: Mon, 04 Jun 2012 23:03:15 -0500 (consumed 00:07:20)
--->  Cleaning out obsolete shared libraries
[Updating the pkgdb  in /var/db/pkg ... - 452 packages found (-0 +8) ........ done]
--->  Upgrade of devel/buildbot ended at: Mon, 04 Jun 2012 23:03:29 -0500 (consumed 00:08:10)
--->  ** Upgrade tasks 1: 1 done, 0 ignored, 0 skipped and 0 failed
--->  Listing the results (+:done / -:ignored / *:skipped / !:failed)
        + devel/buildbot (buildbot-0.8.3p1)
--->  Packages processed: 1 done, 0 ignored, 0 skipped and 0 failed
--->  Session ended at: Mon, 04 Jun 2012 23:03:50 -0500 (consumed 00:09:10)
bdrewery commented 12 years ago

None of the py- ports or postgresql-client was installed before running portinstall devel/buildbot

bdrewery commented 10 years ago

This has impact on #58 as well. The problem is portinstall lamely does not lookup dependencies. It just lets ports install missing dependencies.

bdrewery commented 10 years ago

cbc17d2ee41b3ca0a6ce01e14583a6fd67890e96 causes this. Note also #15

bdrewery commented 10 years ago

Discussion at https://lists.freebsd.org/pipermail/freebsd-ports/2008-February/047000.html

bdrewery commented 9 years ago

There is a catch here. Portinstall does track the dependencies and Portupgrade does not. The case of not tracking them allows #62 to work correctly since the ports framework will handle installing dependencies. Not tracking dependencies though leads to incorrect counts, estimations and result lists.