Opened 13 years ago

Closed 13 years ago

#31689 closed defect (duplicate)

Boost 1.47 won't compile when the 'go' port is installed

Reported by: akimd (Akim Demaille) Owned by: adfernandes (Andrew Fernandes)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: boost

Description

On neither this machine (Lion), nor the other at work (Snow Leopard) the Boost 1.47 package manages to complete its compilation. Actually, it doesn't even finish its bootstrap:

akim@padam ..ts_devel_boost/boost/work/boost_1_47_0 $ pwd                                                      13:50:18
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_boost/boost/work/boost_1_47_0
akim@padam ..ts_devel_boost/boost/work/boost_1_47_0 $ cat bootstrap.log                                        13:50:21
###
### Using 'darwin' toolset.
###
rm -rf bootstrap
mkdir bootstrap
/Developer/usr/bin/llvm-gcc-4.2 -o bootstrap/jam0 command.c compile.c debug.c expand.c glob.c hash.c hdrmacro.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c newstr.c option.c output.c parse.c pathunix.c pathvms.c regexp.c rules.c scan.c search.c subst.c timestamp.c variable.c modules.c strings.c filesys.c builtins.c pwd.c class.c native.c md5.c w32_getreg.c modules/set.c modules/path.c modules/regex.c modules/property-set.c modules/sequence.c modules/order.c execunix.c fileunix.c
expand.c: In function ‘var_expand’:
expand.c:85: warning: field precision should have type ‘int’, but argument 2 has type ‘long int’
expand.c:85: warning: field precision should have type ‘int’, but argument 2 has type ‘long int’
fileunix.c: In function ‘file_archscan’:
fileunix.c:300: error: ‘struct ar_hdr’ has no member named ‘ar_fmag’
fileunix.c:316: error: ‘struct ar_hdr’ has no member named ‘ar_name’
fileunix.c:316: error: ‘struct ar_hdr’ has no member named ‘ar_name’
fileunix.c:316: error: ‘struct ar_hdr’ has no member named ‘ar_name’
fileunix.c:316: error: ‘struct ar_hdr’ has no member named ‘ar_name’
fileunix.c:318: error: ‘struct ar_hdr’ has no member named ‘ar_date’
fileunix.c:319: error: ‘struct ar_hdr’ has no member named ‘ar_size’
fileunix.c:321: error: ‘struct ar_hdr’ has no member named ‘ar_name’
fileunix.c:323: error: ‘struct ar_hdr’ has no member named ‘ar_name’
fileunix.c:335: error: ‘struct ar_hdr’ has no member named ‘ar_name’

I had not looked into the details on the SL machine, of course the error can be different.

Cheers!

Attachments (1)

main.log (8.6 KB) - added by akimd (Akim Demaille) 13 years ago.

Download all attachments as: .zip

Change History (5)

Changed 13 years ago by akimd (Akim Demaille)

Attachment: main.log added

comment:1 Changed 13 years ago by akimd (Akim Demaille)

Actually, having a better look I see that I have 1.47.0_0 that was already installed, it is 1.47.0_2 that does not build.

comment:2 in reply to:  1 Changed 13 years ago by akimd (Akim Demaille)

Bummer, and now for something completely different... I can't build the gmake package for the same reasons:

:info:build /Developer/usr/bin/llvm-gcc-4.2 -DLOCALEDIR=\"/opt/local/share/locale\" -DLIBDIR=\"/opt/local/lib\" -DINCLUDEDIR=\"/opt/local/include\" -DHAVE_CONFIG_H -I.  -I./glob  -I/opt/local/include  -pipe -O2 -arch x86_64 -MT default.o -MD -MP -MF .deps/default.Tpo -c -o default.o default.c
:info:build arscan.c: In function ‘ar_scan’:
:info:build arscan.c:463: error: ‘struct ar_hdr’ has no member named ‘ar_name’
:info:build arscan.c:562: error: ‘struct ar_hdr’ has no member named ‘ar_fmag’
:info:build arscan.c:581: error: ‘struct ar_hdr’ has no member named ‘ar_name’
:info:build arscan.c:581: error: ‘struct ar_hdr’ has no member named ‘ar_name’
:info:build arscan.c:581: error: ‘struct ar_hdr’ has no member named ‘ar_name’
:info:build arscan.c:581: error: ‘struct ar_hdr’ has no member named ‘ar_name’
:info:build arscan.c:583: error: ‘struct ar_hdr’ has no member named ‘ar_name’
:info:build arscan.c:636: error: ‘struct ar_hdr’ has no member named ‘ar_mode’
:info:build arscan.c:637: error: ‘struct ar_hdr’ has no member named ‘ar_size’
:info:build arscan.c:647: error: ‘struct ar_hdr’ has no member named ‘ar_date’
:info:build arscan.c:648: error: ‘struct ar_hdr’ has no member named ‘ar_uid’
:info:build arscan.c:649: error: ‘struct ar_hdr’ has no member named ‘ar_gid’
:info:build arscan.c: In function ‘ar_name_equal’:
:info:build arscan.c:751: error: ‘struct ar_hdr’ has no member named ‘ar_name’
:info:build arscan.c: In function ‘ar_member_touch’:
:info:build arscan.c:816: error: ‘struct ar_hdr’ has no member named ‘ar_date’
:info:build arscan.c:817: error: ‘struct ar_hdr’ has no member named ‘ar_date’
:info:build arscan.c:818: error: ‘struct ar_hdr’ has no member named ‘ar_date’
:info:build arscan.c:818: error: ‘struct ar_hdr’ has no member named ‘ar_date’
:info:build make[2]: *** [arscan.o] Error 1
:info:build make[2]: *** Waiting for unfinished jobs....
:info:build mv -f .deps/default.Tpo .deps/default.Po
:info:build mv -f .deps/ar.Tpo .deps/ar.Po

Maybe llvm-gcc-4.2 is not a good choice, but I didn't ask for it.

comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: adfernandes@… removed
Owner: changed from macports-tickets@… to adfernandes@…
Port: boost added; Boost removed
Summary: Boost 1.47 won't compileBoost 1.47 won't compile when the 'go' port is installed

It's a conflict with the 'go' port. Uninstall or deactivate that before trying to build boost. See #30203 which is the same problem with the gmake port.

comment:4 Changed 13 years ago by adfernandes (Andrew Fernandes)

Resolution: duplicate
Status: newclosed

Duplicate of #30203.

Note: See TracTickets for help on using tickets.