Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 498336 - reemerge of iscan-2.26.2 after upgrade to media-libs/libpng-1.6
Summary: reemerge of iscan-2.26.2 after upgrade to media-libs/libpng-1.6
Status: RESOLVED DUPLICATE of bug 486382
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-17 09:56 UTC by thorn
Modified: 2014-01-20 14:37 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 thorn 2014-01-17 09:56:43 UTC
Could not remerge iscan-2.26.2 or media-gfx/iscan-2.29.1.5 (Bug #486382) after upgrade to latest stable libpng-1.6.8

Reproducible: Always

Steps to Reproduce:
1.emerge @preserved-rebuild

Actual Results:  
/bin/sh ../libtool  --tag=CXX   --mode=link x86_64-pc-linux-gnu-g++ -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16  -march=core-avx-i -O2 -pipe -D_GNU_SOURCE  -Wl,-O1 -Wl,--as-needed -o iscan iscan-file-selector.o iscan-pisa_aleart_dialog.o iscan-pisa_change_unit.o iscan-pisa_configuration.o iscan-pisa_error.o iscan-pisa_gamma_correction.o iscan-pisa_gimp.o iscan-pisa_image_controls.o iscan-pisa_img_converter.o iscan-pisa_main.o iscan-pisa_main_window.o iscan-pisa_marquee.o iscan-pisa_preference.o iscan-pisa_preview_window.o iscan-pisa_progress_window.o iscan-pisa_sane_scan.o iscan-pisa_scan_manager.o iscan-pisa_scan_selector.o iscan-pisa_scan_tool.o iscan-pisa_settings.o iscan-pisa_tool.o iscan-pisa_view_manager.o iscan-xpm_data.o ../lib/libimage-stream.la -lsane -lltdl -lgtk-x11-2.0 -lgdk-x11-2.0  -lgobject-2.0 -lglib-2.0 ../non-free/libesmod.so -lsane -lusb 
libtool: link: x86_64-pc-linux-gnu-g++ -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -march=core-avx-i -O2 -pipe -D_GNU_SOURCE -Wl,-O1 -o iscan iscan-file-selector.o iscan-pisa_aleart_dialog.o iscan-pisa_change_unit.o iscan-pisa_configuration.o iscan-pisa_error.o iscan-pisa_gamma_correction.o iscan-pisa_gimp.o iscan-pisa_image_controls.o iscan-pisa_img_converter.o iscan-pisa_main.o iscan-pisa_main_window.o iscan-pisa_marquee.o iscan-pisa_preference.o iscan-pisa_preview_window.o iscan-pisa_progress_window.o iscan-pisa_sane_scan.o iscan-pisa_scan_manager.o iscan-pisa_scan_selector.o iscan-pisa_scan_tool.o iscan-pisa_settings.o iscan-pisa_tool.o iscan-pisa_view_manager.o iscan-xpm_data.o ../non-free/libesmod.so  -Wl,--as-needed ../lib/.libs/libimage-stream.a /usr/lib64/libltdl.so -ldl -lgtk-x11-2.0 -lgdk-x11-2.0 -lgobject-2.0 -lglib-2.0 -lsane -lusb -pthread
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: ../lib/.libs/libimage-stream.a(libimage_stream_la-pngstream.o): undefined reference to symbol 'png_set_longjmp_fn@@PNG16_0'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: note: 'png_set_longjmp_fn@@PNG16_0' is defined in DSO /usr/lib64/libpng16.so.16 so try adding it to the linker command line
/usr/lib64/libpng16.so.16: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[2]: *** [iscan] Error 1
make[2]: Leaving directory `/tmp/portage/media-gfx/iscan-2.26.2/work/iscan-2.26.2/frontend'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/portage/media-gfx/iscan-2.26.2/work/iscan-2.26.2'
make: *** [all] Error 2
emake failed
 * ERROR: media-gfx/iscan-2.26.2::gentoo failed (compile phase):
 *   emake failed
 * 
 * Call stack:
 *          ebuild.sh, line   93:  Called src_compile
 *        environment, line 3036:  Called __eapi2_src_compile
 *   phase-helpers.sh, line  688:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 * 
 * If you need support, post the output of `emerge --info '=media-gfx/iscan-2.26.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-gfx/iscan-2.26.2::gentoo'`.
 * The complete build log is located at '/tmp/portage/media-gfx/iscan-2.26.2/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/media-gfx/iscan-2.26.2/temp/environment'.
 * Working directory: '/tmp/portage/media-gfx/iscan-2.26.2/work/iscan-2.26.2'
 * S: '/tmp/portage/media-gfx/iscan-2.26.2/work/iscan-2.26.2'
>>> Failed to emerge media-gfx/iscan-2.26.2, Log file:
>>>  '/tmp/portage/media-gfx/iscan-2.26.2/temp/build.log'

Expected Results:  
normal compile :)

# emerge --info
Portage 2.2.7 (default/linux/amd64/13.0/desktop, gcc-4.7.3, glibc-2.17, 3.12.3-pf x86_64)
=================================================================
System uname: Linux-3.12.3-pf-x86_64-Intel-R-_Core-TM-_i7-4770S_CPU_@_3.10GHz-with-gentoo-2.2
KiB Mem:    16324252 total,  12972592 free
KiB Swap:   17826240 total,  17826240 free
Timestamp of tree: Fri, 17 Jan 2014 08:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5-r3, 3.3.2-r2
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo local
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core-avx-i -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core-avx-i -O2 -pipe"
DISTDIR="/arc/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.wheel.sk/ http://gentoo.inode.at/"
LANG="POSIX"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/arc/portage"
SYNC="rsync://rsync.sk.gentoo.org/gentoo-portage"
USE="64bit 7zip S3TC X a52 aac acpi aes-ni alsa amd64 apng audacious audiofile avx avx128fma avx256 berkdb branding bzip2 cairo cdda cddb cdparanoia cdr cdrom cli cracklib crypt css cups cxx dbus dri dts dvd dvdr emboss encode exif fam fat ffmpeg fftw firefox flac fma gdbm gif gimp glibc-omitfp glut gnutls gpm gsm gtk gzip iconv id3tag idn jpeg jpeg2k lame lcms lensfun lzma lzo mad maildir mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nsplugin ogg opengl openmp pam pango pcre pdf png portaudio ppds qt3support qt4 quicktime rar readline sdl session sip sndfile srt sse sse2 sse3 sse4 sse4_1 ssl ssse3 subtitles svg syslog system-cairo system-ffmpeg system-icu system-jpeg system-libs system-mdns system-qt system-sqlite theora threads tiff transcode truetype udev unicode upower usb userlocales v4l v4l2 vorbis vpx wavpack wxwidgets x264 xcb xml xmp xpm xv xvid zlib" ABI_X86="64" ALSA_CARDS="snd-hda-intel" APACHE2_MODULES="alias authz_default authz_host autoindex dav deflate dir expires filter headers include info log_config mime mime_magic negotiation rewrite setenvif so status userdir" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" 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 ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en sk" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18" SANE_BACKENDS="epson2" USERLAND="GNU" VIDEO_CARDS="intel i965" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 W. Trevor King 2014-01-17 21:08:45 UTC
I'm getting this same error.  I can post my build logs and emerge info to supplement thorn's if it would help triangulate the issue.
Comment 2 Matthew Schultz 2014-01-20 04:01:06 UTC
If iscan is version bumped in Bug 498524, this bug can be closed.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-01-20 14:37:09 UTC

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