Subject: DFly: bmake: stopped in /usr/pkgsrc/sysutils/dvd+rw-tools
To: None <tech-pkg@netbsd.org>
From: Tomaz Borstnar <tomaz.borstnar@over.net>
List: tech-pkg
Date: 09/28/2005 20:22:46
DragonFly zadnje-upanje. 1.3.6-PREVIEW DragonFly 1.3.6-PREVIEW #0:
Sat Sep 24 02:04:56 CEST
2005 root@zadnje-upanje.:/usr/obj/usr/src/sys/GENERIC i386
Trying to build dvd+rw-tools from 2005Q3...
Seems like one of dependency does not correctly recognize DFly,
because it tries to use freebsd defaults?? Which in the end causes this:
zadnje-upanje# pwd^M
/usr/pkgsrc/sysutils/dvd+rw-tools
zadnje-upanje# bmake^M
===> Checking for vulnerabilities in dvd+rw-tools-5.21.4.10.8
=> Checksum SHA1 OK for dvd+rw-tools-5.21.4.10.8.tar.gz.
=> Checksum RMD160 OK for dvd+rw-tools-5.21.4.10.8.tar.gz.
===> Extracting for dvd+rw-tools-5.21.4.10.8
===> Required installed package
{cdrecord-[1-9]*,cdrtools-ossdvd-[0-9]*}: cdreco
rd-2.00.3nb2 found
===> Patching for dvd+rw-tools-5.21.4.10.8
===> Applying pkgsrc patches for dvd+rw-tools-5.21.4.10.8
===> Overriding tools for dvd+rw-tools-5.21.4.10.8
===> Creating toolchain wrappers for dvd+rw-tools-5.21.4.10.8
===> Configuring for dvd+rw-tools-5.21.4.10.8
===> Building for dvd+rw-tools-5.21.4.10.8
c++ -g -O -pipe -c growisofs_mmc.cpp
In file included from growisofs_mmc.cpp:17:
transport.hxx:1282:2: #error "Unsupported OS"
In file included from growisofs_mmc.cpp:17:
transport.hxx:1286: error: `Scsi_Command' was not declared in this scope
transport.hxx:1286: error: `cmd' was not declared in this scope
transport.hxx:1287: error: expected `,' or `;' before '{' token
transport.hxx:1368: error: `Scsi_Command' was not declared in this scope
transport.hxx:1368: error: `cmd' was not declared in this scope
transport.hxx:1368: error: expected primary-expression before "volatile"
transport.hxx:1369: error: initializer expression list treated as
compound expre
ssion
transport.hxx:1369: error: expected `,' or `;' before '{' token
transport.hxx:1417: error: variable or field `page05_setup' declared void
transport.hxx:1417: error: `Scsi_Command' was not declared in this scope
transport.hxx:1417: error: `cmd' was not declared in this scope
transport.hxx:1417: error: expected primary-expression before "unsigned"
transport.hxx:1418: error: expected primary-expression before "unsigned"
transport.hxx:1422: error: initializer expression list treated as
compound expre
ssion
transport.hxx:1422: error: expected `,' or `;' before '{' token
growisofs_mmc.cpp: In function `int fumount(int)':
growisofs_mmc.cpp:52: error: `Scsi_Command' undeclared (first use
this function)
growisofs_mmc.cpp:52: error: (Each undeclared identifier is reported
only once f
or each function it appears in.)
growisofs_mmc.cpp:52: error: expected `;' before "cmd"
growisofs_mmc.cpp:53: error: `cmd' undeclared (first use this function)
growisofs_mmc.cpp: In function `int media_reload(char*, stat*)':
growisofs_mmc.cpp:59: error: `Scsi_Command' undeclared (first use
this function)
growisofs_mmc.cpp:59: error: expected `;' before "cmd"
growisofs_mmc.cpp:62: error: `cmd' undeclared (first use this function)
growisofs_mmc.cpp:99: error: expected `;' before "cmd"
growisofs_mmc.cpp:136: error: expected `;' before "cmd"
growisofs_mmc.cpp: In function `int get_mmc_profile(void*)':
growisofs_mmc.cpp:155: error: `Scsi_Command' undeclared (first use
this function
)
growisofs_mmc.cpp:155: error: expected `;' before "cmd"
growisofs_mmc.cpp:164: error: `cmd' undeclared (first use this function)
growisofs_mmc.cpp:167: error: `READ' undeclared (first use this function)
growisofs_mmc.cpp:201: error: `wait_for_unit' cannot be used as a function
growisofs_mmc.cpp: At global scope:
growisofs_mmc.cpp:258: error: `Scsi_Command' was not declared in this scope
growisofs_mmc.cpp:258: error: `cmd' was not declared in this scope
growisofs_mmc.cpp:259: error: expected `,' or `;' before '{' token
growisofs_mmc.cpp:335: error: `off64_t' does not name a type
growisofs_mmc.cpp:340: error: `off64_t' has not been declared
growisofs_mmc.cpp:341: error: ISO C++ forbids declaration of `foff'
with no type
growisofs_mmc.cpp: In function `ssize_t poor_mans_pwrite64(int, const
void*, siz
e_t, int)':
growisofs_mmc.cpp:341: error: `Scsi_Command' undeclared (first use
this function
)
growisofs_mmc.cpp:341: error: expected `;' before "cmd"
growisofs_mmc.cpp:378: error: `cmd' undeclared (first use this function)
growisofs_mmc.cpp:414: error: `WRITE' undeclared (first use this function)
growisofs_mmc.cpp:455: error: `handle_events' cannot be used as a function
growisofs_mmc.cpp:463: error: `READ' undeclared (first use this function)
growisofs_mmc.cpp:485: error: `handle_events' cannot be used as a function
growisofs_mmc.cpp: At global scope:
growisofs_mmc.cpp:556: error: variable or field `plus_rw_format' declared void
growisofs_mmc.cpp:556: error: `Scsi_Command' was not declared in this scope
growisofs_mmc.cpp:556: error: `cmd' was not declared in this scope
growisofs_mmc.cpp:557: error: expected `,' or `;' before '{' token
growisofs_mmc.cpp:593: error: `Scsi_Command' was not declared in this scope
growisofs_mmc.cpp:593: error: `cmd' was not declared in this scope
growisofs_mmc.cpp:593: error: `off64_t' was not declared in this scope
growisofs_mmc.cpp:594: error: initializer expression list treated as
compound ex
pression
growisofs_mmc.cpp:594: error: expected `,' or `;' before '{' token
growisofs_mmc.cpp: In function `int plusminus_r_C_parm(void*, char*)':
growisofs_mmc.cpp:648: error: `Scsi_Command' undeclared (first use
this function
)
growisofs_mmc.cpp:648: error: expected `;' before "cmd"
growisofs_mmc.cpp:662: error: `cmd' undeclared (first use this function)
growisofs_mmc.cpp:668: error: `READ' undeclared (first use this function)
growisofs_mmc.cpp: At global scope:
growisofs_mmc.cpp:716: error: `Scsi_Command' was not declared in this scope
growisofs_mmc.cpp:716: error: `cmd' was not declared in this scope
growisofs_mmc.cpp:717: error: expected `,' or `;' before '{' token
growisofs_mmc.cpp:761: error: `Scsi_Command' was not declared in this scope
growisofs_mmc.cpp:761: error: `cmd' was not declared in this scope
growisofs_mmc.cpp:761: error: expected primary-expression before "unsigned"
growisofs_mmc.cpp:762: error: initializer expression list treated as
compound ex
pression
growisofs_mmc.cpp:762: error: expected `,' or `;' before '{' token
growisofs_mmc.cpp:811: error: `Scsi_Command' was not declared in this scope
growisofs_mmc.cpp:811: error: `cmd' was not declared in this scope
growisofs_mmc.cpp:811: error: expected primary-expression before "unsigned"
growisofs_mmc.cpp:812: error: expected primary-expression before "unsigned"
growisofs_mmc.cpp:813: error: initializer expression list treated as
compound ex
pression
growisofs_mmc.cpp:813: error: expected `,' or `;' before '{' token
growisofs_mmc.cpp:979: error: `Scsi_Command' was not declared in this scope
growisofs_mmc.cpp:979: error: `cmd' was not declared in this scope
growisofs_mmc.cpp:979: error: expected primary-expression before "unsigned"
growisofs_mmc.cpp:980: error: initializer expression list treated as
compound ex
pression
growisofs_mmc.cpp:980: error: expected `,' or `;' before '{' token
growisofs_mmc.cpp:1050: error: `Scsi_Command' was not declared in this scope
growisofs_mmc.cpp:1050: error: `cmd' was not declared in this scope
growisofs_mmc.cpp:1050: error: expected primary-expression before "int"
growisofs_mmc.cpp:1051: error: initializer expression list treated as
compound e
xpression
growisofs_mmc.cpp:1051: error: expected `,' or `;' before '{' token
growisofs_mmc.cpp:1224: error: `Scsi_Command' was not declared in this scope
growisofs_mmc.cpp:1224: error: `cmd' was not declared in this scope
growisofs_mmc.cpp:1224: error: `off64_t' was not declared in this scope
growisofs_mmc.cpp:1225: error: initializer expression list treated as
compound e
xpression
growisofs_mmc.cpp:1225: error: expected `,' or `;' before '{' token
growisofs_mmc.cpp:1284: error: `Scsi_Command' was not declared in this scope
growisofs_mmc.cpp:1284: error: `cmd' was not declared in this scope
growisofs_mmc.cpp:1284: error: `off64_t' was not declared in this scope
growisofs_mmc.cpp:1285: error: initializer expression list treated as
compound e
xpression
growisofs_mmc.cpp:1285: error: expected `,' or `;' before '{' token
growisofs_mmc.cpp:1312: error: variable or field `plus_r_dl_split'
declared void
growisofs_mmc.cpp:1312: error: `Scsi_Command' was not declared in this scope
growisofs_mmc.cpp:1312: error: `cmd' was not declared in this scope
growisofs_mmc.cpp:1312: error: `off64_t' was not declared in this scope
growisofs_mmc.cpp:1313: error: initializer expression list treated as
compound e
xpression
growisofs_mmc.cpp:1313: error: expected `,' or `;' before '{' token
growisofs_mmc.cpp:1369: error: `Scsi_Command' was not declared in this scope
growisofs_mmc.cpp:1369: error: `cmd' was not declared in this scope
growisofs_mmc.cpp:1370: error: expected `,' or `;' before '{' token
growisofs_mmc.cpp: In function `void no_r_finalize()':
growisofs_mmc.cpp:1399: error: `Scsi_Command' undeclared (first use
this functio
n)
growisofs_mmc.cpp:1399: error: expected `;' before "cmd"
growisofs_mmc.cpp:1402: error: `cmd' undeclared (first use this function)
growisofs_mmc.cpp:1402: error: `flush_cache' cannot be used as a function
growisofs_mmc.cpp: In function `void plus_rw_finalize()':
growisofs_mmc.cpp:1414: error: `Scsi_Command' undeclared (first use
this functio
n)
growisofs_mmc.cpp:1414: error: expected `;' before "cmd"
growisofs_mmc.cpp:1418: error: `cmd' undeclared (first use this function)
growisofs_mmc.cpp:1418: error: `flush_cache' cannot be used as a function
growisofs_mmc.cpp:1429: error: `wait_for_unit' cannot be used as a function
growisofs_mmc.cpp:1440: error: `wait_for_unit' cannot be used as a function
growisofs_mmc.cpp: In function `void plus_r_finalize()':
growisofs_mmc.cpp:1456: error: `Scsi_Command' undeclared (first use
this functio
n)
growisofs_mmc.cpp:1456: error: expected `;' before "cmd"
growisofs_mmc.cpp:1460: error: `cmd' undeclared (first use this function)
growisofs_mmc.cpp:1460: error: `flush_cache' cannot be used as a function
growisofs_mmc.cpp:1472: error: `wait_for_unit' cannot be used as a function
growisofs_mmc.cpp:1490: error: `wait_for_unit' cannot be used as a function
growisofs_mmc.cpp: In function `void minus_rw_finalize()':
growisofs_mmc.cpp:1505: error: `Scsi_Command' undeclared (first use
this functio
n)
growisofs_mmc.cpp:1505: error: expected `;' before "cmd"
growisofs_mmc.cpp:1509: error: `cmd' undeclared (first use this function)
growisofs_mmc.cpp:1509: error: `flush_cache' cannot be used as a function
growisofs_mmc.cpp:1520: error: `wait_for_unit' cannot be used as a function
growisofs_mmc.cpp: In function `void minus_r_finalize()':
growisofs_mmc.cpp:1542: error: `Scsi_Command' undeclared (first use
this functio
n)
growisofs_mmc.cpp:1542: error: expected `;' before "cmd"
growisofs_mmc.cpp:1546: error: `cmd' undeclared (first use this function)
growisofs_mmc.cpp:1546: error: `flush_cache' cannot be used as a function
growisofs_mmc.cpp:1559: error: `wait_for_unit' cannot be used as a function
growisofs_mmc.cpp:1570: error: `wait_for_unit' cannot be used as a function
growisofs_mmc.cpp: At global scope:
growisofs_mmc.cpp:1616: error: `off64_t' has not been declared
growisofs_mmc.cpp:1616: error: ISO C++ forbids declaration of
`parameter' with n
o type
growisofs_mmc.cpp:1619: error: `off64_t' has not been declared
growisofs_mmc.cpp:1620: error: ISO C++ forbids declaration of `leadout' with no
type
growisofs_mmc.cpp: In function `ssize_t (* poor_mans_setup(void*,
int))(int, con
st void*, size_t, int)':
growisofs_mmc.cpp:1620: error: `Scsi_Command' undeclared (first use
this functio
n)
growisofs_mmc.cpp:1620: error: expected `;' before "cmd"
growisofs_mmc.cpp:1625: error: `cmd' undeclared (first use this function)
growisofs_mmc.cpp:1632: error: `handle_events' cannot be used as a function
growisofs_mmc.cpp:1638: error: `plus_rw_format' cannot be used as a function
growisofs_mmc.cpp:1641: error: `plus_rw_restart_format' cannot be
used as a func
tion
growisofs_mmc.cpp:1648: error: `plusminus_pages_setup' cannot be used
as a funct
ion
growisofs_mmc.cpp:1654: error: `plusminus_pages_setup' cannot be used
as a funct
ion
growisofs_mmc.cpp:1656: error: `plus_r_dl_split' cannot be used as a function
growisofs_mmc.cpp:1665: error: `plusminus_pages_setup' cannot be used
as a funct
ion
growisofs_mmc.cpp:1670: error: `minus_rw_quickgrow' cannot be used as
a function
growisofs_mmc.cpp:1676: error: `plusminus_pages_setup' cannot be used
as a funct
ion
growisofs_mmc.cpp:1678: error: `minus_r_reserve_track' cannot be used
as a funct
ion
growisofs_mmc.cpp:1688: error: `plusminus_pages_setup' cannot be used
as a funct
ion
growisofs_mmc.cpp:1713: error: `READ' undeclared (first use this function)
growisofs_mmc.cpp: In function `int poor_man_rewritable(void*, void*)':
growisofs_mmc.cpp:1736: error: `Scsi_Command' undeclared (first use
this functio
n)
growisofs_mmc.cpp:1736: error: expected `;' before "cmd"
growisofs_mmc.cpp:1753: error: `cmd' undeclared (first use this function)
growisofs_mmc.cpp:1753: error: `flush_cache' cannot be used as a function
growisofs_mmc.cpp:1760: error: `READ' undeclared (first use this function)
*** Error code 1
Stop.
bmake: stopped in
/usr/pkgsrc/sysutils/dvd+rw-tools/work/dvd+rw-tools-5.21.4.10.
8
*** Error code 1
Stop.
bmake: stopped in
/usr/pkgsrc/sysutils/dvd+rw-tools/work/dvd+rw-tools-5.21.4.10.
8
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/sysutils/dvd+rw-tools
===>
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===> * log of the build
===> * /usr/pkgsrc/sysutils/dvd+rw-tools/work/.work.log
===>
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/sysutils/dvd+rw-tools
zadnje-upanje#cat /usr/pkgsrc/sysutils/dvd+rw-tools/work/.work.log
[*] /usr/pkgsrc/sysutils/dvd+rw-tools/work/.wrapper/bin/c++ -g -O
-pipe -c growi
sofs_mmc.cpp
(wrapper.sh) append args:
-I/usr/pkgsrc/sysutils/dvd+rw-tools/work/.buildlin
k/include -L/usr/pkgsrc/sysutils/dvd+rw-tools/work/.buildlink/lib
(arg-source) push: -g
(arg-source) push: -O
(arg-source) push: -pipe
(arg-source) push: -c
(arg-source) push: growisofs_mmc.cpp
(arg-source) push:
-I/usr/pkgsrc/sysutils/dvd+rw-tools/work/.buildlink/inclu
de
(arg-source) push: -L/usr/pkgsrc/sysutils/dvd+rw-tools/work/.buildlink/lib
(logic) pop: -g
(logic) to: -g
(logic) push: -g
(logic) pop: -O
(logic) to: -O
(logic) push: -O
(logic) pop: -pipe
(logic) to: -pipe
(logic) push: -pipe
(logic) pop: -c
(logic) to: -c
(logic) push: -c
(logic) pop: growisofs_mmc.cpp
(logic) to: growisofs_mmc.cpp [untransformed]
(logic) push: growisofs_mmc.cpp
(logic) pop: -I/usr/pkgsrc/sysutils/dvd+rw-tools/work/.buildlink/include
(logic) to: -I/usr/pkgsrc/sysutils/dvd+rw-tools/work/.buildlink/include
(logic) push: -I/usr/pkgsrc/sysutils/dvd+rw-tools/work/.buildlink/include
(logic) pop: -L/usr/pkgsrc/sysutils/dvd+rw-tools/work/.buildlink/lib
(logic) to: -L/usr/pkgsrc/sysutils/dvd+rw-tools/work/.buildlink/lib
(logic) push: -L/usr/pkgsrc/sysutils/dvd+rw-tools/work/.buildlink/lib
(cmd-sink) pop: -g
(cmd-sink) pop: -O
(cmd-sink) pop: -pipe
(cmd-sink) pop: -c
(cmd-sink) pop: growisofs_mmc.cpp
(cmd-sink) pop:
-I/usr/pkgsrc/sysutils/dvd+rw-tools/work/.buildlink/include
(cmd-sink) pop: -L/usr/pkgsrc/sysutils/dvd+rw-tools/work/.buildlink/lib
<.> /usr/pkgsrc/sysutils/dvd+rw-tools/work/.gcc/bin/g++ -g -O -pipe
-c growisofs
_mmc.cpp -I/usr/pkgsrc/sysutils/dvd+rw-tools/work/.buildlink/include
-L/usr/pkgs
rc/sysutils/dvd+rw-tools/work/.buildlink/lib
------------
Tomaz