portmaster or ports (packaging) problem ?
Hi, I hit a problem today during a system update. There were two libxul ports: /usr/ports/www/libxul /usr/ports/www/libxul19 of which the last one was installed: /var/db/pkg/libxul-1.9.2.28_1/ There was a port to update which died on error: # portmaster icedtea-web ... === The dependency for www/libxul seems to be handled by libxul-1.9.2.28_1 ... === Found libxul-1.9.2.28_1, but you need to upgrade to libxul=10. *** [build-depends] Error code 1 ... # So, I had to manually deinstall www/libxul19 and install www/libxul and try again. # portmaster icedtea-web ... === The following actions will be taken if you choose to proceed: Upgrade icedtea-web-1.3_1 to icedtea-web-1.3.1 Install www/libxul ... # Is the portmaster to blame for not being smart enough and not taking steps of deinstalling www/libxul19 and installing www/libxul in one step ? jb ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: portmaster or ports (packaging) problem ?
But theese are different packages (different names). since ports dont have any equivalent of debian provides flag it is impossible to figure it out in a safe way. 09-11-2012 19:19, jb jb.1234a...@gmail.com napisaĆ(a): Hi, I hit a problem today during a system update. There were two libxul ports: /usr/ports/www/libxul /usr/ports/www/libxul19 of which the last one was installed: /var/db/pkg/libxul-1.9.2.28_1/ There was a port to update which died on error: # portmaster icedtea-web ... === The dependency for www/libxul seems to be handled by libxul-1.9.2.28_1 ... === Found libxul-1.9.2.28_1, but you need to upgrade to libxul=10. *** [build-depends] Error code 1 ... # So, I had to manually deinstall www/libxul19 and install www/libxul and try again. # portmaster icedtea-web ... === The following actions will be taken if you choose to proceed: Upgrade icedtea-web-1.3_1 to icedtea-web-1.3.1 Install www/libxul ... # Is the portmaster to blame for not being smart enough and not taking steps of deinstalling www/libxul19 and installing www/libxul in one step ? jb ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: portmaster or ports (packaging) problem ?
uki ukaszg at gmail.com writes: But theese are different packages (different names). since ports dont have any equivalent of debian provides flag it is impossible to figure it out in a safe way. I have never built a port/package, so I could be wrong here. This paragraph seems to contain means to specify a dependency and built it if needed: http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-depend.html for example 5.8.3 BUILD_DEPENDS aside from its primary meaning as a requirement for building *this* port, it could be used indirectly to build and install a dependent port :-) and this offer means to specify a minimal version of a dependency: 5.8.8 Minimal Version of a Dependency My point is, the logic/infrastrucutre already exists, just adopt it to next level of port/package management. jb ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org