Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 May 2007 19:22:09 +1000
From:      Norberto Meijome <freebsd@meijome.net>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: php5-gd and xorg-libraries conflict
Message-ID:  <20070525192209.7a0f8271@localhost>
In-Reply-To: <20070523015849.GA24547@xor.obsecurity.org>
References:  <20070522164750.5086d2b7@localhost> <20070522071658.GA59910@xor.obsecurity.org> <20070523001817.71b313bc@localhost> <20070522185150.GB76901@xor.obsecurity.org> <20070523115422.0e304de8@localhost> <20070523015849.GA24547@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 22 May 2007 21:58:49 -0400
Kris Kennaway <kris@obsecurity.org> wrote:

> On Wed, May 23, 2007 at 11:54:22AM +1000, Norberto Meijome wrote:
> > On Tue, 22 May 2007 14:51:50 -0400
> > Kris Kennaway <kris@obsecurity.org> wrote:
> > 
> > > > This is a server, i rather have just the needed libraries instead of the whole shebbang ( couldn't xorg-libraries install *just* the libX* and the *proto ... is there any reason why this is not the case?  
> > > 
> > > That is what xorg-libraries *does* do.
> > 
> > :) I thought that too... but why does it ask for x11/xorg to be installed ?? 
> > 
> > I am obviously missing something (between my ears ;) )
> 
> Can't imagine how this would happen, please post the relevant parts of
> the log.

Hi Kris,
ok , it's happened again in the same VM as before. xorgs is not installed at all:
----
apache-2.2.4_2      Version 2.2 of Apache web server with prefork MPM.
autoconf-2.53_3     Automatically configure source code on many Un*x platforms 
autoconf-2.59_2     Automatically configure source code on many Un*x platforms 
bash-3.1.17         The GNU Project's Bourne Again SHell
curl-7.16.1         Non-interactive tool to get files from FTP, GOPHER, HTTP(S)
db4-4.0.14_1,1      The Berkeley DB package, revision 4
db41-4.1.25_4       The Berkeley DB package, revision 4.1
expat-2.0.0_1       XML 1.0 parser written in C
gettext-0.16.1_3    GNU gettext package
gmake-3.81_2        GNU version of 'make' utility
help2man-1.36.4_1   Automatically generating simple manual pages from program o
kbproto-1.0.3       KB extension headers
libgmp-4.2.1_2      A free library for arbitrary precision arithmetic
libiconv-1.9.2_2    A character set conversion library
libltdl-1.5.22_2    System independent dlopen wrapper
libmcrypt-2.5.8     Multi-cipher cryptographic library (used in PHP)
libtool-1.5.22_4    Generic shared library support script
libxml2-2.6.27      XML parser library for GNOME
m4-1.4.9            GNU m4
mhash-0.9.7.1       An easy-to-use library for strong hashes such as MD5 and SH
p5-XML-Parser-2.34_2 Perl extension interface to James Clark's XML parser, expat
p5-gettext-1.05_1   Message handling functions
pcre-7.0_1          Perl Compatible Regular Expressions library
perl-5.8.8          Practical Extraction and Report Language
php5-5.2.2          PHP Scripting Language (Apache Module and CLI)
php5-pcre-5.2.2     The pcre shared extension for php
php5-xml-5.2.2      The xml shared extension for php
pkg-config-0.21     A utility to retrieve information about installed libraries
pkg_cutleaves-20061113 Interactive script for deinstalling 'leaf' packages
png-1.2.18          Library for manipulating PNG images
portaudit-0.5.11    Checks installed ports against a list of security vulnerabi
portupgrade-2.2.6_3,2 FreeBSD ports/packages administration and management tool s
ruby-1.8.6,1        An object-oriented interpreted scripting language
ruby18-bdb-0.6.0    Ruby interface to Sleepycat's Berkeley DB revision 2 or lat
sudo-1.6.8.12_2     Allow others to run commands as root
wget-1.10.2_1       Retrieve files from the Net via HTTP and FTP
----

