[MacPorts] #28076: gavl @1.1.1 - build failure error linking with libpng
#28076: gavl @1.1.1 - build failure error linking with libpng ---------------------------------------+------------------------------------ Reporter: ibartoli@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gavl ---------------------------------------+------------------------------------ Error appeared during kdenlive installation Tried cleaning the port tree Tried reinstalling libpng Always same error {{{ $sudo port install gavl ---> Computing dependencies for gavl ---> Fetching gavl ---> Verifying checksum(s) for gavl ---> Extracting gavl ---> Configuring gavl ---> Building gavl Error: Target org.macports.build returned: shell command failed (see log for details) Log for gavl is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_gavl/main.log Error: Status 1 encountered during processing. }}} full log is attacched... the failing point look this: {{{ :info:build /bin/sh ../libtool --tag=CC --mode=link /usr/bin/gcc-4.2 -pipe -O2 -arch x86_64 -O3 -funroll-all-loops -fomit-frame-pointer -ffast-math -Wall -Wmissing-declarations -Wdeclaration-after-statement -mfpmath=387 -fvisibility=hidden -o convolvetest convolvetest.o pngutil.o ../gavl/libgavl.la -lpng -lz :info:build Undefined symbols: :info:build "_png_set_gray_1_2_4_to_8", referenced from: :info:build _read_png in blend_test.o :info:build ld: symbol(s) not found :info:build collect2: ld returned 1 exit status :info:build make[1]: *** [blend_test] Error 1 :info:build make[1]: *** Waiting for unfinished jobs.... :info:build libtool: link: /usr/bin/gcc-4.2 -pipe -O2 -arch x86_64 -O3 -funroll-all-loops -fomit-frame-pointer -ffast-math -Wall -Wmissing- declarations -Wdeclaration-after-statement -mfpmath=387 -fvisibility=hidden -o .libs/scaletest scaletest.o ../gavl/.libs/libgavl.dylib -lm /opt/local/lib/libpng14.dylib -L/opt/local/lib -lz :info:build libtool: link: /usr/bin/gcc-4.2 -pipe -O2 -arch x86_64 -O3 -funroll-all-loops -fomit-frame-pointer -ffast-math -Wall -Wmissing- declarations -Wdeclaration-after-statement -mfpmath=387 -fvisibility=hidden -o .libs/convolvetest convolvetest.o pngutil.o ../gavl/.libs/libgavl.dylib -lm /opt/local/lib/libpng14.dylib -L/opt/local/lib -lz :info:build Undefined symbols: :info:build "_png_set_gray_1_2_4_to_8", referenced from: :info:build _read_png in scaletest.o :info:build ld: symbol(s) not found :info:build collect2: ld returned 1 exit status :info:build Undefined symbols: :info:build "_png_set_gray_1_2_4_to_8", referenced frommake[1]: *** [scaletest] Error 1 :info:build : :info:build _read_png in pngutil.o :info:build ld: symbol(s) not found :info:build collect2: ld returned 1 exit status }}} -- Ticket URL: <https://trac.macports.org/ticket/28076> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28076: gavl @1.1.1 - build failure error linking with libpng ---------------------------------------+------------------------------------ Reporter: ibartoli@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gavl ---------------------------------------+------------------------------------ Changes (by ryandesign@…): * status: new => assigned * owner: macports-tickets@… => ryandesign@… -- Ticket URL: <https://trac.macports.org/ticket/28076#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28076: gavl @1.1.1 - build failure error linking with libpng ----------------------------------------+----------------------------------- Reporter: ibartoli@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: gavl | ----------------------------------------+----------------------------------- Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Comment: Fixed by updating gavl to 1.2.0 in r75323. Thanks for reporting the problem. -- Ticket URL: <https://trac.macports.org/ticket/28076#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28076: gavl @1.1.1 - build failure error linking with libpng ----------------------------------------+----------------------------------- Reporter: ibartoli@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: gavl | ----------------------------------------+----------------------------------- Comment(by jmr@…): Shouldn't libpng be a depends_lib? -- Ticket URL: <https://trac.macports.org/ticket/28076#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28076: gavl @1.1.1 - build failure error linking with libpng ----------------------------------------+----------------------------------- Reporter: ibartoli@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: gavl | ----------------------------------------+----------------------------------- Comment(by ryandesign@…): I wondered about that too, but it doesn't appear to link with libpng.dylib. configure.ac says: {{{ dnl Check for libpng (only needed for some tests) }}} I wasn't sure if those tests were run automatically, or only on "make check" or "make test" or something. There is also a `--disable-libpng` flag that could be used. But since libpng is already in the indirect dependencies of gavl (via doxygen) I didn't see any reason not to make use of libpng. -- Ticket URL: <https://trac.macports.org/ticket/28076#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts