www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 21566] New: gen_man.d and docs/ missing in source tarball

https://issues.dlang.org/show_bug.cgi?id=21566

          Issue ID: 21566
           Summary: gen_man.d and docs/ missing in source tarball
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: witold.baryluk+d gmail.com

http://downloads.dlang.org/releases/2.x/2.095.0/dmd.2.095.0.linux.tar.xz


user debian:~/dmd-src/dmd2/src/dmd$ make -f posix.mak install
posix.mak:42: ===== DEPRECATION NOTICE ===== 
posix.mak:43: ===== DEPRECATION: posix.mak is deprecated. Please use
src/build.d instead.
posix.mak:44: ============================== 
dmd -of../generated/build -g build.d
../generated/build OS="linux" BUILD="release" MODEL="64" HOST_DMD="dmd"
CXX="c++" AUTO_BOOTSTRAP="" DOCDIR="" STDDOC="" DOC_OUTPUT_DIR="" MAKE="make"
VERBOSE="" ENABLE_RELEASE="" ENABLE_DEBUG="" ENABLE_ASSERTS=""
ENABLE_UNITTEST="" ENABLE_PROFILE="" ENABLE_COVERAGE="" DFLAGS=""
../generated/docs/man/man1/dmd.1
/usr/bin/dmd -I/home/user/dmd-src/dmd2/src/dmd
-of/home/user/dmd-src/dmd2/src/generated/linux/release/64/gen_man -version=MARS
-w -de -fPIC -m64 -J/home/user/dmd-src/dmd2/src/generated/linux/release/64
-I/home/user/dmd-src/dmd2/src/dmd -dip25 -g -color=on
/home/user/dmd-src/dmd2/src/docs/gen_man.d
/home/user/dmd-src/dmd2/src/dmd/dmd/cli.d
mkdirRecurse '/home/user/dmd-src/dmd2/src/generated/docs/man/man1'

The following operation failed:
Sources: 
 -> /home/user/dmd-src/dmd2/src/docs/gen_man.d
 -> /home/user/dmd-src/dmd2/src/dmd/dmd/cli.d

Targets: 
 -> /home/user/dmd-src/dmd2/src/generated/linux/release/64/gen_man

Command: /usr/bin/dmd -I/home/user/dmd-src/dmd2/src/dmd
-of/home/user/dmd-src/dmd2/src/generated/linux/release/64/gen_man -version=MARS
-w -de -fPIC -m64 -J/home/user/dmd-src/dmd2/src/generated/linux/release/64
-I/home/user/dmd-src/dmd2/src/dmd -dip25 -g -color=on
/home/user/dmd-src/dmd2/src/docs/gen_man.d
/home/user/dmd-src/dmd2/src/dmd/dmd/cli.d

-----------------------------------------------------------
Error: module gen_man is in file '/home/user/dmd-src/dmd2/src/docs/gen_man.d'
which cannot be read
import path[0] = /home/user/dmd-src/dmd2/src/dmd
import path[1] = /home/user/dmd-src/dmd2/src/dmd
import path[2] = /usr/include/dmd/phobos
import path[3] = /usr/include/dmd/druntime/import

DETAILS:


make: *** [posix.mak:146: ../generated/docs/man/man1/dmd.1] Error 1



Similarly, if trying to use:

./build.d man


/usr/bin/dmd -I/home/user/dmd-src/dmd2/src/dmd
-of/home/user/dmd-src/dmd2/src/generated/linux/release/64/gen_man -version=MARS
-w -de -fPIC -m64 -J/home/user/dmd-src/dmd2/src/generated/linux/release/64
-I/home/user/dmd-src/dmd2/src/dmd -dip25 -g -color=on
/home/user/dmd-src/dmd2/src/docs/gen_man.d
/home/user/dmd-src/dmd2/src/dmd/dmd/cli.d
copy '/home/user/dmd-src/dmd2/src/docs/man/man1/obj2asm.1' to
'/home/user/dmd-src/dmd2/src/generated/docs/man/man1/obj2asm.1'
copy '/home/user/dmd-src/dmd2/src/docs/man/man1/dumpobj.1' to
'/home/user/dmd-src/dmd2/src/generated/docs/man/man1/dumpobj.1'

The following operation failed:
Dependencies: 
 -> /home/user/dmd-src/dmd2/src/generated/docs/man/man1

Sources: 
 -> /home/user/dmd-src/dmd2/src/docs/man/man1/obj2asm.1

Targets: 
 -> /home/user/dmd-src/dmd2/src/generated/docs/man/man1/obj2asm.1

CommandFunction: Yes

-----------------------------------------------------------

The following operation failed:
Dependencies: 
 -> /home/user/dmd-src/dmd2/src/generated/docs/man/man1

Sources: 
 -> /home/user/dmd-src/dmd2/src/docs/man/man1/dumpobj.1

Targets: 
 -> /home/user/dmd-src/dmd2/src/generated/docs/man/man1/dumpobj.1

CommandFunction: Yes

-----------------------------------------------------------

The following operation failed:
Sources: 
 -> /home/user/dmd-src/dmd2/src/docs/gen_man.d
 -> /home/user/dmd-src/dmd2/src/dmd/dmd/cli.d

Targets: 
 -> /home/user/dmd-src/dmd2/src/generated/linux/release/64/gen_man

Command: /usr/bin/dmd -I/home/user/dmd-src/dmd2/src/dmd
-of/home/user/dmd-src/dmd2/src/generated/linux/release/64/gen_man -version=MARS
-w -de -fPIC -m64 -J/home/user/dmd-src/dmd2/src/generated/linux/release/64
-I/home/user/dmd-src/dmd2/src/dmd -dip25 -g -color=on
/home/user/dmd-src/dmd2/src/docs/gen_man.d
/home/user/dmd-src/dmd2/src/dmd/dmd/cli.d

-----------------------------------------------------------
Error: module gen_man is in file '/home/user/dmd-src/dmd2/src/docs/gen_man.d'
which cannot be read
import path[0] = /home/user/dmd-src/dmd2/src/dmd
import path[1] = /home/user/dmd-src/dmd2/src/dmd
import path[2] = /usr/include/dmd/phobos
import path[3] = /usr/include/dmd/druntime/import

DETAILS:

--
Jan 20