Opened 20 years ago

Closed 19 years ago

#3017 closed defect (fixed)

NEW: netxx-0.4.2

Reported by: andre@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

netxx-0.4.2

the portfile can be found here: ATTACHED

Description: This is a multiplatform library that wraps sockets in C++ classes.

Homepage: http://pmade.org/software/netxx

Comments: Build depends on having jam installed, specifically boost's bjam. However, the command looks at how it was invoked to determine how to perform the build and, in this case, it must be invoked as "jam".

-- work supported by splunk

Attachments (5)

Portfile (3.2 KB) - added by andre@… 20 years ago.
This is the Portfile
patch-netbuf.h.diff (4.6 KB) - added by andre@… 20 years ago.
This is patchfile 1 of 2
patch-osutil.h.diff (448 bytes) - added by andre@… 20 years ago.
This is patchfile 2 of 2
Portfile.2 (3.2 KB) - added by andre@… 19 years ago.
Revised Portfile
netxx.log (6.6 KB) - added by olegb@… 19 years ago.
build log

Download all attachments as: .zip

Change History (11)

Changed 20 years ago by andre@…

Attachment: Portfile added

This is the Portfile

Changed 20 years ago by andre@…

Attachment: patch-netbuf.h.diff added

This is patchfile 1 of 2

Changed 20 years ago by andre@…

Attachment: patch-osutil.h.diff added

This is patchfile 2 of 2

comment:1 Changed 20 years ago by andre@…

attachments.description: This is 1 of 2 patchfilesThis is patchfile 1 of 2

comment:2 Changed 19 years ago by olegb@…

behaviour like the below is not acceptable, if the port needs a specific binary it should epend upon a port that provides it ...

---> netxx-0.4.2.tar.gz doesn't seem to exist in /opt/local/var/db/dports/distfiles/netxx ---> Attempting to fetch netxx-0.4.2.tar.gz from http://pmade.org/software/netxx/download/ DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/distfiles/netxx" && /usr/bin/curl -f -L -o netxx-0.4.2.tar.gz.TMP http://pmade.org/software/netxx/download/netxx-0.4.2.tar.gz'

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

100 77618 100 77618 0 0 35723 0 0:00:02 0:00:02 --:--:-- 53677 ---> Verifying checksum(s) for netxx DEBUG: Executing com.apple.checksum (netxx) ---> Checksumming netxx-0.4.2.tar.gz DEBUG: Correct (md5) checksum for netxx-0.4.2.tar.gz ---> Extracting netxx DEBUG: Executing com.apple.extract (netxx) ---> Extracting netxx-0.4.2.tar.gz DEBUG: setting option extract.args to /opt/local/var/db/dports/distfiles/netxx/netxx-0.4.2.tar.gz DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/ file._Users_olegb_src_testport_netxx/work" && gzip -dc /opt/local/var/db/dports/distfiles/netxx/ netxx-0.4.2.tar.gz | /usr/bin/gnutar --no-same-owner -xf -' DEBUG: Executing com.apple.patch (netxx) ---> Applying patches to netxx ---> Applying /Users/olegb/src/testport/netxx/files/patch-osutil.h.diff DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/ file._Users_olegb_src_testport_netxx/work/netxx-0.4.2" && patch -p2' patching file src/osutil.h ---> Applying /Users/olegb/src/testport/netxx/files/patch-netbuf.h.diff DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/ file._Users_olegb_src_testport_netxx/work/netxx-0.4.2" && patch -p2' patching file include/netxx/netbuf.h ---> Configuring netxx DEBUG: Executing com.apple.configure (netxx) DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/ file._Users_olegb_src_testport_netxx/work/netxx-0.4.2" && ./configure --prefix=/opt/local' ./configure: line 45: jam: command not found Sorry, I could not find jam, please install Boost.Jam Use the Download link on http://boost.org/ Error: Target com.apple.configure returned: configure failure: shell command "cd "/opt/local/var/db/ dports/build/file._Users_olegb_src_testport_netxx/work/netxx-0.4.2" && ./configure --prefix=/opt/ local" returned error 1 Command output: ./configure: line 45: jam: command not found Sorry, I could not find jam, please install Boost.Jam Use the Download link on http://boost.org/

Warning: the following items did not execute (for netxx): com.apple.build com.apple.configure

comment:3 Changed 19 years ago by mww@…

what about the boost-jam port? If it doesnt install the stuff you depend on, please contact the maintainer of boost-jam to solve this issue!

comment:4 Changed 19 years ago by andre@…

After a few email conversations with Markus Weissman (maintainer) and Paul Guyot (the maintainer of boost-jam), a reasonable way of handling the conflict in the namespace between jam and boost-jam was determined. In particular, since this build needs the bjam binary but named "jam", I've adjusted the portfile so it just copies the bjam binary into the worksrcdir as "jam". The Portfile then uses that binary to build netxx. When done with the build, the extra copy of the binary is deleted.

Changed 19 years ago by andre@…

Attachment: Portfile.2 added

Revised Portfile

Changed 19 years ago by olegb@…

Attachment: netxx.log added

build log

comment:5 Changed 19 years ago by pguyot (Paul Guyot)

Status: newassigned

comment:6 Changed 19 years ago by pguyot (Paul Guyot)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.