tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PLIST checking bug [Re: CVS commit: pkgsrc/databases]
>> Log Message:
>> postgresqlNN: updated to 12.3, 11.8, 10.13, 9.6.18, and 9.5.22
>
> Most (all?) of the server packages fail due to issues with
> timezone/America/Nuuk and at least postgresql12-client has issues with
> MO files.
>
> Joerg
Yes, I missed those. And now I know why.
Our PkgSrc has a bug. Here's how to reproduce it. You need a two packages, where one depends on another. This example goes for PostgreSQL:
1. cd pkgsrc/databases/postgresql12-client
2. Corrupt its PLIST (make it empty, or leave only few entries).
3. make install
Installation will obviously fail, because files are missing from the PLIST.
4. cd pkgsrc/databases/postgresql12-server
5. make install
Now, as a dependency, postgresql12-client will get silently installed, despite the corrupted PLIST.
Another way to test it:
1. cd pkgsrc/databases/postgresql12-client
2. Corrupt its PLIST.
3. cd pkgsrc/databases/postgresql12-server
4. make install
Installing postgresql12-client will fail.
5. make install
Now, postgresql12-client will get installed.
I was expecting the installation to always fail. And this is, of course, with PKG_DEVELOPER=yes.
Kind regards,
Adam
Home |
Main Index |
Thread Index |
Old Index