- Update to version 20120519.
Fix: Apply the patch and build
How-To-Repeat: apply the patch and build
I will take it.
Hi Timothy, sorry for delay. There is a problem with this patch. It
looks like that on deinstall lang/urweb removing some files/directories
that belong to lang/mlton. So the clean deinstall of lang/mlton after
lang/urweb deinstallation fails. If I install/deinstall just lang/mlton
- it deinstalls just fine without any error messages. Would you please
investigate? Here is the logs: http://people.freebsd.org/~rm/168179/. In
urweb-20120519.log you may see that after lang/urweb is deinstalled
system going to deinstall lang/mlton and there is missing directories.
I investigated this issue in more detail, and it is because the mlton pkg-plist specifies some empty directories.
After building a "from-scratch" package, when I first installed it, and as you noted, it gave no errors on deinstall.
However, after using pkg_add on the previously generated package, the deinstall gave the same errors that you noted.
I believe the reason for this is because those directories, as installed by mlton itself, are empty, and the package target never includes the empty directories. So, when installing again from that respective package, those empty directories are never installed via the pkg_add as they would be during the regular install.
This was reproduced without even having urweb installed, so I believe that this is an idiosyncrasy of mlton's build process, which could be fully resolved by using @dirrmtry on each of those respective directories in the pkg-plist of lang/mlton.
The issue is not related to the build process of lang/urweb, at least not directly. Based on the output of genplist and a cursory glance at the urweb Makefiles, lang/urweb does not delete or change any of the files or directories of lang/mlton.
rm 2012-06-03 23:28:44 UTC
FreeBSD ports repository
lang/urweb Makefile distinfo pkg-descr
- update to 20120519
Submitted by: Timothy Beyer <beyert at cs.ucr dot edu> (maintainer)
Revision Changes Path
1.4 +1 -2 ports/lang/urweb/Makefile
1.3 +2 -2 ports/lang/urweb/distinfo
1.2 +1 -1 ports/lang/urweb/pkg-descr
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "email@example.com"
Committed, thank you! Also thanks for mlton packaging issue