Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 548992 - www-client/firefox-37.0.2 requires media-libs/libpng >= 1.6.16
Summary: www-client/firefox-37.0.2 requires media-libs/libpng >= 1.6.16
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-09 09:37 UTC by Thomas Raschbacher
Modified: 2015-11-24 14:52 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 Thomas Raschbacher gentoo-dev 2015-05-09 09:37:50 UTC
configure:15659:23: error: #error "Insufficient libpng version (10616 required).

looks like a dep needs updating there (sorry i don't have the complete log anymore but I recon this is enough anyway)
Comment 1 charles17 2015-05-10 12:42:52 UTC
(In reply to Thomas Raschbacher from comment #0)
> configure:15659:23: error: #error "Insufficient libpng version (10616
> required).
> 
> looks like a dep needs updating there (sorry i don't have the complete log
> anymore but I recon this is enough anyway)

WFM, cannot reproduce that error.
Comment 2 Ian Stakenvicius (RETIRED) gentoo-dev 2015-05-11 14:40:40 UTC

*** This bug has been marked as a duplicate of bug 548916 ***
Comment 3 Ian Stakenvicius (RETIRED) gentoo-dev 2015-05-11 14:41:50 UTC
Sorry, wrong bug; this is not a dupe.
Comment 4 Thomas Raschbacher gentoo-dev 2015-11-24 12:22:15 UTC
It can also be seen in the configure.in source

http://mxr.mozilla.org/mozilla-central/source/configure.in

copy paste of the above link

51 dnl Set the version number of the libs included with mozilla
52 dnl ========================================================
53 MOZJPEG=62
54 MOZPNG=10617
55 NSPR_VERSION=4
56 NSPR_MINVER=4.11
57 NSS_VERSION=3

this is checked for later if the user uses system libpng instead of the bundled one:

3557 dnl ========================================================
3558 dnl system PNG Support
3559 dnl ========================================================
3560 MOZ_ARG_WITH_STRING(system-png,
3561 [  --with-system-png[=PFX]
3562                           Use system libpng [installed at prefix PFX]],
3563     PNG_DIR=$withval)
3564 
3565 _SAVE_CFLAGS=$CFLAGS
3566 _SAVE_LDFLAGS=$LDFLAGS
3567 _SAVE_LIBS=$LIBS
3568 if test -n "${PNG_DIR}" -a "${PNG_DIR}" != "yes"; then
3569     CFLAGS="-I${PNG_DIR}/include $CFLAGS"
3570     LDFLAGS="-L${PNG_DIR}/lib $LDFLAGS"
3571 fi
3572 if test -z "$PNG_DIR" -o "$PNG_DIR" = no; then
3573     MOZ_NATIVE_PNG=
3574 else
3575     AC_CHECK_LIB(png, png_get_valid, [MOZ_NATIVE_PNG=1 MOZ_PNG_LIBS="-lpng"],
3576                  AC_MSG_ERROR([--with-system-png requested but no working libpng found]))
3577     AC_CHECK_LIB(png, png_get_acTL, ,
3578                  AC_MSG_ERROR([--with-system-png won't work because the system's libpng doesn't have APNG support]))
3579 fi
3580 if test "$MOZ_NATIVE_PNG" = 1; then
3581     AC_TRY_COMPILE([ #include <stdio.h>
3582                      #include <sys/types.h>
3583                      #include <png.h> ],
3584                    [ #if PNG_LIBPNG_VER < $MOZPNG
3585                      #error "Insufficient libpng version ($MOZPNG required)."
3586                      #endif
3587                      #ifndef PNG_UINT_31_MAX
3588                      #error "Insufficient libpng version."
3589                      #endif ],
3590                    MOZ_NATIVE_PNG=1,
Comment 5 Ian Stakenvicius (RETIRED) gentoo-dev 2015-11-24 14:52:58 UTC
Version has been long removed, closing.