[nycbug-talk] Make package-recursive problem
Charles Sprickman
spork at bway.net
Fri May 22 19:19:08 EDT 2009
On Fri, 22 May 2009, Matt Juszczak wrote:
> For example:
>
> I am the nagios port and I am building nagios:
> 1. I need/depend on apachge
> 2. apache is not on the system
> 3. I tell the apache port to build
> ...
> N: nagios is built/installed/packaged
>
> THEN:
>
> I am the cacti port and I am building cacti:
> 1. I need/depend on apache
> 2. apache *is* on the system
> 3. I re-do the apache package at the end of my install (make
> package-recursive rebuilds packages)
> ...
> N. cacti is build/installed/packaged
>
>
> The newly overwritten apache packages has the 2 start up scripts missing
> from it from /usr/local/etc/rc.d, but it had them prior to the nagios port
> rebuilding it.
I've got this behavior on a 7.1 box. I'm doing roughly the same thing -
building in a jail that's just for building packages and then copying them
into ezjail's pkg directory. Exact same behavior - had to copy the apache
startup script over by hand since it was missing from the package.
I believe I've seen this elsewhere as well, but I've pretty much given up
on the issue.
If you bring this up on one of the freebsd lists, let me know and I'll
chime in with a "me too".
Charles
> THAT's the issue. The behavior is unpredictable. Usually works the first
> time, doesn't work when the port is rebuilt. Only happens on some ports.
> So far, I've seen it only on:
>
> gettext
> python
> apache
> php5-mysql
> php5-pcre
> fontconfig
>
> Also, at this point, is there a way to fix dependencies if I removed a
> package item and added it again? For instance:
>
> pkg_add apache22
>
> <installs 10 or so packages>
>
> pkg_del -f <an apache dependency>
> pkg_add <that same apache dependency>
>
> The package is now back, but the dependency on apache has been removed.
> Is the only way to reinstall the apache package? Is there a way to tell
> apache to only re-create its dependencies without actually re-installing
> files?
>
> -Matt
> _______________________________________________
> talk mailing list
> talk at lists.nycbug.org
> http://lists.nycbug.org/mailman/listinfo/talk
>
More information about the talk
mailing list