Opened 15 years ago

Closed 14 years ago

#21229 closed defect (fixed)

mochiweb r87 failing to build

Reported by: carlo.cabanilla@… Owned by: febeling@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: erlang Cc: timmcgil@…
Port: mochiweb

Description

Looks like it's failing to copy some html documentation? I'm running Snow Leopard.

$ sudo port clean mochiweb
--->  Cleaning mochiweb

$ sudo port install mochiweb
--->  Computing dependencies for mochiweb
--->  Fetching mochiweb
--->  Verifying checksum(s) for mochiweb
--->  Extracting mochiweb
--->  Configuring mochiweb
--->  Building mochiweb
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_erlang_mochiweb/work/trunk" && /usr/bin/make -j2 all " returned error 2
Command output: erlc -W -I ../include  +debug_info -o ../ebin mochijson2.erl
erlc -W -I ../include  +debug_info -o ../ebin mochinum.erl
erlc -W -I ../include  +debug_info -o ../ebin mochiweb.erl
erlc -W -I ../include  +debug_info -o ../ebin mochiweb_app.erl
erlc -W -I ../include  +debug_info -o ../ebin mochiweb_charref.erl
erlc -W -I ../include  +debug_info -o ../ebin mochiweb_cookies.erl
erlc -W -I ../include  +debug_info -o ../ebin mochiweb_echo.erl
erlc -W -I ../include  +debug_info -o ../ebin mochiweb_headers.erl
erlc -W -I ../include  +debug_info -o ../ebin mochiweb_html.erl
erlc -W -I ../include  +debug_info -o ../ebin mochiweb_http.erl
erlc -W -I ../include  +debug_info -o ../ebin mochiweb_multipart.erl
erlc -W -I ../include  +debug_info -o ../ebin mochiweb_request.erl
erlc -W -I ../include  +debug_info -o ../ebin mochiweb_response.erl
erlc -W -I ../include  +debug_info -o ../ebin mochiweb_skel.erl
erlc -W -I ../include  +debug_info -o ../ebin mochiweb_socket_server.erl
./mochiweb_skel.erl:32: Warning: regexp:gsub/3: the regexp module is deprecated (will be removed in R15A); use the re module instead
./mochiweb_skel.erl:53: Warning: regexp:gsub/3: the regexp module is deprecated (will be removed in R15A); use the re module instead
erlc -W -I ../include  +debug_info -o ../ebin mochiweb_sup.erl
erlc -W -I ../include  +debug_info -o ../ebin mochiweb_util.erl
erlc -W -I ../include  +debug_info -o ../ebin reloader.erl
erl -noshell -run edoc file mochifmt.erl -run init stop
erl -noshell -run edoc file mochifmt_records.erl -run init stop
mv *.html ../doc
erl -noshell -run edoc file mochifmt_std.erl -run init stop
mv *.html ../doc
mv: rename *.html to ../doc/*.html: No such file or directory
make[1]: *** [../doc/mochifmt.html] Error 1
make[1]: *** Waiting for unfinished jobs....
mv *.html ../doc
make: *** [all] Error 2

Error: Status 1 encountered during processing.

Change History (5)

comment:1 Changed 15 years ago by carlo.cabanilla@…

oops, that should be r87, not r877

comment:2 Changed 15 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to febeling@…
Summary: mochiweb r877 failing to buildmochiweb r87 failing to build

comment:3 Changed 15 years ago by timmcgil@…

Editing support/include.mk

and changing this line

ERL_DOCUMENTS := $(ERL_SOURCES:%.erl=$(DOC_DIR)/%.html)

to

ERL_DOCUMENTS := $(ERL_SOURCES:%.erl=$(DOC_DIR)/)

Allows the build to complete successfully and it appears that the html build artefacts are still produced.

comment:4 Changed 15 years ago by timmcgil@…

Cc: timmcgil@… added

Cc Me!

comment:5 Changed 14 years ago by nox@…

Resolution: fixed
Status: newclosed
Version: 1.8.0

Should be fixed by r69972

Note: See TracTickets for help on using tickets.