Opened 8 years ago

Closed 7 years ago

Last modified 7 years ago

#53846 closed update (fixed)

erlang @19.2: update to 19.3

Reported by: l2dy (Zero King) Owned by: ci42
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: marco-m (Marco Molteni)
Port: erlang

Description


Attachments (2)

Portfile-erlang.diff (2.3 KB) - added by graffic (Javier Gonel) 8 years ago.
Erlang 19.3 portfile diff
Portfile-erlang-19_3-without_reinplace.diff (2.9 KB) - added by graffic (Javier Gonel) 8 years ago.
19.3 and removed reinplace

Download all attachments as: .zip

Change History (9)

comment:1 Changed 8 years ago by marco-m (Marco Molteni)

Cc: marco-m added

Changed 8 years ago by graffic (Javier Gonel)

Attachment: Portfile-erlang.diff added

Erlang 19.3 portfile diff

Changed 8 years ago by graffic (Javier Gonel)

19.3 and removed reinplace

comment:2 Changed 8 years ago by graffic (Javier Gonel)

I've found that at least in 19.3 Makefile there is no need to use reinplace to remove the destroot and leave the prefix. The makefile does it.

I've attached a second diff with both changes.

comment:3 Changed 8 years ago by mf2k (Frank Schima)

Keywords: haspatch added

comment:4 Changed 7 years ago by ci42

Resolution: fixed
Status: newclosed

In e80897a5cc8f3583eac1bff12a62db6dc8ce4f99/macports-ports:

erlang: update to version 19.3

Closes: #53846

comment:5 Changed 7 years ago by marco-m (Marco Molteni)

Thanks a lot :-)

comment:6 Changed 7 years ago by rurban (Reini Urban)

This is for me broken like this:

:info:build ../unix/run_erl.c:962:11: error: implicit declaration of function 'openpty' is invalid in
 C99 [-Werror,-Wimplicit-function-declaration]
:info:build       if (openpty(&mfd, sfdp, slave, NULL, NULL) == 0) {
:info:build           ^
:info:build ../unix/run_erl.c:962:11: note: did you mean 'openat'?
:info:build /usr/include/sys/fcntl.h:480:5: note: 'openat' declared here
:info:build int     openat(int, const char *, int, ...) __DARWIN_NOCANCEL(openat) __OSX_AVAILABLE_STA
RTING(__MAC_10_10, __IPHONE_8_0);
:info:build         ^
:info:build 1 error generated.
Version 0, edited 7 years ago by rurban (Reini Urban) (next)

comment:7 in reply to:  6 Changed 7 years ago by ci42

Replying to rurban:

This is for me broken like this. openpty is in /usr/include/util.h

:info:build ../unix/run_erl.c:962:11: error: implicit declaration of function 'openpty' is invalid in
 C99 [-Werror,-Wimplicit-function-declaration]
:info:build       if (openpty(&mfd, sfdp, slave, NULL, NULL) == 0) {
:info:build           ^
:info:build ../unix/run_erl.c:962:11: note: did you mean 'openat'?
:info:build /usr/include/sys/fcntl.h:480:5: note: 'openat' declared here
:info:build int     openat(int, const char *, int, ...) __DARWIN_NOCANCEL(openat) __OSX_AVAILABLE_STA
RTING(__MAC_10_10, __IPHONE_8_0);
:info:build         ^
:info:build 1 error generated.

which is strange. HAVE_UTIL_H is defined in config.h

#ifdef HAVE_UTIL_H
#  include <util.h>
#endif

Please provide a full log of a clean attempt.

Note: See TracTickets for help on using tickets.