Opened 15 years ago

Closed 13 years ago

#21508 closed defect (fixed)

cdrdao won't build on K64

Reported by: nikdog@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: snowleopard Cc: tjbx, neil_mayhew@…, ds@…
Port: cdrdao

Description

Building cdrdao give me this error

--->  Building cdrdao
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_cdrdao/work/cdrdao-1.2.2" && /usr/bin/make -j2 all " returned error 2
Command output: /usr/bin/make  all-recursive
Making all in scsilib
RULES/rules1.top:234: incs/Dcc.i386-darwin: No such file or directory
RULES/rules.top:39: RULES/x86_64-darwin-cc.rul: No such file or directory
RULES/rules.cnf:56: incs/i386-darwin-cc/Inull: No such file or directory
RULES/rules.cnf:57: incs/i386-darwin-cc/rules.cnf: No such file or directory
Makefile:18: warning: overriding commands for target `install'
RULES/rules1.dir:27: warning: ignoring old commands for target `install'
p incs/i386-darwin-cc
make[2]: p: No such file or directory
make[2]: *** No rule to make target `RULES/x86_64-darwin-cc.rul'.  Stop.
make[2]: *** Waiting for unfinished jobs....
make[2]: [incs/i386-darwin-cc/Inull] Error 1 (ignored)
/bin/sh: incs/i386-darwin-cc/Inull: No such file or directory
make[2]: *** [incs/i386-darwin-cc/Inull] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Change History (7)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Keywords: snowleopard added; cdrdao Snow Leopard removed

comment:2 Changed 14 years ago by tjbx

Cc: tjb@… added

Cc Me!

comment:3 Changed 14 years ago by neil_mayhew@…

Cc: neil_mayhew@… added

Cc Me!

comment:4 in reply to:  description Changed 14 years ago by neil_mayhew@…

When building i386+x86_64 universal on Snow Leopard:

Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_cdrdao/work/cdrdao-1.2.2" && /usr/bin/make -j2 all " returned error 2
Command output:       ScsiIf::scan(int*, char*)in libdao.a(ScsiIf-lib.o)
  "_scg_isatapi", referenced from:
      ScsiIf::scan(int*, char*)in libdao.a(ScsiIf-lib.o)
  "_scg_getbuf", referenced from:
      ScsiIf::init()     in libdao.a(ScsiIf-lib.o)
      ScsiIf::scan(int*, char*)in libdao.a(ScsiIf-lib.o)
  "_scg_close", referenced from:
      ScsiIf::~ScsiIf()in libdao.a(ScsiIf-lib.o)
      ScsiIf::scan(int*, char*)in libdao.a(ScsiIf-lib.o)
      ScsiIf::scan(int*, char*)in libdao.a(ScsiIf-lib.o)
  "_scg_havebus", referenced from:
      ScsiIf::scan(int*, char*)in libdao.a(ScsiIf-lib.o)
  "_scg_sense_key", referenced from:
      ScsiIf::scan(int*, char*)in libdao.a(ScsiIf-lib.o)
  "_scg_help", referenced from:
      ScsiIf::init()     in libdao.a(ScsiIf-lib.o)
  "_scg_cmd", referenced from:
      ScsiIf::sendCmd(unsigned char const*, int, unsigned char const*, int, unsigned char*, int, int)in libdao.a(ScsiIf-lib.o)
      ScsiIf::scan(int*, char*)in libdao.a(ScsiIf-lib.o)
  "_scg_printerr", referenced from:
      ScsiIf::printError()      in libdao.a(ScsiIf-lib.o)
  "_scg_open", referenced from:
      ScsiIf::init()     in libdao.a(ScsiIf-lib.o)
      ScsiIf::scan(int*, char*)in libdao.a(ScsiIf-lib.o)
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//ccg6WYnm.out (No such file or directory)
make[2]: *** [cdrdao] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Unable to upgrade port: 1

comment:5 Changed 14 years ago by tjbx

This is actually only a problem if you're booting the 64 bit kernel. I had been doing this on my MBP using the arch=x86_64 kernel option. Then I got a Mac Mini where even though I enabled the 64 bit kernel option, the mini doesn't honor it. cdrdao compiles find under Snow Leopard with the 32 bit kernel but errors out running the 64 bit kernel.

comment:6 Changed 14 years ago by ds@…

Cc: ds@… added

Cc Me!

comment:7 Changed 13 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Summary: cdrdao won't buildcdrdao won't build on K64

Should be fixed by the update to 1.2.3 in r74247.

Note: See TracTickets for help on using tickets.