pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/45943: Circular dependency of texlive packages



>Number:         45943
>Category:       pkg
>Synopsis:       Circular dependency of texlive packages
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 07 22:10:00 +0000 2012
>Originator:     Benny Siegert
>Release:        5.99.51 amd64
>Organization:
TNF
>Environment:
>Description:
Date: Sun, 22 Jan 2012 13:34:33 +0100 (CET)
From: Benny Siegert <bsiegert%gmail.com@localhost>
To: pkgsrc-users%netbsd.org@localhost
Cc: minskim%netbsd.org@localhost
Subject: Circular dependency (?) confusing pkg_rr

Hi,

I am trying to do a pkg_rolling-replace -u on my NetBSD-5.99.51 system (amd64).
However, it always fails at the same package, tex-tetex. See the attached log 
file.
The reason for failure is that the new tex-tetex conflicts with 
texlive-tetex<2011
but texlive-tetex, which depends on the *new version* of tex-tetex, is at 2010. 
(By
the way, these names are horribly confusing.)

I am not sure how this is supposed to be handled. It seems like a classic case 
of a
circular dependency. Or should pkg_rr somehow be more intelligent?

Ideas?

--Benny.


RR> Checking for rebuild-requested installed packages (rebuild=YES)
RR> Checking for unsafe installed packages (unsafe_depends=YES)
RR> Packages to rebuild:
rr> MISMATCH_TODO=[]
rr> REBUILD_TODO=[]
rr> UNSAFE_TODO=[libcdio glib2 tex-tetex texlive-tetex dvipsk ghostscript 
luatex tex-amsfonts tex-cm tex-plain tex-etex imlib2 web2c tex-pdftex 
tex-luatex tex-latex docbook-xsl firefox netbsd-www gv windowmaker p5-glib2 
xfconf xplanet SDL xfce4-utils xulrunner pulseaudio xfce4-exo nss 
gst-plugins0.10-base tex-latex-bin tex-ntgclass tex-a4wide tex-graphics 
tex-tools tex-algorithms tex-xkeyval tex-pgf tex-beamer tex-bezos tex-bibtopic 
tex-koma-script tex-ms tex-caption tex-changebar tex-cmcyr tex-cm-super 
tex-dvipdfmx tex-etex-pkg gsftopkk tex-metafont tex-mflogo tex-mfware tex-tex 
tex-texlive-scripts tex-collection-basic tex-fp tex-euro tex-eurofont 
tex-eurosans tex-eurosym tex-lm tex-marvosym tex-pxfonts tex-rsfs tex-amsmath 
tex-tex-gyre tex-oberdiek tex-tipa tex-txfonts tex-wasy tex-wasysym 
tex-collection-fontsrecommended tex-moreverb tex-genmisc tex-tex-ps 
tex-collection-genericrecommended tex-ae tex-amscls tex-carlisle tex-babel 
tex-colortbl tex-fancyhdr tex-geometry tex-h
 yperref tex-beton tex-euler tex-here tex-minitoc tex-natbib tex-psnfss 
tex-ltxmisc tex-mptopdf tex-collection-latex tex-metapost tex-context tex-lh 
tex-endfloat tex-enumitem tex-esint tex-eso-pic tex-exam tex-fancyvrb 
tex-hyphen-basque tex-hyphen-bulgarian tex-hyphen-catalan tex-hyphen-croatian 
tex-hyphen-czech tex-hyphen-danish tex-hyphen-dutch tex-hyphen-esperanto 
tex-hyphen-estonian tex-hyphen-finnish tex-hyphen-french tex-hyphen-german 
tex-hyphen-greek tex-hyphen-hungarian tex-hyphen-icelandic 
tex-hyphen-indonesian tex-hyphen-irish tex-hyphen-italian tex-hyphen-latin 
tex-hyphen-norwegian tex-hyphen-polish tex-hyphen-portuguese 
tex-hyphen-romanian tex-hyphen-russian tex-hyphen-serbian tex-hyphen-slovak 
tex-hyphen-slovenian tex-hyphen-spanish tex-hyphen-swedish tex-hyphen-turkish 
tex-ukrhyph tex-hyphen-ukrainian tex-hyphenat tex-jurabib tex-listings 
tex-manfnt tex-memoir tex-microtype tex-pdfpages tex-pstricks tex-pst-node 
tex-psgo tex-pst-3d tex-pst-plot tex-pst-3dplot te
 x-pst-blur tex-pst-circ tex-pst-coil tex-pst-eps tex-pst-fill tex-pst-ghsb 
tex-pst-gr3d tex-pst-grad tex-pst-geo tex-pst-lens tex-pst-math tex-pst-osci 
tex-pst-poly tex-pst-slpe tex-pst-text tex-pst-tree tex-pst-uml tex-pst-vue3d 
tex-pstricks-add tex-rotating tex-soul tex-stmaryrd tex-subfig tex-t2 
tex-titlesec tex-tocbibind tex-tocloft tex-xypic teTeX-texmf teTeX-bin p5-SDL 
frozen-bubble audacious-plugins mc]
RR> Building dependency graph for installed packages
RR> Tsorting dependency graph
RR> Selecting tex-tetex (print/tex-tetex) as next package to replace
RR> Checking if tex-tetex has new depends...
RR> tex-tetex has the following new depends (need to re-tsort):
rr> [tex-texlive.infra perl]
RR> Tsorting dependency graph
RR> Selecting tex-tetex (print/tex-tetex) as next package to replace
RR> Replacing tex-tetex-3.0.21248
===> Cleaning for tex-tetex-3.0.24482
=> Bootstrap dependency digest>=20010302: found digest-20111104
WARNING: [license.mk] Every package should define a LICENSE.
=> Checksum SHA1 OK for tex-tetex-24482/tetex.tar.xz
=> Checksum RMD160 OK for tex-tetex-24482/tetex.tar.xz
===> Installing dependencies for tex-tetex-3.0.24482
=> Build dependency checkperms>=1.1: found checkperms-1.11
=> Full dependency tex-texlive.infra-[0-9]*: found tex-texlive.infra-2011
=> Full dependency kpathsea>=3.5.7: found kpathsea-6.0.1nb1
=> Full dependency perl>=5.0: found perl-5.14.2nb3
===> Overriding tools for tex-tetex-3.0.24482
===> Extracting for tex-tetex-3.0.24482
if [ -d /usr/pkgsrc/print/tex-tetex/work/texmf ]; then  /usr/bin/find 
/usr/pkgsrc/print/tex-tetex/work/texmf -type d -exec /bin/chmod 755 {} \; ;  
/usr/bin/find /usr/pkgsrc/print/tex-tetex/work/texmf -type f -exec /bin/chmod 
644 {} \; ;  fi
if [ -d /usr/pkgsrc/print/tex-tetex/work/texmf-dist ]; then  /usr/bin/find 
/usr/pkgsrc/print/tex-tetex/work/texmf-dist -type d -exec /bin/chmod 755 {} \; 
;  /usr/bin/find /usr/pkgsrc/print/tex-tetex/work/texmf-dist -type f -exec 
/bin/chmod 644 {} \; ;  fi
if [ -d /usr/pkgsrc/print/tex-tetex/work/texmf/doc/info ]; then  /bin/rm -f 
/usr/pkgsrc/print/tex-tetex/work/texmf/doc/info/dir;  /bin/mkdir -p 
/usr/pkgsrc/print/tex-tetex/work/info;  /bin/mv 
/usr/pkgsrc/print/tex-tetex/work/texmf/doc/info/* 
/usr/pkgsrc/print/tex-tetex/work/info;  /bin/rmdir -p 
/usr/pkgsrc/print/tex-tetex/work/texmf/doc/info || true;  fi
if [ -d /usr/pkgsrc/print/tex-tetex/work/texmf/doc/man ]; then  /bin/mkdir -p 
/usr/pkgsrc/print/tex-tetex/work/man;  /bin/mv 
/usr/pkgsrc/print/tex-tetex/work/texmf/doc/man/* 
/usr/pkgsrc/print/tex-tetex/work/man;  /usr/bin/find 
/usr/pkgsrc/print/tex-tetex/work/man -name \*.pdf -exec /bin/rm {} \; ;  
/bin/rmdir -p /usr/pkgsrc/print/tex-tetex/work/texmf/doc/man || true;  fi
/bin/mkdir -p /usr/pkgsrc/print/tex-tetex/work/bin
/bin/mv /usr/pkgsrc/print/tex-tetex/work/texmf/scripts/tetex/updmap-sys.sh  
/usr/pkgsrc/print/tex-tetex/work/bin/updmap-sys
/bin/mv /usr/pkgsrc/print/tex-tetex/work/texmf/scripts/tetex/updmap.pl 
/usr/pkgsrc/print/tex-tetex/work/bin/updmap
/bin/rmdir -p /usr/pkgsrc/print/tex-tetex/work/texmf/scripts/tetex 2>/dev/null 
|| true
===> Patching for tex-tetex-3.0.24482
=> Applying pkgsrc patches for tex-tetex-3.0.24482
===> Creating toolchain wrappers for tex-tetex-3.0.24482
===> Configuring for tex-tetex-3.0.24482
=> Setting paths to commands.
=> Replacing Perl interpreter in bin/updmap.
=> Replacing sh interpreter in bin/updmap-sys.
=> Checking for portability problems in extracted files
===> Installing for tex-tetex-3.0.24482
=> Generating pre-install file lists
if [ -d /usr/pkgsrc/print/tex-tetex/work/texmf ]; then  cd 
/usr/pkgsrc/print/tex-tetex/work &&  /bin/mkdir -p 
/usr/pkgsrc/print/tex-tetex/work/.destdir/usr/pkg/share &&  pax -rwpm -s 
',.*\.orig$,,'  texmf /usr/pkgsrc/print/tex-tetex/work/.destdir/usr/pkg/share;  
fi
if [ -d /usr/pkgsrc/print/tex-tetex/work/texmf-dist ]; then  cd 
/usr/pkgsrc/print/tex-tetex/work &&  /bin/mkdir -p 
/usr/pkgsrc/print/tex-tetex/work/.destdir/usr/pkg/share &&  pax -rwpm -s 
',.*\.orig$,,'  texmf-dist 
/usr/pkgsrc/print/tex-tetex/work/.destdir/usr/pkg/share;  fi
if [ -d /usr/pkgsrc/print/tex-tetex/work/bin ]; then  /usr/bin/find 
/usr/pkgsrc/print/tex-tetex/work/bin -name \*.orig -exec /bin/rm {} \; ;  
/usr/bin/install -d -o bsiegert -g users -m 755 
/usr/pkgsrc/print/tex-tetex/work/.destdir/usr/pkg/bin;  for script in 
/usr/pkgsrc/print/tex-tetex/work/bin/*; do  /usr/bin/install -c -o bsiegert -g 
users -m 755 $script /usr/pkgsrc/print/tex-tetex/work/.destdir/usr/pkg/bin;  
done;  fi
if [ -d /usr/pkgsrc/print/tex-tetex/work/info ]; then  /usr/bin/find 
/usr/pkgsrc/print/tex-tetex/work/info -name \*.orig -exec /bin/rm {} \; ;  
/usr/bin/install -d -o bsiegert -g users -m 755 
/usr/pkgsrc/print/tex-tetex/work/.destdir/usr/pkg/info;  for script in 
/usr/pkgsrc/print/tex-tetex/work/info/*; do  /usr/bin/install -c -o bsiegert -g 
users -m 644 $script /usr/pkgsrc/print/tex-tetex/work/.destdir/usr/pkg/info;  
done;  fi
if [ -d /usr/pkgsrc/print/tex-tetex/work/man ]; then  /usr/bin/find 
/usr/pkgsrc/print/tex-tetex/work/man -name \*.orig -exec /bin/rm {} \; ;  
/usr/bin/install -d -o bsiegert -g users -m 755 -p 
/usr/pkgsrc/print/tex-tetex/work/.destdir/usr/pkg/man;  for f in 
/usr/pkgsrc/print/tex-tetex/work/man/*; do  
d=/usr/pkgsrc/print/tex-tetex/work/.destdir/usr/pkg/man/`/usr/bin/basename $f`; 
 /usr/bin/install -d -o bsiegert -g users -m 755 $d;  /usr/bin/install -c -o 
bsiegert -g users -m 644 $f/* $d;  done;  fi
=> Automatic manual page handling
=> Generating post-install file lists
=> Checking file-check results for tex-tetex-3.0.24482
=> Checking for non-existent script interpreters in tex-tetex-3.0.24482
=> Checking file permissions in tex-tetex-3.0.24482
=> Checking for missing run-time search paths in tex-tetex-3.0.24482
=> Checking for work-directory references in tex-tetex-3.0.24482
===> Building binary package for tex-tetex-3.0.24482
=> Creating binary package /usr/pkgsrc/packages/All/tex-tetex-3.0.24482.tgz
===> Replacing for tex-tetex-3.0.24482
WARNING: experimental target - DATA LOSS MAY OCCUR.
=> Becoming ``root'' to make su-replace (/usr/pkg/bin/sudo)
Creating binary package: tex-tetex-3.0.21248
Creating package /usr/pkgsrc/print/tex-tetex/work/tex-tetex-3.0.21248
===> Updating using binary package of tex-tetex-3.0.24482
/usr/sbin/pkg_add -K /var/db/pkg -U -D 
/usr/pkgsrc/packages/All/tex-tetex-3.0.24482.tgz
pkg_add: Package `tex-tetex-3.0.24482' conflicts with `texlive-tetex<2011', and 
`texlive-tetex-2010' is installed.
pkg_add: 1 package addition failed
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/print/tex-tetex
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/print/tex-tetex
WARNING: *** Please consider adding c to USE_LANGUAGES in the package Makefile.
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/print/tex-tetex

>How-To-Repeat:

>Fix:
Short term solution: dependency information of texlive-tetex and/or tex-tetex 
should be fixed. 



Home | Main Index | Thread Index | Old Index