Summary: | Include Evince in portage tree | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Aldo "xoen" Giambelluca <xoen.gnu> |
Component: | New packages | Assignee: | Daniel Gryniewicz (RETIRED) <dang> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | ahbritto, andreas.kotowicz, bzdurqa, caneko, cbm, cduquette, charles, christoph.gysin, cloos, dberkholz, decaycell, dwc, edavison, ernstp, fabian, fahren, frederic.grosshans_web, fschricker, gentoo, gentoo, ghepeu, gnome, ikelos, iyosifov, johannes, jonlst, joris, ladanyi, lanius, lars, lars, makzu, marienz, michael, mmacleod, murray.alex, nuno.araujo, rockoo, smitten, sn4ip3r, solomarv, spamex, stas, tamer, x_claessens, yselkowitz, zhcnmccmzhdvfevooo |
Priority: | Lowest | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://packages.gentoo.org/search/?sstring=evince | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 84552, 88266 | ||
Bug Blocks: | 91928 | ||
Attachments: |
ebuild for evince-0.1.0
evince 1.1 ebuild ebuild for evince-0.1.1 Evince 0.1.4 ebuild poppler-0.1.1.ebuild evince-0.1.8.ebuild poppler-0.1.2.ebuild evince 0.2.0 ebuild poppler 0.2.0 ebuild evince 0.2.1. ebuild improved ebuild t1lib fix patched ebuild evince-0.2.1.ebuild evince-0.3.0.ebuild files/evince-0.3.0-fix_AC_ARG_ENABLE.patch files/evince-0.3.0-t1lib_is_t1.patch evince-0.3.0.ebuild evince-0.3.0.ebuild files/evince-0.3.0-t1lib_is_t1.patch evince-0.3.0.ebuild Updated evince ebuild evince-0.3.1.ebuild |
Description
Aldo "xoen" Giambelluca
2005-01-21 08:23:47 UTC
Looks solidly like a gnome project to me. Created attachment 49210 [details]
ebuild for evince-0.1.0
I made an ebuild for it. Proposed location: app-text/evince
I'm not sure about 2 dependencies which I left commented.
Great! I've tried to use your ebuild to install evince, but give me this error : checking for gtk+-2.0 >= 2.5.0 libgnomeui-2.0 gnome-vfs-2.0 libgnomeprint-2.2 libgnomeprintui-2.2 libglade-2.0... Requested 'gtk+-2.0 >= 2.5.0' but version of GTK+ is 2.4.14 configure: error: Library requirements (gtk+-2.0 >= 2.5.0 libgnomeui-2.0 gnome-vfs-2.0 libgnomeprint-2.2 libgnomeprintui-2.2 libglade-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. I've installed GTK+-2.4.14, seems to it wants gtk+-2.5.0. I've seen that the ebuild depend from gtk+-2.4 : RDEPEND=">=x11-libs/gtk+-2.4 >=gnome-base/libgnomeui-2.4 >=gnome-base/gnome-vfs-2.0 >=gnome-base/libgnomeprint-2.2 >=gnome-base/libgnomeprintui-2.2 >=gnome-base/libglade-2.0 virtual/ghostscript" # dev-libs/popt" Meybe it's useful change this : RDEPEND=">=x11-libs/gtk+-2.5 ... PS: Evince goes under gnome-extra like I think? oops, I saw that it first detects gtk2.4 and after that gtk2.5, and I thought it was optional. Guess not, so the RDEPEND should be as you say. As for the location, it's where gpdf and ggv are. Then app-text/evince? OK... I'm trying to emerge with the RDEPEND >=x11-libs/gtk+-2.5... PS: But GTK+-2.5 is masked ~x86...is this a problem? Good work ;) At this moment...I'm running Evince 0.1.0, and seems to be beautiful :) alpha software, low prio LWN just reported evince as one of the better pdf viewers currently available, despite the alpha status, so there's likely to be a lot of user interest in this package. Created attachment 49525 [details]
evince 1.1 ebuild
I was one of those people that got interested in this package due to LWN and
all the planet.gnome.org coverage it gets. Foser is right of course this is
alpha software and should be given low priority but none-the-less I updated the
ebuild to version 0.1.1 and made some changes. popt is required so it was
uncommented. The package builts fine without intltool installed so I left that
commented out for someone with better knowledge to remove if required. Also
tweaked the IUSE and GTK requirements. Builds fine on a AMD64 platform so I
went ahead and added ~amd64. Thanks for all your great work developers.
Created attachment 49526 [details]
ebuild for evince-0.1.1
changes: depend on >=gtk+2.6, add TODO to "dodoc"
oops, sorry todd1, you submitted while I was submiting! :S sorry all for the spam.. Great work Todd1 :) But why >=x11-libs/gtk+-2.6.1? I've installed with gtk+-2.5...are you sure? Bumping name to 0.1.2 and installing works great. Ebuild made from comment #10 and comment #11 worked for 0.1.3 on my ~x86. Created attachment 51185 [details]
Evince 0.1.4 ebuild
Since this bug is linked directly from the Evince homepage, I might as well
keep it up-to-date. Any feedback is appreciated.
version 0.1.5 is out. copy the 0.1.4 's ebuild works for me :) evince-0.1.6 depends on poppler, a generic xpdf distribution. I can't find any link. Can someone help me? Thanks very much. poppler would not build, because of cairo-problems. If this becomes fixed, I think it would be possible to create an poppler-ebuild. Errors while building poppler by hand for testing issues: (...) if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/include/libpng12 -DDATADIR=\""/usr/local/share"\" -g -O2 -MT CairoFontEngine.lo -MD -MP -MF ".deps/CairoFontEngine.Tpo" -c -o CairoFontEngine.lo CairoFontEngine.cc; \ then mv -f ".deps/CairoFontEngine.Tpo" ".deps/CairoFontEngine.Plo"; else rm -f ".deps/CairoFontEngine.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/include/libpng12 -DDATADIR=\"/usr/local/share\" -g -O2 -MT CairoFontEngine.lo -MD -MP -MF .deps/CairoFontEngine.Tpo -c CairoFontEngine.cc -fPIC -DPIC -o .libs/CairoFontEngine.o CairoFontEngine.cc: In member function `cairo_font_t* CairoFont::getFont(cairo_matrix_t*)': /usr/include/cairo/cairo-ft.h:53: error: too many arguments to function `cairo_font_t* cairo_ft_font_create_for_ft_face(FT_FaceRec_*)' CairoFontEngine.cc:255: error: at this point in file make[3]: *** [CairoFontEngine.lo] Error 1 make[3]: Leaving directory `/tmp/poppler-0.1.1/poppler' make[2]: *** [all] Error 2 make[2]: Leaving directory `/tmp/poppler-0.1.1/poppler' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/poppler-0.1.1' make: *** [all] Error 2 Created attachment 52508 [details]
poppler-0.1.1.ebuild
I got the same cairo issue from poppler, so I wrote an ebuild that allows you
to turn that bit off. emerge this one with USE like this:
[ebuild R ] app-text/poppler-0.1.1 -a4 -cairo -opi +splash -test 0 kB [1]
since that is the only combination I've tested that works. USE=cairo blows up
like the previous comment, with USE=-splash evince doesn't compile, and with
USE=test poppler doesn't compile. Haven't tried a4 and opi yet.
Then just copy the evince ebuild, and you should have a working evince 0.1.6.
I'm going to have a look at the cairo issue, but don't hold your breath.
After a quick look at the cairo problem it looks like it is calling a cairo function as documented in http://www.cairographics.org/manual/cairo-FreeType-Fonts.html#cairo-ft-font-create-for-ft-face (which is the cvs HEAD documentation) and this doesn't match my cairo-0.3 (latest "release"). So a recent cairo cvs snapshot is probably needed to get poppler's cairo bits to compile. I'm not sure if this is worth it if the only thing using cairo is evince, which seems to need the splash backend, not cairo. sorry for the spam, but my last comment was not entirely correctly worded. What I wanted to say was: - poppler's cairo support needs cvs cairo, the "released" cairo doesn't work - the only thing I know of that currently needs poppler is evince - evince needs poppler with USE=splash, it's perfectly happy without the cairo backend - putting a cvs snapshot of cairo in the tree just for poppler is probably not worth it, since nothing actually needs the USE=cairo poppler at this time afaik. So for now, I think it makes sense to make a poppler ebuild with the USE flag logic from my ebuild ripped out and hardwired to enable splash and disable cairo, and make the evince ebuild depend on that. cairo-0.4.0 was released yesterday, and latest poppler varsion (0.1.2) depends on it, no need to use cvs cairo anymore. Created attachment 53405 [details]
evince-0.1.8.ebuild
Ebuild for 0.1.8 works!
I've just installed this on my Gentoo system and it works perfectly. You need the poppler ebuild (and splash in your USE flags or /etc/portage/package.use) and the ebuild for evince-0.1.8 - but it works fine. Can we have this in the main Gentoo portage now? what is the splash USE flag? and the other USE flags? they don't seem to be used anywhere else in portage... Created attachment 53409 [details]
poppler-0.1.2.ebuild
evince 0.1.9 has been released. just copy the 0.1.8 ebuild to 0.1.9 evince-0.1.9 works fine for me. Ready to be in portage :) I'm getting this error emerging 0.1.9: In file included from test-gdk-output-dev.cc:15: GDKSplashOutputDev.h:18:32: splash/SplashTypes.h: No such file or directory GDKSplashOutputDev.h:19:29: SplashOutputDev.h: No such file or directory GDKSplashOutputDev.cc:15:32: splash/SplashTypes.h: No such file or directory GDKSplashOutputDev.cc:16:33: splash/SplashBitmap.h: No such file or directory make[2]: *** [test-gdk-output-dev.o] Error 1 I'm expecting the same problem of Ben Davis: Making all in pdf make[2]: Entering directory `/var/tmp/portage/evince-0.1.9/work/evince-0.1.9/pdf' if /bin/sh ../libtool --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../backend -I/usr/include/poppler -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATADIR=\""/usr/share"\" -march=pentium-m -pipe -Os -fno-delayed-branch -fcaller-saves -freorder-blocks -freorder-functions -falign-jumps -finline-functions -frename-registers -fweb -fomit-frame-pointer -fno-trapping-math -falign-functions=64 -MT GDKSplashOutputDev.lo -MD -MP -MF ".deps/GDKSplashOutputDev.Tpo" \ -c -o GDKSplashOutputDev.lo `test -f 'GDKSplashOutputDev.cc' || echo './'`GDKSplashOutputDev.cc; \ then mv -f ".deps/GDKSplashOutputDev.Tpo" ".deps/GDKSplashOutputDev.Plo"; \ else rm -f ".deps/GDKSplashOutputDev.Tpo"; exit 1; \ fi if /bin/sh ../libtool --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../backend -I/usr/include/poppler -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATADIR=\""/usr/share"\" -march=pentium-m -pipe -Os -fno-delayed-branch -fcaller-saves -freorder-blocks -freorder-functions -falign-jumps -finline-functions -frename-registers -fweb -fomit-frame-pointer -fno-trapping-math -falign-functions=64 -MT Thumb.lo -MD -MP -MF ".deps/Thumb.Tpo" \ -c -o Thumb.lo `test -f 'Thumb.cc' || echo './'`Thumb.cc; \ then mv -f ".deps/Thumb.Tpo" ".deps/Thumb.Plo"; \ else rm -f ".deps/Thumb.Tpo"; exit 1; \ fi mkdir .libs i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../backend -I/usr/include/poppler -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATADIR=\"/usr/share\" -march=pentium-m -pipe -Os -fno-delayed-branch -fcaller-saves -freorder-blocks -freorder-functions -falign-jumps -finline-functions -frename-registers -fweb -fomit-frame-pointer -fno-trapping-math -falign-functions=64 -MT GDKSplashOutputDev.lo -MD -MP -MF .deps/GDKSplashOutputDev.Tpo -c GDKSplashOutputDev.cc -fPIC -DPIC -o .libs/GDKSplashOutputDev.o i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../backend -I/usr/include/poppler -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATADIR=\"/usr/share\" -march=pentium-m -pipe -Os -fno-delayed-branch -fcaller-saves -freorder-blocks -freorder-functions -falign-jumps -finline-functions -frename-registers -fweb -fomit-frame-pointer -fno-trapping-math -falign-functions=64 -MT Thumb.lo -MD -MP -MF .deps/Thumb.Tpo -c Thumb.cc -fPIC -DPIC -o .libs/Thumb.o GDKSplashOutputDev.cc:15:32: splash/SplashTypes.h: No such file or directory GDKSplashOutputDev.cc:16:33: splash/SplashBitmap.h: No such file or directory In file included from GDKSplashOutputDev.cc:20: ./GDKSplashOutputDev.h:19:29: SplashOutputDev.h: No such file or directory In file included from GDKSplashOutputDev.cc:20: ./GDKSplashOutputDev.h:30: error: expected class-name before '{' token GDKSplashOutputDev.cc:32: error: `SplashColor' does not name a type GDKSplashOutputDev.cc: In constructor `GDKSplashOutputDev::GDKSplashOutputDev(GdkScreen*, void (*)(void*), void*)': GDKSplashOutputDev.cc:42: error: class `GDKSplashOutputDev' does not have any field named `SplashOutputDev' GDKSplashOutputDev.cc:42: error: `splashModeRGB8Packed' undeclared (first use this function) GDKSplashOutputDev.cc:42: error: (Each undeclared identifier is reported only once for each function it appears in.) GDKSplashOutputDev.cc:42: error: `makeSplashColor' undeclared (first use this function) GDKSplashOutputDev.cc: In member function `virtual void GDKSplashOutputDev::drawChar(GfxState*, double, double, double, double, double, double, CharCode, Unicode*, int)': GDKSplashOutputDev.cc:61: error: `SplashOutputDev' has not been declared GDKSplashOutputDev.cc: In member function `virtual GBool GDKSplashOutputDev::beginType3Char(GfxState*, double, double, double, double, CharCode, Unicode*, int)': GDKSplashOutputDev.cc:69: error: `SplashOutputDev' has not been declared GDKSplashOutputDev.cc: In member function `void GDKSplashOutputDev::clear()': GDKSplashOutputDev.cc:73: error: `startDoc' undeclared (first use this function)GDKSplashOutputDev.cc: In member function `virtual void GDKSplashOutputDev::startPage(int, GfxState*)': GDKSplashOutputDev.cc:78: error: `SplashOutputDev' has not been declared GDKSplashOutputDev.cc: In member function `virtual void GDKSplashOutputDev::endPage()': GDKSplashOutputDev.cc:83: error: `SplashOutputDev' has not been declared GDKSplashOutputDev.cc: In member function `virtual void GDKSplashOutputDev::updateFont(GfxState*)': GDKSplashOutputDev.cc:97: error: `SplashOutputDev' has not been declared GDKSplashOutputDev.cc: In member function `void GDKSplashOutputDev::redraw(int, int, GdkDrawable*, int, int, int, int)': GDKSplashOutputDev.cc:108: error: `getBitmap' undeclared (first use this function) make[2]: *** [GDKSplashOutputDev.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../backend -I/usr/include/poppler -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATADIR=\"/usr/share\" -march=pentium-m -pipe -Os -fno-delayed-branch -fcaller-saves -freorder-blocks -freorder-functions -falign-jumps -finline-functions -frename-registers -fweb -fomit-frame-pointer -fno-trapping-math -falign-functions=64 -MT Thumb.lo -MD -MP -MF .deps/Thumb.Tpo -c Thumb.cc -o Thumb.o >/dev/null 2>&1 make[2]: Leaving directory `/var/tmp/portage/evince-0.1.9/work/evince-0.1.9/pdf'make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/evince-0.1.9/work/evince-0.1.9' make: *** [all] Error 2 !!! ERROR: gnome-extra/evince-0.1.9 failed. !!! Function gnome2_src_compile, Line 40, Exitcode 2 !!! compile failure !!! If you need support, post the topmost build error, NOT this status message. according to 'http://cvs.gnome.org/viewcvs/evince/pdf/splash/SplashTypes.h': Use poppler instead of including xpdf source code, so pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included xpdf fork. so we need poppler build with the 'splash' use enabled Please rebuild poppler with USE="splash" you are talking for free, since poppler is already in portage - and does _not_ have a splash USE flag poppler isn't in portage, and the ebuild poppler-0.1.2 here has the splash USEFLAG you better look again. poppler _is_ in portage for almost hald an hour already :) http://bugs.gentoo.org/show_bug.cgi?id=84552 poppler is in portage, for about an hour now. ok so i've juste tried emerging evince-0.1.9 with poppler in portage... poppler has no splash flag... bug everything compiles and works ! please stop treating this bug as a forum entry and keep posts on-topic, relevant & actually adding something beyond 'bump and the new micro release works for me too!'. Yes we do know about releases, yes we are aware of the status of Evince, yes we will add it eventually when we aren't as swamped with more urgent things as we are right now & the deps are actually available (no this is no free ticket to go bother the other devs about a certain dep). evince-0.1.9 compiles and works on PPC with a renamed ebuild. Created attachment 55524 [details]
evince 0.2.0 ebuild
evince 0.2.0 available
Created attachment 55525 [details]
poppler 0.2.0 ebuild
evince 0.2.0 require poppler 0.2.0
once again, poppler ebuilds belong in a seperate bug to a seperate herd. Created attachment 56989 [details] evince 0.2.1. ebuild versione bump requires poppler 0.3.0 (ebuild here: http://bugs.gentoo.org/show_bug.cgi?id=84552 ) You need to correct the Headers in those ebuilds Created attachment 57172 [details]
improved ebuild
I think this is a better ebuild which has new USE flags "djvu dvi t1lib" ,
based on new functionality in evince.
Please check the dependencies and confirm.
Thanks
I just checked t1lib flag will break the build. evince is trying to link against -lt1lib and on my gentoo there is only -lt1 and -lt1x. If I change the compile command manually it works. This also means that a depend should be added "media-libs/t1lib" anyone knows how to fix the configure script to generate a correct makefile? Thanks for the djvu enabled ebuild. It's very useful for me. Btw, there is a bug when opening big djvu files with evince: it take ages (1 min 30) for files like http://www.inference.phy.cam.ac.uk/mackay/book.djvu (8.7 MB, 640 pages) to open with evince, while they're instantly opened with djview. The corresponding pdf file (12 MB, 640 pages) is opened in a few seconds by evince. Maybe you should file a bug about that in evince's bugzilla ( in gnome's bugzilla ) PDFs used to take a lot of time to open too, but they fixed that bug. Could be the same bug here. The "improved ebuild" fails to compile on my system. It fails telling me ld cannot find lt1lib. Secondly, when I add t1lib to my use flags, it does not pull the right dependency, tilib in this case. The 0.2.1 ebuild works well however. If you need more details, let me know. umm I said that, right after I posted the ebuild. Please read the comments before posting. I have reported the bug on evince bugzilla, and it has been fixed in upstream CVS. Next version should be fixed. For now don't use the t1lib flag, if you don't know how to push the compilation through. Created attachment 57520 [details, diff]
t1lib fix
The ebuild now compiles fine with all useflags enabled.
Created attachment 57543 [details]
patched ebuild
ok patch is in and it will pull in t1lib as a dependency.
The patch however might break for someone who has -lt1lib. Can somebody verify
please?
About the patched ebuild: If we need to specify the path, I'd prefer: src_unpack(){ unpack ${A} sed -i -e "s/t1lib/t1/g" ${S}/shell/Makefile.in } About your question: As far as i can see from the t1lib ebuilds in portage, t1lib gets always installed as libt1.{so,l,la}. Yes look inside the last ebuild I attatched, I already changed the patch to like what you said. I know it's kinda the standard way. Thanks about the t1lib confirmation. Umm no, you didn't. (or is my proxy tricking me?) - cd ${S} - sed -i -e "s/t1lib/t1/g" shell/Makefile.in + sed -i -e "s/t1lib/t1/g" ${S}/shell/Makefile.in I simply don't like 'cd' ;-) Created attachment 57586 [details]
evince-0.2.1.ebuild
Ok sorry, didn't know that was an issue. thanks :)
When is this going into the portage tree?
Tried the evince-0.2.1 ebuild, and whatever USE flags I set, i get: -------------------------------------------------------------- /bin/sh ../libtool --mode=link i686-pc-linux-gnu-g++ -march=i686 -mtune=pentium-m -O2 -fomit-frame-pointer -pipe -o evince dummy.o eggfindbar.o ev-application.o ev-marshal.o ev-page-action.o ev-password.o ev-password-view.o ev-pixbuf-cache.o ev-print-job.o ev-utils.o ev-view.o ev-window.o ev-sidebar.o ev-sidebar-links.o ev-sidebar-page.o ev-sidebar-thumbnails.o ev-stock-icons.o main.o -Wl,--export-dynamic -pthread -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnome-2 -lpopt -lgnomevfs-2 -lbonobo-2 -lbonobo-activation -lgnomeprintui-2-2 -lgnomeprint-2-2 -lgnomecanvas-2 -lart_lgpl_2 -lpangoft2-1.0 -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lpthread -lz -lgdk-x11-2.0 -latk-1.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgconf-2 -lORBit-2 -lgthread-2.0 -lpoppler -lpoppler-glib -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 ../cut-n-paste/recent-files/librecent.la ../lib/libev.la libevbackendfactory.la i686-pc-linux-gnu-g++ -march=i686 -mtune=pentium-m -O2 -fomit-frame-pointer -pipe -o evince dummy.o eggfindbar.o ev-application.o ev-marshal.o ev-page-action.o ev-password.o ev-password-view.o ev-pixbuf-cache.o ev-print-job.o ev-utils.o ev-view.o ev-window.o ev-sidebar.o ev-sidebar-links.o ev-sidebar-page.o ev-sidebar-thumbnails.o ev-stock-icons.o main.o -Wl,--export-dynamic -pthread /usr/lib/libgnomeui-2.so -L/usr/lib /usr/lib/libgnome-keyring.so /usr/lib/libbonoboui-2.so -lSM -lICE -lX11 /usr/lib/libgnome-2.so /usr/lib/libesd.so /usr/lib/libasound.so /usr/lib/libaudiofile.so /usr/lib/libgnomevfs-2.so -lssl -lcrypto /usr/lib/libhowl.so -lresolv -lrt /usr/lib/libbonobo-2.so /usr/lib/libbonobo-activation.so /usr/lib/libORBitCosNaming-2.so /usr/lib/libgnomeprintui-2-2.so /usr/lib/libgnomeprint-2-2.so /usr/lib/libgnomecanvas-2.so /usr/lib/libart_lgpl_2.so /usr/lib/libpangoft2-1.0.so /usr/lib/libglade-2.0.so /usr/lib/libxml2.so /usr/lib/libgconf-2.so /usr/lib/libORBit-2.so /usr/lib/libpopt.so /usr/lib/libgthread-2.0.so /usr/lib/libpoppler.so -L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib /usr/lib/libpoppler-glib.so /usr/lib/libfontconfig.so /usr/lib/libexpat.so /usr/lib/libfreetype.so -lz ../cut-n-paste/recent-files/.libs/librecent.a ../lib/.libs/libev.a ./.libs/libevbackendfactory.a -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110 -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/../../../../i686-pc-linux-gnu/lib -lpthread /usr/lib/libdjvulibre.so /usr/lib/libjpeg.so //usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/libstdc++.so -lgcc_s -lc /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so -lm /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -Wl,--rpath -Wl,//usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110 -Wl,--rpath -Wl,//usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110 ./.libs/libevbackendfactory.a(tfmfile.o)(.text+0x7df): In function `get_font_metrics': : undefined reference to `mdvi_hash_add' ./.libs/libevbackendfactory.a(tfmfile.o)(.text+0x825): In function `get_font_metrics': : undefined reference to `mdvi_hash_lookup' ./.libs/libevbackendfactory.a(tfmfile.o)(.text+0x86d): In function `get_font_metrics': : undefined reference to `mdvi_hash_create' ./.libs/libevbackendfactory.a(tfmfile.o)(.text+0x1748): In function `free_font_metrics': : undefined reference to `mdvi_hash_remove_ptr' ./.libs/libevbackendfactory.a(tfmfile.o)(.text+0x1805): In function `flush_font_metrics': : undefined reference to `mdvi_hash_reset' collect2: ld returned 1 exit status make[3]: *** [evince] Error 1 -------------------------------------------------------------- Version 0.2.0 compiles fine. What is strange is that it sounds related to the dvi backend, but compiling with "USE=-dvi" doesn't help. # emerge info Portage 1.585-cvs (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-tgl2 i686) ================================================================= System uname: 2.6.11-tgl2 i686 Intel(R) Pentium(R) M processor 1500MHz Gentoo Base System version 1.6.11 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Feb 17 2005, 23:21:20)] distcc: No such file or directory [disabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.1-r2 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.5, 1.7.9-r1, 1.9.5, 1.8.5-r3, 1.4_p6, 1.6.3 sys-devel/binutils: 2.15.92.0.2-r8 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="no" CFLAGS="-march=i686 -mtune=pentium-m -O2 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/cursors/xfree/default /var/qmail/control" CONFIG_PROTECT_MASK="/etc/X11/Sessions /etc/dev.d /etc/env.d /etc/gconf /etc/hotplug /etc/hotplug.d /etc/init.d /etc/sound /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=i686 -mtune=pentium-m -O2 -fomit-frame-pointer -pipe" DISTDIR="/var/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache digest distlocks fixpackages manifest parallel-fetch sandbox sfperms userpriv usersandbox verify-rdepend" GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo ftp://ftp.ussg.iu.edu/linux/gentoo" LANG="en_US" LC_ALL="en_US" LINGUAS="fr fr_FR en en_US" MAKEOPTS="-j2" PKGDIR="/var/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/var/portage/tree" PORTDIR_OVERLAY="/var/portage/overlays/bugzilla /var/portage/overlays/tgl /var/portage/overlays/demexp /var/portage/overlays/portage-cvs /var/portage/overlays/x11r6" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X Xaw3d a52 aac aalib acpi adns alsa apache2 apm audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdparanoia cdr cross crypt cscope cups curl dba dga dpms dvd dvdr eds emboss encode esd faad fbcon ffmpeg flac flagB flash foomaticdb fortran freetype gd gdbm ggz gif gnome gnomedb gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal howl imagemagick imap imlib imlib2 ipv6 java jikes jpeg junit lcms leim libcaca libg++ libwww lirc lzo mad mailwrapper matroska mbox memlimit mikmod mmx mng mozilla mp3 mpeg ncurses network nls nptl offensive ogg oggvorbis openal opengl oss pam pdflib perl plotutils png pnp postgres python qt quicktime readline ruby ruby18 scanner sdl slang slp smooth snmp speex spell sqlite sse sse2 ssl svg svga tcltk tcpd tetex theora tiff tmpfs truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vorbis win32codecs wmf wxwindows xface xfs xinerama xml xml2 xosd xprint xv xvid zeo zlib video_cards_radeon input_devices_synaptics linguas_fr linguas_fr_FR linguas_en linguas_en_US userland_GNU kernel_linux libc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS hmm I just checked, and turning off the useflags won't stop evince from using the components if it finds the libraries. I think it needs a "no autoguessing" patch. I will try to make one and post it. The CVS header should be # $Header: $ and not # $Header: Also, are those dependencies really sane? Doesn't it work with gtk+-2.6(.0)? The evince-0.2.1 ebuild built cleanly on amd64 for me and seems to be working. evince-0.3.0 released. Just copying evince-0.2.1.ebuild works for me. Continous mode scrolling is very great :) TGL, I had the same problem, also with 0.3.0. Fixed it by adding: cd ${S} libtoolize --force || die at the end of the src_unpack() function, no idea why elibtoolize didn't work (it seems to only patch some files and not run libtoolize if it patched at least something and there seems to be no flag which would force it to run libtoolize). 0.2.1 also built cleanly for me on x86. Is there any reason 0.2.1 can't go into CVS? @Tarmo: many thanks, I've been able to compile 0.3.0 thanks to this trick. I will attach the ebuild i've used, and 2 patches: - one fixes the "--disable-something actually enables it" bugs - the other fixes the libt1lib!=libt1 issue (i've added -lm too, otherwise the configure test fails with some "unknown symbol `cos'" and things like that) I've added a src_compile function too, to avoid the elibtoolize call (redundant because of the "libtoolize --force" before) and the doc USE flag (which doesn't add anything), but it would not hurt to remove it. The bad news is that i still can't link when t1 support is on: -------------------------------------------------------------------- (cd .libs && rm -f libevbackendfactory.la && ln -s ../libevbackendfactory.la libevbackendfactory.la) /bin/sh ../libtool --mode=link i686-pc-linux-gnu-g++ -march=i686 -mtune=pentium-m -O2 -fomit-frame-pointer -pipe -o evince dummy.o eggfindbar.o ev-application.o ev-marshal.o ev-page-action.o ev-password.o ev-password-view.o ev-pixbuf-cache.o ev-print-job.o ev-utils.o ev-view.o ev-window.o ev-sidebar.o ev-sidebar-links.o ev-sidebar-page.o ev-sidebar-thumbnails.o ev-stock-icons.o main.o -Wl,--export-dynamic -pthread -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnome-2 -lpopt -lgnomevfs-2 -lbonobo-2 -lbonobo-activation -lgnomeprintui-2-2 -lgnomeprint-2-2 -lgnomecanvas-2 -lart_lgpl_2 -lpangoft2-1.0 -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lpthread -lz -lgdk-x11-2.0 -latk-1.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgconf-2 -lORBit-2 -lgthread-2.0 -lpoppler -lpoppler-glib -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 ../cut-n-paste/recent-files/librecent.la ../cut-n-paste/zoom-control/libephymisc.la ../cut-n-paste/zoom-control/libephywidgets.la ../lib/libev.la libevbackendfactory.la i686-pc-linux-gnu-g++ -march=i686 -mtune=pentium-m -O2 -fomit-frame-pointer -pipe -o evince dummy.o eggfindbar.o ev-application.o ev-marshal.o ev-page-action.o ev-password.o ev-password-view.o ev-pixbuf-cache.o ev-print-job.o ev-utils.o ev-view.o ev-window.o ev-sidebar.o ev-sidebar-links.o ev-sidebar-page.o ev-sidebar-thumbnails.o ev-stock-icons.o main.o -Wl,--export-dynamic -pthread /usr/lib/libgnomeui-2.so -L/usr/lib /usr/lib/libgnome-keyring.so /usr/lib/libbonoboui-2.so -lSM -lICE -lX11 /usr/lib/libgnome-2.so /usr/lib/libesd.so /usr/lib/libasound.so /usr/lib/libaudiofile.so /usr/lib/libgnomevfs-2.so -lssl -lcrypto /usr/lib/libhowl.so -lresolv -lrt /usr/lib/libbonobo-2.so /usr/lib/libbonobo-activation.so /usr/lib/libORBitCosNaming-2.so /usr/lib/libgnomeprintui-2-2.so /usr/lib/libgnomeprint-2-2.so /usr/lib/libgnomecanvas-2.so /usr/lib/libart_lgpl_2.so /usr/lib/libpangoft2-1.0.so /usr/lib/libglade-2.0.so /usr/lib/libxml2.so /usr/lib/libgconf-2.so /usr/lib/libORBit-2.so /usr/lib/libpopt.so /usr/lib/libgthread-2.0.so /usr/lib/libpoppler.so -L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib /usr/lib/libpoppler-glib.so /usr/lib/libfontconfig.so /usr/lib/libexpat.so /usr/lib/libfreetype.so -lz ../cut-n-paste/recent-files/.libs/librecent.a ../cut-n-paste/zoom-control/.libs/libephymisc.a ../cut-n-paste/zoom-control/.libs/libephywidgets.a ../lib/.libs/libev.a ./.libs/libevbackendfactory.a -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110 -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/../../../../i686-pc-linux-gnu/lib -lpthread /usr/lib/libdjvulibre.so /usr/lib/libjpeg.so //usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/libstdc++.so -lgcc_s -lc /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so /usr/lib/libt1.so -lm -Wl,--rpath -Wl,//usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110 -Wl,--rpath -Wl,//usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110 ./.libs/libevbackendfactory.a(t1.o)(.text+0xdd8): In function `t1_font_get_glyph': : undefined reference to `T1_Get_no_fonts' collect2: ld returned 1 exit status make[3]: *** [evince] Error 1 -------------------------------------------------------------------- So basically, from my pov, what would be doable is an ebuild similar to the one i will attach, but without the t1lib USE flag and patch, and an hardcoded --disable-t1lib instead. Created attachment 58397 [details]
evince-0.3.0.ebuild
Created attachment 58398 [details, diff]
files/evince-0.3.0-fix_AC_ARG_ENABLE.patch
Created attachment 58399 [details, diff]
files/evince-0.3.0-t1lib_is_t1.patch
I've sent the AC_ARG_ENABLE fix upstream: http://bugzilla.gnome.org/show_bug.cgi?id=303508 Created attachment 58403 [details]
evince-0.3.0.ebuild
Changed this in RDEPEND:
- t1lib? ( media-libs/t1lib )
+ dvi? ( t1lib? ( media-libs/t1lib ) )
(because t1lib is for dvi only, so there's no point depending on it if
USE="-dvi")
Created attachment 58460 [details]
evince-0.3.0.ebuild
Changes:
- dvi? ( t1lib? ( media-libs/t1lib ) )
+ dvi? ( t1lib? ( media-libs/t1lib-5.0.0 ) )
(because that's the API that is used and there are still older version in the
tree)
Created attachment 58461 [details, diff]
files/evince-0.3.0-t1lib_is_t1.patch
Added one chunk that fixes the linking issue i've reported previously
(s/T1_Get_no_fonts/T1GetNoFonts/ to match t1lib-5.0.0 API)
Created attachment 58464 [details]
evince-0.3.0.ebuild
Removed the src_unpack() so that elibtoolize is run, but added
ELTCONF="--portage" so that it only does what is really needed (ie., applying
the EGREP patch, but not reruning libtoolize).
And thus, added back the "doc" IUSE flag to avoid the QA warning (Btw, couldn't
gnome2.eclass check whether "doc" is in IUSE before doing its "use doc && ..."
trick? That would nicely take care of that kind of packages where
--enable-gtk-doc is meaningless.)
wow good work :) now we can hope it gets accepted in portage. any word on when this will be accepted into portage? Evince 0.3.1 is out, and it seems to need poppler 0.3.2 to compile. Strange thing is that poppler 0.3.2 should require cairo 0.5.0 (which was just released) but it compiled fine with cairo 0.3.0. A version bump of the evince ebuild is enough to make it compile but poppler dependency should also be updated. Created attachment 59539 [details]
Updated evince ebuild
Changes:
- >=app-text/poppler-0.3.0
+ >=app-text/poppler-0.3.2
PS. you need to bump poppler to 0.3.2 if it hasn't hit portage yet.
You forgot to say that: - the AC_ARG_ENABLE patch is included upstream (the epatch line must be removed from the ebuild) - the files/evince-0.3.0-t1lib_is_t1.patch should be renamed to 0.3.1 (or the epatch line changed) Side note for later: we may need to add a pkg_setup "built_with_use app-text/poppler gtk" check too. Although I've not verified, I guess a non-glib version of libpoppler is not enough. (But anyway, "-gtk" doesn't seem to disable anything on current poppler package... oh well...) Created attachment 59547 [details]
evince-0.3.1.ebuild
Thanks TGL.
Changes from 0.3.0 ebuild:
@@ -27 +27 @@
- >=app-text/poppler-0.3.0
+ >=app-text/poppler-0.3.2
@@ -51,2 +51 @@
- epatch ${FILESDIR}/${P}-fix_AC_ARG_ENABLE.patch
- epatch ${FILESDIR}/${P}-t1lib_is_t1.patch
+ epatch ${FILESDIR}/${PN}-0.3.0-t1lib_is_t1.patch
Comment on attachment 58398 [details, diff]
files/evince-0.3.0-fix_AC_ARG_ENABLE.patch
Included upstream starting with 0.3.1
Comment on attachment 58464 [details]
evince-0.3.0.ebuild
obsoleted by 0.3.1
Latest ebuild is available in Gentopia overlay as well (even though it doesn't involve dbus & hal) I tested the latest ebuild on sparc. So please if you release it please add a ~sparc keyword to it. Scrollkeeper should be listed as a dependency. Evince will compile but not install without it. After trying to emerge with the new 0.3.1 ebuild, I get the following error: make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/var/tmp/portage/evince-0.3.1/work/evince-0.3.1' make[1]: Leaving directory `/var/tmp/portage/evince-0.3.1/work/evince-0.3.1' man: prepallstrip: strip: i686-pc-linux-gnu-strip --strip-unneeded strip: i686-pc-linux-gnu-strip --strip-unneeded usr/bin/evince-thumbnailer usr/bin/evince >>> Completed installing evince-0.3.1 into /var/tmp/portage/evince-0.3.1/image/ --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-app-text_-_evince-0.3.1-27266.log" open_wr: /var/lib/scrollkeeper/scrollkeeper_docs open_wr: /var/lib/scrollkeeper/scrollkeeper_docs -------------------------------------------------------------------------------- and emerging stops there. I think that this bug has to do with bug #92920. Could someone please verify? My emerge info: root@helios ~ # emerge --info Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r8 i686) ================================================================= System uname: 2.6.11-gentoo-r8 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Apr 29 2005, 09:31:05)] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.11-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ http://gentoo.seren.com/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.pair.com/ http://gentoo.mirrors.tds.net/gentoo ftp://gentoo.agsn.ca/ http://gentoo.mirrored.ca/ http://mirror.datapipe.net/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/ http://ftp.ceid.upatras.gr/pub/linux/gentoo http://gentoo.math.bme.hu http://ftp.heanet.ie/pub/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.gentoo.no/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirror.etf.bg.ac.yu/gentoo http://mirror.isp.net.au/pub/gentoo/ http://gentoo.osuosl.org/ http://adelie.polymtl.ca/ ftp://gentoo.risq.qc.ca/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X a52 acl acpi alsa apache2 apm arts avi berkdb bitmap-fonts bonobo bzlib caps cdr crypt cups curl doc dvd dvdr dvdread eds emboss encode esd exif fam fbcon flac foomaticdb fortran gd gdbm gif gimpprint glx gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile iconv imagemagick imlib ipv6 java jpeg junit kde kdeenablefinal ldap libg++ libwww mad mikmod mime mmx mmxext motif mozilla mp3 mpeg mysql ncurses nls nptl ogg oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts unicode userlocales vorbis xine xml xml2 xmms xprint xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY confirmed same problem here in another package... Solved after an update of gcc-config... don't think it's evince related. Tried again today with gcc-config-1.3.11-r2, still no luck. I applied the "gnome2.eclass sandbox patch" from bug #92920 and the scrollkeeper_docs errors vanished. Now I have an other problem: [...] ACCESS DENIED open_wr: /etc/gconf/gconf.xml.defaults/.testing.writeability ACCESS DENIED unlink: /etc/gconf/gconf.xml.defaults/.testing.writeability Keine der aufgel I applied the "gnome2.eclass sandbox patch" from bug #92920 and the scrollkeeper_docs errors vanished. Now I have an other problem: [...] ACCESS DENIED open_wr: /etc/gconf/gconf.xml.defaults/.testing.writeability ACCESS DENIED unlink: /etc/gconf/gconf.xml.defaults/.testing.writeability Keine der aufgelösten Adressen sind schreibbar; die Konfigurationseinstellungen können nicht gespeichert werden WARNUNG: Das Schema »/schemas/desktop/gnome/thumbnailers/application@x-dvi/enable« mit der Lokalisierungskennung »C« konnte nicht installiert werden: Es konnte kein Wert beim Schlüssel »/schemas/desktop/gnome/thumbnailers/application@x-dvi/enable« gespeichert werden, da der Konfigurationsserver keine schreibbare Datenbank hat. Für dieses Problem gibt es mehrere mögliche Ursachen: 1) Ihre Konfigurationspfad-Datei /etc/gconf/2/Pfad enthält keine Datenbanken oder konnte nicht gefunden werden 2) Es wurden versehentlich zwei gconfd-Prozesse gestartet. 3) Ihr Betriebssystem ist nicht richtig konfiguriert,so dass das Sperren einer NFS-Datei in Ihrem Heimverzeichnis nicht funktioniert oder 4) Ihr NFS-Client-Rechner ist abgestürzt und hat den Server beim Starten nicht darüber informiert, dass Dateisperren aufgehoben werden sollen. Falls zwei gconfd-Prozesse laufen (oder zwei liefen, als der Zweite gestartet wurde), hilft möglicherweise das Abmelden, das Abwürgen aller laufenden gconfd-Instanzen und das neu Anmelden. Falls eine nicht aufhebbare Sperren vorliegt, löschen Sie ~/.gconf*/*lock. Möglicherweise ist das Problem auch, dass Sie versuchen, GConf von zwei Maschinen aus gleichzeitig zu verwenden und ORBits Vorgabekonfiguration CORBA-Verbindungen aus dem Netz verhindert. Schreiben Sie »ORBIIOPIPv4=1« in die Datei /etc/orbitrc. Sie sollten wie immer das user.* syslog auf Details auf Probleme mit gconfd hin überprüfen. Es darf nur einen gconfd pro Heimverzeichnis laufen und er muss eine Sperrdatei in ~/gconfd besitzen, aber auch Sperrdateien an individuellen Speicherorten, wie z.B. ~/.gconf. [...] /bin/sh ../mkinstalldirs /var/tmp/portage/evince-0.3.1/image//usr/share/evince /bin/install -c -m 644 pdf-icon.png /var/tmp/portage/evince-0.3.1/image//usr/share/evince/pdf-icon.png /bin/sh ../mkinstalldirs /var/tmp/portage/evince-0.3.1/image//etc/gconf/schemas /bin/install -c -m 644 evince-thumbnailer.schemas /var/tmp/portage/evince-0.3.1/image//etc/gconf/schemas/evince-thumbnailer.schemas /bin/install -c -m 644 evince-thumbnailer-djvu.schemas /var/tmp/portage/evince-0.3.1/image//etc/gconf/schemas/evince-thumbnailer-djvu.schemas /bin/install -c -m 644 evince-thumbnailer-dvi.schemas /var/tmp/portage/evince-0.3.1/image//etc/gconf/schemas/evince-thumbnailer-dvi.schemas make[2]: Leaving directory `/var/tmp/portage/evince-0.3.1/work/evince-0.3.1/thumbnailer' make[1]: Leaving directory `/var/tmp/portage/evince-0.3.1/work/evince-0.3.1/thumbnailer' make[1]: Entering directory `/var/tmp/portage/evince-0.3.1/work/evince-0.3.1' make[2]: Entering directory `/var/tmp/portage/evince-0.3.1/work/evince-0.3.1' make[2]: Für das Ziel »install-exec-am« ist nichts zu tun. make[2]: Für das Ziel »install-data-am« ist nichts zu tun. make[2]: Leaving directory `/var/tmp/portage/evince-0.3.1/work/evince-0.3.1' make[1]: Leaving directory `/var/tmp/portage/evince-0.3.1/work/evince-0.3.1' man: prepallstrip: strip: i686-pc-linux-gnu-strip --strip-unneeded strip: i686-pc-linux-gnu-strip --strip-unneeded usr/bin/evince usr/bin/evince-thumbnailer >>> Completed installing evince-0.3.1 into /var/tmp/portage/evince-0.3.1/image/ --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-gnome-extra_-_evince-0.3.1-14401.log" open_wr: /etc/gconf/gconf.xml.defaults/.testing.writeability unlink: /etc/gconf/gconf.xml.defaults/.testing.writeability open_wr: /etc/gconf/gconf.xml.defaults/.testing.writeability unlink: /etc/gconf/gconf.xml.defaults/.testing.writeability open_wr: /etc/gconf/gconf.xml.defaults/.testing.writeability unlink: /etc/gconf/gconf.xml.defaults/.testing.writeability open_wr: /etc/gconf/gconf.xml.defaults/.testing.writeability unlink: /etc/gconf/gconf.xml.defaults/.testing.writeability -------------------------------------------------------------------------------- The error in german lists a few reasons why gconf-schemes couldn't be installed to /etc/gconf/... I think this is because the sandbox prevents it, hm? fabian If you want more people to actually help out, try getting English errors by changing your locale temporarily on the command-line. Hm, "LANG=en_US LC_ALL=en_US emerge evince" doesn't work for some reason. I will translate the error messages: [...] ACCESS DENIED open_wr: /etc/gconf/gconf.xml.defaults/.testing.writeability ACCESS DENIED unlink: /etc/gconf/gconf.xml.defaults/.testing.writeability None of the adresses is writeable, the configurations settings couldn't be saved. WARNING: The Scheme Hm, "LANG=en_US LC_ALL=en_US emerge evince" doesn't work for some reason.
I will translate the error messages:
[...]
ACCESS DENIED open_wr: /etc/gconf/gconf.xml.defaults/.testing.writeability
ACCESS DENIED unlink: /etc/gconf/gconf.xml.defaults/.testing.writeability
None of the adresses is writeable, the configurations settings couldn't be saved.
WARNING: The Scheme
»/schemas/desktop/gnome/thumbnailers/application@x-dvi/enable« with the locale
"C" couldn't be installed: I wasn't able to store a value at the key
»/schemas/desktop/gnome/thumbnailers/application@x-dvi/enable« because the
configuration server doesn't have a writeable Database.
There are several reasons which could cause this problem:
1) You configurationpath-file /etc/gconf/2/path doesn't contain any databases or
couldn't be find.
2) Unintenionally, two gconfd-Processes were started
3) The operating system isn't properly configured, so that the Lock of NFS-Files
in you home directory doesn't work
4) Your NFS-Client Computer has crashed and hasn't informed the Server at
startup to annul Filelocks.
It there are two gconf-processes running (or two were running when the second
was started) normally logout, killing all gconfd instances and a new login help.
If there is a not-annullable filelock, delete ~/.gconf*/*lock.
Maybe the problem is, that you try to use GConf from two machines simultaneously
and ORBits Standard-setup denies CORBA-Connection from the network. In this case
write »ORBIIOPIPv4=1« in /etc/orbitrc.
You should always check the user.* syslog for details on problems with gconfd.
There must be only one gconfd running per homedirectory and he must have a
lockfile in ~/gconfd, but also other lockfiles at individual places like ~/.gconf
[...]
/bin/sh ../mkinstalldirs /var/tmp/portage/evince-0.3.1/image//usr/share/evince
/bin/install -c -m 644 pdf-icon.png
/var/tmp/portage/evince-0.3.1/image//usr/share/evince/pdf-icon.png
/bin/sh ../mkinstalldirs /var/tmp/portage/evince-0.3.1/image//etc/gconf/schemas
/bin/install -c -m 644 evince-thumbnailer.schemas
/var/tmp/portage/evince-0.3.1/image//etc/gconf/schemas/evince-thumbnailer.schemas
/bin/install -c -m 644 evince-thumbnailer-djvu.schemas
/var/tmp/portage/evince-0.3.1/image//etc/gconf/schemas/evince-thumbnailer-djvu.schemas
/bin/install -c -m 644 evince-thumbnailer-dvi.schemas
/var/tmp/portage/evince-0.3.1/image//etc/gconf/schemas/evince-thumbnailer-dvi.schemas
make[2]: Leaving directory
`/var/tmp/portage/evince-0.3.1/work/evince-0.3.1/thumbnailer'
make[1]: Leaving directory
`/var/tmp/portage/evince-0.3.1/work/evince-0.3.1/thumbnailer'
make[1]: Entering directory `/var/tmp/portage/evince-0.3.1/work/evince-0.3.1'
make[2]: Entering directory `/var/tmp/portage/evince-0.3.1/work/evince-0.3.1'
make[2]: Nothing to do for »install-exec-am«
make[2]: Nothing to do for »install-data-am«
make[2]: Leaving directory `/var/tmp/portage/evince-0.3.1/work/evince-0.3.1'
make[1]: Leaving directory `/var/tmp/portage/evince-0.3.1/work/evince-0.3.1'
man:
prepallstrip:
strip: i686-pc-linux-gnu-strip --strip-unneeded
strip: i686-pc-linux-gnu-strip --strip-unneeded
usr/bin/evince
usr/bin/evince-thumbnailer
>>> Completed installing evince-0.3.1 into /var/tmp/portage/evince-0.3.1/image/
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-gnome-extra_-_evince-0.3.1-14401.log"
open_wr: /etc/gconf/gconf.xml.defaults/.testing.writeability
unlink: /etc/gconf/gconf.xml.defaults/.testing.writeability
open_wr: /etc/gconf/gconf.xml.defaults/.testing.writeability
unlink: /etc/gconf/gconf.xml.defaults/.testing.writeability
open_wr: /etc/gconf/gconf.xml.defaults/.testing.writeability
unlink: /etc/gconf/gconf.xml.defaults/.testing.writeability
open_wr: /etc/gconf/gconf.xml.defaults/.testing.writeability
unlink: /etc/gconf/gconf.xml.defaults/.testing.writeability
--------------------------------------------------------------------------------
I think it's not a problem with gconf itself, but that the ebuild tries to write
outside the sandbox in /etc/gconf/...
fabian
OK, I finally managed to install evince: Get the gnome2.eclass.patch from #Bug 92920 and change the few things I mention in Comment #63. Then apply it and have fun! :-P fabian I'm still getting sandbox violation errors, and it seems those 2 patches from http://bugs.gentoo.org/show_bug.cgi?id=92920 are already applied. I have applied ONLY the gnome2.eclass.patch, but have deleted the following lines out of the patch, before applying it: - export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1" - unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL These are the two lines which prevent the testing.writeability GConf-Sandbox-Errors. Commenting out those lines still gives me the sandbox error. This is the error I
get:
>>> Completed installing evince-0.3.1 into /var/tmp/portage/evince-0.3.1/image/
--------------------------- ACCESS VIOLATION SUMMARY
---------------------------LOG FILE =
"/tmp/sandbox-app-text_-_evince-0.3.1-8789.log"
open_wr: /var/lib/scrollkeeper/scrollkeeper_docs
open_wr: /var/lib/scrollkeeper/scrollkeeper_docs
--------------------------------------------------------------------------------
@comment #89 : Will you please stop posting duplicate info all over the place? If it has any effect I don't think you really know why anyway. I just posted how it worked for me and thought this would be helpful for someone... The problem here is the that the ebuild uses the USE_DESTDIR, which calls "make DESTDIR=... install" instead of einstall. This causes scrollkeeper to try and save some data to an absolute path (outside of the sandbox) which causes the errors. commenting out the following lines fixes the problem after you have completed aa "ebuild evince-0.3.1.ebuild compile" (I think): ./help/C/Makefile:467: -scrollkeeper-update -p $(scrollkeeper_localstate_dir) -o $(DESTDIR)$(omf_dest_dir) ./help/C/Makefile:475: -scrollkeeper-update -p $(scrollkeeper_localstate_dir) You can then do a: ebuild evince-0.3.1.ebuild install ebuild evince-0.3.1.ebuild qmerge Can anyone confirm this is the problem and know how to get around it? I have committed app-text/evince-0.3.1 to the tree. Since the Gnome herd doesn't support pre-release software, I'm taking ownership of this bug, and will maintain evince until it reaches 1.0 equivilance. Thanks to all of you for your comments and ebuilds. Could you all test the committed version and report back to me here? it fails for me: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../backend -I/usr/include/poppler/glib -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DDATADIR=\"/usr/share\" -O2 -pipe -g -g -g -MT ev-poppler.lo -MD -MP -MF .deps/ev-poppler.Tpo -c ev-poppler.cc -fPIC -DPIC -o .libs/ev-poppler.o ev-poppler.cc: In function `void pdf_document_ps_exporter_begin(EvPSExporter*, const char*, int, int)': /usr/include/poppler/glib/poppler-document.h:93: error: too many arguments to function `PopplerPSFile* poppler_ps_file_new(PopplerDocument*, const char*, int)' ev-poppler.cc:878: error: at this point in file make[2]: *** [ev-poppler.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/evince-0.3.1/work/evince-0.3.1/pdf' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/evince-0.3.1/work/evince-0.3.1' make: *** [all] Error 2 !!! ERROR: app-text/evince-0.3.1 failed. !!! Function gnome2_src_compile, Line 41, Exitcode 2 !!! compile failure !!! If you need support, post the topmost build error, NOT this status message. emerge info Portage 2.0.51.22-r1 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.11-rc5 x86_64) ================================================================= System uname: 2.6.11-rc5 x86_64 AMD Athlon(tm) 64 Processor 3400+ Gentoo Base System version 1.6.12 ccache version 2.3 [enabled] dev-lang/python: 2.4.1 sys-apps/sandbox: 1.2.9 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -fomit-frame-pointer -O3 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache cvs digest distlocks manifest sandbox sfperms sign strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LDFLAGS="-Wl,-O1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X accessibility acpi alsa berkdb bitmap-fonts cdr crypt cups curl debug dvd eds esd fam font-server foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 hal imagemagick imlib java jp2 jpeg junit kde ldap lirc lm_sensors lzw lzw-tiff mad motif mozilla mp3 ncurses nls nptl ogg opengl oss pam perl png python qt readline samba sdl slang ssl svg tcltk tcpd tiff truetype truetype-fonts type1-fonts unicode usb userlocales vorbis xml2 xmms xpm xrandr xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY (In reply to comment #99) > Could you all test the committed version and report back to me here? Build fails. Needs poppler 0.3.2, ebuild defines >=0.3.0. poppler-0.3.0 is stable in portage, so evince tries to build if you just unmask evince, fails. Builds fine with poppler-0.3.2 unmasked... Works great! works fine with poppler-0.3.2, please update the dependency Thanks. Requirements bumped. Its great that its finally in portage but shouldnt howl be set as a useflag? It is far from a dependence... I'll look into it, but it'd definitely used in the final binary, and there doesn't seem to be a way to disable it in the build. @comment 99 : Not discussed like it should have been, don't misinterpret our reasons for not yet adding this so don't state anything 'in name of' the gnome team. And looking from the crazy ebuild you added for this, you certainly should NOT have gone without consulting us. And please fix that ebuild ASAP so ppl dont have to install all sorts of crap for no reason and don't remove our CC without asking. So now after all I do have to put time in something unstable again while the team is already pressed for time, thank you for pushing that on me as well. Hi I get this access violation when I want to emerge evine-0.3.1. --------------------------- ACCESS VIOLATION SUMMARY ---------------------------LOG FILE = "/tmp/sandbox-app-text_-_evince-0.3.1-28740.log" rename: /var/tmp/portage/evince-0.3.1/work/evince-0.3.1/ltmain.sh (symlink to /usr/share/libtool/ltmain.sh) Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11.7 i686) ================================================================= System uname: 2.6.11.7 i686 Intel(R) Pentium(R) M processor 1.60GHz Gentoo Base System version 1.6.12 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.3 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -mcpu=i686 -pipe -msse2 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -mcpu=i686 -pipe -msse2 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.eliteitminds.com http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X acpi alsa apache2 avi berkdb bitmap-fonts cdr crypt cups curl dvd dvdr eds emboss encode esd fam flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 guile httpd imagemagick imlib ipv6 jpeg junit libg++ libwww mad mikmod mmx mono motif mozilla mp3 mpeg ncurses nls odbc ogg oggvorbis opengl oss pam pdflib perl php png postgres ppds python quicktime readline samba sdl slang spell sqlite sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb vorbis xine xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS I have successfuly installed this version 0.3.1 from portage. However, when I run the prgram interactively from a command line with a file specified, I get LOTS of errors like this: ... Error: Couldn't create a font for 'Times-Bold' Error: Couldn't create a font for 'Times-Roman' Error: Couldn't create a font for 'Helvetica-Bold' ... Additionally, when I try to open a file with File->Open the program crashed. Here is my emerge info: Portage 2.0.51.19 (default-linux/x86/2005.0/2.4, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.4.25_pre7-gss-r3 i686) ================================================================= System uname: 2.4.25_pre7-gss-r3 i686 Intel(R) XEON(TM) CPU 1.80GHz Gentoo Base System version 1.6.12 Python: dev-lang/python-2.2.3-r6,dev-lang/python-2.3.5 [2.3.5 (#1, May 6 2005, 10:45:32)] distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] dev-lang/python: 2.2.3-r6, 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.4.19, 2.4.22-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=i686 -funroll-loops -pipe -g" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -mcpu=i686 -funroll-loops -pipe -g" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distcc distlocks nostrip sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts bonobo cdr crypt cups curl eds emboss encode esd evo fam flac foomaticdb fortran gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib innodb java jpeg junit kerberos krb4 ldap libg++ libwww mad mikmod motif mozilla mp3 mpeg mysql ncurses nls odbc ogg oggvorbis opengl oss pam pda pdflib perl png postgres python qt quicktime radeon readline ruby samba sasl scanner sdl slang snmp spell ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts vorbis xine xml xml2 xmms xv zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS I've still got that scrollkeeper sandbox violation mentioned in http://bugs.gentoo.org/show_bug.cgi?id=78956#c95. Very odd. It looks like the scrollkeeper-update is invoked without the ${D} specified in the ebuild. In any case, the gnome2.eclass seems to default to prepending a ${D} anyway, so the ebuild's addition is redundant. This is with a portage tree sync'ed on 2005-06-21. make[1]: Entering directory `/var/tmp/portage/evince-0.3.1/work/evince-0.3.1/help' Making install in C make[2]: Entering directory `/var/tmp/portage/evince-0.3.1/work/evince-0.3.1/help/C' make[3]: Entering directory `/var/tmp/portage/evince-0.3.1/work/evince-0.3.1/help/C' make[3]: Nothing to be done for `install-exec-am'. /bin/sh ../../mkinstalldirs /var/tmp/portage/evince-0.3.1/image//usr/share/gnome/help/evince/C mkdir -p -- /var/tmp/portage/evince-0.3.1/image//usr/share/gnome/help/evince/C for file in legal.xml evince.xml; do \ cp ./$file /var/tmp/portage/evince-0.3.1/image//usr/share/gnome/help/evince/C; \ done if test "figures"; then \ /bin/sh ../../mkinstalldirs /var/tmp/portage/evince-0.3.1/image//usr/share/gnome/help/evince/C/figures; \ for file in ./figures/*.png; do \ basefile=`echo $file | sed -e 's,^.*/,,'`; \ /bin/install -c -m 644 $file /var/tmp/portage/evince-0.3.1/image//usr/share/gnome/help/evince/C/figures/$basefile; \ done \ fi mkdir -p -- /var/tmp/portage/evince-0.3.1/image//usr/share/gnome/help/evince/C/figures make install-data-hook make[4]: Entering directory `/var/tmp/portage/evince-0.3.1/work/evince-0.3.1/help/C' /bin/sh ../../mkinstalldirs /var/tmp/portage/evince-0.3.1/image//usr/share/omf/evince mkdir -p -- /var/tmp/portage/evince-0.3.1/image//usr/share/omf/evince for file in evince-C.omf; do \ /bin/install -c -m 644 $file.out /var/tmp/portage/evince-0.3.1/image//usr/share/omf/evince/$file; \ done scrollkeeper-update -p /var/lib/scrollkeeper -o /var/tmp/portage/evince-0.3.1/image//usr/share/omf/evince ACCESS DENIED open_wr: /var/lib/scrollkeeper/scrollkeeper_docs ACCESS DENIED open_wr: /var/lib/scrollkeeper/scrollkeeper_docs /var/lib/scrollkeeper/scrollkeeper_docs: Permission denied make[4]: [install-data-hook-omf] Error 1 (ignored) make[4]: Leaving directory `/var/tmp/portage/evince-0.3.1/work/evince-0.3.1/help/C' make[3]: Leaving directory `/var/tmp/portage/evince-0.3.1/work/evince-0.3.1/help/C' make[2]: Leaving directory `/var/tmp/portage/evince-0.3.1/work/evince-0.3.1/help/C' make[2]: Entering directory ------------- [snip] ------------------------------------ make[1]: Leaving directory `/var/tmp/portage/evince-0.3.1/work/evince-0.3.1' man: prepallstrip: strip: x86_64-pc-linux-gnu-strip --strip-unneeded strip: x86_64-pc-linux-gnu-strip --strip-unneeded usr/bin/evince-thumbnailer usr/bin/evince >>> Completed installing evince-0.3.1 into /var/tmp/portage/evince-0.3.1/image/ --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-app-text_-_evince-0.3.1-8779.log" open_wr: /var/lib/scrollkeeper/scrollkeeper_docs open_wr: /var/lib/scrollkeeper/scrollkeeper_docs -------------------------------------------------------------------------------- emerge --info : Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r11 x86_64) ================================================================= System uname: 2.6.11-gentoo-r11 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.12 Python: dev-lang/python-2.3.5 [2.3.5 (#1, May 12 2005, 14:15:26)] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -ffast-math" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/cursors/xorg-x11/default /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -ffast-math" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.heanet.ie/pub/gentoo/" LANG="en_GB.UTF-8" LC_ALL="en_GB.UTF-8" LINGUAS="en_GB zh_CN" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/ibm-overlay /usr/local/mplayer32-overlay /usr/local/morph-overlay /usr/local/portage-gentopia" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X aac aalib acpi alsa aotuv artworkextra audiofile avi bash-completion berkdb bitmap-fonts bzip2 cap caps cdparanoia cdr cg cjk crypt cups curl devil djvu dlloader dts dv dvd dvdr dvdread dvi ecc eds encode expat ffmpeg flac font-server foomaticdb gif gimp-print gimpprint gkthtml glitz gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal howl icu idea imagemagick imlib imlib2 immqt-bc ipv6 ithreads java javascript jikes jp2 jpeg jpeg2k junit kdeenablefinal layout-osx-like lcms ldap libcaca libwww live lzw lzw-tiff mad mmap mng mono mozilla moznomail mozsvg mp3 mpeg ncurses network nls noantlr nobcel nobeanutils nobsh nocommonset nocommonslogging nocommonsnet nojdepend nojsch nojython nolog4j nooro noregexp norhino nowin noxalan noxerces nptl nvidia offensive ogg oggvorbis openal opengl pam parse-clocks pcre perl png pyste python qt quicktime readline real renamescripts rtc samba sata sdl slang spell sqlite ssl staircase startup-notification svg t1lib tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode updated-acpi usb userlocales vorbis xim xine xml2 xpm xrandr xscreensaver xv xvid xvmc zeroconf zlib linguas_en_GB linguas_zh_CN userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS evince-0.3.1 just failed on me: ev-print-job.c: In function `ev_print_job_use_print_dialog_settings': ev-print-job.c:232: error: `GNOME_PRINT_KEY_DUPLEX' undeclared (first use in this function) ev-print-job.c:232: error: (Each undeclared identifier is reported only once ev-print-job.c:232: error: for each function it appears in.) To fix it, the DEPEND should contain: >=gnome-base/libgnomeprintui-2.6 Addition to my last comment: It also depends on >=gnome-base/libgnomeui-2.6 As a follow on to #111 -- it's now okay -- Gentopia overlay had a version of evince in there for some reason, which I was hitting. My bad. Please ignore! (In reply to comment #83) As said in above comment, that i works also well on sparc. can you please add this keyword? Sorry for the delay, real-life intruded heavily. comment #110: I'll investigate. comment #112, #113: Updated deps, thanks. comment #115: I can't keyword sparc, as I don't have a sparc to test with. It's up to the sparc arch team to do that. evince 0.3.2 has been released It depends on poppler 0.3.3, which isn't in the tree yet. I'll get it updated once poppler has been updated. Okay, 0.3.2 committed. In portage, closing. Sanbox violations are Bug 92920 and Bug 100972 |