Skip to content

Instantly share code, notes, and snippets.

@fserb
Created May 28, 2012 18:36
Show Gist options
  • Save fserb/2820561 to your computer and use it in GitHub Desktop.
Save fserb/2820561 to your computer and use it in GitHub Desktop.
brew install -v netpbm
==> Downloading http://sourceforge.net/projects/netpbm/files/super_stable/10.35.82/netpbm-10.35.82.tgz
Already downloaded: /Users/fserb/Library/Caches/Homebrew/netpbm-10.35.82.tgz
/usr/bin/tar xf /Users/fserb/Library/Caches/Homebrew/netpbm-10.35.82.tgz
==> cp Makefile.config.in Makefile.config
cp Makefile.config.in Makefile.config
==> make
make
/private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/Makefile.common:551: Makefile.depend: No such file or directory
cat /dev/null >Makefile.depend
make -C /private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/buildtools/ -f /private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/buildtools/Makefile \
SRCDIR=/private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82 BUILDDIR=/private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82 typegen
/private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/Makefile.common:551: Makefile.depend: No such file or directory
cat /dev/null >Makefile.depend
/usr/bin/clang -c -Os -w -pipe -march=native -Qunused-arguments -o typegen.o typegen.c
/usr/bin/clang -o typegen typegen.o
/private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/buildtools/typegen >inttypes_netpbm.h || (rm -f inttypes_netpbm.h || false)
make -C /private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/buildtools/ -f /private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/buildtools/Makefile \
SRCDIR=/private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82 BUILDDIR=/private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82 endiangen
/usr/bin/clang -c -Os -w -pipe -march=native -Qunused-arguments -o endiangen.o endiangen.c
/usr/bin/clang -o endiangen endiangen.o
echo '/* pm_config.h GENERATED BY A MAKE RULE */' >pm_config.h || (rm -f pm_config.h || false)
echo '#ifndef PM_CONFIG_H' >>pm_config.h || (rm -f pm_config.h || false)
echo '#define PM_CONFIG_H' >>pm_config.h || (rm -f pm_config.h || false)
echo '#include <inttypes.h>' >>pm_config.h || (rm -f pm_config.h || false)
echo "#define HAVE_INT64 1" >>pm_config.h || (rm -f pm_config.h || false)
echo '/* pm_config.h.in FOLLOWS ... */' >>pm_config.h || (rm -f pm_config.h || false)
cat /private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/pm_config.in.h >>pm_config.h || (rm -f pm_config.h || false)
/private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/buildtools/endiangen >>pm_config.h || (rm -f pm_config.h || false)
echo '#endif' >>pm_config.h || (rm -f pm_config.h || false)
make -C lib/ -f /private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82//lib/Makefile \
SRCDIR=/private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82 BUILDDIR=/private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82 all
/private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/Makefile.common:551: Makefile.depend: No such file or directory
cat /dev/null >Makefile.depend
mkdir -p importinc
rm -f importinc/pm_config.h
ln -s /private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/pm_config.h importinc/pm_config.h
mkdir -p importinc
rm -f importinc/inttypes_netpbm.h
ln -s /private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/inttypes_netpbm.h importinc/inttypes_netpbm.h
mkdir -p importinc
rm -f importinc/version.h
ln -s /private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/version.h importinc/version.h
mkdir -p importinc
rm -f importinc/pm.h
ln -s /private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/lib/pm.h importinc/pm.h
mkdir -p importinc
rm -f importinc/pbm.h
ln -s /private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/lib/pbm.h importinc/pbm.h
mkdir -p importinc
rm -f importinc/pgm.h
ln -s /private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/lib/pgm.h importinc/pgm.h
mkdir -p importinc
rm -f importinc/ppm.h
ln -s /private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/lib/ppm.h importinc/ppm.h
mkdir -p importinc
rm -f importinc/pnm.h
ln -s /private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/lib/pnm.h importinc/pnm.h
mkdir -p importinc
rm -f importinc/pam.h
ln -s /private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/lib/pam.h importinc/pam.h
mkdir -p importinc
rm -f importinc/bitio.h
ln -s /private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/lib/bitio.h importinc/bitio.h
mkdir -p importinc
rm -f importinc/pbmfont.h
ln -s /private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/lib/pbmfont.h importinc/pbmfont.h
mkdir -p importinc
rm -f importinc/ppmcmap.h
ln -s /private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/lib/ppmcmap.h importinc/ppmcmap.h
mkdir -p importinc
rm -f importinc/pammap.h
ln -s /private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/lib/pammap.h importinc/pammap.h
mkdir -p importinc
rm -f importinc/colorname.h
ln -s /private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/lib/colorname.h importinc/colorname.h
mkdir -p importinc
rm -f importinc/ppmfloyd.h
ln -s /private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/lib/ppmfloyd.h importinc/ppmfloyd.h
mkdir -p importinc
rm -f importinc/ppmdraw.h
ln -s /private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/lib/ppmdraw.h importinc/ppmdraw.h
mkdir -p importinc
rm -f importinc/pm_system.h
ln -s /private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/lib/pm_system.h importinc/pm_system.h
mkdir -p importinc
rm -f importinc/ppmdfont.h
ln -s /private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/lib/ppmdfont.h importinc/ppmdfont.h
mkdir -p importinc
rm -f importinc/pm_gamma.h
ln -s /private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/lib/pm_gamma.h importinc/pm_gamma.h
mkdir -p importinc
rm -f importinc/lum.h
ln -s /private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/lib/lum.h importinc/lum.h
mkdir -p importinc
rm -f importinc/bitreverse.h
ln -s /private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/lib/util/bitreverse.h importinc/bitreverse.h
mkdir -p importinc
rm -f importinc/mallocvar.h
ln -s /private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/lib/util/mallocvar.h importinc/mallocvar.h
mkdir -p importinc
rm -f importinc/nstring.h
ln -s /private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/lib/util/nstring.h importinc/nstring.h
mkdir -p importinc
rm -f importinc/filename.h
ln -s /private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/lib/util/filename.h importinc/filename.h
mkdir -p importinc
rm -f importinc/pm_c_util.h
ln -s /private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/lib/util/pm_c_util.h importinc/pm_c_util.h
mkdir -p importinc
rm -f importinc/shhopt.h
ln -s /private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/lib/util/shhopt.h importinc/shhopt.h
mkdir -p importinc
rm -f importinc/wordaccess.h
ln -s /private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/lib/util/wordaccess.h importinc/wordaccess.h
mkdir -p importinc
rm -f importinc/wordaccess_64_le.h
ln -s /private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/lib/util/wordaccess_64_le.h importinc/wordaccess_64_le.h
mkdir -p importinc
rm -f importinc/wordaccess_gcc3_be.h
ln -s /private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/lib/util/wordaccess_gcc3_be.h importinc/wordaccess_gcc3_be.h
mkdir -p importinc
rm -f importinc/wordaccess_gcc3_le.h
ln -s /private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/lib/util/wordaccess_gcc3_le.h importinc/wordaccess_gcc3_le.h
mkdir -p importinc
rm -f importinc/wordaccess_generic.h
ln -s /private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/lib/util/wordaccess_generic.h importinc/wordaccess_generic.h
mkdir -p importinc
rm -f importinc/intcode.h
ln -s /private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/lib/util/intcode.h importinc/intcode.h
/private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/buildtools/stamp-date >compile.h || rm compile.h
/usr/bin/clang -c -I/private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/lib -I. -Iimportinc -DNDEBUG -Os -w -pipe -march=native -Qunused-arguments -fno-common \
-o libpm.o libpm.c
/usr/bin/clang -c -I/private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/lib -I. -Iimportinc -DNDEBUG -Os -w -pipe -march=native -Qunused-arguments -fno-common \
-o fileio.o fileio.c
/usr/bin/clang -c -I/private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/lib -I. -Iimportinc -DNDEBUG -Os -w -pipe -march=native -Qunused-arguments -fno-common \
-o bitio.o bitio.c
/usr/bin/clang -c -I/private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/lib -I. -Iimportinc -DNDEBUG -Os -w -pipe -march=native -Qunused-arguments -fno-common \
-o colorname.o colorname.c
/usr/bin/clang -c -I/private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/lib -I. -Iimportinc -DNDEBUG -Os -w -pipe -march=native -Qunused-arguments -fno-common \
-o libpbm1.o libpbm1.c
/usr/bin/clang -c -I/private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/lib -I. -Iimportinc -DNDEBUG -Os -w -pipe -march=native -Qunused-arguments -fno-common \
-o libpbm2.o libpbm2.c
/usr/bin/clang -c -I/private/tmp/homebrew-netpbm-10.35.82-7xHj/netpbm-10.35.82/lib -I. -Iimportinc -DNDEBUG -Os -w -pipe -march=native -Qunused-arguments -fno-common \
-o libpbm3.o libpbm3.c
libpbm3.c:120:38: error: unknown machine mode 'V8QI'
typedef int v8qi __attribute__ ((mode(V8QI)));
^
libpbm3.c:129:36: error: passing 'v8qi' (aka 'int') to parameter of incompatible type '__attribute__((__vector_size__(8 * sizeof(char)))) char';
__builtin_ia32_pcmpeqb(*(v8qi*) (&bitrow[col]), *(v8qi*) &zero64);
^~~~~~~~~~~~~~~~~~~~~~~
libpbm3.c:131:37: error: passing 'const v8qi' (aka 'const int') to parameter of incompatible type '__attribute__((__vector_size__(8 * sizeof(char)))) char';
__builtin_ia32_pmovmskb(compare);
^~~~~~~
3 errors generated.
make[1]: *** [libpbm3.o] Error 1
make: *** [lib/all] Error 2
==> Exit Status: 2
https://github.com/mxcl/master/blob/master/Library/Formula/netpbm.rb#L39
==> Build Environment
CPU: dual-core 64-bit penryn
MacOS: 10.7.4-x86_64
Xcode: 4.3.2
CC: /usr/bin/clang
CXX: /usr/bin/clang++ => /usr/bin/clang
LD: /usr/bin/clang
CFLAGS: -Os -w -pipe -march=native -Qunused-arguments
CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments
CPPFLAGS: -I/usr/X11/include
LDFLAGS: -L/usr/X11/lib
Error: Failed executing: make (netpbm.rb:39)
These existing issues may help you:
https://github.com/mxcl/homebrew/issues/12451
Otherwise, please report the bug:
https://github.com/mxcl/homebrew/wiki/reporting-bugs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment