Opened 3 months ago

Closed 9 days ago

#69264 closed defect (fixed)

smake @1.7-2023-09-28 fails to build: Failed to destroot smake: no files matched glob pattern

Reported by: barracuda156 Owned by: RobK88
Priority: Normal Milestone:
Component: ports Version: 2.9.1
Keywords: snowleopard, powerpc, rosetta Cc: RobK88
Port: smake

Description

There are multiple errors like this:

:info:build In file included from getav0.c:27:
:info:build ../include/schily/avoffset.h:54:23: error: avoffset.h: No such file or directory

But they do not stop the build, which eventually fails at destroot:

:info:build In file included from getav0.c:27:
:info:build ../include/schily/avoffset.h:54:23: error: avoffset.h: No such file or directory
:info:build smake: *** Code 1 (Operation not permitted) from command line for target 'OBJ/powerpc-darwin-gcc/profiled/getav0.o'.
:info:build smake: The following command caused the error:
:info:build echo "	==> COMPILING \"OBJ/powerpc-darwin-gcc/profiled/getav0.o\""; /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_smake/smake/work/compwrap/cc/usr/bin/gcc-4.2   -pg  -O    -DSCHILY_BUILD -IOBJ/powerpc-darwin-gcc/profiled -I../incs/powerpc-darwin-gcc -I../include  -Istdio -DUSE_SCANSTACK	 -DPORT_ONLY	  -I/opt/local/include    -c -o OBJ/powerpc-darwin-gcc/profiled/getav0.o getav0.c  
:info:build smake: Couldn't make 'all'.
:info:build smake: Leaving  '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_smake/smake/work/2023-09-28/libschily/../psmake/smake'[1] from directory '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_smake/smake/work/2023-09-28/libschily'
:info:build smake: Default commandline target: 'all'
:info:build smake: Doing                       exit(1)
:info:build 	==> MAKING "all" ON SUBCOMPONENT ".../noshlschily.mk"
:info:build 	==> MAKING no shared libs on this platform (LINKMODE=static)
:info:build 	==> MAKING DIRECTORY "OBJ/powerpc-darwin-gcc"
:info:build 	==> MAKING DIRECTORY "OBJ/powerpc-darwin-gcc/man"
:info:build 	==> MAKING DEPENDENCIES "OBJ/powerpc-darwin-gcc/make.d"
:info:build 	==> MAKING DEPENDENCIES "OBJ/powerpc-darwin-gcc/archconf.d"
:info:build 	==> MAKING DEPENDENCIES "OBJ/powerpc-darwin-gcc/readfile.d"
:info:build 	==> MAKING DEPENDENCIES "OBJ/powerpc-darwin-gcc/parse.d"
:info:build 	==> MAKING DEPENDENCIES "OBJ/powerpc-darwin-gcc/update.d"
:info:build 	==> MAKING DEPENDENCIES "OBJ/powerpc-darwin-gcc/rules.d"
:info:build 	==> MAKING DEPENDENCIES "OBJ/powerpc-darwin-gcc/job.d"
:info:build 	==> MAKING DEPENDENCIES "OBJ/powerpc-darwin-gcc/memory.d"
:info:build 	==> MAKING DEPENDENCIES "OBJ/powerpc-darwin-gcc/make.d"
:info:build 	==> MAKING DEPENDENCIES "OBJ/powerpc-darwin-gcc/archconf.d"
:info:build 	==> MAKING DEPENDENCIES "OBJ/powerpc-darwin-gcc/readfile.d"
:info:build 	==> MAKING DEPENDENCIES "OBJ/powerpc-darwin-gcc/parse.d"
:info:build 	==> MAKING DEPENDENCIES "OBJ/powerpc-darwin-gcc/update.d"
:info:build 	==> MAKING DEPENDENCIES "OBJ/powerpc-darwin-gcc/rules.d"
:info:build 	==> MAKING DEPENDENCIES "OBJ/powerpc-darwin-gcc/job.d"
:info:build 	==> MAKING DEPENDENCIES "OBJ/powerpc-darwin-gcc/memory.d"
:info:build 	==> COMPILING "OBJ/powerpc-darwin-gcc/make.o"
:info:build 	==> COMPILING "OBJ/powerpc-darwin-gcc/archconf.o"
:info:build 	==> COMPILING "OBJ/powerpc-darwin-gcc/readfile.o"
:info:build 	==> COMPILING "OBJ/powerpc-darwin-gcc/parse.o"
:info:build parse.c: In function 'warn':
:info:build parse.c:1469: warning: unknown conversion type character 'r' in format
:info:build parse.c:1469: warning: format '%d' expects type 'int', but argument 3 has type 'char *'
:info:build parse.c:1469: warning: format '%d' expects type 'int', but argument 4 has type 'struct __va_list_tag *'
:info:build parse.c:1469: warning: format '%s' expects type 'char *', but argument 5 has type 'int'
:info:build parse.c: In function 'exerror':
:info:build parse.c:1497: warning: unknown conversion type character 'r' in format
:info:build parse.c:1497: warning: format '%d' expects type 'int', but argument 3 has type 'char *'
:info:build parse.c:1497: warning: format '%d' expects type 'int', but argument 4 has type 'struct __va_list_tag *'
:info:build parse.c:1497: warning: format '%s' expects type 'char *', but argument 5 has type 'int'
:info:build 	==> COMPILING "OBJ/powerpc-darwin-gcc/update.o"
:info:build 	==> COMPILING "OBJ/powerpc-darwin-gcc/rules.o"
:info:build 	==> COMPILING "OBJ/powerpc-darwin-gcc/job.o"
:info:build 	==> COMPILING "OBJ/powerpc-darwin-gcc/memory.o"
:info:build 	==> LINKING "OBJ/powerpc-darwin-gcc/smake"
:info:build ld: warning: directory '/usr/local/lib' following -L not found
:info:build ld: library not found for -lschily
:info:build collect2: ld returned 1 exit status
:info:build smake: *** Code 1 (Operation not permitted) from command line for target 'OBJ/powerpc-darwin-gcc/smake'.
:info:build smake: The following command caused the error:
:info:build echo "	==> LINKING \"OBJ/powerpc-darwin-gcc/smake\""; /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_smake/smake/work/compwrap/cc/usr/bin/gcc-4.2  -o OBJ/powerpc-darwin-gcc/smake -L../libs/powerpc-darwin-gcc -L../libs/powerpc-darwin-gcc  -L/usr/local/lib -framework IOKit -framework CoreFoundation  OBJ/powerpc-darwin-gcc/make.o OBJ/powerpc-darwin-gcc/archconf.o OBJ/powerpc-darwin-gcc/readfile.o OBJ/powerpc-darwin-gcc/parse.o OBJ/powerpc-darwin-gcc/update.o OBJ/powerpc-darwin-gcc/rules.o  OBJ/powerpc-darwin-gcc/job.o OBJ/powerpc-darwin-gcc/memory.o	 -lschily  
:info:build smake: Couldn't make 'all'.
:info:build 	==> MAKING "all" ON SUBDIRECTORY ".../man5"
:info:build 	==> MAKING "all" ON SUBCOMPONENT ".../man5/makefiles.mk"
:info:build 	==> MAKING DIRECTORY "OBJ/powerpc-darwin-gcc/man"
:info:build 	==> LOCALIZING "OBJ/powerpc-darwin-gcc/man/makefiles.5"
:info:build 	==> MAKING "all" ON SUBCOMPONENT ".../man5/makerules.mk"
:info:build 	==> LOCALIZING "OBJ/powerpc-darwin-gcc/man/makerules.5"
:info:build gnumake: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_smake/smake/work/2023-09-28'
:debug:build Privilege de-escalation not attempted as not running as root.
:debug:destroot destroot phase started at Fri Feb  2 17:15:31 CST 2024
:notice:destroot --->  Staging smake into destroot
:debug:destroot Can't run destroot under sudo without elevated privileges (due to mtree).
:debug:destroot Run destroot without sudo to avoid root privileges.
:debug:destroot Going to escalate privileges back to root.
:debug:destroot euid changed to: 0. egid changed to: 0.
:debug:destroot system -W /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_smake/smake/work/destroot: /usr/sbin/mtree -e -U -f /opt/local/share/macports/install/macosx.mtree
:info:destroot . changed
:info:destroot 	gid expected 0 found 80 modified
:info:destroot ./usr missing (created)
:info:destroot . missing (directory not created: File exists)
:info:destroot ./Applications missing (created)
:info:destroot ./Developer missing (created)
:info:destroot ./Library missing (created)
:debug:destroot system -W /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_smake/smake/work/destroot/opt/local: /usr/sbin/mtree -e -U -f /opt/local/share/macports/install/prefix.mtree
:info:destroot . changed
:info:destroot 	gid expected 80 found 0 modified
:info:destroot ./bin missing (created)
:info:destroot ./etc missing (created)
:info:destroot ./include missing (created)
:info:destroot ./lib missing (created)
:info:destroot ./lib/pkgconfig missing (created)
:info:destroot ./libexec missing (created)
:info:destroot ./sbin missing (created)
:info:destroot ./share missing (created)
:info:destroot ./share/doc missing (created)
:info:destroot ./share/info missing (created)
:info:destroot ./share/man missing (created)
:info:destroot ./share/man/cat1 missing (created)
:info:destroot ./share/man/cat2 missing (created)
:info:destroot ./share/man/cat3 missing (created)
:info:destroot ./share/man/cat4 missing (created)
:info:destroot ./share/man/cat5 missing (created)
:info:destroot ./share/man/cat6 missing (created)
:info:destroot ./share/man/cat7 missing (created)
:info:destroot ./share/man/cat8 missing (created)
:info:destroot ./share/man/cat9 missing (created)
:info:destroot ./share/man/catl missing (created)
:info:destroot ./share/man/catn missing (created)
:info:destroot ./share/man/man1 missing (created)
:info:destroot ./share/man/man2 missing (created)
:info:destroot ./share/man/man3 missing (created)
:info:destroot ./share/man/man4 missing (created)
:info:destroot ./share/man/man5 missing (created)
:info:destroot ./share/man/man6 missing (created)
:info:destroot ./share/man/man7 missing (created)
:info:destroot ./share/man/man8 missing (created)
:info:destroot ./share/man/man9 missing (created)
:info:destroot ./share/man/manl missing (created)
:info:destroot ./share/man/mann missing (created)
:info:destroot ./share/nls missing (created)
:info:destroot ./share/nls/C missing (created)
:info:destroot ./share/nls/af_ZA.ISO8859-1 missing (created)
:info:destroot ./share/nls/af_ZA.ISO8859-15 missing (created)
:info:destroot ./share/nls/bg_BG.CP1251 missing (created)
:info:destroot ./share/nls/cs_CZ.ISO8859-2 missing (created)
:info:destroot ./share/nls/da_DK.ISO8859-1 missing (created)
:info:destroot ./share/nls/da_DK.ISO8859-15 missing (created)
:info:destroot ./share/nls/de_AT.ISO8859-1 missing (created)
:info:destroot ./share/nls/de_AT.ISO8859-15 missing (created)
:info:destroot ./share/nls/de_CH.ISO8859-1 missing (created)
:info:destroot ./share/nls/de_CH.ISO8859-15 missing (created)
:info:destroot ./share/nls/de_DE.ISO8859-1 missing (created)
:info:destroot ./share/nls/de_DE.ISO8859-15 missing (created)
:info:destroot ./share/nls/el_GR.ISO8859-7 missing (created)
:info:destroot ./share/nls/en_AU.ISO8859-1 missing (created)
:info:destroot ./share/nls/en_AU.ISO8859-15 missing (created)
:info:destroot ./share/nls/en_AU.US-ASCII missing (created)
:info:destroot ./share/nls/en_CA.ISO8859-1 missing (created)
:info:destroot ./share/nls/en_CA.ISO8859-15 missing (created)
:info:destroot ./share/nls/en_CA.US-ASCII missing (created)
:info:destroot ./share/nls/en_GB.ISO8859-1 missing (created)
:info:destroot ./share/nls/en_GB.ISO8859-15 missing (created)
:info:destroot ./share/nls/en_GB.US-ASCII missing (created)
:info:destroot ./share/nls/en_NZ.ISO8859-1 missing (created)
:info:destroot ./share/nls/en_NZ.ISO8859-15 missing (created)
:info:destroot ./share/nls/en_NZ.US-ASCII missing (created)
:info:destroot ./share/nls/en_US.ISO8859-1 missing (created)
:info:destroot ./share/nls/en_US.ISO8859-15 missing (created)
:info:destroot ./share/nls/es_ES.ISO8859-1 missing (created)
:info:destroot ./share/nls/es_ES.ISO8859-15 missing (created)
:info:destroot ./share/nls/et_EE.ISO8859-15 missing (created)
:info:destroot ./share/nls/fi_FI.ISO8859-1 missing (created)
:info:destroot ./share/nls/fi_FI.ISO8859-15 missing (created)
:info:destroot ./share/nls/fr_BE.ISO8859-1 missing (created)
:info:destroot ./share/nls/fr_BE.ISO8859-15 missing (created)
:info:destroot ./share/nls/fr_CA.ISO8859-1 missing (created)
:info:destroot ./share/nls/fr_CA.ISO8859-15 missing (created)
:info:destroot ./share/nls/fr_CH.ISO8859-1 missing (created)
:info:destroot ./share/nls/fr_CH.ISO8859-15 missing (created)
:info:destroot ./share/nls/fr_FR.ISO8859-1 missing (created)
:info:destroot ./share/nls/fr_FR.ISO8859-15 missing (created)
:info:destroot ./share/nls/hi_IN.ISCII-DEV missing (created)
:info:destroot ./share/nls/hr_HR.ISO8859-2 missing (created)
:info:destroot ./share/nls/hu_HU.ISO8859-2 missing (created)
:info:destroot ./share/nls/is_IS.ISO8859-1 missing (created)
:info:destroot ./share/nls/is_IS.ISO8859-15 missing (created)
:info:destroot ./share/nls/it_CH.ISO8859-1 missing (created)
:info:destroot ./share/nls/it_CH.ISO8859-15 missing (created)
:info:destroot ./share/nls/it_IT.ISO8859-1 missing (created)
:info:destroot ./share/nls/it_IT.ISO8859-15 missing (created)
:info:destroot ./share/nls/ja_JP.SJIS missing (created)
:info:destroot ./share/nls/ja_JP.eucJP missing (created)
:info:destroot ./share/nls/ko_KR.eucKR missing (created)
:info:destroot ./share/nls/la_LN.ISO8859-1 missing (created)
:info:destroot ./share/nls/la_LN.ISO8859-15 missing (created)
:info:destroot ./share/nls/la_LN.ISO8859-2 missing (created)
:info:destroot ./share/nls/la_LN.ISO8859-4 missing (created)
:info:destroot ./share/nls/la_LN.US-ASCII missing (created)
:info:destroot ./share/nls/lt_LT.ISO8859-4 missing (created)
:info:destroot ./share/nls/nl_BE.ISO8859-1 missing (created)
:info:destroot ./share/nls/nl_BE.ISO8859-15 missing (created)
:info:destroot ./share/nls/nl_NL.ISO8859-1 missing (created)
:info:destroot ./share/nls/nl_NL.ISO8859-15 missing (created)
:info:destroot ./share/nls/no_NO.ISO8859-1 missing (created)
:info:destroot ./share/nls/no_NO.ISO8859-15 missing (created)
:info:destroot ./share/nls/pl_PL.ISO8859-2 missing (created)
:info:destroot ./share/nls/pt_BR.ISO8859-1 missing (created)
:info:destroot ./share/nls/pt_PT.ISO8859-1 missing (created)
:info:destroot ./share/nls/pt_PT.ISO8859-15 missing (created)
:info:destroot ./share/nls/ro_RO.ISO8859-2 missing (created)
:info:destroot ./share/nls/ru_RU.CP866 missing (created)
:info:destroot ./share/nls/ru_RU.ISO8859-5 missing (created)
:info:destroot ./share/nls/ru_RU.KOI8-R missing (created)
:info:destroot ./share/nls/sk_SK.ISO8859-2 missing (created)
:info:destroot ./share/nls/sl_SI.ISO8859-2 missing (created)
:info:destroot ./share/nls/sv_SE.ISO8859-1 missing (created)
:info:destroot ./share/nls/sv_SE.ISO8859-15 missing (created)
:info:destroot ./share/nls/tr_TR.ISO8859-9 missing (created)
:info:destroot ./share/nls/uk_UA.ISO8859-5 missing (created)
:info:destroot ./share/nls/uk_UA.KOI8-U missing (created)
:info:destroot ./share/nls/zh_CN.eucCN missing (created)
:info:destroot ./share/nls/zh_TW.Big5 missing (created)
:info:destroot ./share/skel missing (created)
:info:destroot ./var missing (created)
:info:destroot ./var/cache missing (created)
:info:destroot ./var/db missing (created)
:info:destroot ./var/log missing (created)
:info:destroot ./var/run missing (created)
:info:destroot ./var/spool missing (created)
:info:destroot ./www missing (created)
:debug:destroot Executing proc-pre-org.macports.destroot-destroot-0
:debug:destroot Executing proc-pre-org.macports.destroot-destroot-1
:debug:destroot Executing org.macports.destroot (smake)
:error:destroot Failed to destroot smake: no files matched glob pattern "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_smake/smake/work/2023-09-28/smake/OBJ/*/smake"
:debug:destroot Error code: NONE
:debug:destroot Backtrace: no files matched glob pattern "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_smake/smake/work/2023-09-28/smake/OBJ/*/smake"
:debug:destroot     while executing
:debug:destroot "$procedure $targetname"
:error:destroot See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_smake/smake/main.log for details.

Earlier versions installed fine:

macmini:~ svacchanda$ port -v installed smake
The following ports are currently installed:
  smake @1.2.5_0 requested_variants='' platform='darwin 10' archs='ppc' date='2022-04-19T18:03:35+0800'
  smake @1.7-2023-04-19_0 (active) requested_variants='' platform='darwin 10' archs='ppc' date='2023-06-29T18:07:49+0800'

Change History (4)

comment:1 Changed 10 days ago by RobK88

@barracuda156 A new version of smake has been merged into the MacPorts repo.

See https://github.com/macports/macports-ports/pull/23652

Please let me know if the problem persists.

Last edited 9 days ago by RobK88 (previous) (diff)

comment:2 Changed 10 days ago by RobK88

Cc: RobK88 added

comment:3 in reply to:  1 Changed 9 days ago by barracuda156

Replying to RobK88:

@barracuda156 A new version of smake has been merged into the MacPorts repo.

Please let me know if the problem persists.

I think it is resolved now. Thank you!

Last edited 9 days ago by barracuda156 (previous) (diff)

comment:4 Changed 9 days ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.