Hello

I have a problem with my package. I need something providing
virtual/tetex, so I wrote an ebuild (in my private portage tree):

----------
grep -v ^# ./virtual/virtualtex/virtualtex-2008.ebuild

DESCRIPTION="virtual for tetex"
HOMEPAGE=""
SRC_URI=""

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE=""

# Not an ideal name
PROVIDE="virtual/tetex"

DEPEND=""
RDEPEND=""
-----------

Then I did:
-------
ebuild ./virtual/virtualtex/virtualtex-2008.ebuild digest
-------

Now I try to install it, so I do
------
paludis virtualtex -i
------
and everything seems to be ok.
The problem is when I try to install something from this time. For
example I do
-------
paludis virtualtex -ip
-------
or
-------
paludis world -ip
-------
or something else, and I receive "Naruszenie ochrony pamięci" that means
something like "segfault".
When I uninstall virtualtex, paludis'll start to work ok  (like before
virtualtex's installation) - I don't have any errors. If I install
virtualtex again, I'll receive the same error again. So if I have my
virtualtex installed, I have an "segfault" error.
Where is the problem. I don't see any bugs in my ebuild, but maybe I'm
wrong.


Some additional information:
Until the virtualtex installation I receive something like this:
--------
# paludis virtualtex -i
Building target list...
Building dependency [EMAIL PROTECTED]: [QA] In program paludis
virtualtex -i:
  ... When performing install action from command line:
  ... When executing install task:
  ... When adding PackageDepSpec 'virtual/virtualtex':
  ... When loading entries for virtuals repository:
  ... When fetching versions of 'dev-lang/php' in gentoo:
  ... When loading versions for 'dev-lang/php' in gentoo:
  ... When parsing version spec '5.2.4_pre200708051230-r2':
  ... Number part '200708051230' exceeds 8 digit limit


These packages will be installed:

* virtual/virtualtex-2008::private-portage {:0} [N]

Total: 1 package (1 new)

(1 of 1) Installing virtual/virtualtex-2008::private-portage

>>> Running ebuild phase fetch as paludisbuild:paludisbuild...
>>> Starting builtin_fetch
>>> Done builtin_fetch
>>> Completed ebuild phase fetch
>>> Running ebuild phase prepare as root:root...
>>> Starting builtin_prepare
>>> Done builtin_prepare
>>> Completed ebuild phase prepare
>>> Running ebuild phases init saveenv as paludisbuild:paludisbuild...
>>> Starting builtin_init
>>> Done builtin_init
>>> Starting builtin_saveenv
>>> Done builtin_saveenv
>>> Completed ebuild phases init saveenv
>>> Running ebuild phases loadenv setup saveenv as root:root...
>>> Starting builtin_loadenv
>>> Done builtin_loadenv
>>> Starting pkg_setup
>>> Done pkg_setup
>>> Starting builtin_saveenv
>>> Done builtin_saveenv
>>> Completed ebuild phases loadenv setup saveenv
>>> Running ebuild phases loadenv unpack compile test saveenv as
paludisbuild:paludisbuild...
>>> Starting builtin_loadenv
>>> Done builtin_loadenv
>>> Starting src_unpack
>>> Done src_unpack
>>> Starting src_compile
>>> Done src_compile
>>> Skipping src_test (SKIP_FUNCTIONS)
>>> Starting builtin_saveenv
>>> Done builtin_saveenv
>>> Completed ebuild phases loadenv unpack compile test saveenv
>>> Running ebuild phases loadenv install saveenv as root:root...
>>> Starting builtin_loadenv
>>> Done builtin_loadenv
>>> Starting src_install
>>> Done src_install
>>> Starting builtin_saveenv
>>> Done builtin_saveenv
>>> Completed ebuild phases loadenv install saveenv
>>> Running ebuild phases loadenv strip preinst saveenv as root:root...
>>> Starting builtin_loadenv
>>> Done builtin_loadenv
>>> Starting builtin_strip
>>> Done builtin_strip
>>> Starting pkg_preinst
>>> Done pkg_preinst
>>> Starting builtin_saveenv
>>> Done builtin_saveenv
>>> Completed ebuild phases loadenv strip preinst saveenv
>>> Writing VDB entry to '/var/db/pkg/virtual/-checking-virtualtex-2008'...
>>> Writing VDB entry keys ...
>>> Generating saved ebuild and environment...
>>> Finished writing VDB entry
>>> Checking whether we can merge to / .
>>> Merging to /
>>> Running ebuild phases loadenv postinst saveenv as root:root...
>>> Starting builtin_loadenv
>>> Done builtin_loadenv
>>> Starting pkg_postinst
>>> Done pkg_postinst
>>> Starting builtin_saveenv
>>> Done builtin_saveenv
>>> Completed ebuild phases loadenv postinst saveenv
>>> Running ebuild phase tidyup as root:root...
>>> Starting builtin_tidyup
rm -fr /var/tmp/paludis/virtual/virtualtex-2008
>>> Done builtin_tidyup
>>> Completed ebuild phase tidyup

 * Regenerating environment...
Regenerating //etc/ld.so.cache...
 * Done regenerating environment

 * Regenerating cache for installed repositories...
Regenerating cache for installed_virtuals...
Regenerating cache for installed...
 * Done regenerating cache for installed repositories
 * Updating CONFIG_PROTECT and CONFIG_PROTECT_MASK caches.

Cleaning stale versions after installing
virtual/virtualtex-2008::private-portage

* No cleaning required

Updating world file

* adding virtual/virtualtex

 * Checking whether the GNU info directory needs updating...
 * No updates needed

 * No unread news items found

 * Searching for configuration files requiring action...
 * No configuration file updates required
--------------
so everything seems to be ok.

Greetings,
-- 
Arek
_______________________________________________
paludis-user mailing list
[email protected]
http://lists.pioto.org/mailman/listinfo/paludis-user

Reply via email to