Opened 10 years ago

Closed 10 years ago

#26673 closed defect (fixed)

giblib does not install universal

Reported by: jeremyhu (Jeremy Huddleston Sequoia) Owned by: tristan@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: universal Cc:
Port: giblib

Description (last modified by jeremyhu (Jeremy Huddleston Sequoia))

$ file giblib/1.2.4_0+universal/opt/local/lib/libgiblib.dylib 
giblib/1.2.4_0+universal/opt/local/lib/libgiblib.dylib: Mach-O 64-bit dynamically linked shared library x86_64

Change History (5)

comment:1 Changed 10 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Owner: changed from macports-tickets@… to tristan@…

comment:2 Changed 10 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Description: modified (diff)

comment:3 Changed 10 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Here's a fix:

Index: Portfile
===================================================================
--- Portfile	(revision 71711)
+++ Portfile	(working copy)
@@ -3,6 +3,7 @@
 PortSystem			1.0
 name				giblib
 version				1.2.4
+revision			1
 categories			graphics devel
 platforms			darwin
 maintainers			cs.dartmouth.edu:tristan
@@ -21,6 +22,9 @@
 
 depends_lib			port:imlib2 port:freetype port:zlib
 
+use_autoreconf yes
+autoreconf.args -fvi
+
 # install docs to $prefix/share/doc instead of $prefix/doc
 destroot.args		docsdir=${prefix}/share/doc/${name}

comment:4 Changed 10 years ago by mbroemme@…

I can confirm the issue with 'giblib' on building 'feh' on a clean macports 1.9.1 installation using +universal.

---> Fetching giblib ---> Attempting to fetch giblib-1.2.4.tar.gz from http://lil.fr.distfiles.macports.org/giblib ---> Verifying checksum(s) for giblib ---> Extracting giblib ---> Configuring giblib ---> Building giblib ---> Staging giblib into destroot ---> Installing giblib @1.2.4_0+universal ---> Activating giblib @1.2.4_0+universal ---> Cleaning giblib

root@bart:~# file /opt/local/lib/libgiblib.dylib /opt/local/lib/libgiblib.dylib: Mach-O 64-bit dynamically linked shared library x86_64

:info:build /usr/bin/gcc-4.2 -I/usr/X11R6/include -pipe -O2 -arch x86_64 -arch i386 -L/usr/X11R6/lib -L/usr/local/lib -lz -lpng -o feh main.o getopt.o getopt1.o options.o winwidget.o menu.o filelist.o multiwindow.o imlib.o index.o slideshow.o utils.o keyevents.o timers.o list.o collage.o events.o support.o transupp.o thumbnail.o ipc.o md5.o feh_png.o -lX11 -lz -lpng -L/opt/local/lib -lImlib2 -L/opt/local/lib -lfreetype -lz -L/usr/X11R6/lib -lX11 -lXext -ldl -lm -L/opt/local/lib -lgiblib -L/opt/local/lib -arch x86_64 -arch i386 -L/opt/local/lib -lImlib2 -L/opt/local/lib -lfreetype -lz -L/usr/X11R6/lib -lX11 -lXext -ldl -lm -ljpeg -lXinerama -lXext -L/usr/X11R6/lib -lm -ljpeg :info:build ld: warning: in /opt/local/lib/libgiblib.dylib, file is not of required architecture

With the above patch it works well.

comment:5 Changed 10 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.