pkg-static: Insufficient privileges to add packages
woodsb02 at gmail.com
Wed Apr 22 00:50:20 UTC 2015
On 22 April 2015 at 07:51, Baptiste Daroussin <bapt at freebsd.org> wrote:
>> > I found the reason for Dan by checking the logs, If I could see your own
>> > logs
>> > then I will tell you where you mistake is.
>> > actually you are having poudriere building as a user (internally to the
>> > jail)
>> > which is a very good thing as it allows to catch things like this :D)
>> > I mean it is dropping roots priviledges to build, stage and make package.
>> > but still try to install a dependency there, probably because the
>> > dependency
>> > line you have in your port is buggy. In dan case he was testing if
>> > py27-django>=1.5 but was refering to the www/py-django16 port which result
>> > in a
>> > package named py27-django16 which is not py27-django aka the test will
>> > always
>> > fail and the ports tree will try to reinstall again and again even in
>> > phases
>> > when it cannot due to lack of priviledges
>> > As a conclusion the bug is in the port you are testing not in pkg, neither
>> > in
>> > poudriere.
>> > If you show me the logs of your own build I will tell you what is your
>> > mistake.
>> > Best regards,
>> > Bapt
>> Thanks for your help Bapt. You are right, it was an issue with the port
>> dependency list. In my case the library had changed from plplotd.so to
>> plplot.so (now without the 'd'). I have fixed that in the LIB_DEPENDS line
>> and the problem is fixed.
>> Trying to debug this issue took some time, because the error message was
>> about permissions and I didn't make the connection was with unsatisfied
>> Could we perhaps add an additional check somewhere in the process that
>> informs you the dependencies have not been correctly satisfied? Do you
>> think this extra check belongs in poudriere or the ports infrastructure?
> Improvement for that has been added into the ports tree and taken in account by
> poudriere in latest poudriere-devel 184.108.40.20650421_1 by Bryan
> Best regards,
Thanks Bapt and Bryan - looks like a helpful change!
More information about the freebsd-ports