[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#803554: FTBFS: xorg-wrapper.o: error adding symbols: Bad value



I meant the gcc command line that fails, which was truncated in your report. Clearly your build environment is special in some way because the package builds fine in sid.

Julien

On November 1, 2015 12:55:46 PM GMT, Lorenz <lorenzo.ru.g@gmail.com> wrote:
Sorry, I'm using dpkg-buildpackage with the following commands:

$ apt-get source xserver-xorg-core
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Picking 'xorg-server' as source package instead of 'xserver-xorg-core'
NOTICE: 'xorg-server' packaging is maintained in the 'Git' version control system at:
Skipping already downloaded file 'xorg-server_1.17.3.orig.tar.gz'
Skipping already downloaded file 'xorg-server_1.17.3-2.diff.gz'
Need to get 4,783 B of source archives.
Get:1 http://http.debian.net/debian/ sid/main xorg-server 2:1.17.3-2 (dsc) [4,783 B]
Fetched 4,783 B in 0s (10.9 kB/s)
dpkg-source: info: extracting xorg-server in xorg-server-1.17.3
dpkg-source: info: unpacking xorg-server_1.17.3.orig.tar.gz
dpkg-source: info: applying xorg-server_1.17.3-2.diff.gz
dpkg-source: info: upstream files that have been modified: 
 xorg-server-1.17.3/.dir-locals.el
 xorg-server-1.17.3/config/dbus-api
 xorg-server-1.17.3/configure.ac
 xorg-server-1.17.3/damageext/damageext.h
 xorg-server-1.17.3/doc/c-extensions
 xorg-server-1.17.3/dri3/dri3_event.c
 xorg-server-1.17.3/dri3/dri3int.h
 xorg-server-1.17.3/fix-miregion
 xorg-server-1.17.3/fix-miregion-private
 xorg-server-1.17.3/fix-patch-whitespace
 xorg-server-1.17.3/fix-region
 xorg-server-1.17.3/hw/kdrive/Xkdrive.man
 xorg-server-1.17.3/hw/kdrive/fbdev/Xfbdev.man
 xorg-server-1.17.3/hw/xfree86/os-support/shared/platform_noop.c
 xorg-server-1.17.3/hw/xfree86/xorg-wrapper.c
 xorg-server-1.17.3/hw/xquartz/GL/glcontextmodes.c
 xorg-server-1.17.3/hw/xquartz/GL/glcontextmodes.h
 xorg-server-1.17.3/hw/xwin/winclipboard/internal.h
 xorg-server-1.17.3/xkb/XKM_file_format.txt


$ cd xorg-server-1.17.3/

# apt-get build-dep xserver-xorg-core
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Picking 'xorg-server' as source package instead of 'xserver-xorg-core'
0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.

 $ dpkg-buildpackage -us -uc

the output of the last command is quite long but ends with the error I report in the first message.

Cheers,
Lorenzo

2015-11-01 10:50 GMT+01:00 Julien Cristau <jcristau@debian.org>:
Control: tag -1 moreinfo

On Sat, Oct 31, 2015 at 12:57:12 +0100, Lorenzo wrote:

> Package: xserver-xorg-core
> Version: 2:1.17.2-3
> Severity: normal
>
> Dear Maintainer,
>
> I'm trying to build a deb package for xserver-xorg-core using the source provided by Debian, but the building process fails with the following error
>
> ....
> ic -o Xorg.wrap xorg-wrapper.o  -laudit -lm
> /usr/bin/ld: xorg-wrapper.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
> xorg-wrapper.o: error adding symbols: Bad value
> collect2: error: ld returned 1 exit status

You omitted the command line...

Cheers,
Julien


Reply to: