Opened 15 years ago

Closed 15 years ago

#21506 closed defect (fixed)

net6 1.3.9 causes obby to fail to build

Reported by: highwayoflife@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc: p.ixiemotion@…, j.a.0770@…, cad@…, league@…, highwayoflife@…
Port: obby, net6

Description

Attempting to install the obby library (required for Gobby) produces the following error. It's possible this is related to #21413

Mac OS X: 10.6.1 Ports: 1.8.0 XCode: 3.2

sudo port install obby
--->  Computing dependencies for obby
--->  Fetching obby
--->  Verifying checksum(s) for obby
--->  Extracting obby
--->  Configuring obby
--->  Building obby
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_obby/work/obby-0.4.6" && /usr/bin/make -j2 all " returned error 2
Command output: Making all in po
make[1]: Nothing to be done for `all'.
Making all in inc
/usr/bin/make  all-am
make[2]: Nothing to be done for `all-am'.
Making all in src
Making all in serialise
/bin/sh ../../libtool --tag=CXX   --mode=compile /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I../../inc -I../../inc @addcflags@ -D_REENTRANT -I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include -I/opt/local/include    -I/opt/local/include  -O2 -arch i386 -MT libserialise_la-error.lo -MD -MP -MF .deps/libserialise_la-error.Tpo -c -o libserialise_la-error.lo `test -f 'error.cpp' || echo './'`error.cpp
/bin/sh ../../libtool --tag=CXX   --mode=compile /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I../../inc -I../../inc @addcflags@ -D_REENTRANT -I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include -I/opt/local/include    -I/opt/local/include  -O2 -arch i386 -MT libserialise_la-token.lo -MD -MP -MF .deps/libserialise_la-token.Tpo -c -o libserialise_la-token.lo `test -f 'token.cpp' || echo './'`token.cpp
mkdir .libs
 /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I../../inc -I../../inc @addcflags@ -D_REENTRANT -I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include -I/opt/local/include -I/opt/local/include -O2 -arch i386 -MT libserialise_la-error.lo -MD -MP -MF .deps/libserialise_la-error.Tpo -c error.cpp  -fno-common -DPIC -o .libs/libserialise_la-error.o
 /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I../../inc -I../../inc @addcflags@ -D_REENTRANT -I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include -I/opt/local/include -I/opt/local/include -O2 -arch i386 -MT libserialise_la-token.lo -MD -MP -MF .deps/libserialise_la-token.Tpo -c token.cpp  -fno-common -DPIC -o .libs/libserialise_la-token.o
i686-apple-darwin10-g++-4.2.1: @addcflags@: No such file or directory
i686-apple-darwin10-g++-4.2.1: @addcflags@: No such file or directory
make[2]: *** [libserialise_la-error.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [libserialise_la-token.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Error: Status 1 encountered during processing.

Change History (11)

comment:1 Changed 15 years ago by tobypeterson

Port: obby added
Summary: Target build shell command returned error - installing Obbyobby fails to build

comment:2 in reply to:  description ; Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Replying to highwayoflife@…:

It's possible this is related to #21413

What makes you say that?

comment:3 in reply to:  2 Changed 15 years ago by highwayoflife@…

Replying to ryandesign@…:

Replying to highwayoflife@…:

It's possible this is related to #21413

What makes you say that?

It's not related, my fault. Please ignore.

comment:4 Changed 15 years ago by p.ixiemotion@…

Cc: p.ixiemotion@… added

Cc Me!

comment:5 Changed 15 years ago by j.a.0770@…

Cc: j.a.0770@… added

Cc Me!

comment:6 Changed 15 years ago by cad@…

Cc: cad@… added

Cc Me!

comment:7 Changed 15 years ago by league@…

Cc: league@… added

Cc Me!

comment:8 Changed 15 years ago by ashuf@…

Cc Me!

comment:9 Changed 15 years ago by highwayoflife@…

I was able to solve the issue. The problem is with a bug in net6 version 1.3.9 The issue should be fixed in net6 version 1.3.10 which is not yet compiled within the MacPorts list. You can grab the 1.3.10 version here: http://releases.0x539.de/net6/net6-1.3.10.tar.gz

Or you can do the following to fix the problem in net6 1.3.9

cd /opt/local/lib/pkgconfig
sudo cp net6-1.3.pc net6-1.3.pc.bak
sudo nano net6-1.3.pc

remove the "@addcflags@"

save the buffer and exit

sudo port clean --all obby
sudo port install gobby

See the following ticket in the Gobby Trac site: http://gobby.0x539.de/trac/ticket/472#comment:8

I have successfully installed Gobby on three Macs, so if anybody needs further assistance, please feel free to e-mail me. Or find me on IRC freenode.net channel #startrekguide - There are several Mac users there who would be able to assist in getting Gobby installed.

comment:10 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: highwayoflife@… added; ryandesign@… removed
Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

comment:11 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Port: net6 added
Resolution: fixed
Status: assignedclosed
Summary: obby fails to buildnet6 1.3.9 causes obby to fail to build

Thanks. I updated net6, obby, gobby and sobby in r59949.

Note: See TracTickets for help on using tickets.