Opened 14 years ago

Closed 14 years ago

#28978 closed defect (fixed)

While configuring ImageMagick 6.6.9-1: illegal option -- r

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: ImageMagick

Description

The error happens here:

Extracting  ImageMagick-6.6.9-1/coders
Extracting  ImageMagick-6.6.9-1

Everything is Ok

Folders: 73
Files: 2246
Size:       56326327
Compressed: 7338080
--->  Configuring ImageMagick
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
       sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
svn: Write error: Broken pipe
configuring ImageMagick 6.6.9-1
checking build system type... powerpc-apple-darwin9.8.0
checking host system type... powerpc-apple-darwin9.8.0
checking target system type... powerpc-apple-darwin9.8.0
checking whether build environment is sane... yes

Nevertheless the build finally succeeds. The variant is: ImageMagick @6.6.9-1_0+graphviz+jbig+jpeg2+q16+rsvg (active)

In debug mode I see:

DEBUG: patch phase started at Thu Mar 31 00:19:58 CEST 2011
DEBUG: Executing org.macports.patch (ImageMagick)
--->  Configuring ImageMagick
DEBUG: Using compiler 'Mac OS X gcc 4.0'
DEBUG: configure phase started at Thu Mar 31 00:19:58 CEST 2011
DEBUG: Executing proc-pre-org.macports.configure-configure-0
DEBUG: Executing proc-pre-org.macports.configure-configure-1
DEBUG: Executing org.macports.configure (ImageMagick)
DEBUG: Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_ports_graphics_ImageMagick/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.5'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_ports_graphics_ImageMagick/work/ImageMagick-6.6.9-1" && autoconf'
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
       sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
svn: Write error: Broken pipe
DEBUG: Environment: CPATH='/opt/local/include' CFLAGS='-O2 -arch ppc' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch ppc' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.5' CXX='/usr/bin/g++-4.0' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_ports_graphics_ImageMagick/work/.CC_PRINT_OPTIONS' F90FLAGS='-O2 -m32' LDFLAGS='-L/opt/local/lib -arch ppc' OBJC='/usr/bin/gcc-4.0' FCFLAGS='-O2 -m32' INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2 -arch ppc' FFLAGS='-O2 -m32' CC_PRINT_OPTIONS='YES' CC='/usr/bin/gcc-4.0'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_ports_graphics_ImageMagick/work/ImageMagick-6.6.9-1" && ./configure --prefix=/opt/local --enable-shared --enable-static --disable-ltdl-install --with-frozenpaths --without-openexr --disable-hdri --with-dps --with-bzlib --with-fontconfig --with-gslib --with-jpeg --with-lcms --with-png --with-tiff --with-zlib --with-modules --with-xml --with-x --without-perl --without-fpx --without-jbig --without-jp2 --without-wmf --without-gvc --without-rsvg --without-lqr --with-gs-font-dir=/opt/local/share/fonts/urw-fonts --with-quantum-depth=16'
configuring ImageMagick 6.6.9-1
checking build system type... powerpc-apple-darwin9.8.0
checking host system type... powerpc-apple-darwin9.8.0
checking target system type... powerpc-apple-darwin9.8.0

Change History (2)

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… removed
Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

I see the same on Snow Leopard.

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

The problem is occurring while running autoconf. I don't know why that's happening, but in fact we don't need to be running autoconf. We started using autoconf in r66142 and we should have stopped doing so in r74188. I've removed the use of autoconf from ImageMagick now in r77447 so this error will no longer appear.

Note: See TracTickets for help on using tickets.