On 8/16/12 11:40 AM, Alexander Hansen wrote: > On 8/16/12 11:37 AM, Hanspeter Niederstrasser wrote: >> On 8/16/2012 2:18 PM, Hans-Jürgen Greif wrote: >>> . >>> . >>> . >>> make[1]: *** [libdirac_common_la-wavelet_utils.lo] Error 1 >>> make[1]: Leaving directory >>> `/sw/src/fink.build/dirac-1.0.2-2/dirac-1.0.2/libdirac_common' >>> make: *** [all-recursive] Error 1 >>> make: Leaving directory `/sw/src/fink.build/dirac-1.0.2-2/dirac-1.0.2' >>> ### execution of /tmp/fink.oRVsq failed, exit code 2 >>> ### execution of /tmp/fink.P53Oj failed, exit code 2 >>> Removing runtime build-lock... >>> Removing build-lock package... >>> /sw/bin/dpkg-lockwait -r fink-buildlock-dirac-1.0.2-2 >>> (Lese Datenbank ... 66341 Dateien und Verzeichnisse sind derzeit >>> installiert.) >>> Entferne fink-buildlock-dirac-1.0.2-2 ... >>> Failed: phase compiling: dirac-1.0.2-2 failed >> >> Can you give the actual compiler command that failed and not just the >> text stating there was an error? The command will start with something >> like "/bin/sh ../libtool --tag=CXX --mode=compile g++" and include "-o >> libdirac_common_la-wavelet_utils.lo" towards the end of the same command. >> >> Hanspeter >> >> > > I've got it here--I reproduced the error: > > ... > libtool: compile: g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" > -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" > -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 > -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 > -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 > -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE__BOOL=1 > -DHAVE_STDBOOL_H=1 -I. -I.. -I. -I.. -I/sw/include -O3 -Wuninitialized > -fomit-frame-pointer -pipe -g -pedantic -Wall -Werror -W > -Woverloaded-virtual -Wextra -g -O2 -mmmx -DHAVE_MMX -c > wavelet_utils.cpp -fno-common -DPIC -o > .libs/libdirac_common_la-wavelet_utils.o > wavelet_utils.cpp:201:23: error: unused variable 'psort' > [-Werror,-Wunused-variable] > const PictureSort psort = pparams.PicSort(); > ^ > 1 error generated. > make[1]: *** [libdirac_common_la-wavelet_utils.lo] Error 1 > make[1]: Leaving directory > `/sw/src/fink.build/dirac-1.0.2-2/dirac-1.0.2/libdirac_common' > make: *** [all-recursive] Error 1 > make: Leaving directory `/sw/src/fink.build/dirac-1.0.2-2/dirac-1.0.2' > ... > > Package manager version: 0.34.99.git > Distribution version: selfupdate-cvs Thu Aug 16 08:57:45 2012, 10.8, x86_64 > Trees: local/main stable/main local/injected > Xcode.app: 4.4.1 > Xcode command-line tools: 4.4.0.0.1.1249367152 > >
I've gone ahead and killed off the psort declaration in wavelet_utils.cpp for the 10.7/ tree. It seems harmless enough, since that is indeed never used. -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Fink-users mailing list [email protected] List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users
