problem installing bugzilla - p5-perlmagick
I'm working with a completely new install of macports - completely new /opt/local/. When trying to port install bugzilla I come across a problem with p5- perlmagick, some of the output is at the end of this message. Going through the output it looks like all of the errors might just be warnings. Is there a certain number of warnings that trigger an error? Is there anything I can do to get around this? R ... ... ... DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5 -perlmagick/work/PerlMagick-6.32" && make all' /usr/bin/gcc-4.0 -c -I../ -I.. -I/usr/include/librsvg-2 -I/usr/ include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/graphviz -I/usr/include/freetype2 -I/usr/include/ libxml2 -I/opt/local/include -fno-common -DPERL_DARWIN -no-cpp- precomp -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/ opt/local/include -g -O2 -Wall -W -pthread -O3 -DVERSION=\"6.3.2\" - DXS_VERSION=\"6.3.2\" "-I/opt/local/lib/perl5/5.8.8/darwin-2level/ CORE" -D_LARGE_FILES=1 -DHAVE_CONFIG_H Magick.c powerpc-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread' Magick.xs:212: warning: missing initializer Magick.xs:212: warning: (near initialization for 'Methods[8].arguments') ... ... ... Magick.c:10556: warning: unused variable 'ix' make: *** [Magick.o] Error 1 Error: Target org.macports.build returned: shell command " cd "/opt/ local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5 -perlmagick/work/PerlMagick-6.32" && make all " returned error 2 Command output: Magick.c:9010: warning: unused variable 'ref' ... ... ... Magick.c:10561: warning: unused variable 'ref' Magick.c:10556: warning: unused variable 'ix' make: *** [Magick.o] Error 1 Warning: the following items did not execute (for p5-perlmagick): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.
I just found a similar bug in the bug tracking system. Bug #12071: http://trac.macports.org/projects/macports/ticket/12071 However, the last time it was modified was 2 months ago. How long does it typically take for a bug like this to be fixed? R On Aug 2, 2007, at 8:52 AM, Robert A. Decker wrote:
I'm working with a completely new install of macports - completely new /opt/local/.
When trying to port install bugzilla I come across a problem with p5-perlmagick, some of the output is at the end of this message.
Going through the output it looks like all of the errors might just be warnings. Is there a certain number of warnings that trigger an error?
Is there anything I can do to get around this?
R
... ... ... DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_ p5-perlmagick/work/PerlMagick-6.32" && make all' /usr/bin/gcc-4.0 -c -I../ -I.. -I/usr/include/librsvg-2 -I/usr/ include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/ gtk-2.0 -I/usr/include/graphviz -I/usr/include/freetype2 -I/usr/ include/libxml2 -I/opt/local/include -fno-common -DPERL_DARWIN -no- cpp-precomp -fno-strict-aliasing -pipe -Wdeclaration-after- statement -I/opt/local/include -g -O2 -Wall -W -pthread -O3 - DVERSION=\"6.3.2\" -DXS_VERSION=\"6.3.2\" "-I/opt/local/lib/ perl5/5.8.8/darwin-2level/CORE" -D_LARGE_FILES=1 -DHAVE_CONFIG_H Magick.c powerpc-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread' Magick.xs:212: warning: missing initializer Magick.xs:212: warning: (near initialization for 'Methods [8].arguments') ... ... ... Magick.c:10556: warning: unused variable 'ix' make: *** [Magick.o] Error 1 Error: Target org.macports.build returned: shell command " cd "/opt/ local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_ p5-perlmagick/work/PerlMagick-6.32" && make all " returned error 2 Command output: Magick.c:9010: warning: unused variable 'ref' ... ... ... Magick.c:10561: warning: unused variable 'ref' Magick.c:10556: warning: unused variable 'ix' make: *** [Magick.o] Error 1
Warning: the following items did not execute (for p5-perlmagick): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Sorry for sending all these emails on this - I have more info. It doesn't look like I can edit the bug in the bug tracking system so I'm posting it here hoping someone else can do so. Mixed in all the warnings I found the error that's stopping the build: Magick.xs:436: warning: (near initialization for 'Methods [103].arguments') Magick.xs: In function 'constant': Magick.xs:535: warning: unused parameter 'sans' Magick.xs: In function 'SetAttribute': Magick.xs:1583: error: 'struct _Image' has no member named 'origin' Magick.c: In function 'XS_Image__Magick_UNLOAD': Magick.c:2129: warning: unused parameter 'cv' ('struct _Image' has no member named 'origin') R On Aug 2, 2007, at 1:18 PM, Robert A. Decker wrote:
I just found a similar bug in the bug tracking system. Bug #12071: http://trac.macports.org/projects/macports/ticket/12071
However, the last time it was modified was 2 months ago. How long does it typically take for a bug like this to be fixed?
R
On Aug 2, 2007, at 8:52 AM, Robert A. Decker wrote:
I'm working with a completely new install of macports - completely new /opt/local/.
When trying to port install bugzilla I come across a problem with p5-perlmagick, some of the output is at the end of this message.
Going through the output it looks like all of the errors might just be warnings. Is there a certain number of warnings that trigger an error?
Is there anything I can do to get around this?
R
... ... ... DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_perl _p5-perlmagick/work/PerlMagick-6.32" && make all' /usr/bin/gcc-4.0 -c -I../ -I.. -I/usr/include/librsvg-2 -I/usr/ include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/ gtk-2.0 -I/usr/include/graphviz -I/usr/include/freetype2 -I/usr/ include/libxml2 -I/opt/local/include -fno-common -DPERL_DARWIN -no- cpp-precomp -fno-strict-aliasing -pipe -Wdeclaration-after- statement -I/opt/local/include -g -O2 -Wall -W -pthread -O3 - DVERSION=\"6.3.2\" -DXS_VERSION=\"6.3.2\" "-I/opt/local/lib/ perl5/5.8.8/darwin-2level/CORE" -D_LARGE_FILES=1 -DHAVE_CONFIG_H Magick.c powerpc-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread' Magick.xs:212: warning: missing initializer Magick.xs:212: warning: (near initialization for 'Methods [8].arguments') ... ... ... Magick.c:10556: warning: unused variable 'ix' make: *** [Magick.o] Error 1 Error: Target org.macports.build returned: shell command " cd "/ opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_perl _p5-perlmagick/work/PerlMagick-6.32" && make all " returned error 2 Command output: Magick.c:9010: warning: unused variable 'ref' ... ... ... Magick.c:10561: warning: unused variable 'ref' Magick.c:10556: warning: unused variable 'ix' make: *** [Magick.o] Error 1
Warning: the following items did not execute (for p5-perlmagick): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
"Robert A. Decker" <decker@robdecker.com> writes:
Sorry for sending all these emails on this - I have more info. It doesn't look like I can edit the bug in the bug tracking system so I'm posting it here hoping someone else can do so.
Mixed in all the warnings I found the error that's stopping the build: Magick.xs:436: warning: (near initialization for 'Methods [103].arguments') Magick.xs: In function 'constant': Magick.xs:535: warning: unused parameter 'sans' Magick.xs: In function 'SetAttribute': Magick.xs:1583: error: 'struct _Image' has no member named 'origin' Magick.c: In function 'XS_Image__Magick_UNLOAD': Magick.c:2129: warning: unused parameter 'cv'
('struct _Image' has no member named 'origin')
And Bugzilla looks a little out-of-date. Would you like to use bugzilla 3.0? I just updated a local Portfile for bugzilla to 3.0 using mysql5 etc, but it needs tested. Were you using mysql4 already? If not I'd go with mysql5 because I think it will require some extra work to get mysql4 working since everything defaults to v5 now. As far as perlmagick, the unbundled perlmagick looks to be broken from CPAN. If you uninstall imagemagick and reinstall it using +perl variant it will install perlmagick. We may need to delete that p5-perlmagick CPAN port. sudo port uninstall imagemagick sudo port clean --all imagemagick sudo port install imagemagick +perl For some reason the Portfile sets the apache docroot at "${prefix}/www", I would think it ${prefix}/apache2/htdocs would be more natural. I'm not sure whether to change it or leave it alone. Mark
On Aug 2, 2007, at 15:18, Robert A. Decker wrote:
I just found a similar bug in the bug tracking system. Bug #12071: http://trac.macports.org/projects/macports/ticket/12071
However, the last time it was modified was 2 months ago. How long does it typically take for a bug like this to be fixed?
Bugs will not get fixed until someone notices them, discovers how to fix them, and commits the fix. The bug did not Cc the maintainer, so the maintainer may never have seen the bug. I have Cc'd the maintainer now.
participants (3)
-
markd@macports.org
-
Robert A. Decker
-
Ryan Schmidt