Opened 16 years ago
Last modified 14 years ago
#16744 closed defect
Allow universal builds in clucene, cyrus-sasl2, gpgme, flac, pth, boost and cdparanoia — at Version 5
Reported by: | illogical1@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | universal build | Cc: | |
Port: | clucene cyrus-sasl2 gpgme flac pth boost cdparanoia |
Description (last modified by illogic-al@…)
The attached diffs allow universal compilation with the ports listed above
Change History (13)
Changed 16 years ago by illogical1@…
Attachment: | apple-gcc42_build_universal_build_flac.diff added |
---|
Changed 16 years ago by illogical1@…
Attachment: | apple-gcc42_build_universal_build_pth.diff added |
---|
pth Portfile patch to allow universal compiling
Changed 16 years ago by illogical1@…
Attachment: | universal_build_clucene.diff added |
---|
clucene Portfile patch to allow universal compiling
Changed 16 years ago by illogical1@…
Attachment: | universal_build_cyrus-sasl2.diff added |
---|
cyrus-sasl2 Portfile patch to allow universal compiling
Changed 16 years ago by illogical1@…
Attachment: | universal_build_gpgme.diff added |
---|
gpgme Portfile patch to allow universal compiling
Changed 16 years ago by illogical1@…
Attachment: | universal_build_boost-jam.diff added |
---|
Add boost-jam patch from ticket 14064
Changed 16 years ago by illogical1@…
Attachment: | universal_build_boost.diff added |
---|
Add boost patch from ticket 14064
Changed 16 years ago by illogical1@…
Attachment: | universal_build_cdparanioa.diff added |
---|
For cdparanoia
comment:1 Changed 16 years ago by illogical1@…
cdparanoia portfile probably doesn't need the configure.xxx bits
comment:2 Changed 16 years ago by blb@…
FYI, a slightly different method for handling cyrus-sasl2 is in #14132.
comment:3 Changed 16 years ago by illogic-al@…
I've been checking these and, for the ones I've checked so far, they are also valid on 10.5 when compiling with gcc 4.2 against the 10.4 SDK. When I made these patches I was compiling on 10.4 with gcc 4.2 against the 10.4 SDK. I think it's safe to say that regardless of the darwin platform issues exist. I intend to fix the ports which have no/openmantainers and poke those necessary for the others. cyrus-sasl and boost not included.
comment:4 Changed 16 years ago by illogic-al@…
Sample error when attempting to compile universal gpgpme.
---> Building gpgme with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macpor ts/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gpgm e/work/gpgme-1.1.6" && make all " returned error 2 Command output: _print_data in t-encrypt.o _print_data in t-encrypt.o _main in t-encrypt.o _main in t-encrypt.o _main in t-encrypt.o _main in t-encrypt.o _main in t-encrypt.o _main in t-encrypt.o "_gpgme_data_release", referenced from: _main in t-encrypt.o _main in t-encrypt.o "_gpgme_get_key", referenced from: _main in t-encrypt.o _main in t-encrypt.o "_gpgme_key_unref", referenced from: _main in t-encrypt.o _main in t-encrypt.o "_gpgme_data_seek", referenced from: _print_data in t-encrypt.o "_gpgme_op_encrypt_result", referenced from: _main in t-encrypt.o "_gpgme_data_read", referenced from: _print_data in t-encrypt.o ld: symbol(s) not found for architecture ppc collect2: ld returned 1 exit status lipo: can't open input file: /var/tmp//ccegsHWW.out (No such file or directory) make[3]: *** [t-encrypt] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
comment:5 Changed 16 years ago by illogic-al@…
Description: | modified (diff) |
---|---|
Port: | boost cdparanoia added |
Summary: | Allow universal builds in clucene, cyrus-sasl2, gpgme, flac, pth → Allow universal builds in clucene, cyrus-sasl2, gpgme, flac, pth, boost and cdparanoia |
And another one for google. This time the pth port.
---> Building pth with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_pth/work/pth-2.0.7" && make all " returned error 2Command output: _main in test_std.o _main in test_std.o "_pth_attr_new", referenced from: _main in test_std.o "_pth_join", referenced from: _main in test_std.o _main in test_std.o _t2_func in test_std.o "_pth_key_getdata", referenced from: _pth_readline_ev in test_common.o "_pth_init", referenced from: _main in test_std.o _main in test_std.o "_pth_spawn", referenced from: _main in test_std.o _main in test_std.o _t2_func in test_std.o "_pth_read_ev", referenced from: _pth_readline_ev in test_common.o "_pth_yield", referenced from: _t1_func in test_std.o _t1_func in test_std.o "_pth_version", referenced from: _main in test_std.o "_pth_attr_destroy", referenced from: _main in test_std.old: symbol(s) not found for architecture ppccollect2: ld returned 1 exit status lipo: can't open input file: /var/tmp//ccQlxuku.out (No such file or directory)make: *** [test_std] Error 1 Error: The following dependencies failed to build: pth
flac Portfile patch to allow universal compiling