Ports is up to date using portsnap:

[root@vmports] [Fri May 25 09:19:08 2007]
..
Looking up portsnap2.FreeBSD.org mirrors... none found.
Fetching snapshot tag from portsnap2.FreeBSD.org... done.
Latest snapshot on server matches what we already have.
No updates needed.
Ports tree is already up to date.


I did:
 export DISABLE_VULNERABILITIES=yes
portinstall -pP www/gforge

and I get :
[...]
Creating bzip'd tar ball in '/usr/ports/packages/All/wget-1.10.2_1.tbz'
===>   Returning to build of gforge-4.5.16_1
===>   gforge-4.5.16_1 depends on file: /usr/local/include/php/main/php.h - found
===>   gforge-4.5.16_1 depends on file: /usr/local/sbin/apxs - found
===>   gforge-4.5.16_1 depends on file: /usr/local/share/jpgraph/imgdata_balls.inc - not found
===>    Verifying package for /usr/local/share/jpgraph/imgdata_balls.inc in /usr/ports/graphics/jpgraph2
=> jpgraph-2.1.4.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://web.comhem.se/jpgraph/jpgdownloads/.
jpgraph-2.1.4.tar.gz                          100% of 4375 kB  154 kBps 00m00s
===>  Extracting for jpgraph-2.1.4_1
=> MD5 Checksum OK for jpgraph-2.1.4.tar.gz.
=> SHA256 Checksum OK for jpgraph-2.1.4.tar.gz.
===>  Patching for jpgraph-2.1.4_1
===>  Configuring for jpgraph-2.1.4_1
===>  Installing for jpgraph-2.1.4_1
===>   jpgraph-2.1.4_1 depends on file: /usr/local/include/php/main/php.h - found
===>   jpgraph-2.1.4_1 depends on file: /usr/local/lib/php/20060613/gd.so - not found
===>    Verifying package for /usr/local/lib/php/20060613/gd.so in /usr/ports/graphics/php5-gd
===>  Found saved configuration for php5-gd-5.2.2
===>  Extracting for php5-gd-5.2.2
=> MD5 Checksum OK for php-5.2.2.tar.bz2.
=> SHA256 Checksum OK for php-5.2.2.tar.bz2.
===>  Patching for php5-gd-5.2.2
===>  Applying FreeBSD patches for php5-gd-5.2.2
===>   php5-gd-5.2.2 depends on executable in : phpize - found
===>   php5-gd-5.2.2 depends on file: /usr/local/bin/autoconf259 - found
===>   php5-gd-5.2.2 depends on file: /usr/local/libdata/xorg/libraries - not found
===>    Verifying package for /usr/local/libdata/xorg/libraries in /usr/ports/x11/xorg-libraries
Read /usr/ports/UPDATING for the procedure to upgrade or install xorg 7.2.
*** Error code 1

Stop in /usr/ports/x11/xorg-libraries.
*** Error code 1

Stop in /usr/ports/graphics/php5-gd.
*** Error code 1

Stop in /usr/ports/graphics/php5-gd.
*** Error code 1

Stop in /usr/ports/graphics/jpgraph2.
*** Error code 1

Stop in /usr/ports/www/gforge.
*** Error code 1

Stop in /usr/ports/www/gforge.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall.96993.0 env make DEPENDS_TARGET=package reinstall
** Fix the installation problem and try again.
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 36 packages found (-0 +3) ... done]
** Listing the failed packages (*:skipped / !:failed)
        ! www/gforge    (install error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed

-===================================================

I can obviously install all of xorg  ( or the package I had prebuilt), but ,
 if I understand all this correctly, xorgs-libraries shouldn't be complaining, but just go ahead and install the libraries....right? 

Thanks for helping understand the problem.

cheers,
Beto

_________________________
{Beto|Norberto|Numard} Meijome

"The only people that never change are the stupid and the dead"
  Jorge Luis Borges.

I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070525192209.7a0f8271>