Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 655080 - media-gfx/w3mimgfb-0.9.1 : /.../libstimg.so: undefined reference to png_set_longjmp_fn
Summary: media-gfx/w3mimgfb-0.9.1 : /.../libstimg.so: undefined reference to png_set_l...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-06 14:47 UTC by Toralf Förster
Modified: 2018-10-20 16:36 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.15 KB, text/plain)
2018-05-06 14:47 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,247.12 KB, text/plain)
2018-05-06 14:47 UTC, Toralf Förster
Details
environment (environment,38.61 KB, text/plain)
2018-05-06 14:47 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.00 KB, application/x-bzip)
2018-05-06 14:47 UTC, Toralf Förster
Details
media-gfx:w3mimgfb-0.9.1:20180506-140347.log (media-gfx:w3mimgfb-0.9.1:20180506-140347.log,5.39 KB, text/plain)
2018-05-06 14:47 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,10.98 KB, application/x-bzip)
2018-05-06 14:47 UTC, Toralf Förster
Details
Updated Makefile (Makefile,233 bytes, text/plain)
2018-07-01 23:04 UTC, Chris Torske
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-05-06 14:47:29 UTC
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -c -o fb_img.o fb_img.c
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -o w3mimgdisplayfb w3mimgdisplayfb.o fb.o fb_img.o -lstimg
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib64/libstimg.so: undefined reference to `png_set_longjmp_fn'
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib64/libstimg.so: undefined reference to `jpeg_destroy_decompress'
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib64/libstimg.so: undefined reference to `TIFFFdOpen'
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib64/libstimg.so: undefined reference to `TIFFClose'

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-systemd_20180501-115151

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:


emerge -qpv media-gfx/w3mimgfb
[ebuild  N    ] media-gfx/w3mimgfb-0.9.1
Comment 1 Toralf Förster gentoo-dev 2018-05-06 14:47:32 UTC
Created attachment 530188 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-05-06 14:47:35 UTC
Created attachment 530190 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-05-06 14:47:38 UTC
Created attachment 530192 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-05-06 14:47:41 UTC
Created attachment 530194 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-05-06 14:47:44 UTC
Created attachment 530196 [details]
media-gfx:w3mimgfb-0.9.1:20180506-140347.log
Comment 6 Toralf Förster gentoo-dev 2018-05-06 14:47:47 UTC
Created attachment 530198 [details]
temp.tbz2
Comment 7 Chris Torske 2018-07-01 23:02:19 UTC
After looking at the Makefile, I noticed it isn't even trying to link to any of the other libraries necessary (libpng, libtiff, and libjpeg).  Sadly, I am not good on making patch files, but I'll attach an updated Makefile that allows it to compile on my system (so someone can make the patch file).
Comment 8 Chris Torske 2018-07-01 23:04:05 UTC
Created attachment 538060 [details]
Updated Makefile
Comment 9 Larry the Git Cow gentoo-dev 2018-10-20 16:36:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49c4e24ad6284b415e2479fbb77a6e54037dfe0c

commit 49c4e24ad6284b415e2479fbb77a6e54037dfe0c
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2018-10-20 16:00:19 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2018-10-20 16:35:38 +0000

    media-gfx/w3mimgfb: Fix linking issues (#655080 by Chris Torske)
    
    Closes: https://bugs.gentoo.org/655080
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 media-gfx/w3mimgfb/w3mimgfb-0.9.1.ebuild | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)