From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Re: Python and gzip Date: Sat, 26 Jan 2013 14:54:55 +0100 Message-ID: <201301261454.55208.andreas@enge.fr> References: <201301252338.45926.andreas@enge.fr> <87vcakg8ll.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="Boundary-01=_vA+ARuJuYKid0KQ" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43854) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tz6Do-0003Jz-EO for bug-guix@gnu.org; Sat, 26 Jan 2013 08:55:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tz6Dj-0002Bv-II for bug-guix@gnu.org; Sat, 26 Jan 2013 08:55:04 -0500 In-Reply-To: <87vcakg8ll.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Ludovic =?utf-8?q?Court=C3=A8s?= Cc: bug-guix@gnu.org --Boundary-01=_vA+ARuJuYKid0KQ Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Am Samstag, 26. Januar 2013 schrieb Ludovic Court=C3=A8s: > You=E2=80=99ve created a circular dependency between =E2=80=98python=E2= =80=99 and =E2=80=98compression=E2=80=99. >=20 > The fix is to arrange so that there=E2=80=99s no circular dependency. The > easiest way to achieve that is to move the package in question to its > own module. Okay, thanks! I realised after a few hours of debugging, that to execute=20 the tests for the library zziplib, I also needed zip to create test data on= =20 the fly; so I added zip and unzip (and zziplib) in their own file. Now I have problems with zziplib and pkg-config during the configuration of= =20 texlive. I have pkg-config and zziplib as inputs. But configure fails at if $PKG_CONFIG zziplib --atleast-version=3D0.12; then ZZIPLIB_INCLUDES=3D`$PKG_CONFIG zziplib --cflags` ZZIPLIB_LIBS=3D`$PKG_CONFIG zziplib --libs` elif test "x$need_zziplib:$with_system_zziplib" =3D xyes:yes; then as_fn_error $? "did not find zziplib-0.12 or better" "$LINENO" 5 fi (while previous similar lines for other programs succeed). When I install=20 the two guix packages by hand and execute the test in a terminal, it=20 succeeds. Do you have any idea what could be happening? Andreas --Boundary-01=_vA+ARuJuYKid0KQ Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

Am Samstag,= 26. Januar 2013 schrieb Ludovic Court=C3=A8s:

> You=E2= =80=99ve created a circular dependency between =E2=80=98python=E2=80=99 and= =E2=80=98compression=E2=80=99.

>

> The fi= x is to arrange so that there=E2=80=99s no circular dependency. The

> easies= t way to achieve that is to move the package in question to its

> own mo= dule.

&nb= sp;

Okay, thank= s! I realised after a few hours of debugging, that to execute the tests for= the library zziplib, I also needed zip to create test data on the fly; so = I added zip and unzip (and zziplib) in their own file.

&nb= sp;

Now I have = problems with zziplib and pkg-config during the configuration of texlive. I= have pkg-config and zziplib as inputs. But configure fails at

&nb= sp;

if $PKG_CON= =46IG zziplib --atleast-version=3D0.12; then

ZZIPLIB_I= NCLUDES=3D`$PKG_CONFIG zziplib --cflags`

ZZIPLIB_L= IBS=3D`$PKG_CONFIG zziplib --libs`

elif test &= quot;x$need_zziplib:$with_system_zziplib" =3D xyes:yes; then

as_fn_err= or $? "did not find zziplib-0.12 or better" "$LINENO" 5=

fi

&nb= sp;

(while prev= ious similar lines for other programs succeed). When I install the two guix= packages by hand and execute the test in a terminal, it succeeds. Do you h= ave any idea what could be happening?

&nb= sp;

Andreas

&nb= sp;

--Boundary-01=_vA+ARuJuYKid0KQ--