From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RGN6B-0004LU-Ts for garchives@archives.gentoo.org; Wed, 19 Oct 2011 03:45:48 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B496A21C04E; Wed, 19 Oct 2011 03:45:36 +0000 (UTC) Received: from mail-iy0-f181.google.com (mail-iy0-f181.google.com [209.85.210.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 9E7C021C024 for ; Wed, 19 Oct 2011 03:44:37 +0000 (UTC) Received: by iahk25 with SMTP id k25so1763884iah.40 for ; Tue, 18 Oct 2011 20:44:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=6igwyrcf5xIJKt0yKmWmi9t7hkCzqchy062W74ag26M=; b=SU/AF75FR9tqsEbS10LJNFZJXNIQ0yHWImW2iqp+l1IqDp4DPYzL+NpUtVz2p2gdtB OWWSZ+TYaTNL+vvrGK40Yk/Loiwbbmiu/yf5Jjj1SPZmYcTMWrdzwHNCYFdzyMVnAu8I 0MxUYHvJE1tAqGRBceIGL+8W0fmtLzWNW3DNQ= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.231.68.136 with SMTP id v8mr2141643ibi.51.1318995877073; Tue, 18 Oct 2011 20:44:37 -0700 (PDT) Received: by 10.182.38.42 with HTTP; Tue, 18 Oct 2011 20:44:37 -0700 (PDT) In-Reply-To: <20111019025306.GC2821@solfire> References: <20111019022819.GA2821@solfire> <20111019024422.GB2821@solfire> <20111019025306.GC2821@solfire> Date: Tue, 18 Oct 2011 20:44:37 -0700 Message-ID: Subject: Re: [gentoo-user] Build error on poppler From: Mark Knecht To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 8b119e3c5d41faca4ddd771e2be36c9b On Tue, Oct 18, 2011 at 7:53 PM, wrote: > meino.cramer@gmx.de [11-10-19 04:48]: >> Mark Knecht [11-10-19 04:40]: >> > On Tue, Oct 18, 2011 at 7:28 PM, =C2=A0 wrote: >> > > Hi, >> > > >> > > this morning I got this (after update poppler and xorgserver had to = be >> > > updated): >> > >> > > It seems poppler wants a library which version is not available for >> > > gentoo. >> > > >> > > >> > > If there is need for more information (the mentioned logs for exampl= e) >> > > I will it send it to the list. >> > > >> > > Best regards, >> > > mcc >> > >> > On one of my machines I saw a different on the same version of >> > poppler. I did an emerge -C poppler and then emerge -DuN @world and it >> > picked up a newer version without complaining. >> > >> > HTH, >> > Mark >> > >> >> Hi Mark, >> >> thank you for your help ! :) >> >> I tried it and it results in this: >> >> =C2=A0 =C2=A0 solfire:/root>emerge -DuN @world >> =C2=A0 =C2=A0 Calculating dependencies... done! >> =C2=A0 =C2=A0 [ebuild =C2=A0N =C2=A0 =C2=A0~] app-text/poppler-0.18.0 = =C2=A0USE=3D"cairo cxx introspection jpeg jpeg2k lcms png qt4 tiff utils xp= df-headers -cjk -curl -debug -doc" >> >> =C2=A0 =C2=A0 The following keyword changes are necessary to proceed: >> =C2=A0 =C2=A0 #required by app-office/libreoffice-3.3.4, required by @se= lected, required by @world (argument) >> =C2=A0 =C2=A0 >=3Dapp-text/poppler-0.18.0 ~amd64 >> >> =C2=A0 =C2=A0 NOTE: This --autounmask behavior can be disabled by settin= g >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 EMERGE_DEFAULT_OPTS=3D"--autounmask=3Dn" in = make.conf. >> >> =C2=A0 =C2=A0 Use --autounmask-write to write choanges to config files (= honoring CONFIG_PROTECT). >> >> >> Is this just another of those cases, where I have to unmask an item >> and "dont mix 'em" ;) =C2=A0??? >> >> Best regards, >> mcc >> >> >> >> >> >> >> > > Hi Mark, > > ok, I unmasked poppler, and it give me that again: > > > =C2=A0 =C2=A0/var/tmp/portage/app-text/poppler-0.18.0/work/poppler-0.18.0= /glib/poppler-private.h:126: syntax error, unexpected ')', expecting ',' or= ';' in ' =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0time_t *gdate);' at ')' > =C2=A0 =C2=A0g-ir-scanner: compile: gcc -Wall -pthread -I/usr/include/gli= b-2.0 -I/usr/lib64/glib-2.0/include -march=3Dnative -O2 -pipe -msse3 -I/var= /tmp/portage/app-text/poppler-0.18.0/work/poppler-0.18.0 -I/var/tmp/portage= /app-text/poppler-0.18.0/work/poppler-0.18.0/fofi -I/var/tmp/portage/app-te= xt/poppler-0.18.0/work/poppler-0.18.0/goo -I/var/tmp/portage/app-text/poppl= er-0.18.0/work/poppler-0.18.0/poppler -I/var/tmp/portage/app-text/poppler-0= .18.0/work/poppler-0.18.0_build -I/var/tmp/portage/app-text/poppler-0.18.0/= work/poppler-0.18.0_build/poppler -I/usr/include -I/usr/include/freetype2 -= I/var/tmp/portage/app-text/poppler-0.18.0/work/poppler-0.18.0/glib -I/var/t= mp/portage/app-text/poppler-0.18.0/work/poppler-0.18.0_build/glib -I/usr/in= clude/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/in= clude/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/in= clude/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/incl= ude/libdrm -c -o /var/tmp/portage/app-text/poppler-0.18.0/work/poppler-0.18= .0_build/glib/tmp-introspectrj_6Cr/Poppler-0.18.o /var/tmp/portage/app-text= /poppler-0.18.0/work/poppler-0.18.0_build/glib/tmp-introspectrj_6Cr/Poppler= -0.18.c > =C2=A0 =C2=A0g-ir-scanner: link: gcc -o /var/tmp/portage/app-text/poppler= -0.18.0/work/poppler-0.18.0_build/glib/tmp-introspectrj_6Cr/Poppler-0.18 -m= arch=3Dnative -O2 -pipe -msse3 -L. -Wl,-rpath=3D. -lpoppler-glib -pthread -= lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 /var/tmp= /portage/app-text/poppler-0.18.0/work/poppler-0.18.0_build/glib/tmp-introsp= ectrj_6Cr/Poppler-0.18.o > =C2=A0 =C2=A0g-ir-scanner: Poppler: warning: 5 warnings suppressed (use -= -warn-all to see them) > =C2=A0 =C2=A0[ 79%] Built target gir-girs > =C2=A0 =C2=A0Scanning dependencies of target gir-typelibs > =C2=A0 =C2=A0[ 79%] Generating Poppler-0.18.typelib > =C2=A0 =C2=A0/usr/bin/g-ir-compiler: error while loading shared libraries= : libffi.so.4: cannot open shared object file: No such file or directory > =C2=A0 =C2=A0make[2]: *** [glib/Poppler-0.18.typelib] Error 127 > =C2=A0 =C2=A0make[1]: *** [glib/CMakeFiles/gir-typelibs.dir/all] Error 2 > =C2=A0 =C2=A0make: *** [all] Error 2 > =C2=A0 =C2=A0* ERROR: app-text/poppler-0.18.0 failed (compile phase): > =C2=A0 =C2=A0* =C2=A0 emake failed > =C2=A0 =C2=A0* > =C2=A0 =C2=A0* If you need support, post the output of 'emerge --info =3D= app-text/poppler-0.18.0', > =C2=A0 =C2=A0* the complete build log and the output of 'emerge -pqv =3Da= pp-text/poppler-0.18.0'. > =C2=A0 =C2=A0* The complete build log is located at '/var/tmp/portage/app= -text/poppler-0.18.0/temp/build.log'. > =C2=A0 =C2=A0* The ebuild environment file is located at '/var/tmp/portag= e/app-text/poppler-0.18.0/temp/environment'. > =C2=A0 =C2=A0* S: '/var/tmp/portage/app-text/poppler-0.18.0/work/poppler-= 0.18.0' > > =C2=A0 =C2=A0>>> Failed to emerge app-text/poppler-0.18.0, Log file: > > =C2=A0 =C2=A0>>> =C2=A0'/var/tmp/portage/app-text/poppler-0.18.0/temp/bui= ld.log' > > =C2=A0 =C2=A0* Messages for package app-text/poppler-0.18.0: > > =C2=A0 =C2=A0* ERROR: app-text/poppler-0.18.0 failed (compile phase): > =C2=A0 =C2=A0* =C2=A0 emake failed > =C2=A0 =C2=A0* > =C2=A0 =C2=A0* If you need support, post the output of 'emerge --info =3D= app-text/poppler-0.18.0', > =C2=A0 =C2=A0* the complete build log and the output of 'emerge -pqv =3Da= pp-text/poppler-0.18.0'. > =C2=A0 =C2=A0* The complete build log is located at '/var/tmp/portage/app= -text/poppler-0.18.0/temp/build.log'. > =C2=A0 =C2=A0* The ebuild environment file is located at '/var/tmp/portag= e/app-text/poppler-0.18.0/temp/environment'. > =C2=A0 =C2=A0* S: '/var/tmp/portage/app-text/poppler-0.18.0/work/poppler-= 0.18.0' > > libffi remains the same as in the previous post of mine... > > Best regards, > mcc I'm not seeing any of that here. A couple of questions: 1) What version of portage are you using? I'm at 2.2.0_alpha69. See my portage.keywords file from yesterday about how I unmask portage. For me it's a weird one... 2) Do you have libffi installed? Maybe it's a case of the new poppler needs libffi but the ebuild isn't emerging it? c2stable ~ # eix -I libffi [I] dev-libs/libffi Available versions: 3.0.9-r2 3.0.10 **3.0.11_rc1 {debug static-libs t= est} Installed versions: 3.0.10(01:58:46 PM 10/17/2011)(-debug -static-libs -test) Homepage: http://sourceware.org/libffi/ Description: a portable, high level programming interface to various calling conventions. [I] virtual/libffi Available versions: 0 Installed versions: 0(10:42:58 AM 04/13/2010) Description: Virtual for dev-libs/libffi Found 2 matches. c2stable ~ # That sort of seems to be the case according to equery as poppler isn't shown below as depending on libffi. I possibly have it because I went the opposite on this recent -perl/-python news item and have them set. Just guessing about that though. c2stable ~ # equery depends libffi * These packages depend on libffi: dev-lang/python-2.7.1-r1 (virtual/libffi) dev-lang/python-3.1.3-r1 (virtual/libffi) dev-libs/gobject-introspection-0.10.8 (virtual/libffi) dev-python/pygobject-2.28.6 (libffi ? virtual/libffi) virtual/libffi-0 (dev-libs/libffi) c2stable ~ # So, if you don't have libffi installed then emerge it and try again with poppler after that. If poppler then emerges correctly then consider filing a bug report if you feel that's appropriate. Good luck. I won't be around much longer tonight. I'll catch up with you tomorrow. Cheers, Mark