[MacPorts] #51012: libpixman @0.34.0 build issue under Leopard
#51012: libpixman @0.34.0 build issue under Leopard ----------------------------+-------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: libpixman ----------------------------+-------------------------------- I just ran into a build failure for libpixman 0.34.0 under OS X 10.5.8: {{{ :info:build /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -faltivec -pipe -Os -arch ppc -Wall -Wdeclaration-after-statement -fno-strict-aliasing -fvisibility=hidden -pipe -Os -arch ppc -Wall -Wdeclaration-after- statement -fno-strict-aliasing -fvisibility=hidden -pthread -MT libpixman_vmx_la-pixman-vmx.lo -MD -MP -MF .deps/libpixman_vmx_la-pixman- vmx.Tpo -c -o libpixman_vmx_la-pixman-vmx.lo `test -f 'pixman-vmx.c' || echo './'`pixman-vmx.c :info:build libtool: compile: /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -faltivec -pipe -Os -arch ppc -Wall -Wdeclaration- after-statement -fno-strict-aliasing -fvisibility=hidden -pipe -Os -arch ppc -Wall -Wdeclaration-after-statement -fno-strict-aliasing -fvisibility=hidden -pthread -MT libpixman_vmx_la-pixman-vmx.lo -MD -MP -MF .deps/libpixman_vmx_la-pixman-vmx.Tpo -c pixman-vmx.c -fno-common -DPIC -o .libs/libpixman_vmx_la-pixman-vmx.o :info:build In file included from pixman-vmx.c:34: :info:build /usr/lib/gcc/powerpc-apple- darwin9/4.2.1/include/altivec.h:45:2: warning: #warning Ignoring <altivec.h> because "-faltivec" specified :info:build pixman-vmx.c: In function âscaled_nearest_scanline_vmx_8888_8888_OVERâ: :info:build pixman-vmx.c:2936: error: subscripted value is neither array nor pointer :info:build pixman-vmx.c:2937: error: subscripted value is neither array nor pointer :info:build pixman-vmx.c:2938: error: subscripted value is neither array nor pointer :info:build pixman-vmx.c:2939: error: subscripted value is neither array nor pointer :info:build make[2]: *** [libpixman_vmx_la-pixman-vmx.lo] Error 1 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libpixman/libpixman/work/pixman-0.34.0/pixman' :info:build make[1]: *** [all-recursive] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libpixman/libpixman/work/pixman-0.34.0' :info:build make: *** [all] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libpixman/libpixman/work/pixman-0.34.0' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libpixman/libpixman/work/pixman-0.34.0" && /usr/bin/make -w all V=1 :info:build Exit code: 2 }}} -- Ticket URL: <https://trac.macports.org/ticket/51012> MacPorts <https://www.macports.org/> Ports system for OS X
#51012: libpixman @0.34.0 build issue under Leopard -----------------------------+-------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: libpixman | -----------------------------+-------------------------------- Comment (by mschamschula@…): I attached a fix for darwin 9 (Leopard) powerpc. This may also be needed for Tiger. -- Ticket URL: <https://trac.macports.org/ticket/51012#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#51012: libpixman @0.34.0 build issue under Leopard -----------------------------+-------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: haspatch Port: libpixman | -----------------------------+-------------------------------- Changes (by ryandesign@…): * keywords: => haspatch Comment: Have you already reported the problem to the developers of pixman? If not, we should ask them if this is the correct solution. -- Ticket URL: <https://trac.macports.org/ticket/51012#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#51012: libpixman @0.34.0 build issue under Leopard -----------------------------+-------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: haspatch Port: libpixman | -----------------------------+-------------------------------- Comment (by mschamschula@…): I've submitted the bug to the upstream developers: https://bugs.freedesktop.org/show_bug.cgi?id=94769 -- Ticket URL: <https://trac.macports.org/ticket/51012#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#51012: libpixman @0.34.0 build issue under Leopard -----------------------------+-------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: haspatch Port: libpixman | -----------------------------+-------------------------------- Comment (by Peter_Dyballa@…): Configuring with --disable-vmx seems to be the solution for now. IMO the source code in pixman/pixman-vmx.c needs changes to suffice the compiler. Just playing with compiler flags produces additional errors. -- Ticket URL: <https://trac.macports.org/ticket/51012#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#51012: libpixman @0.34.0 build issue under Leopard -----------------------------+-------------------------- Reporter: mschamschula@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: haspatch Port: libpixman | -----------------------------+-------------------------- Changes (by snc@…): * cc: ryandesign@… (removed) * cc: snc@… (added) * owner: macports-tickets@… => ryandesign@… -- Ticket URL: <https://trac.macports.org/ticket/51012#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#51012: libpixman @0.34.0 build issue under Leopard -----------------------------+-------------------------- Reporter: mschamschula@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: haspatch Port: libpixman | -----------------------------+-------------------------- Comment (by reeskm@…): in this case is "vmx" refering to Altivec VMX or virtual machine acceleration? If the former, it makes sense that disabling this causes the problem to go away. However, I successfully built this using macports-gcc-4.9 {{{ [rees@powermacg5 ~]$sudo port upgrade libpixman configure.compiler =macports-gcc-4.9 ---> Computing dependencies for libpixman ---> Fetching archive for libpixman ---> Attempting to fetch libpixman-0.34.0_0.darwin_9.ppc.tbz2 from https://packages.macports.org/libpixman ---> Attempting to fetch libpixman-0.34.0_0.darwin_9.ppc.tbz2 from http://sea.us.packages.macports.org/macports/packages/libpixman ---> Attempting to fetch libpixman-0.34.0_0.darwin_9.ppc.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/libpixman ---> Fetching distfiles for libpixman ---> Verifying checksums for libpixman ---> Extracting libpixman ---> Configuring libpixman ---> Building libpixman ---> Staging libpixman into destroot ---> Installing libpixman @0.34.0_0 ---> Cleaning libpixman ---> Computing dependencies for libpixman ---> Deactivating libpixman @0.32.8_0 ---> Cleaning libpixman ---> Activating libpixman @0.34.0_0 ---> Cleaning libpixman ---> Updating database of binaries ---> Scanning binaries for linking errors ---> No broken files found. }}} -- Ticket URL: <https://trac.macports.org/ticket/51012#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
#51012: libpixman @0.34.0 build issue under Leopard -----------------------------+-------------------------- Reporter: mschamschula@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: haspatch Port: libpixman | -----------------------------+-------------------------- Comment (by ryandesign@…): Replying to [comment:9 reeskm@…]:
in this case is "vmx" refering to Altivec VMX or virtual machine acceleration?
If the former, it makes sense that disabling this causes the problem to go away.
It undoubtedly refers to AltiVec.
However, I successfully built this using macports-gcc-4.9
I'm not surprised, however that's not a configuration I'm interested in supporting. -- Ticket URL: <https://trac.macports.org/ticket/51012#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
#51012: libpixman @0.34.0 build issue under Leopard -----------------------------+-------------------------- Reporter: mschamschula@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: haspatch Port: libpixman | -----------------------------+-------------------------- Comment (by Peter_Dyballa@…): The patch described here, https://lists.freedesktop.org/archives/pixman/2016-April/004577.html, works fine on my G4 (PowerPC 7447A) with Leopard, Mac OS X 10.5.8. The modified patch and a supposed patch for Portfile have been attached here. -- Ticket URL: <https://trac.macports.org/ticket/51012#comment:12> MacPorts <https://www.macports.org/> Ports system for OS X
#51012: libpixman @0.34.0 build issue under Leopard -----------------------------+-------------------------- Reporter: mschamschula@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: haspatch Port: libpixman | -----------------------------+-------------------------- Comment (by Peter_Dyballa@…): The patch also work on PPC Tiger, Mac OS X 10.4.11. Since Portfile already has a clause for Tiger, to blacklist a compiler, it's easy to insert the patchlist statement here. -- Ticket URL: <https://trac.macports.org/ticket/51012#comment:13> MacPorts <https://www.macports.org/> Ports system for OS X
#51012: libpixman @0.34.0 build issue under Leopard -----------------------------+-------------------------- Reporter: mschamschula@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: haspatch Port: libpixman | -----------------------------+-------------------------- Comment (by ryandesign@…): Thanks for finding that solution! Looks simple enough. I don't prefer conditional patches. If we can include the patch unconditionally and still compile successfully, I'd like to do that. -- Ticket URL: <https://trac.macports.org/ticket/51012#comment:14> MacPorts <https://www.macports.org/> Ports system for OS X
#51012: libpixman @0.34.0 build issue under Leopard -----------------------------+-------------------------- Reporter: mschamschula@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: haspatch Port: libpixman | -----------------------------+-------------------------- Comment (by dgonyier@…): To move forward with updating the port, I managed to get this port to install on my PowerBook G4 running Leopard with the following command sudo port upgrade libpixman configure.args=--disable-vmx -- Ticket URL: <https://trac.macports.org/ticket/51012#comment:16> MacPorts <https://www.macports.org/> Ports system for OS X
#51012: libpixman @0.34.0 build issue under Leopard -----------------------------+-------------------------- Reporter: mschamschula@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: haspatch Port: libpixman | -----------------------------+-------------------------- Comment (by ryandesign@…): Replying to [comment:16 dgonyier@…]:
To move forward with updating the port, I managed to get this port to install on my PowerBook G4 running Leopard with the following command
{{{ sudo port upgrade libpixman configure.args=--disable-vmx }}}
You should not do that because that ''overrides'' the `configure.args` set by the portfile. -- Ticket URL: <https://trac.macports.org/ticket/51012#comment:17> MacPorts <https://www.macports.org/> Ports system for OS X
#51012: libpixman @0.34.0 build issue under Leopard -----------------------------+------------------------------ Reporter: mschamschula@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: fixed | Keywords: powerpc haspatch Port: libpixman | -----------------------------+------------------------------ Changes (by ryandesign@…): * status: new => closed * keywords: haspatch => powerpc haspatch * resolution: => fixed Comment: Fixed in r150754. -- Ticket URL: <https://trac.macports.org/ticket/51012#comment:18> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts