Opened 10 years ago

Closed 10 years ago

#41881 closed defect (fixed)

Forkbomb failed, can't make unique filename

Reported by: ritchiecai@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: forkbomb

Description

Forkbomb installation failed:

:notice:build --->  Building forkbomb
:debug:build Executing org.macports.build (forkbomb)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_benchmarks_forkbomb/forkbomb/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.9'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_benchmarks_forkbomb/forkbomb/work/forkbomb-1.4" && /usr/bin/make -j4 -w all'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_benchmarks_forkbomb/forkbomb/work/forkbomb-1.4" && /usr/bin/make -j4 -w all
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_benchmarks_forkbomb/forkbomb/work/forkbomb-1.4'
:info:build cc -Wall -ggdb -W -O   -o forkbomb forkbomb.c
:info:build ctags *.c
:info:build clang: error: unable to make temporary file: /tmp/forkbomb-1.4/forkbomb: can't make unique filename: No such file or directory
:info:build make: *** [forkbomb] Error 1
:info:build make: *** Waiting for unfinished jobs....
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_benchmarks_forkbomb/forkbomb/work/forkbomb-1.4'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_benchmarks_forkbomb/forkbomb/work/forkbomb-1.4" && /usr/bin/make -j4 -w all
:info:build Exit code: 2

It cannot create directory /tmp/forkbomb-1.4 by itself. If I create that directory manually, and set the right permission, installation finishes with out any issue.

Change History (2)

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

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

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

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