Summary: | sys-apps/lcdtest-1.08-r1 fails to build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andrew Savchenko <bircoph> |
Component: | New packages | Assignee: | Tony Vroon (RETIRED) <chainsaw> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | base-system, rose |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 287725 | ||
Bug Blocks: | |||
Attachments: | pipe data to sed |
Description
Andrew Savchenko
![]() Created attachment 212738 [details, diff]
pipe data to sed
Trivial fix.
Looks like commit from 07 Dec 2009 was never tested.
*** This bug has been marked as a duplicate of bug 287725 *** I reemerged media-libs/netpbm-10.46.00-r1 Then as Andrew pointed out changed this to; einfo "Generating font" pngtopnm 14P_Arial_Plain_Red.png > help_font.ppm || die pngtopnm failed ppmtoxpm -name `basename help_font.ppm .ppm`_xpm help_font.ppm | \ sed 's/static //;s/black/#000000/;s/magenta/#FF00FF/;s/#E40808/#009900/' > help_font.c || sed failed ebegin "Running final stage compilation" And it did install. Before the reinstall of media-libs/netpbm-10.46.00-r1 after I edited lcdtest-1.08-r1.ebuild I was getting; pngtopnm: fatal libpng error: Call to NULL read function pngtopnm: setjmp returns error condition emerge --info media-libs/netpbm sys-apps/lcdtest Portage 2.2_rc58 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.11-r1, 2.6.30-gentoo-r5 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.30-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q8200_@_2.33GHz-with-gentoo-2.0.1 Timestamp of tree: Sat, 12 Dec 2009 01:30:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.4 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.8.0 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.5.3 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.64 sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.20 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms split-log strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo http://open-systems.ufl.edu/mirrors/gentoo ftp://mirror.fslutd.org/linux/distributions/gentoo/ " LDFLAGS="-Wl,--as-needed" LINGUAS="en en_US" MAKEOPTS="-j5" PKGDIR="/usr/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/layman/perl-experimental /usr/local/portage/layman/gnome /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 apache2 avahi bash-completion berkdb bindist bluetooth branding bzip2 cairo cdda cddb cdparanoia cdr cdrtools cleartype cli colordiff consolekit corefonts cracklib crypt cups cxx dbus doc dri dts dvd dvdr eds emboss encode evo extras fam ffmpeg firefox firefox3 flac fontconfig foomaticdb fortran gdbm gif gimp git gnome gnutls gpm graphviz gstreamer gtk guidexml hal iconv imagemagick ipv6 jadetex jpeg kdrive ldap libnotify mad mdnsresponder-compat mikmod mmx modules mp3 mp4 mpeg mplayer mudflap multilib nautilus ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl plugins png ppds pppd python qt3support quicktime readline reflection sdl session sip slang spell spl sqlite sqlite3 sse sse2 ssl startup-notification subversion svg svgz sysfs tcpd themes theora thunar tiff tk totem truetype unicode usb v4l2 vim vim-syntax vim-with-x vorbis wav x264 xcomposite xft xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 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" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= media-libs/netpbm-10.46.00-r1 was built with the following: USE="X jpeg (multilib) png tiff xml zlib -jbig -jpeg2k -rle (-svga)" sys-apps/lcdtest-1.08-r1 was built with the following: USE="(multilib)" (In reply to comment #3) > pngtopnm: fatal libpng error: Call to NULL read function > pngtopnm: setjmp returns error condition Yes, due to the very broken netpbm ebuild in the tree I mistakenly thought that I committed a working sequence of commands. Apologies for the inconvenience caused. + 12 Dec 2009; <chainsaw@gentoo.org> lcdtest-1.08-r1.ebuild: + Reorder build sequence, improve visual feedback of build process. Respect + LDFLAGS. Address inadvertent build breakage reported by Andrew Savchenko + in bug #296556. 'emerge lcdtest' still fails with:
...
>>> Compiling source in /var/tmp/portage/sys-apps/lcdtest-1.08-r1/work/lcdtest-1.08 ...
* Generating font
pngtopnm: fatal libpng error: Call to NULL read function
pngtopnm: setjmp returns error condition
* ERROR: sys-apps/lcdtest-1.08-r1 failed:
Any news?
(In reply to comment #6) > 'emerge lcdtest' still fails with: > Any news? Fixed long ago (bug 287725) Corresponding to bug 287725 it should be fixed for >=netpbm-10.48.01. But I find only netpbm-10.48.00-r1 in the tree. (In reply to comment #8) > Corresponding to bug 287725 it should be fixed for >=netpbm-10.48.01. But I > find only netpbm-10.48.00-r1 in the tree. netpbm-10.48.00-r1 contains required patch. This is sufficient. Probably not my netpbm-10.48.00-r1: root@condor:/root(260)# emerge -v1 netpbm ... * GNU info directory index is up-to-date. * IMPORTANT: 1 config files in '/etc' need updating. * See the CONFIGURATION FILES section of the emerge * man page to learn how to update config files. root@condor:/root(261)# emerge -v1 lcdtest These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-apps/lcdtest-1.08-r1 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB >>> Verifying ebuild manifests >>> Emerging (1 of 1) sys-apps/lcdtest-1.08-r1 * lcdtest-1.08.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * CPV: sys-apps/lcdtest-1.08-r1 * REPO: gentoo * USE: amd64 elibc_glibc kernel_linux multilib userland_GNU >>> Unpacking source... >>> Unpacking lcdtest-1.08.tar.gz to /var/tmp/portage/sys-apps/lcdtest-1.08-r1/work * Applying 1.08-help-option.patch ... [ ok ] >>> Source unpacked in /var/tmp/portage/sys-apps/lcdtest-1.08-r1/work >>> Compiling source in /var/tmp/portage/sys-apps/lcdtest-1.08-r1/work/lcdtest-1.08 ... * Generating font pngtopnm: fatal libpng error: Call to NULL read function ... root@condor:/root(262)# type pngtopnm pngtopnm is /usr/bin/pngtopnm root@condor:/root(263)# ll /usr/bin/pngtopnm lrwxrwxrwx 1 root root 8 Feb 24 16:19 /usr/bin/pngtopnm -> pngtopam* root@condor:/root(264)# ll /usr/bin/pngtopam -rwxr-xr-x 1 root root 22760 Feb 24 16:19 /usr/bin/pngtopam* root@condor:/root(266)# genlop -t netpbm | tail Sun Dec 13 07:24:01 2009 >>> media-libs/netpbm-10.48.00-r1 merge time: 2 minutes and 15 seconds. Sat Feb 6 23:28:19 2010 >>> media-libs/netpbm-10.48.00-r1 merge time: 2 minutes and 3 seconds. Wed Feb 24 16:20:03 2010 >>> media-libs/netpbm-10.48.00-r1 merge time: 2 minutes and 14 seconds. You see I mad a fresh installation of netpbm-10.48.00-r1 and after that I tried to emerge lcdtest. Now with netpbm-10.49.00 I can emerge lcdtest. |