[Bug 627872] New: xorg-x11-server fails to build
http://bugzilla.novell.com/show_bug.cgi?id=627872 http://bugzilla.novell.com/show_bug.cgi?id=627872#c0 Summary: xorg-x11-server fails to build Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: Other OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: X.Org AssignedTo: bnc-team-xorg-bugs@forge.provo.novell.com ReportedBy: grok@warwick.ac.uk QAContact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.2.8) Gecko/20100723 SUSE/3.6.8-1.2 Firefox/3.6.8 I'm trying to rpmbuild -bb http://download.opensuse.org/source/distribution/11.3/repo/oss/suse/src/xorg... and despite no complaints about dependencies it bombs with: ddxLoad.c:(.text+0x11e): undefined reference to `SHA1_Init' ddxLoad.c:(.text+0x4c7): undefined reference to `SHA1_Update' ddxLoad.c:(.text+0x4e2): undefined reference to `SHA1_Final' collect2: ld returned 1 exit status I've tried to add #include "openssl/sha.h" and export ssl build flags in bash to no avail. Reproducible: Always Steps to Reproduce: 1. 2. 3. I'm using the correct GL.h from MESA, not nvidia. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=627872 http://bugzilla.novell.com/show_bug.cgi?id=627872#c1 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #1 from Stefan Dirsch <sndirsch@novell.com> 2010-08-03 14:16:39 UTC --- The package needs to be built with 'osc build', not rpmbuild. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=627872 http://bugzilla.novell.com/show_bug.cgi?id=627872#c2 Jaroslaw Zachwieja <grok@warwick.ac.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID | --- Comment #2 from Jaroslaw Zachwieja <grok@warwick.ac.uk> 2010-08-03 14:26:28 UTC --- Please forgive my ignorance, but why do I need to configure an account/password for a service to rebuild an RPM? Why is it impossible to rebuild the package locally? Perhaps without internet connectivity whatsoever? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=627872 http://bugzilla.novell.com/show_bug.cgi?id=627872#c3 --- Comment #3 from Jaroslaw Zachwieja <grok@warwick.ac.uk> 2010-08-03 14:35:35 UTC --- Stefan, Are you sure that I _need_ to use openSUSE Build Service to build this package? I mean it's OK if it's simply a bug or I'm doing something stupid but a requirement to build it @ Novell is rather scary. Please be so kind and explain the rationale behind your reply. At the moment I'm quite worried that I can't rebuild the package without uploading it to OBS. Is it even legal? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=627872 http://bugzilla.novell.com/show_bug.cgi?id=627872#c4 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |INVALID --- Comment #4 from Stefan Dirsch <sndirsch@novell.com> 2010-08-03 14:52:37 UTC --- It's simply not supported. If it works for you, fine. But if it isn't we're not really interested into looking into that. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=627872 http://bugzilla.novell.com/show_bug.cgi?id=627872#c5 --- Comment #5 from Stefan Dirsch <sndirsch@novell.com> 2010-08-03 14:54:53 UTC --- Building with osc just makes sure you have a defined build environment (everything built in a buildroot with a defined set of packages). You don't have this with rpmbuild and can run into all kind of issues therefore. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=627872 http://bugzilla.novell.com/show_bug.cgi?id=627872#c6 Magnus Lewis-Smith <m.lewis-smith@warwick.ac.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |m.lewis-smith@warwick.ac.uk --- Comment #6 from Magnus Lewis-Smith <m.lewis-smith@warwick.ac.uk> 2010-08-04 13:13:20 UTC --- There seems to be a problem with the configure script in that although it detects that you are building against libcrypto, it doesn't set the link parameters correctly. Forcing a build against libcrypto with configure ... --with-sha1=libcrypto ... builds correctly. Thus modding the spec file to read .. %configure CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \ --sysconfdir=/etc \ --enable-builddocs \ --enable-install-libxf86config \ --enable-xdmcp \ --enable-xdm-auth-1 \ --enable-dri \ --enable-dri2 \ --enable-dmx \ --enable-xnest \ --enable-kdrive \ --enable-xephyr \ --enable-record \ --enable-xcsecurity \ %ifarch s390 s390x --disable-xorg \ --disable-aiglx \ %else --enable-xorg \ %if %suse_version > 1120 --enable-config-udev \ %endif %endif %if %vnc --disable-xcliplist \ %endif --with-sha1=libcrypto \ --with-log-dir="/var/log" \ --with-os-name="openSUSE" \ --with-os-vendor="SUSE LINUX" \ --with-fontrootdir="/usr/share/fonts" \ --with-xkb-path="/usr/share/X11/xkb" \ --with-xkb-output="/var/lib/xkb/compiled" make %{?jobs:-j %jobs} .. then rpmbuild succeeds (for me) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=627872 http://bugzilla.novell.com/show_bug.cgi?id=627872#c7 --- Comment #7 from Stefan Dirsch <sndirsch@novell.com> 2010-08-04 13:35:19 UTC --- Well, openssl-devel is in BuildRequires. So does rpmbuild ignore BuildRequires? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=627872 http://bugzilla.novell.com/show_bug.cgi?id=627872#c8 Jaroslaw Zachwieja <grok@warwick.ac.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID | --- Comment #8 from Jaroslaw Zachwieja <grok@warwick.ac.uk> 2010-08-04 13:46:01 UTC --- It doesn't. I think that the bug is in the ./configure script. Could someone look into it please? I agree that rpmbuild is harder to support than an obs build, but I believe this is a bad policy decision to dismiss bugs based on the fact that they haven't been built in obs. This is a bad variation on even worse NIBU/NIH syndrome and only puts people off. Clearly, the bug in configure is triggered when bulding outside obs. This doesn't necessarily mean that it's rpmbuild problem, but that it's just not reproducible always. Last time I checked, rpmbuild was the correct way of building packages. OBS is the right way of building distributions. Over reliance on vendor specific tools leads to exclusionism. You see, Bug 628295 wouldn't be fixed if Magnus haven't found that. :P Let's give it a go :) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=627872 http://bugzilla.novell.com/show_bug.cgi?id=627872#c9 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #9 from Stefan Dirsch <sndirsch@novell.com> 2010-08-04 14:20:47 UTC --- Ok. Fixed in X11:XOrg and submitrequested for factory (SR #44522). -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=627872 http://bugzilla.novell.com/show_bug.cgi?id=627872#c10 Rich Coe <richard.coe@med.ge.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |richard.coe@med.ge.com --- Comment #10 from Rich Coe <richard.coe@med.ge.com> 2010-08-04 17:54:41 UTC --- I saw this problem too. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com