#13042 closed defect (fixed)
bazaar don't build on Leopard
Reported by: | saispo@… | Owned by: | jmroot (Joshua Root) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.5.2 |
Keywords: | Cc: | saispo@…, josh+macports@…, skymoo (Adam Mercer) | |
Port: |
Description (last modified by jmpalacios (Juan Manuel Palacios))
Some C language error.
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_trunk_dports_devel_bazaar/work/thelove@canonical.com---dists--bazaar--1.4/src/baz/libarch/archive-pfs.c:2000: warning: pointer targets in passing argument 1 of 'safe_open' differ in signedness/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_trunk_dports_devel_bazaar/work/thelove@canonical.com---dists--bazaar--1.4/src/baz/libarch/archive-pfs.c:2011: warning: pointer targets in passing argument 1 of 'safe_unlink' differ in signedness/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_trunk_dports_devel_bazaar/work/thelove@canonical.com---dists--bazaar--1.4/src/baz/libarch/archive-pfs.c: In function 'pfs_create_signature_file':/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_trunk_dports_devel_bazaar/work/thelove@canonical.com---dists--bazaar--1.4/src/baz/libarch/archive-pfs.c:2024: warning: pointer targets in passing argument 1 of 'tmp_file_name_in_tmp' differ in signedness/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_trunk_dports_devel_bazaar/work/thelove@canonical.com---dists--bazaar--1.4/src/baz/libarch/archive-pfs.c:2025: warning: pointer targets in passing argument 1 of 'safe_open' differ in signedness/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_trunk_dports_devel_bazaar/work/thelove@canonical.com---dists--bazaar--1.4/src/baz/libarch/archive-pfs.c: In function 'pfs_finish_signature_file':/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_trunk_dports_devel_bazaar/work/thelove@canonical.com---dists--bazaar--1.4/src/baz/libarch/archive-pfs.c:2064: warning: pointer targets in passing argument 5 of 'pfs_finish_signature_file_worker' differ in signedness/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_trunk_dports_devel_bazaar/work/thelove@canonical.com---dists--bazaar--1.4/src/baz/libarch/archive-pfs.c: In function 'pfs_finish_signature_file_worker':/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_trunk_dports_devel_bazaar/work/thelove@canonical.com---dists--bazaar--1.4/src/baz/libarch/archive-pfs.c:2117: warning: pointer targets in passing argument 1 of 'safe_open' differ in signedness/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_trunk_dports_devel_bazaar/work/thelove@canonical.com---dists--bazaar--1.4/src/baz/libarch/archive-pfs.c:2118: warning: pointer targets in passing argument 1 of 'safe_open' differ in signedness/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_trunk_dports_devel_bazaar/work/thelove@canonical.com---dists--bazaar--1.4/src/baz/libarch/archive-pfs.c:2119: warning: pointer targets in passing argument 1 of 'safe_unlink' differ in signedness /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_trunk_dports_devel_bazaar/work/thelove@canonical.com---dists--bazaar--1.4/src/baz/libarch/archive-pfs.c:2126: warning: pointer targets in passing argument 1 of 'safe_unlink' differ in signedness/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_trunk_dports_devel_bazaar/work/thelove@canonical.com---dists--bazaar--1.4/src/baz/libarch/archive-pfs.c:2171: warning: pointer targets in passing argument 1 of 'safe_unlink' differ in signedness/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_trunk_dports_devel_bazaar/work/thelove@canonical.com---dists--bazaar--1.4/src/baz/libarch/archive-pfs.c: In function 'insert_sums':/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_trunk_dports_devel_bazaar/work/thelove@canonical.com---dists--bazaar--1.4/src/baz/libarch/archive-pfs.c:2196: warning: pointer targets in passing argument 1 of 'safe_open' differ in signedness/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_trunk_dports_devel_bazaar/work/thelove@canonical.com---dists--bazaar--1.4/src/baz/libarch/archive-pfs.c: In function 'pfs_set_mirror':/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_trunk_dports_devel_bazaar/work/thelove@canonical.com---dists--bazaar--1.4/src/baz/libarch/archive-pfs.c:2246: warning: pointer targets in passing argument 3 of 'arch_pfs_set_file_contents_in_dir' differ in signedness/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_trunk_dports_devel_bazaar/work/thelove@canonical.com---dists--bazaar--1.4/src/baz/libarch/archive-pfs.c:2249: warning: pointer targets in passing argument 2 of 'str_save' differ in signedness/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_trunk_dports_devel_bazaar/work/thelove@canonical.com---dists--bazaar--1.4/src/baz/libarch/archive-pfs.c:2256: warning: pointer targets in passing argument 2 of 'arch_fs_archive_meta_info_item_path' differ in signedness/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_trunk_dports_devel_bazaar/work/thelove@canonical.com---dists--bazaar--1.4/src/baz/libarch/archive-pfs.c:2260: warning: pointer targets in passing argument 2 of 'str_save' differ in signednessmake[2]: *** [archive-pfs.o] Error 1make[1]: *** [all] Error 2make: *** [all] Error 2Warning: the following items did not execute (for bazaar): org.macports.activate org.macports.build org.macports.destroot org.macports.installError: Status 1 encountered during processing.
Attachments (1)
Change History (10)
comment:1 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | saispo@… josh+macports@… added |
---|---|
Milestone: | → Port Bugs |
Owner: | changed from macports-dev@… to josh-macports@… |
comment:2 Changed 17 years ago by josh-macports@…
comment:3 Changed 17 years ago by saispo@…
Yep i have Xcode 3.0 and i build it on a x86 macbook... i try after a fresh reinstall and have the same error... maybe a dependancy is missing ?
comment:4 Changed 17 years ago by josh-macports@…
All of those archive-pfs.c warnings happen during a working build. Please either find and post the actual error message from the compiler, or just attach a full build log. (sudo port -v build bazaar > build.log)
comment:5 Changed 17 years ago by skymoo (Adam Mercer)
Cc: | ram@… added |
---|
Its failing to build on Intel Leopard for me as well, I've attached a full build log created using
$ sudo port -d install bazaar &> bazaar-build.log
comment:6 Changed 17 years ago by josh-macports@…
Well here's the problem. What your log says:
DEBUG: Executing org.macports.build (bazaar) DEBUG: Environment:
What it should say (and what mine says):
DEBUG: Executing org.macports.build (bazaar) DEBUG: Environment: CFLAGS='-g -O2 -Wall -fno-strict-aliasing -I'/opt/local/include' -L'/opt/local/lib' -lintl -lneon -lgpgme -lpth'
So build.env isn't being set for some reason. I don't know why that would be, unless perhaps you're using a prerelease version of MacPorts (ticket says 1.5.2). Has splitting statements over multiple lines stopped working in 1.6?
comment:7 Changed 17 years ago by skymoo (Adam Mercer)
Yes, I'm using the latest base from the release_1_6 branch. If I go back to base from the release_1_5_2 tag then bazaar installs without issue.
So it looks like a problem with 1.6
comment:8 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)
Description: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Please take a look at r31808 where I corrected the bug that kept this port from building with MacPorts > 1.5.2. In short, it worked back then only thanks to a bug in the environment parser (if I'm not mistaken) that was corrected in r30273 for 1.6. Nested quoting in environment declarations is illegal.
-jmpp
Have you installed XCode 3? If so, are you building on x86 or ppc? (It builds for me on x86.)
Also, the output you've given doesn't seem to contain the actual error message.