Subject: config.status argument expanded and ImageMagick failing to build
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 10/08/2004 08:57:08
Please see PR 27173.
http://www.NetBSD.org/cgi-bin/query-pr-single.pl?number=27173
I was able to reproduce this.
I looked at config.status and it checks the arguments for several specific
file names, such as: config/delegates.mgk, ImageMagick.spec,
magick/version.h, magick.sh, Magick++/bin/Magick++-config, and others.
It does not use full path names.
I don't know if it is the buildlink3 wrapper or what, but something is
causing the argument to be a full path name:
cd . && /bin/sh ./config.status
/usr/pkg/tmp/pkgsrc/graphics/ImageMagick/work.rainier/ImageMagick-6.1.0/magick/Magick-config
config.status: error: invalid argument:
/usr/pkg/tmp/pkgsrc/graphics/ImageMagick/work.rainier/ImageMagick-6.1.0/magick/Magick-config
*** Error code 1
Stop.
make: stopped in
/usr/pkg/tmp/pkgsrc/graphics/ImageMagick/work.rainier/ImageMagick-6.1.0
It should just be "magick/Magick-config".
Jeremy C. Reed
BSD News, BSD tutorials, BSD links
http://www.bsdnewsletter.com/