pkg_add coredumps, conflicts

Joe Marcus Clarke marcus at marcuscom.com
Fri Oct 12 09:00:39 EDT 2007


Nejc Škoberne wrote:
> Hello,
> 
> I am a tinderbox beginner, my goal is to provide a set of precompiled
> packages with customized options for my FreeBSD servers. I followed the
> README and managed to create four builds, that is for FreeBSD 5.3, 5.4,
> 6.1 and 6.2 with default FreeBSD portstree. However, I have stumbled
> upon two problems when building the packages so far:

What version of FreeBSD is the TB host running?  What architecture?
What kernel options are you using?

> 
> 1. When building mysql50-server on FreeBSD 5.3 and 5.4 builds, the end
> of the log file says:
> 
> ====================<phase 4: make build>====================
> add_pkg pkg_install-20060113.tbz libtool-1.5.24.tbz ldconfig_compat-1.0_8.tbz mysql-client-5.0.45_1.tbz
> adding dependencies
> pkg_add pkg_install-20060113.tbz
> pkg_add libtool-1.5.24.tbz
> pkg_add ldconfig_compat-1.0_8.tbz
> pkg_add mysql-client-5.0.45_1.tbz
> Segmentation fault (core dumped)
> error in dependency mysql-client-5.0.45_1.tbz, exiting
> 
> as you see the "Reason" is "coredump". Any ideas why would pkg_add
> dump a core in this situation? On 6.1 and 6.2 I don't have these
> problems. I was also trying to find the core file, but was unsuccessful.
> 
> 2. When trying to build database/phpmyadmin and lang/php5-extensions
> on 6.1 and 6.2 builds, I get "depend package" error, the end of log
> file shows this:
> 
> pkg_add php5-gd-5.2.4_1.tbz
> pkg_add php5-openssl-5.2.4_1.tbz
> pkg_add pdflib-7.0.2.tbz
> pkg_add pecl-pdflib-2.1.4.tbz
> pkg_add php5-zlib-5.2.4_1.tbz
> pkg_add libmcrypt-2.5.8.tbz
> pkg_add libltdl-1.5.24.tbz
> pkg_add php5-mcrypt-5.2.4_1.tbz
> pkg_add php5-mbstring-5.2.4_1.tbz
> pkg_add mysql-client-4.1.22.tbz
> pkg_add: package 'mysql-client-4.1.22' conflicts with mysql-client-5.0.45_1
> pkg_add: please use pkg_delete first to remove conflicting package(s) or -f to force installation
> error in dependency mysql-client-4.1.22.tbz, exiting
> 
> Which apparently means that the ports want to install an older version of
> mysql-client - how to make them install mysql-client-5* instead?

You'll have to look at the ports in question to see how to modify the
options, or contact the port maintainers.

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc


More information about the tinderbox-list mailing list