Package: astyle
Version: 2.03-1.1
Severity: serious

build log:

obj/astyle_main_sj.o: In function `Java_AStyleInterface_AStyleGetVersion':
/«PKGBUILDDIR»/build/gcc/../../src/astyle_main.cpp:3103:(.text+0x35c):
relocation truncated to fit: R_390_GOT12 against symbol `astyle::g_version'
defined in .data.rel.local section in obj/astyle_main_sj.o
obj/astyle_main_sj.o: In function `AStyleGetVersion':
/«PKGBUILDDIR»/build/gcc/../../src/astyle_main.cpp:3253:(.text+0x386):
relocation truncated to fit: R_390_GOT12 against symbol `astyle::g_version'
defined in .data.rel.local section in obj/astyle_main_sj.o
obj/astyle_main_sj.o: In function `ASStreamIterator':
/«PKGBUILDDIR»/build/gcc/../../src/astyle_main.cpp:95:(.text+0x2b9e):
relocation truncated to fit: R_390_GOT12 against symbol `vtable for
astyle::ASStreamIterator<std::basic_istringstream<char, std::char_traits<char>,
std::allocator<char> > >' defined in
..data.rel.ro._ZTVN6astyle16ASStreamIteratorISt19basic_istringstreamIcSt11char_traitsIcESaIcEEEE[_ZTVN6astyle16ASStreamIteratorISt19basic_istringstreamIcSt11char_traitsIcESaIcEEEE]
section in obj/astyle_main_sj.o
obj/astyle_main_sj.o: In function
`astyle::ASStreamIterator<std::basic_istringstream<char,
std::char_traits<char>, std::allocator<char> > >::~ASStreamIterator()':
/«PKGBUILDDIR»/build/gcc/../../src/astyle_main.cpp:111:(.text._ZN6astyle16ASStreamIteratorISt19basic_istringstreamIcSt11char_traitsIcESaIcEEED2Ev[_ZN6astyle16ASStreamIteratorISt19basic_istringstreamIcSt11char_traitsIcESaIcEEED5Ev]+0x18):
additional relocation overflows omitted from the output
collect2: error: ld returned 1 exit status
make[2]: *** [libastylej.so] Error 1
make[2]: Leaving directory `/«PKGBUILDDIR»/build/gcc'
dh_auto_build: make -j1 -C build/gcc astyle shared java returned exit code 2




Fix:
build/gcc/Makefile sets
CFLAGSs   = -DASTYLE_LIB -fpic $(CFLAGSr)
CFLAGSsd  = -DASTYLE_LIB -fpic $(CFLAGSd)
CFLAGSa   = -DASTYLE_LIB $(CFLAGSr)
CFLAGSad  = -DASTYLE_LIB $(CFLAGSd)
CFLAGSsj  = -DASTYLE_JNI -fpic $(CFLAGSr) $(JAVAINCS)
CFLAGSsjd = -DASTYLE_JNI -fpic $(CFLAGSd) $(JAVAINCS)

which should be -fPIC to build safely on more architectures

I'll do another 0-delay NMU to fix this.



-- System Information:
Debian Release: wheezy/sid
  APT prefers saucy-updates
  APT policy: (500, 'saucy-updates'), (500, 'saucy-security'), (500, 'saucy'), 
(100, 'saucy-backports')
Architecture: i386 (i686)

Kernel: Linux 3.11.0-18-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


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

Reply via email to