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 <SNIP> 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 --- 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. How-To-Repeat: cd /usr/ports/x11-toolkits/qt30 && make -DWITH_IMAGE_PLUGINS
Responsible Changed From-To: freebsd-ports->kde Over to maintainers.
State Changed From-To: open->closed Removed WITH_IMAGE_PLUGINS, since it is just one more thing to worry about when people report problems. This gives us a more standard config. Fixed.