From owner-freebsd-ports Tue Oct 29 15:30: 7 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 18E9C37B401 for ; Tue, 29 Oct 2002 15:30:03 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 955EC43E77 for ; Tue, 29 Oct 2002 15:30:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g9TNU1x3052289 for ; Tue, 29 Oct 2002 15:30:01 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g9TNU1UV052288; Tue, 29 Oct 2002 15:30:01 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE50937B401 for ; Tue, 29 Oct 2002 15:25:34 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C4BC43E88 for ; Tue, 29 Oct 2002 15:25:34 -0800 (PST) (envelope-from adamw@FreeBSD.org) Received: from freefall.freebsd.org (adamw@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g9TNPYx3052123 for ; Tue, 29 Oct 2002 15:25:34 -0800 (PST) (envelope-from adamw@freefall.freebsd.org) Received: (from adamw@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g9TNPY48052122; Tue, 29 Oct 2002 15:25:34 -0800 (PST) Message-Id: <200210292325.g9TNPY48052122@freefall.freebsd.org> Date: Tue, 29 Oct 2002 15:25:34 -0800 (PST) From: Reply-To: To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/44714: qt30 build fails with WITH_IMAGE_PLUGINS (needs -lpng) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 44714 >Category: ports >Synopsis: qt30 build fails with WITH_IMAGE_PLUGINS (needs -lpng) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 29 15:30:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: >Release: FreeBSD 4.7-STABLE i386 >Organization: >Environment: System: FreeBSD smacky.vectors.cx 4.7-STABLE FreeBSD 4.7-STABLE #7: Wed Oct 23 23:24:06 PDT 2002 root@smacky.vectors.cx:/usr/src/sys/compile/smacky i386 >Description: The latest qt30 build fails when WITH_IMAGE_PLUGINS is defined. It works fine when it's not defined. It's not linking against -lpng. From early in the build: Configuration ....... nocrosscompiler minimal-config small-config medium-config large-config full-config styles tools kernel widgets dialogs iconview workspace network canvas table xml opengl sql release dll thread system-jpeg system-mng system-png gif system-zlib bigcodecs x11sm xinerama xrender xftfreetype xkb STL support ......... no Thread support ...... yes GIF support ......... yes MNG support ......... plugin (system) JPEG support ........ plugin (system) PNG support ......... plugin (system) OpenGL support ...... yes NAS sound support ... no Session management .. yes Xinerama support .... yes Tablet support ...... no XRender support ..... yes XftFreeType support . yes XKB Support ......... yes Here is a dump of the failure. Script started on Tue Oct 29 15:00:51 2002 root@smacky:/usr/ports/x11-toolkits/qt30# make -DWITH_IMAGE_PLUGINS ===> Building for qt-3.0.5_4 gmake[2]: Leaving directory `/usr/ports/x11-toolkits/qt30/work/qt-x11-free-3.0.5/tools/qtconfig' gmake[1]: Leaving directory `/usr/ports/x11-toolkits/qt30/work/qt-x11-free-3.0.5/tools' cd /usr/ports/x11-toolkits/qt30/work/qt-x11-free-3.0.5/tools/makeqpf/; /usr/bin/env QTDIR=/usr/ports/x11-toolkits/qt30/work/qt-x11-free-3.0.5 LD_LIBRARY_PATH=/usr/ports/x11-toolkits/qt30/work/qt-x11-free-3.0.5/lib SHELL=/bin/sh PORTOBJFORMAT=elf PREFIX=/usr/X11R6 LOCALBASE=/usr/local X11BASE=/usr/X11R6 MOTIFLIB="-L/usr/X11R6/lib -lXm -lXp" LIBDIR="/usr/lib" CFLAGS="-O -pipe -march=pentiumpro" CXXFLAGS=" -O -pipe -march=pentiumpro" BSD_INSTALL_PROGRAM="install -c -s -o root -g wheel -m 555" BSD_INSTALL_SCRIPT="install -c -o root -g wheel -m 555" BSD_INSTALL_DATA="install -c -o root -g wheel -m 444" BSD_INSTALL_MAN="install -c -o root -g wheel -m 444" make cd /usr/ports/x11-toolkits/qt30/work/qt-x11-free-3.0.5/tools/mergetr/; /usr/bin/env QTDIR=/usr/ports/x11-toolkits/qt30/work/qt-x11-free-3.0.5 LD_LIBRARY_PATH=/usr/ports/x11-toolkits/qt30/work/qt-x11-free-3.0.5/lib SHELL=/bin/sh PORTOBJFORMAT=elf PREFIX=/usr/X11R6 LOCALBASE=/usr/local X11BASE=/usr/X11R6 MOTIFLIB="-L/usr/X11R6/lib -lXm -lXp" LIBDIR="/usr/lib" CFLAGS="-O -pipe -march=pentiumpro" CXXFLAGS=" -O -pipe -march=pentiumpro" BSD_INSTALL_PROGRAM="install -c -s -o root -g wheel -m 555" BSD_INSTALL_SCRIPT="install -c -o root -g wheel -m 555" BSD_INSTALL_DATA="install -c -o root -g wheel -m 444" BSD_INSTALL_MAN="install -c -o root -g wheel -m 444" make cd /usr/ports/x11-toolkits/qt30/work/qt-x11-free-3.0.5/tools/msg2qm/; /usr/bin/env QTDIR=/usr/ports/x11-toolkits/qt30/work/qt-x11-free-3.0.5 LD_LIBRARY_PATH=/usr/ports/x11-toolkits/qt30/work/qt-x11-free-3.0.5/lib SHELL=/bin/sh PORTOBJFORMAT=elf PREFIX=/usr/X11R6 LOCALBASE=/usr/local X11BASE=/usr/X11R6 MOTIFLIB="-L/usr/X11R6/lib -lXm -lXp" LIBDIR="/usr/lib" CFLAGS="-O -pipe -march=pentiumpro" CXXFLAGS=" -O -pipe -march=pentiumpro" BSD_INSTALL_PROGRAM="install -c -s -o root -g wheel -m 555" BSD_INSTALL_SCRIPT="install -c -o root -g wheel -m 555" BSD_INSTALL_DATA="install -c -o root -g wheel -m 444" BSD_INSTALL_MAN="install -c -o root -g wheel -m 444" make cd /usr/ports/x11-toolkits/qt30/work/qt-x11-free-3.0.5/tools/qembed/; /usr/bin/env QTDIR=/usr/ports/x11-toolkits/qt30/work/qt-x11-free-3.0.5 LD_LIBRARY_PATH=/usr/ports/x11-toolkits/qt30/work/qt-x11-free-3.0.5/lib SHELL=/bin/sh PORTOBJFORMAT=elf PREFIX=/usr/X11R6 LOCALBASE=/usr/local X11BASE=/usr/X11R6 MOTIFLIB="-L/usr/X11R6/lib -lXm -lXp" LIBDIR="/usr/lib" CFLAGS="-O -pipe -march=pentiumpro" CXXFLAGS=" -O -pipe -march=pentiumpro" BSD_INSTALL_PROGRAM="install -c -s -o root -g wheel -m 555" BSD_INSTALL_SCRIPT="install -c -o root -g wheel -m 555" BSD_INSTALL_DATA="install -c -o root -g wheel -m 444" BSD_INSTALL_MAN="install -c -o root -g wheel -m 444" make cd /usr/ports/x11-toolkits/qt30/work/qt-x11-free-3.0.5/tools/qvfb/; /usr/bin/env QTDIR=/usr/ports/x11-toolkits/qt30/work/qt-x11-free-3.0.5 LD_LIBRARY_PATH=/usr/ports/x11-toolkits/qt30/work/qt-x11-free-3.0.5/lib SHELL=/bin/sh PORTOBJFORMAT=elf PREFIX=/usr/X11R6 LOCALBASE=/usr/local X11BASE=/usr/X11R6 MOTIFLIB="-L/usr/X11R6/lib -lXm -lXp" LIBDIR="/usr/lib" CFLAGS="-O -pipe -march=pentiumpro" CXXFLAGS=" -O -pipe -march=pentiumpro" BSD_INSTALL_PROGRAM="install -c -s -o root -g wheel -m 555" BSD_INSTALL_SCRIPT="install -c -o root -g wheel -m 555" BSD_INSTALL_DATA="install -c -o root -g wheel -m 444" BSD_INSTALL_MAN="install -c -o root -g wheel -m 444" make c++ -fno-exceptions -pthread -o qvfb .obj/release-shared-mt/qvfb.o .obj/release-shared-mt/qvfbview.o .obj/release-shared-mt/qvfbratedlg.o .obj/release-shared-mt/main.o .obj/release-shared-mt/qanimationwriter.o .obj/release-shared-mt/skin.o .obj/release-shared-mt/config.o .obj/release-shared-mt/moc_qvfb.o .obj/release-shared-mt/moc_qvfbview.o .obj/release-shared-mt/moc_qvfbratedlg.o .obj/release-shared-mt/moc_gammaview.o .obj/release-shared-mt/moc_config.o -L/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/ports/x11-toolkits/qt30/work/qt-x11-free-3.0.5/lib -L/usr/ports/x11-toolkits/qt30/work/qt-x11-free-3.0.5/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -lqt-mt -lGLU -lGL -lXmu -lICE -lSM -lXext -lX11 -lm -lXinerama -lXrender -lXft -lfreetype .obj/release-shared-mt/qanimationwriter.o: In function `QAnimationWriterMNG::begin_png(void)': .obj/release-shared-mt/qanimationwriter.o(.gnu.linkonce.t.begin_png__19QAnimationWriterMNG+0x16): undefined reference to `png_create_write_struct' .obj/release-shared-mt/qanimationwriter.o(.gnu.linkonce.t.begin_png__19QAnimationWriterMNG+0x22): undefined reference to `png_create_info_struct' .obj/release-shared-mt/qanimationwriter.o(.gnu.linkonce.t.begin_png__19QAnimationWriterMNG+0x36): undefined reference to `png_set_compression_level' .obj/release-shared-mt/qanimationwriter.o(.gnu.linkonce.t.begin_png__19QAnimationWriterMNG+0x47): undefined reference to `png_set_write_fn' .obj/release-shared-mt/qanimationwriter.o: In function `QAnimationWriterMNG::setImage(QImage const &)': .obj/release-shared-mt/qanimationwriter.o(.gnu.linkonce.t.setImage__19QAnimationWriterMNGRC6QImage+0xb3): undefined reference to `png_write_chunk' .obj/release-shared-mt/qanimationwriter.o: In function `QAnimationWriterMNG::composeImage(QImage const &, QPoint const &)': .obj/release-shared-mt/qanimationwriter.o(.gnu.linkonce.t.composeImage__19QAnimationWriterMNGRC6QImageRC6QPoint+0x48): undefined reference to `png_write_chunk' .obj/release-shared-mt/qanimationwriter.o(.gnu.linkonce.t.composeImage__19QAnimationWriterMNGRC6QImageRC6QPoint+0x60): undefined reference to `png_set_sig_bytes' .obj/release-shared-mt/qanimationwriter.o(.gnu.linkonce.t.composeImage__19QAnimationWriterMNGRC6QImageRC6QPoint+0x97): undefined reference to `png_set_IHDR' .obj/release-shared-mt/qanimationwriter.o(.gnu.linkonce.t.composeImage__19QAnimationWriterMNGRC6QImageRC6QPoint+0xaa): undefined reference to `png_write_info' .obj/release-shared-mt/qanimationwriter.o(.gnu.linkonce.t.composeImage__19QAnimationWriterMNGRC6QImageRC6QPoint+0xd5): undefined reference to `png_set_filler' .obj/release-shared-mt/qanimationwriter.o(.gnu.linkonce.t.composeImage__19QAnimationWriterMNGRC6QImageRC6QPoint+0xee): undefined reference to `png_set_bgr' .obj/release-shared-mt/qanimationwriter.o(.gnu.linkonce.t.composeImage__19QAnimationWriterMNGRC6QImageRC6QPoint+0x137): undefined reference to `png_write_image' .obj/release-shared-mt/qanimationwriter.o(.gnu.linkonce.t.composeImage__19QAnimationWriterMNGRC6QImageRC6QPoint+0x15a): undefined reference to `png_write_end' .obj/release-shared-mt/qanimationwriter.o(.gnu.linkonce.t.composeImage__19QAnimationWriterMNGRC6QImageRC6QPoint+0x16d): undefined reference to `png_destroy_write_struct' .obj/release-shared-mt/qanimationwriter.o(.gnu.linkonce.t.composeImage__19QAnimationWriterMNGRC6QImageRC6QPoint+0x180): undefined reference to `png_create_write_struct' .obj/release-shared-mt/qanimationwriter.o(.gnu.linkonce.t.composeImage__19QAnimationWriterMNGRC6QImageRC6QPoint+0x18c): undefined reference to `png_create_info_struct' .obj/release-shared-mt/qanimationwriter.o(.gnu.linkonce.t.composeImage__19QAnimationWriterMNGRC6QImageRC6QPoint+0x1a0): undefined reference to `png_set_compression_level' .obj/release-shared-mt/qanimationwriter.o(.gnu.linkonce.t.composeImage__19QAnimationWriterMNGRC6QImageRC6QPoint+0x1b1): undefined reference to `png_set_write_fn' .obj/release-shared-mt/qanimationwriter.o: In function `QAnimationWriterMNG::end_png(void)': .obj/release-shared-mt/qanimationwriter.o(.gnu.linkonce.t.end_png__19QAnimationWriterMNG+0x15): undefined reference to `png_destroy_write_struct' .obj/release-shared-mt/qanimationwriter.o: In function `QAnimationWriterMNG::write(png_struct_def *, unsigned char *, unsigned int)': .obj/release-shared-mt/qanimationwriter.o(.gnu.linkonce.t.write__19QAnimationWriterMNGP14png_struct_defPUcUi+0x16): undefined reference to `png_get_io_ptr' .obj/release-shared-mt/qanimationwriter.o: In function `QAnimationWriterMNG::writeMEND(void)': .obj/release-shared-mt/qanimationwriter.o(.gnu.linkonce.t.writeMEND__19QAnimationWriterMNG+0x17): undefined reference to `png_write_chunk' *** Error code 1 Stop in /usr/ports/x11-toolkits/qt30/work/qt-x11-free-3.0.5/tools/qvfb. *** Error code 1 Stop in /usr/ports/x11-toolkits/qt30. zsh: 98675 exit 1 make -DWITH_IMAGE_PLUGINS --- qt30fail ends here --- >How-To-Repeat: cd /usr/ports/x11-toolkits/qt30 && make -DWITH_IMAGE_PLUGINS >Fix: When WITH_IMAGE_PLUGINS is defined, qt30 still needs to link against libpng. I can't plunk out code until I finish my anthropology exam, but I thought I'd at least report the issue. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message