Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 799308 - net-misc/nx-3.5.99.25 - ar: libdeps specified more than once
Summary: net-misc/nx-3.5.99.25 - ar: libdeps specified more than once
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-30 07:04 UTC by Toralf Förster
Modified: 2021-09-24 20:09 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.49 KB, text/plain)
2021-06-30 07:04 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,497.78 KB, text/plain)
2021-06-30 07:04 UTC, Toralf Förster
Details
environment (environment,70.06 KB, text/plain)
2021-06-30 07:04 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,35.43 KB, application/x-bzip)
2021-06-30 07:04 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,22.08 KB, application/x-bzip)
2021-06-30 07:04 UTC, Toralf Förster
Details
net-misc:nx-3.5.99.25:20210629-211450.log.bz2 (net-misc:nx-3.5.99.25:20210629-211450.log.bz2,37.83 KB, application/x-bzip)
2021-06-30 07:04 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,58.06 KB, application/x-bzip)
2021-06-30 07:04 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-06-30 07:04:35 UTC
  CC pixmap.c
  CCLD libdix.a
ar: libdeps specified more than once
failed command: ar clq libdix.a atom.o colormap.o cursor.o devices.o dixutils.o extension.o ffs.o gc.o globals.o grabs.o main.o region.o swaprep.o swapreq.o tables.o initatoms.o privates.o pixmap.o
make[5]: *** [Makefile:510: libdix.a] Error 1
make[5]: Leaving directory '/var/tmp/portage/net-misc/nx-3.5.99.25/work/nx-libs-3.5.99.25/nx-X11/programs/Xserver/dix'
make[4]: *** [Makefile:703: dix] Error 2

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib-j3_debug-20210620-175917

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.9.6
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.53.0 *
Available Java Virtual Machines:
  (none found)

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  HEAD of ::gentoo
commit 5032e696047e17d8ce2e5d705590e00daa228102
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Jun 29 19:51:47 2021 +0000

    2021-06-29 19:51:46 UTC

emerge -qpvO net-misc/nx
[ebuild  N    ] net-misc/nx-3.5.99.25
Comment 1 Toralf Förster gentoo-dev 2021-06-30 07:04:36 UTC
Created attachment 720273 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-06-30 07:04:38 UTC
Created attachment 720276 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-06-30 07:04:40 UTC
Created attachment 720279 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-06-30 07:04:41 UTC
Created attachment 720282 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-06-30 07:04:42 UTC
Created attachment 720285 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-06-30 07:04:44 UTC
Created attachment 720288 [details]
net-misc:nx-3.5.99.25:20210629-211450.log.bz2
Comment 7 Toralf Förster gentoo-dev 2021-06-30 07:04:46 UTC
Created attachment 720291 [details]
temp.tar.bz2
Comment 8 René Kjellerup 2021-08-05 18:35:46 UTC
I had this issue too, with binutils-2.36
however with binutils-2.35 there were no issues... maybe this helps?
Comment 9 Joakim Tjernlund 2021-08-25 14:26:53 UTC
Maybe this helps:
https://gitlab.freedesktop.org/xorg/util/cf/-/merge_requests/2

seem to be ar cq vs ar clq
rm the l, not tested though
Comment 10 Joakim Tjernlund 2021-08-25 14:38:56 UTC
in Imake.tmpl you have:
#if HasLargeTmp || SystemV4
#define ArCmd ArCmdBase cq
#else
#define ArCmd ArCmdBase clq
#endif

Change the last to #define ArCmd ArCmdBase cq
and it builds
Comment 11 Joakim Tjernlund 2021-08-25 14:42:01 UTC
https://github.com/ArcticaProject/nx-libs/issues/1003
Comment 12 Joakim Tjernlund 2021-08-25 14:43:46 UTC
Patch here:
https://github.com/ArcticaProject/nx-libs/commit/605a266911b50ababbb3f8a8b224efb42743379c.patch

There is also a new release(path still needed)
Comment 13 Joakim Tjernlund 2021-08-25 14:45:28 UTC
(In reply to Joakim Tjernlund from comment #12)
> Patch here:
> https://github.com/ArcticaProject/nx-libs/commit/
> 605a266911b50ababbb3f8a8b224efb42743379c.patch
> 
> There is also a new release(path still needed)

Sorry, patch is included in 3.5.99.26
Comment 14 Bernard Cafarelli gentoo-dev 2021-09-24 20:09:09 UTC
So, this bug should be good now, correct? 3.5.99.26 is stable and has the mentioned patch (and works fine here too)

Don't hesitate to reopen if issue is still there, of course!