Bug 132543 - lang/php5 fails, gsed not found
Summary: lang/php5 fails, gsed not found
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Alex Dupre
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-11 13:40 UTC by Helmut Schneider
Modified: 2009-03-11 22:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Schneider 2009-03-11 13:40:02 UTC
Install of self compiled php5 packages fails:

[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 167 packages found (-0 +1) . done]
** Makefile possibly broken: converters/php5-mbstring:
        /usr/local/bin/php-config: /usr/local/bin/gsed: not found
        php5-mbstring-5.2.9


** Makefile possibly broken: devel/php5-readline:
        /usr/local/bin/php-config: /usr/local/bin/gsed: not found
        php5-readline-5.2.9


** Makefile possibly broken: textproc/php5-simplexml:
        /usr/local/bin/php-config: /usr/local/bin/gsed: not found
        php5-simplexml-5.2.9


--->  Skipping 'devel/php5-spl' (php5-spl-5.2.8) because a requisite package 'php5-simplexml-5.2.8' (textproc/php5-simplexml) failed (specify -k to force)
** Makefile possibly broken: archivers/php5-zlib:
        /usr/local/bin/php-config: /usr/local/bin/gsed: not found
        php5-zlib-5.2.9


** Makefile possibly broken: net/php5-ldap:
        /usr/local/bin/php-config: /usr/local/bin/gsed: not found
        php5-ldap-5.2.9


--->  Skipping 'textproc/php5-dom' (php5-dom-5.2.8) because a requisite package 'php5-simplexml-5.2.8' (textproc/php5-simplexml) failed (specify -k to force)
** Makefile possibly broken: textproc/php5-ctype:
        /usr/local/bin/php-config: /usr/local/bin/gsed: not found
        php5-ctype-5.2.9


** Makefile possibly broken: converters/php5-iconv:
        /usr/local/bin/php-config: /usr/local/bin/gsed: not found
        php5-iconv-5.2.9


** Makefile possibly broken: textproc/php5-xml:
        /usr/local/bin/php-config: /usr/local/bin/gsed: not found
        php5-xml-5.2.9


** Makefile possibly broken: www/php5-session:
        /usr/local/bin/php-config: /usr/local/bin/gsed: not found
        php5-session-5.2.9


** Makefile possibly broken: graphics/php5-gd:
        /usr/local/bin/php-config: /usr/local/bin/gsed: not found
        php5-gd-5.2.9


** Makefile possibly broken: databases/php5-mysql:
        /usr/local/bin/php-config: /usr/local/bin/gsed: not found
        php5-mysql-5.2.9

Fix: 

By now, install textproc/gsed, while this is not a satisfying solution.
How-To-Repeat: Not sure but seems that if fails if you
- Compile php5 on a machine with gsed installed.
- Create the packagges.
- Add them on a machine without gsed using pkg_add.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-03-11 13:40:24 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2009-03-11 14:03:14 UTC
ale         2009-03-11 14:02:59 UTC

  FreeBSD ports repository

  Modified files:
    lang/php5            Makefile 
  Log:
  Always use FreeBSD sed.
  
  PR:             ports/132543
  Submitted by:   Helmut Schneider <jumper99@gmx.de>
  
  Revision  Changes    Path
  1.136     +2 -1      ports/lang/php5/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Alex Dupre freebsd_committer freebsd_triage 2009-03-11 14:06:13 UTC
State Changed
From-To: open->closed

Fixed.
Comment 4 Helmut Schneider 2009-03-11 19:45:33 UTC
Thanks for fixing that that fast. As you are responsible for Zendoptimizer, 
too, could you please also fix it there?

** Makefile possibly broken: devel/ZendOptimizer:
        /usr/local/bin/php-config: /usr/local/bin/gsed: not found
        ZendOptimizer-3.3.0.a

Thanks, Helmut
Comment 5 Helmut Schneider 2009-03-11 21:54:26 UTC
Forget that one, one has to re-install php5 or (better) replace in 
/usr/local/bin/php-config:

SED="/usr/local/bin/gsed"

with

SED="sed"