[MacPorts] #32344: Error Target org.macports.build returned: shell command failed on wxWidgets
MacPorts
noreply at macports.org
Wed Nov 30 16:06:14 PST 2011
#32344: Error Target org.macports.build returned: shell command failed on wxWidgets
--------------------------------------+-------------------------------------
Reporter: romoli@… | Owner: macports-tickets@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Resolution: duplicate | Keywords:
Port: wxWidgets |
--------------------------------------+-------------------------------------
Changes (by ryandesign@…):
* status: new => closed
* cc: jwa@… (added)
* priority: High => Normal
* keywords: gdl =>
* resolution: => duplicate
* port: gnudatalanguage => wxWidgets
Old description:
> I tried to install gnudatalanguage (0.9.2) with variant wxWidgets 2.8.12.
>
> I get the following error:
>
> :info:build clang: warning: argument unused during compilation: '-no-cpp-
> precomp'
> :info:build In file included from ../src/mac/carbon/graphics.cpp:27:
> :info:build In file included from ../include/wx/mac/uma.h:4:
> :info:build In file included from ../include/wx/mac/carbon/uma.h:15:
> :info:build In file included from ../include/wx/mac/private.h:4:
> :info:build ../include/wx/mac/carbon/private.h:617:18: warning: unused
> variable 'err' [-Wunu ed-variable]
> :info:build OSStatus err = GetData<T>( inPartCode , inTag ,
> &value );
> :info:build ^
> :info:build ../include/wx/mac/carbon/private.h:1375:16: warning:
> 'QDGetPictureBounds' is dep ecated [-Wdeprecated-declarations]
> :info:build return QDGetPictureBounds( pict , rect );
> :info:build ^
> :info:build ../src/mac/carbon/graphics.cpp:751:14: warning:
> 'ATSUCreateAndCopyStyle' is depr cated [-Wdeprecated-declarations]
> :info:build status = ATSUCreateAndCopyStyle( (ATSUStyle)
> font.MacGetATSUStyle() , &m_mac TSUIStyle );
> :info:build ^
> :info:build ../src/mac/carbon/graphics.cpp:775:16: warning:
> 'ATSUSetAttributes' is deprecate [-Wdeprecated-declarations]
> :info:build status = ::ATSUSetAttributes(
> :info:build ^
> :info:build ../src/mac/carbon/graphics.cpp:786:11: warning:
> 'ATSUDisposeStyle' is deprecated [-Wdeprecated-declarations]
> :info:build ::ATSUDisposeStyle((ATSUStyle)m_macATSUIStyle);
> :info:build ^
> :info:build ../src/mac/carbon/graphics.cpp:1072:74: error: redefinition
> of parameter 'y'
> :info:build virtual void GetBox(wxDouble *x, wxDouble *y, wxDouble
> *w, wxDouble *y) cons ;
> :info:build
> ^
> :info:build ../src/mac/carbon/graphics.cpp:1072:48: note: previous
> declaration is here
> :info:build virtual void GetBox(wxDouble *x, wxDouble *y, wxDouble
> *w, wxDouble *y) cons ;
> :info:build ^
> :info:build ../src/mac/carbon/graphics.cpp:1099:12: error: cannot
> initialize return object o type 'wxGraphicsObjectRefData *' with an
> lvale of type 'wxMacCoreGraphicsPathData *'
> :info:build return clone ;
> :info:build
> :info:build ^
> :info:build ../src/mac/carbon/graphics.cpp:1099:12: error: cannot
> initialize return object o type 'wxGraphicsObjectRefData *' with an
> lvalue of type 'wxMacCoreGraphicsPathData *'
> :info:build return clone ;
> :info:build ^~~~~
> :info:build ../src/mac/carbon/graphics.cpp:1419:18: warning: unused
> variable 'status' [-Wunu ed-variable]
> :info:build OSStatus status =
> :info:build ^
> :info:build ../src/mac/carbon/graphics.cpp:1820:16: warning:
> 'ATSUCreateTextLayoutWithTextPt ' is deprecated [-Wdeprecated-
> declarations]
> :info:build status = ::ATSUCreateTextLayoutWithTextPtr(
> (UniCharArrayPtr) ubuf , 0 , cha s , chars , 1 ,
> :info:build ^
> :info:build ../src/mac/carbon/graphics.cpp:1825:16: warning:
> 'ATSUSetTransientFontMatching' s deprecated [-Wdeprecated-declarations]
> :info:build status = ::ATSUSetTransientFontMatching( atsuLayout ,
> true );
> :info:build ^
> :info:build ../src/mac/carbon/graphics.cpp:1844:20: warning:
> 'ATSUSetLayoutControls' is depr cated [-Wdeprecated-declarations]
> :info:build status = ::ATSUSetLayoutControls(atsuLayout ,
> sizeof(atsuTags) / sizeof( TSUAttributeTag),
> :info:build ^
> :info:build ../src/mac/carbon/graphics.cpp:1861:20: warning:
> 'ATSUSetLayoutControls' is depr cated [-Wdeprecated-declarations]
> :info:build status = ::ATSUSetLayoutControls(atsuLayout ,
> sizeof(atsuTags) / sizeof( TSUAttributeTag),
> :info:build ^
> :info:build ../src/mac/carbon/graphics.cpp:1868:16: warning:
> 'ATSUGetUnjustifiedBounds' is d precated [-Wdeprecated-declarations]
> :info:build status = ::ATSUGetUnjustifiedBounds( atsuLayout,
> kATSUFromTextBeginning, kAT UToTextEnd,
> :info:build ^
> :info:build ../src/mac/carbon/graphics.cpp:1877:16: warning:
> 'ATSUMeasureTextImage' is depre ated [-Wdeprecated-declarations]
> :info:build status = ::ATSUMeasureTextImage( atsuLayout,
> kATSUFromTextBeginning, kATSUTo extEnd,
> :info:build ^
> :info:build ../src/mac/carbon/graphics.cpp:1884:16: warning:
> 'ATSUDrawText' is deprecated [- deprecated-declarations]
> :info:build sttatus = ::ATSUCreateTextLayoutWithTextPtr(
> (UniCharArrayPtr) ubuf , 0 , cha s , chars , 1 ,
> :info:build ^
> :info:build ../src/mac/carbon/graphics.cpp:1950:16: warning:
> 'ATSUSetTransientFontMatching' s deprecated [-Wdeprecated-declarations]
> :info:build status = ::ATSUSetTransientFontMatching( atsuLayout ,
> true );
> :info:build ^
> :info:build ../src/mac/carbon/graphics.cpp:1956:16: warning:
> 'ATSUGetUnjustifiedBounds' is d precated [-Wdeprecated-declarations]
> :info:build status = ::ATSUGetUnjustifiedBounds( atsuLayout,
> kATSUFromTextBeginning, kAT UToTextEnd,
> :info:build ^
> :info:build ../src/mac/carbon/graphics.cpp:1968:7: warning:
> 'ATSUDisposeTextLayout' is depre ated [-Wdeprecated-declarations]
> :info:build ::ATSUDisposeTextLayout(atsuLayout);
> :info:build ^
> :info:build ../src/mac/carbon/graphics.cpp:2013:16: warning:
> 'ATSUCreateTextLayoutWithTextPt ' is deprecated [-Wdeprecated-
> declarations]
> :info:build status = ::ATSUCreateTextLayoutWithTextPtr(
> (UniCharArrayPtr) ubuf , 0 , cha s , chars , 1 ,
> :info:build ^
> :info:build ../src/mac/carbon/graphics.cpp:2017:16: warning:
> 'ATSUSetTransientFontMatching' s deprecated [-Wdeprecated-declarations]
> :info:build status = ::ATSUSetTransientFontMatching( atsuLayout ,
> true );
> :info:build ^
> :info:build ../src/mac/carbon/graphics.cpp:2042:22: warning:
> 'ATSUDirectGetLayoutDataArrayPt FromTextLayout' is deprecated
> [-Wdeprecated-declarations]
> :info:build OSStatus err =
> ::ATSUDirectGetLayoutDataArrayPtrFromTextLayout(atsuLayout,
> :info:build ^
> :info:build ../src/mac/carbon/graphics.cpp:2058:7: warning:
> 'ATSUDirectReleaseLayoutDataArrayPtr' is deprecated [-Wdeprecated-
> declarations]
> :info:build ::ATSUDirectReleaseLayoutDataArrayPtr(NULL,
> :info:build ^
> :info:build ../src/mac/carbon/graphics.cpp:2063:7: warning:
> 'ATSUDisposeTextLayout' is deprecated [-Wdeprecated-declarations]
> :info:build ::ATSUDisposeTextLayout(atsuLayout);
> :info:build ^
> :info:build 23 warnings and 2 errors generated.
> :info:build make: *** [coredll_carbon_graphics.o] Error 1
> :info:build make: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_wxWidgets/wxWidgets/work/wxWidgets-2.8.12/build'
> :info:build shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_wxWidgets/wxWidgets/work/wxWidgets-2.8.12/build"
> && /usr/bin/make -w " returned error 2
> :error:build Target org.macports.build returned: shell command failed
> (see log for details)
> :debug:build Backtrace: shell command failed (see log for details)
> while executing
> "command_exec build"
> (procedure "portbuild::build_main" line 8)
> invoked from within
> "$procedure $targetname"
> :info:build Warning: the following items did not execute (for wxWidgets):
> org.macports.activate org.macports.build org.macports.destroot
> org.macports.install
> :notice:build Log for wxWidgets is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_wxWidgets/wxWidgets/main.log
> bash-3.2$ sudo port install gnudatalanguage +variant wxWidgets
> Password:
> ---> Computing dependencies for gnudatalanguage
> ---> Cleaning gnudatalanguage
> ---> Computing dependencies for wxWidgets
> ---> Building wxWidgets
> Error: Target org.macports.build returned: shell command failed (see log
> for details)
> Log for wxWidgets is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_wxWidgets/wxWidgets/main.log
> Error: Status 1 encountered during processing.
> To report a bug, see <http://guide.macports.org/#project.tickets>
> bash-3.2$
>
> Thank you
>
> Marco
New description:
I tried to install gnudatalanguage (0.9.2) with variant wxWidgets 2.8.12.
I get the following error:
{{{
:info:build clang: warning: argument unused during compilation: '-no-cpp-
precomp'
:info:build In file included from ../src/mac/carbon/graphics.cpp:27:
:info:build In file included from ../include/wx/mac/uma.h:4:
:info:build In file included from ../include/wx/mac/carbon/uma.h:15:
:info:build In file included from ../include/wx/mac/private.h:4:
:info:build ../include/wx/mac/carbon/private.h:617:18: warning: unused
variable 'err' [-Wunu ed-variable]
:info:build OSStatus err = GetData<T>( inPartCode , inTag , &value
);
:info:build ^
:info:build ../include/wx/mac/carbon/private.h:1375:16: warning:
'QDGetPictureBounds' is dep ecated [-Wdeprecated-declarations]
:info:build return QDGetPictureBounds( pict , rect );
:info:build ^
:info:build ../src/mac/carbon/graphics.cpp:751:14: warning:
'ATSUCreateAndCopyStyle' is depr cated [-Wdeprecated-declarations]
:info:build status = ATSUCreateAndCopyStyle( (ATSUStyle)
font.MacGetATSUStyle() , &m_mac TSUIStyle );
:info:build ^
:info:build ../src/mac/carbon/graphics.cpp:775:16: warning:
'ATSUSetAttributes' is deprecate [-Wdeprecated-declarations]
:info:build status = ::ATSUSetAttributes(
:info:build ^
:info:build ../src/mac/carbon/graphics.cpp:786:11: warning:
'ATSUDisposeStyle' is deprecated [-Wdeprecated-declarations]
:info:build ::ATSUDisposeStyle((ATSUStyle)m_macATSUIStyle);
:info:build ^
:info:build ../src/mac/carbon/graphics.cpp:1072:74: error: redefinition of
parameter 'y'
:info:build virtual void GetBox(wxDouble *x, wxDouble *y, wxDouble *w,
wxDouble *y) cons ;
:info:build
^
:info:build ../src/mac/carbon/graphics.cpp:1072:48: note: previous
declaration is here
:info:build virtual void GetBox(wxDouble *x, wxDouble *y, wxDouble *w,
wxDouble *y) cons ;
:info:build ^
:info:build ../src/mac/carbon/graphics.cpp:1099:12: error: cannot
initialize return object o type 'wxGraphicsObjectRefData *' with an lvale
of type 'wxMacCoreGraphicsPathData *'
:info:build return clone ;
:info:build
:info:build ^
:info:build ../src/mac/carbon/graphics.cpp:1099:12: error: cannot
initialize return object o type 'wxGraphicsObjectRefData *' with an
lvalue of type 'wxMacCoreGraphicsPathData *'
:info:build return clone ;
:info:build ^~~~~
:info:build ../src/mac/carbon/graphics.cpp:1419:18: warning: unused
variable 'status' [-Wunu ed-variable]
:info:build OSStatus status =
:info:build ^
:info:build ../src/mac/carbon/graphics.cpp:1820:16: warning:
'ATSUCreateTextLayoutWithTextPt ' is deprecated [-Wdeprecated-
declarations]
:info:build status = ::ATSUCreateTextLayoutWithTextPtr(
(UniCharArrayPtr) ubuf , 0 , cha s , chars , 1 ,
:info:build ^
:info:build ../src/mac/carbon/graphics.cpp:1825:16: warning:
'ATSUSetTransientFontMatching' s deprecated [-Wdeprecated-declarations]
:info:build status = ::ATSUSetTransientFontMatching( atsuLayout , true
);
:info:build ^
:info:build ../src/mac/carbon/graphics.cpp:1844:20: warning:
'ATSUSetLayoutControls' is depr cated [-Wdeprecated-declarations]
:info:build status = ::ATSUSetLayoutControls(atsuLayout ,
sizeof(atsuTags) / sizeof( TSUAttributeTag),
:info:build ^
:info:build ../src/mac/carbon/graphics.cpp:1861:20: warning:
'ATSUSetLayoutControls' is depr cated [-Wdeprecated-declarations]
:info:build status = ::ATSUSetLayoutControls(atsuLayout ,
sizeof(atsuTags) / sizeof( TSUAttributeTag),
:info:build ^
:info:build ../src/mac/carbon/graphics.cpp:1868:16: warning:
'ATSUGetUnjustifiedBounds' is d precated [-Wdeprecated-declarations]
:info:build status = ::ATSUGetUnjustifiedBounds( atsuLayout,
kATSUFromTextBeginning, kAT UToTextEnd,
:info:build ^
:info:build ../src/mac/carbon/graphics.cpp:1877:16: warning:
'ATSUMeasureTextImage' is depre ated [-Wdeprecated-declarations]
:info:build status = ::ATSUMeasureTextImage( atsuLayout,
kATSUFromTextBeginning, kATSUTo extEnd,
:info:build ^
:info:build ../src/mac/carbon/graphics.cpp:1884:16: warning:
'ATSUDrawText' is deprecated [- deprecated-declarations]
:info:build sttatus = ::ATSUCreateTextLayoutWithTextPtr(
(UniCharArrayPtr) ubuf , 0 , cha s , chars , 1 ,
:info:build ^
:info:build ../src/mac/carbon/graphics.cpp:1950:16: warning:
'ATSUSetTransientFontMatching' s deprecated [-Wdeprecated-declarations]
:info:build status = ::ATSUSetTransientFontMatching( atsuLayout , true
);
:info:build ^
:info:build ../src/mac/carbon/graphics.cpp:1956:16: warning:
'ATSUGetUnjustifiedBounds' is d precated [-Wdeprecated-declarations]
:info:build status = ::ATSUGetUnjustifiedBounds( atsuLayout,
kATSUFromTextBeginning, kAT UToTextEnd,
:info:build ^
:info:build ../src/mac/carbon/graphics.cpp:1968:7: warning:
'ATSUDisposeTextLayout' is depre ated [-Wdeprecated-declarations]
:info:build ::ATSUDisposeTextLayout(atsuLayout);
:info:build ^
:info:build ../src/mac/carbon/graphics.cpp:2013:16: warning:
'ATSUCreateTextLayoutWithTextPt ' is deprecated [-Wdeprecated-
declarations]
:info:build status = ::ATSUCreateTextLayoutWithTextPtr(
(UniCharArrayPtr) ubuf , 0 , cha s , chars , 1 ,
:info:build ^
:info:build ../src/mac/carbon/graphics.cpp:2017:16: warning:
'ATSUSetTransientFontMatching' s deprecated [-Wdeprecated-declarations]
:info:build status = ::ATSUSetTransientFontMatching( atsuLayout , true
);
:info:build ^
:info:build ../src/mac/carbon/graphics.cpp:2042:22: warning:
'ATSUDirectGetLayoutDataArrayPt FromTextLayout' is deprecated
[-Wdeprecated-declarations]
:info:build OSStatus err =
::ATSUDirectGetLayoutDataArrayPtrFromTextLayout(atsuLayout,
:info:build ^
:info:build ../src/mac/carbon/graphics.cpp:2058:7: warning:
'ATSUDirectReleaseLayoutDataArrayPtr' is deprecated [-Wdeprecated-
declarations]
:info:build ::ATSUDirectReleaseLayoutDataArrayPtr(NULL,
:info:build ^
:info:build ../src/mac/carbon/graphics.cpp:2063:7: warning:
'ATSUDisposeTextLayout' is deprecated [-Wdeprecated-declarations]
:info:build ::ATSUDisposeTextLayout(atsuLayout);
:info:build ^
:info:build 23 warnings and 2 errors generated.
:info:build make: *** [coredll_carbon_graphics.o] Error 1
:info:build make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_wxWidgets/wxWidgets/work/wxWidgets-2.8.12/build'
:info:build shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_wxWidgets/wxWidgets/work/wxWidgets-2.8.12/build"
&& /usr/bin/make -w " returned error 2
:error:build Target org.macports.build returned: shell command failed (see
log for details)
:debug:build Backtrace: shell command failed (see log for details)
while executing
"command_exec build"
(procedure "portbuild::build_main" line 8)
invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for wxWidgets):
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
:notice:build Log for wxWidgets is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_wxWidgets/wxWidgets/main.log
bash-3.2$ sudo port install gnudatalanguage +variant wxWidgets
Password:
---> Computing dependencies for gnudatalanguage
---> Cleaning gnudatalanguage
---> Computing dependencies for wxWidgets
---> Building wxWidgets
Error: Target org.macports.build returned: shell command failed (see log
for details)
Log for wxWidgets is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_wxWidgets/wxWidgets/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
bash-3.2$
}}}
Thank you
Marco
--
Comment:
Remember to use WikiFormatting, to fill in the correct port name in the
summary and Port field, to Cc the maintainer of that port, and to search
for existing tickets before filing new ones; this looks like a duplicate
of #31775.
--
Ticket URL: <https://trac.macports.org/ticket/32344#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list