On 15 May 2012 at 00:50, Julien Cristau wrote:
| On Mon, May 14, 2012 at 17:27:03 -0500, Dirk Eddelbuettel wrote:
| 
| > 
| > On 13 May 2012 at 13:59, Julien Cristau wrote:
| > | Source: rquantlib
| > | Version: 0.3.8-2
| > | Severity: serious
| > | Justification: fails to build from source (but built successfully in the 
past)
| > | 
| > | See the build logs at
| > | https://buildd.debian.org/status/package.php?p=rquantlib
| > | 
| > | g++ -shared -o RQuantLibSHLIB_EXT asian.o barrier_binary.o bermudan.o 
bonds.o calendars.o curves.o daycounter.o discount.o hullwhite.o implieds.o 
utils.o vanilla.o zero.o -L/usr/lib/R/site-library/Rcpp/lib -lRcpp 
-Wl,-rpath,/usr/lib/R/site-library/Rcpp/lib -L/usr/lib -lQuantLib SHLIB_LIBADD 
-L/usr/lib/R/lib -lR
| > | g++: error: SHLIB_LIBADD: No such file or directory
| > | 
| > | Looks like a typo in a makefile somewhere.
| > 
| > I asked upstream about this as many (all?) armel/armhf builds for r-cran-*
| > seem to fail this way.
| > 
| > We'd need to see the /etc/R/Makeconf file. On my (amd64) box:
| > 
| >   SHLIB_LIBADD = 
| >   ALL_LIBS = $(PKG_LIBS) $(SHLIB_LIBADD) $(LIBR)# $(LIBINTL)
| > 
| > and upstream also suspected a possible shell expansion issue.
| > 
| $ dpkg --fsys-tarfile 
/srv/ftp-master.debian.org/mirror/pool/main/r/r-base/r-base-core_2.15.0-1_armel.deb
 | tar xOf - ./etc/R/Makeconf | grep SHLIB_LIBADD
| SHLIB_LIBADD = 
| ALL_LIBS = $(PKG_LIBS) $(SHLIB_LIBADD) $(LIBR)# $(LIBINTL)
| $ dpkg --fsys-tarfile 
/srv/ftp-master.debian.org/mirror/pool/main/r/r-base/r-base-core_2.15.0-1_armhf.deb
 | tar xOf - ./etc/R/Makeconf | grep SHLIB_LIBADD
| SHLIB_LIBADD = 
| ALL_LIBS = $(PKG_LIBS) $(SHLIB_LIBADD) $(LIBR)# $(LIBINTL)

Nicely done.  So maybe it is the shell?  Notice how what should be an empty
string because a string literal.  Why?

Also, the build step above has 

   g++ -shared -o RQuantLibSHLIB_EXT [...lots of object files...]

That usually becomes .so for us, .dylib for macheads, .dll for the other
loosers, ...   

Why SHLIB_EXT as a literal?  What is different on armel/armhf?

Dirk

| 
| Cheers,
| Julien
| xapplication/pgp-signature [Click mouse-2 to save to a file]

-- 
Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com  



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to