#39 ✓resolved
Peter Johnson

make install fails on OpenBSD/amd64 3.6

Reported by Peter Johnson | June 25th, 2011 @ 07:48 PM | in 0.4.0 (closed)

Originally posted on Trac by snake@distributed.net
Original Trac Ticket

  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.


  
h3. Trac Attachments

h3. Trac Comments
comment:1
    
                  
                  Changed 7 years ago by snake@distributed.net
  I forgot to mention the yasm version:

It's yasm-r1139 .


comment:2
    
                  
                  Changed 7 years ago by jlawson-yasm@bovine.net
  comment:2

              Changed 7 years ago by jlawson-yasm@bovine.net

  Cc
    jlawson-yasm@bovine.net added

  Cc
    jlawson-yasm@bovine.net added

comment:3
    
                  
                  Changed 7 years ago by peter@tortall.net
  Can you attach to this bug Makefile and libltdl/Makefile?  Did you

re-automake/autoconf or just do ./configure? Thanks.

  comment:3

              Changed 7 years ago by peter@tortall.net

  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.

  Status
    changed from new to assigned

comment:4
    
                  
                  Changed 7 years ago by snake@distributed.net
  Created an attachment (id=9)

yasm-r1139 main Makefile


comment:5
    
                  
                  Changed 7 years ago by snake@distributed.net
  comment:5

              Changed 7 years ago by snake@distributed.net

  attachments.description
    changed from yasm-r1139 main makefile to yasm-r1139 libltdl/makefile

  attachments.description
    changed from yasm-r1139 main makefile to yasm-r1139 libltdl/makefile

comment:6
    
                  
                  Changed 7 years ago by snake@distributed.net
  Created an attachment (id=10)

yasm-r1139 main Makefile


comment:7
    
                  
                  Changed 7 years ago by snake@distributed.net
  I attached the 2 Makefiles.

I ran only ./configure , no re-automake/autoconf.


comment:8
    
                  
                  Changed 7 years ago by peter@tortall.net
  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.

  comment:8

              Changed 7 years ago by peter@tortall.net

  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.

  Status
    changed from assigned to resolved

  Resolution
    set to fixed

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Yasm Modular Assembler Project

Shared Ticket Bins

People watching this ticket

Pages