Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 321781 - dev-lang/php-5.3.2 fails to prepare sources on Gentoo/FreeBSD
Summary: dev-lang/php-5.3.2 fails to prepare sources on Gentoo/FreeBSD
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: x86 FreeBSD
: High normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 321743
  Show dependency tree
 
Reported: 2010-05-28 07:46 UTC by MT
Modified: 2010-05-28 11:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,1.37 MB, text/plain)
2010-05-28 07:49 UTC, MT
Details
src_prepare-v1.eblit.patch (src_prepare-v1.eblit.patch,385 bytes, patch)
2010-05-28 07:50 UTC, MT
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description MT 2010-05-28 07:46:04 UTC
Testing dev-lang/php-5.3.2 on Gentoo/FreeBSD (8.0 profile) I get this errors during the src_prepare phase:


>>> Preparing source in /var/tmp/portage/dev-lang/php-5.3.2/work/php-5.3.2 ...
 * Applying generic patches and fixes from upstream...
 *   001_all_multilib.patch ...
  [ ok ]
 *   002_all_iodbc-gentoo.patch ...
  [ ok ]
 *   003_all_c-client-symlink.patch ...
  [ ok ]
 *   006_all_mysql-charsetphpini-gentoo.patch ...
  [ ok ]
 *   007_all_mysqli-charsetphpini-gentoo.patch ...
  [ ok ]
 *   008_all_pdo_mysql-charsetphpini-gentoo.patch ...
  [ ok ]
 *   009_all_mysql_defaultport_gentoo.patch ...
  [ ok ]
 *   010_all_mysqlnd_defaultport_gentoo.patch ...
  [ ok ]
 *   011_all_sharedmem_session_path_gentoo.patch ...
  [ ok ]
 *   012_all_add_db4_gentoo.patch ...
  [ ok ]
 *   013_all_pdomysql_crushing_gentoo.patch ...
  [ ok ]
 * Done with patching
find: illegal option -- n
find: illegal option -- a
find: illegal option -- m
find: illegal option -- e
find: *.m4: No such file or directory


this happens because the file 'files/eblits/src_prepare-v1.eblit' is misusing the 'find' command, invoking it without a proper path: 'find -name '*.m4'. The fix is really easy, it's enough to explicitly add the proper path: 'find . -name '*.m4'. 

Attached there is a quick patch for the file 'src_prepare-v1.eblit'. I hope it is useful.

Mauro
Comment 1 MT 2010-05-28 07:49:38 UTC
Created attachment 233227 [details]
build.log
Comment 2 MT 2010-05-28 07:50:19 UTC
Created attachment 233229 [details, diff]
src_prepare-v1.eblit.patch
Comment 3 Matti Bickel (RETIRED) gentoo-dev 2010-05-28 11:32:35 UTC
Nice catch, thanks. Fixed in CVS.