Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 11398

Summary: gmetadom-0.0.3 ebuild (New Package)
Product: Gentoo Linux Reporter: Matthieu Sozeau (RETIRED) <mattam>
Component: New packagesAssignee: George Shapovalov (RETIRED) <george>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
URL: http://mattam.ath.cx/progs/ebuilds.html
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 11399    
Bug Blocks: 11397    
Attachments: the modified gmetadom-0.0.3-r3.ebuild
the updated ebuild

Description Matthieu Sozeau (RETIRED) gentoo-dev 2002-11-30 09:48:59 UTC
gMetaDom abstracts C parsers implementation for C++ and Caml users (xerces-c and
libxml2 currently). There is a patch included to compile with gcc3.x

It should go in dev-libs.
The ebuild is at the indicated URL
Comment 1 Matthieu Sozeau (RETIRED) gentoo-dev 2002-11-30 09:56:06 UTC
gMetaDom depends on gdome2, libxslt and findlib
Comment 2 George Shapovalov (RETIRED) gentoo-dev 2002-12-16 01:24:35 UTC
Hi  Matthieu

I have been processing your ebuild.
There are few issues with it:

1. I see you specified IUSE="X gnome", however I do not see these use flags
anywhere in ebuild. Could you please clarify the situation?

2. ebuild fails in src_install with a sandbox violation:
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-gmetadom-0.0.3-r3-8801.log"

mkdir:     /usr/lib/ocaml/site-packages/gdome2
--------------------------------------------------------------------------------
There was a single place in one of Makefile.in's which missed $(DESTDIR),
however simple sed to add it did not help. Could you please look into it?
I will attach the modified ebuild (there were few minor clean-ups and I added
the src_unpack which does the sed function. It probably will not be capt in this
form in final version, but you can use this as an example of how to make
modifications to package build/install process).
In order to turn on sandbox checks you need to add "sandbox" to FEATURES in your
make.conf.

George
Comment 3 George Shapovalov (RETIRED) gentoo-dev 2002-12-16 01:26:13 UTC
Created attachment 6535 [details]
the modified gmetadom-0.0.3-r3.ebuild
Comment 4 Matthieu Sozeau (RETIRED) gentoo-dev 2002-12-16 08:01:42 UTC
Ok, i forgot to update it but there are some things missing in it.
First the IUSE are not necessary, i leaved the defaults...
For the mkdir I finally understood the problem. Now all is handled nicely, it
installs without problems. Maybe some sed's aren't necessary anymore, but I
keeped them for safety.
Comment 5 Matthieu Sozeau (RETIRED) gentoo-dev 2002-12-16 08:03:06 UTC
Created attachment 6538 [details]
the updated ebuild
Comment 6 George Shapovalov (RETIRED) gentoo-dev 2003-04-18 02:38:32 UTC
Hi Matthieu.

Thanks for an update, and sorry for taking so long before getting to it.
This works nicely now, one sed had to be modified though. I also added docs.
Please test.

George
Comment 7 George Shapovalov (RETIRED) gentoo-dev 2003-07-22 18:41:53 UTC
Marked as stable.
Comment 8 George Shapovalov (RETIRED) gentoo-dev 2003-09-30 17:35:27 UTC
Reclosing the bug