Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127027 - imagemagick ebuilds should use xml USE flag, not xml2
Summary: imagemagick ebuilds should use xml USE flag, not xml2
Status: RESOLVED DUPLICATE of bug 116346
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-20 18:38 UTC by Wilbur Pan
Modified: 2006-03-20 23:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wilbur Pan 2006-03-20 18:38:43 UTC
I was mucking around my system, seeing what twiddling USE flags would get me, and I saw this:

# emerge -DNuvp world

These are the packages that would be merged, in order:

Calculating world dependencies... done!
[ebuild   R   ] net-misc/neon-0.25.5  USE="expat* ssl zlib" 0 kB 
[ebuild   R   ] app-text/ghostscript-esp-8.15.1  USE="X cups gtk xml* -cjk -emacs -threads" 7,576 kB 
[ebuild   R   ] net-fs/samba-3.0.21c  USE="cups pam python readline swat xml* -acl -async -automount -doc -examples -kerberos -ldap -ldapsam -libclamav -mysql -oav -postgres -quotas -syslog -winbind -xml2*" 17,146 kB 
[ebuild   R   ] media-gfx/imagemagick-6.2.6.0  USE="X bzip2 jpeg lcms mpeg perl png tiff truetype zlib -doc -fpx -graphviz -gs -jbig -minimal -nocxx -wmf -xml2*" 5,018 kB 

According to the documentation, xml2 is deprecated, but imagemagick still uses it to build in XML support (pulls in dev-libs/libxml2-2.4.10).  This probably should be changed to the xml USE flag, like in the net-fs/samba/samba-3.0.21c ebuild.

The problem is that if my USE flags are set to suggested guidelines (+xml for xml support, -xml2 because it's deprecated), ebuilds that follow this convention (samba) have xml support, but ebuilds that don't (imagemagick) won't.

It also appears that previous versions of imagemagick have the same issue.
Comment 1 Wilbur Pan 2006-03-20 18:39:36 UTC
# emerge --info
Portage 2.1_pre6-r5 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.4-r1, 2.6.15-gentoo-r7 i686)
=================================================================
System uname: 2.6.15-gentoo-r7 i686 Pentium III (Coppermine)
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [disabled]
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 X aac acpi alsa artworkextra asf avi bash-completion berkdb bitmap-fonts bonobo bzip2 cairo cdr cli crypt ctype cups curl dba dbus dga dlloader dri eds emboss encode expat fam fastbuild firefox flac foomaticdb force-cgi-redirect fortran ftp gd gecko-sdk gif gimpprint gnome gpm gstreamer gtk gtk2 gtkhtml hal imlib imlib2 ipv6 java jpeg lcms libg++ libwww mad memlimit mikmod mmx motif mozilla mp3 mpeg mysqli nas nautilus ncurses nls nntp nptl nptlonly nsplugin objc offensive ogg opengl pam pcre pda pdflib perl png posix python quicktime rage128 readline real reiserfs rtc samba sdl session simplexml soap sockets spell spl sse ssl svg swat symlink tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb vorbis win32codecs xine xml xmms xsl xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nv video_cards_vga video_cards_vesa"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-03-20 23:16:06 UTC

*** This bug has been marked as a duplicate of 116346 ***