Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 356907 - Please stabilize dev-tcltk/tkimg-1.4-r1 (was: fails to compile because of jbig problems)
Summary: Please stabilize dev-tcltk/tkimg-1.4-r1 (was: fails to compile because of jbi...
Status: RESOLVED DUPLICATE of bug 385997
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: TCL/TK Project
URL:
Whiteboard:
Keywords: STABLEREQ
: 382019 392675 (view as bug list)
Depends on:
Blocks: 352051
  Show dependency tree
 
Reported: 2011-02-28 23:09 UTC by Jesper Saxtorph
Modified: 2012-02-24 22:20 UTC (History)
2 users (show)

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


Attachments
Patch to disable jbig (tkimg-1.4-nojbig.patch,918 bytes, patch)
2011-02-28 23:11 UTC, Jesper Saxtorph
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jesper Saxtorph 2011-02-28 23:09:10 UTC
I do not have jbig flag set.
However I use splix, which defaults to +jbig. This results in installation of the media-libs/jbigkit package.
jbigkit includes the file /usr/include/jbig.h, which are tested by tkimg to determine if it should use jbig support for libtiff.

No matter if media-libs/tiff is compiled with jbig support or not, a compile of tkimg will fail if it tries to enable support for jbig.

Some notes on bug #343525 describe the same issue, however since that bug is about a segfault I felt a new bug report was needed.

As a note, I have tried to compile without distcc and it makes no difference.

Reproducible: Always

Steps to Reproduce:

Actual Results:  
The relevant part of the compile is here:

gcc -shared -pipe -O2 -fomit-frame-pointer -Wall -Wwrite-strings -fPIC  -DTIFFTCLAPI=MODULE_SCOPE -DLOGLUV_PUBLIC=0 -Wl,--export-dynamic  -o libtifftcl3.9.4.so tifftcl.o tifftclStubInit.o tif_aux.o tif_close.o tif_codec.o tif_compress.o tif_dir.o tif_dirinfo.o tif_dirread.o tif_dirwrite.o tif_dumpmode.o tif_error.o tif_fax3.o tif_getimage.o tif_flush.o tif_luv.o tif_lzw.o tif_next.o tif_open.o tif_packbits.o tif_predict.o tif_print.o tif_read.o tif_swab.o tif_strip.o tif_thunder.o tif_tile.o tif_version.o tif_warning.o tif_write.o tif_color.o tif_extension.o tifftclStubLib.o tif_unix.o tif_fax3sm.o -lm  -L/usr/lib64 -ltclstub8.5 -L/usr/lib64 -ltkstub8.5 
tifftclStubInit.o:(.data.rel.ro+0x508): undefined reference to `TIFFInitJBIG'
tif_codec.o:(.data.rel+0x118): undefined reference to `TIFFInitJBIG'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: libtifftcl3.9.4.so: hidden symbol `TIFFInitJBIG' isn't defined
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status



# emerge --info
Portage 2.1.9.25 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.5, glibc-2.11.2-r3, 2.6.36-gentoo-r5-sax-r2 x86_64)
=================================================================
System uname: Linux-2.6.36-gentoo-r5-sax-r2-x86_64-AMD_Athlon-tm-_II_X2_250_Processor-with-gentoo-1.12.14
Timestamp of tree: Mon, 28 Feb 2011 00:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [enabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r2, 3.1.3-r1
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -msse3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -msse3 -O2 -pipe"
DISTDIR="/mnt/exports/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg distcc distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.uni-c.dk/pub/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo "
LANG="en_DK.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_GB da fr"
MAKEOPTS="-j5"
PKGDIR="/usr/local/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/local/layman/zugaina /usr/local/portage/local/layman/nx /usr/local/portage/local/layman/vmware"
SYNC="rsync://pigsinspace/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 amr apache2 ares audiofile avahi bash-completion berkdb blender-game bluetooth branding bzip2 cairo calendar caps cdda cddb cdio cdr cli consolekit cracklib crypt cscope css cups cvs cvsgraph cxx dbus device-mapper dmx doc dri dts dv dvb dvd dvdr emboss encode enscript exif expat expoblending faad fam fame ffmpeg fftw firefox flac fmod fontconfig foomaticdb fortran ftdi gdbm gdu gif gimp git glut gphoto2 gpm gtk gtkhtml gutenprint httpd hyperestraier iconv icu idn imagemagick imlib inotify ipv6 jack jadetex java jce joystick jpeg jpeg2k kde kipi kpathsea kvm lastfm latex lcms ldap libnotify libsamplerate lirc live lm_sensors logitech-mouse logrotate lvm lzma lzo mad maps matroska mdnsresponder-compat mercurial mikmod mjpeg mmap mmx mmxext mng modules mono mp3 mp3tunes mp4 mpeg mplayer mtp mudflap multilib mysql mythtv nas ncurses net netboot netjack network network-cron nfs nls nptl nptlonly nsplugin nxclient offensive ogg openal openexr opengl openmp pam pango parted pcre pda pdf pdo perl php png policykit posix ppds pppd pulseaudio python qemu qt3support qt4 quicktime rar rdesktop readline redeyes render rtc rtmp samba scanner schroedinger sdl semantic-desktop session shout slp smp sndfile snmp speex spell spyder2 sse sse2 sse3 ssl startup-notification stream subtitles subversion svg swat sysfs tcpd theora threadsafe tiff timidity tor tordns transcode transmitter truetype udev unicode upnp usb v4l v4l2 vaapi vcd vde vhosts vlm vmware_guest_linux vnc vorbis vpx wma wmf wxwindows x264 xcb xcomposite xft xine xinerama xiph xml xorg xosd xrandr xulrunner xv xvid yv12 zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev aiptek void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB da fr" LIRC_DEVICES="mceusb" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa fglrx" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jesper Saxtorph 2011-02-28 23:11:53 UTC
Created attachment 264211 [details, diff]
Patch to disable jbig

This "hack" disables jbig in tkimg and thus avoids the problem
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2011-07-21 18:52:29 UTC
Could you please test 1.4-r1 and reopen if this isn't fixed?


+*tkimg-1.4-r1 (21 Jul 2011)
+
+  21 Jul 2011; Justin Lecher <jlec@gentoo.org> +tkimg-1.4-r1.ebuild,
+  +files/tkimg-1.4-nojbig.patch:
+  Added patch for disabled jbig in bundled tiff, 356907; thanks Jesper
Saxtorph
+  for the patch; Probably also fixes 343525
+
Comment 3 Thomas Kahle (RETIRED) gentoo-dev 2011-09-29 11:48:57 UTC
*** Bug 382019 has been marked as a duplicate of this bug. ***
Comment 4 Thomas Kahle (RETIRED) gentoo-dev 2011-09-29 11:55:54 UTC
Please add arches to get this fix into the stable tree and avoid bug reports.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2011-10-08 08:34:22 UTC
Can't be done.

*** This bug has been marked as a duplicate of bug 385997 ***
Comment 6 Justin Lecher (RETIRED) gentoo-dev 2011-12-01 08:23:20 UTC
*** Bug 392675 has been marked as a duplicate of this bug. ***