Discussion:
[MacPorts] #21822: lzo2 build errors on 10.6.1 - ACC conformance test failed
MacPorts
2009-10-04 17:52:38 UTC
Permalink
#21822: lzo2 build errors on 10.6.1 - ACC conformance test failed
-------------------------------------+--------------------------------------
Reporter: george@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.1
Keywords: | Port:
-------------------------------------+--------------------------------------
Output:
Computing dependencies for lzo2
Fetching lzo2
Verifying checksum(s) for lzo2
Extracting lzo2
Configuring lzo2
Error: Target org.macports.configure returned: configure failure: shell
command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_lzo2/work/lzo-2.03"
&& ./configure --prefix=/opt/local --disable-dependency-tracking --enable-
shared --disable-static --disable-asm " returned error 1
Command output: checking for mprotect... yes
checking for munmap... yes
checking for qsort... yes
checking for raise... yes
checking for rmdir... yes
checking for setjmp... yes
checking for signal... yes
checking for snprintf... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strftime... yes
checking for stricmp... no
checking for strncasecmp... yes
checking for strnicmp... no
checking for strrchr... yes
checking for strstr... yes
checking for time... yes
checking for umask... yes
checking for utime... yes
checking for vsnprintf... yes
checking whether your compiler passes the ACC conformance test... FAILED
configure:
configure: Your compiler failed the ACC conformance test - for details see
configure: `config.log'. Please check that log file and consider sending
configure: a patch or bug-report to <***@oberhumer.com>.
configure: Thanks for your support.
configure:
configure: error: ACC conformance test failed. Stop.
Error: Status 1 encountered during processing.
Executing: /opt/local/bin/port install lzo2 +universal
--
Ticket URL: <http://trac.macports.org/ticket/21822>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
MacPorts
2009-10-05 00:16:29 UTC
Permalink
#21822: lzo2 build errors on 10.6.1 - ACC conformance test failed
-------------------------------------+--------------------------------------
Reporter: george@… | Owner: yunzheng.hu@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.1
Keywords: | Port: lzo2
-------------------------------------+--------------------------------------
Changes (by jmr@…):

* owner: macports-tickets@… => yunzheng.hu@…
* port: => lzo2
Post by MacPorts
Computing dependencies for lzo2
Fetching lzo2
Verifying checksum(s) for lzo2
Extracting lzo2
Configuring lzo2
Error: Target org.macports.configure returned: configure failure: shell
command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_lzo2/work/lzo-2.03"
&& ./configure --prefix=/opt/local --disable-dependency-tracking
--enable-shared --disable-static --disable-asm " returned error 1
Command output: checking for mprotect... yes
checking for munmap... yes
checking for qsort... yes
checking for raise... yes
checking for rmdir... yes
checking for setjmp... yes
checking for signal... yes
checking for snprintf... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strftime... yes
checking for stricmp... no
checking for strncasecmp... yes
checking for strnicmp... no
checking for strrchr... yes
checking for strstr... yes
checking for time... yes
checking for umask... yes
checking for utime... yes
checking for vsnprintf... yes
checking whether your compiler passes the ACC conformance test... FAILED
configure: Your compiler failed the ACC conformance test - for details see
configure: `config.log'. Please check that log file and consider sending
configure: Thanks for your support.
configure: error: ACC conformance test failed. Stop.
Error: Status 1 encountered during processing.
Executing: /opt/local/bin/port install lzo2 +universal
New description:

Output:
{{{
Computing dependencies for lzo2
Fetching lzo2
Verifying checksum(s) for lzo2
Extracting lzo2
Configuring lzo2
Error: Target org.macports.configure returned: configure failure: shell
command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_lzo2/work/lzo-2.03"
&& ./configure --prefix=/opt/local --disable-dependency-tracking --enable-
shared --disable-static --disable-asm " returned error 1
Command output: checking for mprotect... yes
checking for munmap... yes
checking for qsort... yes
checking for raise... yes
checking for rmdir... yes
checking for setjmp... yes
checking for signal... yes
checking for snprintf... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strftime... yes
checking for stricmp... no
checking for strncasecmp... yes
checking for strnicmp... no
checking for strrchr... yes
checking for strstr... yes
checking for time... yes
checking for umask... yes
checking for utime... yes
checking for vsnprintf... yes
checking whether your compiler passes the ACC conformance test... FAILED
configure:
configure: Your compiler failed the ACC conformance test - for details see
configure: `config.log'. Please check that log file and consider sending
configure: a patch or bug-report to <***@oberhumer.com>.
configure: Thanks for your support.
configure:
configure: error: ACC conformance test failed. Stop.
Error: Status 1 encountered during processing.
Executing: /opt/local/bin/port install lzo2 +universal
}}}

--
--
Ticket URL: <http://trac.macports.org/ticket/21822#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
MacPorts
2009-10-05 00:20:38 UTC
Permalink
#21822: lzo2 configure fails building universal for ppc/i386/x86_64
-------------------------------------+--------------------------------------
Reporter: george@… | Owner: yunzheng.hu@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.1
Keywords: | Port: lzo2
-------------------------------------+--------------------------------------

Comment(by jmr@…):

You omitted the important detail that you are building universal for
ppc/i386/x86_64...
--
Ticket URL: <http://trac.macports.org/ticket/21822#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
MacPorts
2009-10-28 16:43:55 UTC
Permalink
#21822: lzo2 configure fails building universal for ppc/i386/x86_64
-------------------------------------+--------------------------------------
Reporter: george@… | Owner: yunzheng.hu@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.1
Keywords: | Port: lzo2
-------------------------------------+--------------------------------------

Comment(by harrisonmetz@…):

What is AAC and why doesn't it work for universal binaries?
--
Ticket URL: <http://trac.macports.org/ticket/21822#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
MacPorts
2009-11-11 00:13:47 UTC
Permalink
#21822: lzo2 configure fails building universal for ppc/i386/x86_64
-------------------------------------+--------------------------------------
Reporter: george@… | Owner: yunzheng.hu@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.1
Keywords: | Port: lzo2
-------------------------------------+--------------------------------------

Comment(by dossy@…):

Confirmed this on MacPorts 1.8.1 on Snow Leopard 10.6.1. Builds just fine
without +universal. Fails as bug describes when trying +universal.
--
Ticket URL: <http://trac.macports.org/ticket/21822#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
MacPorts
2009-12-04 19:43:23 UTC
Permalink
#21822: lzo2 configure fails building universal for ppc/i386/x86_64
-------------------------------------+--------------------------------------
Reporter: george@… | Owner: yunzheng.hu@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.1
Keywords: | Port: lzo2
-------------------------------------+--------------------------------------

Comment(by erik.abair@…):

I was able to fix this on my machine by adding

PortGroup muniversal 1.0
PortGroup archcheck 1.0

to the Portfile (after the PortSystem 1.0 line). This causes configure to
be executed for each architecture; previously the results of the x64
configure were applied to the ACC conformance test, causing it to fail
when building for 32-bit architecture (due to sizeof discrepancies).

Patch attached with the caveat that I've only tested this on a single
machine and do not know enough about muniversal/archcheck to be sure that
it would work for anyone.
--
Ticket URL: <http://trac.macports.org/ticket/21822#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
MacPorts
2009-12-04 19:51:51 UTC
Permalink
#21822: lzo2 configure fails building universal for ppc/i386/x86_64
-------------------------------------+--------------------------------------
Reporter: george@… | Owner: yunzheng.hu@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.1
Keywords: | Port: lzo2
-------------------------------------+--------------------------------------

Comment(by ryandesign@…):

You don't need the archcheck portgroup unless you're going to check the
architecture of the dependencies using archcheck.files. See whatever port
you copied that line from for an example.
--
Ticket URL: <http://trac.macports.org/ticket/21822#comment:9>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
MacPorts
2009-12-05 19:31:57 UTC
Permalink
#21822: lzo2 configure fails building universal for ppc/i386/x86_64
-------------------------------------+--------------------------------------
Reporter: george@… | Owner: yunzheng.hu@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.1
Keywords: | Port: lzo2
-------------------------------------+--------------------------------------

Comment(by nox@…):

r61220
--
Ticket URL: <http://trac.macports.org/ticket/21822#comment:11>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
MacPorts
2009-12-05 19:51:31 UTC
Permalink
#21822: lzo2 configure fails building universal for ppc/i386/x86_64
--------------------------------------+-------------------------------------
Reporter: george@… | Owner: yunzheng.hu@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 1.8.1
Resolution: fixed | Keywords:
Port: lzo2 |
--------------------------------------+-------------------------------------
Changes (by ryandesign@…):

* status: new => closed
* resolution: => fixed
--
Ticket URL: <http://trac.macports.org/ticket/21822#comment:12>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
Loading...