[MacPorts] #49814: cctools @877.5 fails to _install_ on PPC Mac OS X 10.5.8, Leopard, because of permissions
#49814: cctools @877.5 fails to _install_ on PPC Mac OS X 10.5.8, Leopard, because of permissions -----------------------------+-------------------------------- Reporter: Peter_Dyballa@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: cctools -----------------------------+-------------------------------- The build went fine, it's only some finishing script that fails because of permissions {{{ DEBUG: No need to upgrade! llvm_select 1.0_0 >= llvm_select 1.0_0 DEBUG: changing euid/egid - current euid: 0 - current egid: 0 DEBUG: egid changed to: 502 DEBUG: euid changed to: 502 DEBUG: couldn't open "/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_cctools/cctools/work/.macports.cctools.state": permission denied while executing "open $statefile a+" (procedure "open_statefile" line 124) invoked from within "open_statefile" (procedure "check_variants" line 29) invoked from within "check_variants install" invoked from within "$workername eval check_variants $target" (procedure "mportexec" line 7) invoked from within "mportexec $mport install" Error: Follow http://guide.macports.org/#project.tickets to report a bug. DEBUG: Checking time since last reclaim run }}} -- Ticket URL: <https://trac.macports.org/ticket/49814> MacPorts <https://www.macports.org/> Ports system for OS X
#49814: cctools @877.5 fails to _install_ on PPC Mac OS X 10.5.8, Leopard, because of permissions ------------------------------+------------------------ Reporter: Peter_Dyballa@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: cctools | ------------------------------+------------------------ Changes (by ryandesign@…): * cc: jeremyhu@… (removed) * owner: macports-tickets@… => jeremyhu@… Comment: Please [https://guide.macports.org/chunked/project.html#project.tickets clean cctools and try again] and attach the main.log if it fails again. -- Ticket URL: <https://trac.macports.org/ticket/49814#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#49814: cctools @877.5 fails to _install_ on PPC Mac OS X 10.5.8, Leopard, because of permissions ------------------------------+------------------------ Reporter: Peter_Dyballa@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: cctools | ------------------------------+------------------------ Comment (by Peter_Dyballa@…): Replying to [comment:1 ryandesign@…]:
Please [https://guide.macports.org/chunked/project.html#project.tickets clean cctools and try again] and attach the main.log if it fails again.
-- Ticket URL: <https://trac.macports.org/ticket/49814#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#49814: cctools @877.5 fails to _install_ on PPC Mac OS X 10.5.8, Leopard, because of permissions ------------------------------+------------------------ Reporter: Peter_Dyballa@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: cctools | ------------------------------+------------------------ Comment (by Peter_Dyballa@…): Replying to [comment:1 ryandesign@…]: The new build went fine… -- Ticket URL: <https://trac.macports.org/ticket/49814#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#49814: cctools @877.5 fails to _install_ on PPC Mac OS X 10.5.8, Leopard, because of permissions ------------------------------+------------------------ Reporter: Peter_Dyballa@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: cctools | ------------------------------+------------------------ Comment (by Peter_Dyballa@…): On PPC Tiger, Mac OS X 10.4.11, I got the error! -- Ticket URL: <https://trac.macports.org/ticket/49814#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#49814: cctools @877.5 fails to _install_ on PPC Mac OS X 10.5.8, Leopard, because of permissions ------------------------------+------------------------ Reporter: Peter_Dyballa@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: cctools | ------------------------------+------------------------ Comment (by Peter_Dyballa@…): Replying to [comment:4 Peter_Dyballa@…]:
On PPC Tiger, Mac OS X 10.4.11, I got the error!
Arrgh! It's a different error (for the moment): {{{ :info:build libtool.c: In function 'save_lto_member_toc_info': :info:build libtool.c:3847: error: 'struct member' has no member named 'lto_toc_nsyms' :info:build libtool.c:3848: warning: implicit declaration of function 'lto_get_nsyms' :info:build libtool.c:3850: warning: implicit declaration of function 'lto_toc_symbol' :info:build libtool.c:3851: error: 'struct member' has no member named 'lto_toc_nsyms' :info:build libtool.c:3852: error: 'struct member' has no member named 'lto_toc_strsize' :info:build libtool.c:3852: warning: implicit declaration of function 'lto_symbol_name' :info:build libtool.c:3852: warning: passing argument 1 of 'strlen' makes pointer from integer without a cast :info:build libtool.c:3855: error: 'struct member' has no member named 'lto_toc_strings' :info:build libtool.c:3855: error: 'struct member' has no member named 'lto_toc_strsize' :info:build libtool.c:3856: error: 'struct member' has no member named 'lto_toc_strings' :info:build libtool.c:3859: warning: passing argument 2 of 'strcpy' makes pointer from integer without a cast :info:build libtool.c:3860: warning: passing argument 1 of 'strlen' makes pointer from integer without a cast :info:build make[1]: *** [libtool.o] Error 1 }}} -- Ticket URL: <https://trac.macports.org/ticket/49814#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#49814: cctools @877.5 fails to _install_ on PPC Mac OS X 10.5.8, Leopard, because of permissions ------------------------------+------------------------ Reporter: Peter_Dyballa@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: cctools | ------------------------------+------------------------ Comment (by Peter_Dyballa@…): The missing member is contained herein: {{{ #ifdef LTO_SUPPORT enum bool lto_contents; /* TRUE if this member has lto contents */ uint32_t lto_toc_nsyms; /* number of symbols for the toc */ uint32_t lto_toc_strsize; /* the size of the strings for the toc */ char *lto_toc_strings; /* the strings of the symbols for the toc */ #endif /* LTO_SUPPORT */ }}} -- Ticket URL: <https://trac.macports.org/ticket/49814#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#49814: cctools @877.5 fails to _install_ on PPC Mac OS X 10.5.8, Leopard, because of permissions ------------------------------+------------------------ Reporter: Peter_Dyballa@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: cctools | ------------------------------+------------------------ Comment (by Peter_Dyballa@…): Could be the function `save_lto_member_toc_info()` needs to be put into `ifdef LTO_SUPPORT/#endif`… It's only used in one source file: {{{ misc/libtool.c:266:static void save_lto_member_toc_info( misc/libtool.c:2183: save_lto_member_toc_info(member, ofile->lto); misc/libtool.c:2196: save_lto_member_toc_info(member, ofile->lto); misc/libtool.c:2208: save_lto_member_toc_info(member, ofile->lto); misc/libtool.c:3833: * save_lto_member_toc_info() saves away the table of contents info for a misc/libtool.c:3840:save_lto_member_toc_info( }}} -- Ticket URL: <https://trac.macports.org/ticket/49814#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#49814: cctools @877.5 fails to _install_ on PPC Mac OS X 10.5.8, Leopard, because of permissions ------------------------------+------------------------ Reporter: Peter_Dyballa@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: cctools | ------------------------------+------------------------ Comment (by jeremyhu@…): Replying to [comment:7 Peter_Dyballa@…]:
Could be the function `save_lto_member_toc_info()` needs to be put into `ifdef LTO_SUPPORT/#endif`…
Yes. Could you please provide a patch? -- Ticket URL: <https://trac.macports.org/ticket/49814#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#49814: cctools @877.5 fails to _install_ on PPC Mac OS X 10.5.8, Leopard, because of permissions ------------------------------+------------------------ Reporter: Peter_Dyballa@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: cctools | ------------------------------+------------------------ Comment (by Peter_Dyballa@…): Replying to [comment:8 jeremyhu@…]:
Replying to [comment:7 Peter_Dyballa@…]:
Could be the function `save_lto_member_toc_info()` needs to be put into `ifdef LTO_SUPPORT/#endif`…
Yes. Could you please provide a patch?
I put all occurrences of the use of the lto member into guards. There are some more files that use them: {{{ cctools-877.5/include/stuff/breakout.h cctools-877.5/include/stuff/lto.h cctools-877.5/include/stuff/ofile.h cctools-877.5/libstuff/Makefile cctools-877.5/libstuff/breakout.c cctools-877.5/libstuff/llvm.c cctools-877.5/libstuff/lto.c cctools-877.5/libstuff/ofile.c cctools-877.5/libstuff/writeout.c cctools-877.5/misc/libtool.c cctools-877.5/misc/lipo.c cctools-877.5/misc/nm.c cctools-877.5/otool/main.c }}} Cctools built on PPC Tiger, Mac OS X 10.4.11. -- Ticket URL: <https://trac.macports.org/ticket/49814#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
#49814: cctools @877.5 fails to _install_ on PPC Mac OS X 10.5.8, Leopard, because of permissions ------------------------------+------------------------ Reporter: Peter_Dyballa@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: cctools | ------------------------------+------------------------ Comment (by drennan@…): cctools fails on Snow Leopard 10.6.8; a different issue I think. I attached the log file. Thank you. -- Ticket URL: <https://trac.macports.org/ticket/49814#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
#49814: cctools @877.5 fails to _install_ on PPC Mac OS X 10.5.8, Leopard, because of permissions ------------------------------+------------------------ Reporter: Peter_Dyballa@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: cctools | ------------------------------+------------------------ Comment (by Peter_Dyballa@…): Replying to [comment:10 drennan@…]:
cctools fails on Snow Leopard 10.6.8; a different issue I think. I attached the log file. Thank you.
The errors are exactly the same. -- Ticket URL: <https://trac.macports.org/ticket/49814#comment:11> MacPorts <https://www.macports.org/> Ports system for OS X
#49814: cctools @877.5 fails to _install_ on PPC Mac OS X 10.5.8, Leopard, because of permissions ------------------------------+------------------------ Reporter: Peter_Dyballa@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: cctools | ------------------------------+------------------------ Comment (by drennan@…): Patched and built. Thanks. -- Ticket URL: <https://trac.macports.org/ticket/49814#comment:13> MacPorts <https://www.macports.org/> Ports system for OS X
#49814: cctools @877.5 fails to _install_ on PPC Mac OS X 10.5.8, Leopard, because of permissions ------------------------------+------------------------ Reporter: Peter_Dyballa@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: fixed | Keywords: Port: cctools | ------------------------------+------------------------ Changes (by jeremyhu@…): * status: new => closed * resolution: => fixed Comment: Thanks, pushed in r143913. -- Ticket URL: <https://trac.macports.org/ticket/49814#comment:14> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts