[MacPorts] #15105: zlib fails to build

MacPorts trac at macosforge.org
Tue Apr 22 14:00:07 PDT 2008

#15105: zlib fails to build
 Reporter:  nevlik at nerdlinger.org  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect                 |      Status:  new                                  
 Priority:  Normal                 |   Milestone:  Port Bugs                            
Component:  ports                  |     Version:  1.6.0                                
 Keywords:  zlib build             |  
 I'm having a very similar issue to ticket 13188.

 tinybubbles:~ nevlik$ sudo /opt/local/bin/port install zlib
 --->  Fetching zlib
 --->  Verifying checksum(s) for zlib
 --->  Extracting zlib
 --->  Applying patches to zlib
 --->  Configuring zlib
 --->  Building zlib with target all
 Error: Target org.macports.build returned: shell command " cd
 && make all " returned error 2
 Command output: /usr/bin/gcc-4.0 -O2 -DNO_vsnprintf -DUSE_MMAP   -c -o
 example.o example.c
 /usr/bin/gcc-4.0 -O2 -DNO_vsnprintf -DUSE_MMAP   -c -o adler32.o adler32.c
 /usr/bin/gcc-4.0 -O2 -DNO_vsnprintf -DUSE_MMAP   -c -o compress.o
 /usr/bin/gcc-4.0 -O2 -DNO_vsnprintf -DUSE_MMAP   -c -o crc32.o crc32.c
 /usr/bin/gcc-4.0 -O2 -DNO_vsnprintf -DUSE_MMAP   -c -o gzio.o gzio.c
 /usr/bin/gcc-4.0 -O2 -DNO_vsnprintf -DUSE_MMAP   -c -o uncompr.o uncompr.c
 /usr/bin/gcc-4.0 -O2 -DNO_vsnprintf -DUSE_MMAP   -c -o deflate.o deflate.c
 /usr/bin/gcc-4.0 -O2 -DNO_vsnprintf -DUSE_MMAP   -c -o trees.o trees.c
 /usr/bin/gcc-4.0 -O2 -DNO_vsnprintf -DUSE_MMAP   -c -o zutil.o zutil.c
 /usr/bin/gcc-4.0 -O2 -DNO_vsnprintf -DUSE_MMAP   -c -o inflate.o inflate.c
 /usr/bin/gcc-4.0 -O2 -DNO_vsnprintf -DUSE_MMAP   -c -o infback.o infback.c
 /usr/bin/gcc-4.0 -O2 -DNO_vsnprintf -DUSE_MMAP   -c -o inftrees.o
 /usr/bin/gcc-4.0 -O2 -DNO_vsnprintf -DUSE_MMAP   -c -o inffast.o inffast.c
 ar rc libz.a adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o
 trees.o zutil.o inflate.o infback.o inftrees.o inffast.o
 /usr/bin/gcc-4.0 -O2 -DNO_vsnprintf -DUSE_MMAP -o example example.o -L.
 /usr/bin/ld: /usr/lib/gcc/i686-apple-
 darwin8/4.0.1/../../../libSystem.dylib unknown flags (type) of section 6
 (__TEXT,__literal16) in load command 0
 collect2: ld returned 1 exit status
 make: *** [example] Error 1

 Error: Status 1 encountered during processing.


 I've done a clean, a clean --work, to no avail.


Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/15105>
MacPorts </projects/macports>
Ports system for Mac OS

More information about the macports-tickets mailing list