Opened 15 years ago
Closed 15 years ago
#21822 closed defect (fixed)
lzo2 configure fails building universal for ppc/i386/x86_64
Reported by: | george@… | Owned by: | yunzheng.hu@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.1 |
Keywords: | Cc: | dossy@…, macports@…, ryandesign (Ryan Carsten Schmidt), fracai | |
Port: | lzo2 |
Description (last modified by jmroot (Joshua Root))
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 <markus@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
Attachments (2)
Change History (14)
Changed 15 years ago by george@…
Attachment: | config.log added |
---|
comment:1 Changed 15 years ago by jmroot (Joshua Root)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to yunzheng.hu@… |
Port: | lzo2 added |
comment:2 Changed 15 years ago by jmroot (Joshua Root)
Summary: | lzo2 build errors on 10.6.1 - ACC conformance test failed → lzo2 configure fails building universal for ppc/i386/x86_64 |
---|
comment:3 Changed 15 years ago by harrisonmetz@…
What is AAC and why doesn't it work for universal binaries?
comment:4 Changed 15 years ago 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.
Changed 15 years ago by erik.abair@…
Attachment: | Portfile-rrdtool.diff added |
---|
Patch to add the port to the muniversal group so that it runs configure separately for each architecture
comment:8 Changed 15 years ago 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.
comment:9 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
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.
comment:12 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
You omitted the important detail that you are building universal for ppc/i386/x86_64...