Ticket #39 (closed defect: fixed)

Opened 4 years ago

Last modified 2 years ago

make install fails on OpenBSD/amd64 3.6

Reported by: snake Assigned to: peter@tortall.net
Priority: P2 Milestone: 0.4.0
Component: Build Tools / Libraries Version: other
Severity: normal Keywords:
Cc: jlawson-yasm@bovine.net

Description

'make install' fails on OpenBSD/amd64 3.6 with the following error message:

$ sudo make install
make  install-recursive
Making install in libltdl
Variable mkdir_p is recursive.
*** Error code 2

Stop in /pub/OpenBSD/work/yasm-r1139/libltdl (line 424 of Makefile).
*** Error code 1

Stop in /pub/OpenBSD/work/yasm-r1139 (line 2454 of Makefile).
*** Error code 1

Stop in /pub/OpenBSD/work/yasm-r1139 (line 2779 of Makefile).

As I have no clue about the libltdl stuff, I can't fix it myself.

Attachments

Change History

09/10/04 04:07:08 changed by snake

I forgot to mention the yasm version:
It's yasm-r1139 .

09/10/04 09:11:39 changed by jlawson-yasm

  • cc set to jlawson-yasm@bovine.net.

09/10/04 10:06:37 changed by peter

  • status changed from new to assigned.
Can you attach to this bug Makefile and libltdl/Makefile?  Did you
re-automake/autoconf or just do ./configure?  Thanks.

09/10/04 11:02:37 changed by snake

Created an attachment (id=9)
yasm-r1139 main Makefile

09/10/04 11:06:01 changed by snake

  • attachments changed.

09/10/04 11:07:27 changed by snake

Created an attachment (id=10)
yasm-r1139 main Makefile

09/10/04 11:08:21 changed by snake

I attached the 2 Makefiles.
I ran only ./configure , no re-automake/autoconf.

09/10/04 16:04:08 changed by peter

  • status changed from assigned to resolved.
  • resolution set to fixed.
This was due to an ordering mistake in the nightly build scripts.  The script
config/mkinstalldirs was included in the distribution, but the Makefile.in files
were generated prior to it being copied into the config/ directory.  The
generated Makefile.in files thus set mkinstalldirs=$(mkdir_p), rather than to
the mkinstalldirs script.  At configure time on certain machines, configure sets
mkdir_p=$(mkinstalldirs), because it sees the presence of the mkinstalldir
script.  This is where the circular reference occurs.

I fixed the nightly build scripts so that this will no longer occur.  An
unrelated r1140 commit was made and the new version of the nightly build script
run, so download the r1140 build for the fixed version.

Thanks for the bug report.

Add/Change #39 (make install fails on OpenBSD/amd64 3.6)