Understanding rpmbuild check-rpath error
by Suvayu Ali
Hi everyone,
I'm trying to build a git snapshot rpm package of notmuch and I keep
running into a warning. As I understand from the message, it can be
worked around but I would rather resolve the problem than sweep it under
the rug. I'm using the spec file from the Fedora srpm with a couple of
changes to include the git commit in the package and tarball name.
Could someone help me understand what the error is and where the problem
might be?
+rpm-tmp.J2jdC6:55:: /usr/lib/rpm/check-rpaths
/usr/lib/rpm/check-buildroot
*************************************************************************
*
* WARNING: 'check-rpaths' detected a broken RPATH and will cause 'rpmbuild'
* to fail. To ignore these errors, you can set the '$QA_RPATHS'
* environment variable which is a bitmask allowing the values
* below. The current value of QA_RPATHS is 0x0000.
*
* 0x0001 ... standard RPATHs (e.g. /usr/lib); such RPATHs are a minor
* issue but are introducing redundant searchpaths without
* providing a benefit. They can also cause errors in multilib
* environments.
[...]
ERROR 0001: file '/usr/bin/notmuch' contains a standard rpath '/usr/lib64' in [/usr/lib64]
error: Bad exit status from /var/tmp/rpm-tmp.J2jdC6 (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.J2jdC6 (%install)
Thanks,
--
Suvayu
Open source is the future. It sets us free.
11 years, 5 months
Using mock with --scm-enable and external spec file
by Suvayu Ali
Hello again,
I mentioned in another thread that I have been trying to build git
snapshots for a few packages I use. I tried mock's --scm-enable option
to get the packages from git. The spec file in the repository is buggy,
so I would like to use the spec file used for Fedora builds with small
modifications, however that seems to be not possible.
Am I wrong, or did I miss something?
Thanks,
--
Suvayu
Open source is the future. It sets us free.
11 years, 5 months
ifcfg file for Open vSwitch "fake bridge"
by Ian Pilcher
I need to statically configure an Open vSwitch "fake bridge", so that I
can attach VMs to a specific VLAN. There doesn't seem to be any
specific support for this in the ifup scripts, so I'm using the
following:
DEVICE=ovs0.249
BOOTPROTO=none
ONBOOT=no
TYPE=OVSBridge
DEVICETYPE=ovs
OVS_OPTIONS="ovs0 249"
This works, but it relies on a quirk of the ifup-ovs script, which could
potentially change at any time. Does anyone have a better way?
(I know that later versions of libvirt have explicit support for VLANs
with Open vSwitch; I'm wondering if there's a better way to do it with
the software included in F17.)
Thanks!
--
========================================================================
Ian Pilcher arequipeno(a)gmail.com
Sometimes there's nothing left to do but crash and burn...or die trying.
========================================================================
11 years, 5 months
K3B , Ripping DVD's
by Mickey
F17
"k3b uses Transcode to rip Video DVDs . Please make sure it is installed"
Were do I get this Transcode from ?
11 years, 5 months
squid consuming near all (95+ %) CPU, it is normal?
by Franta Hanzlík
With this squid configuration:
acl localnet src 172.16.0.0/12
acl localnet src 192.168.0.0/16
acl SSL_ports port 443
acl SSL_ports port 85
acl SSL_ports port 81
acl SSL_ports port 5443
acl Safe_ports port 80
acl Safe_ports port 21
acl Safe_ports port 443
acl Safe_ports port 70
acl Safe_ports port 210
acl Safe_ports port 1025-65535
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777
acl Safe_ports port 5443
acl Safe_ports port 85
acl Safe_ports port 81
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localnet
http_access allow localhost
http_access deny all
http_port 3128
hierarchy_stoplist cgi-bin ?
cache_dir ufs /var/spool/squid 1000 16 256 max-size=999000
cache_mem 512 MB
maximum_object_size 4096 KB
memory_pools off
cache_swap_low 90
cache_swap_high 95
dns_nameservers 172.16.1.1
client_db off
half_closed_clients off
max_filedesc 4096
coredump_dir /var/spool/squid
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 20% 4320
acl users src 172.31.0.0/16
delay_pools 1
delay_class 1 2
delay_parameters 1 5000000/10000000 5000000/10000000
delay_access 1 allow users
squid very often load CPU at near 100%, with cca 200 users and 4000
connections (~2000 to users, 2000 to internet). Removing delay pool
configuration has no big effect.
HW configuration: Dual core E8500(a)3.16GHz CPU, 4GB RAM, 2x SATA 7k2
Raid Edition disks in SW RAID1 for squid cache (disk performance
seems isn't problem, IOWAIT is small).
It is squid-3.2.3.20121106.r11695-1.fc14.i686 on Fedora 14 i686
(I test it with some older squid 3.1 version and same configuration,
but results were same, or rather worse)
It this CPU load normal, or can be there done some performance
tunnning for it?
Thanks in advance, Fr. Hanzlik
11 years, 6 months
Please add libreCAD to the Fedora repositories.
by linux guy
I request that libreCAD be added to the Fedora repositories.
http://librecad.org/cms/home.html
libreCAD is the take over of what used to be QCAD. QCAD has been
forked into a closed source application and work on the open source
application appears to have ceased.
The libreCAD team has been doing an admiral job of enhancing the
application. I ran the most recent versions of 1.x on and off for the
last couple months and recently upgraded to version 2.0.0 "alpha", which
runs surprisingly well for something called "alpha". By comparison, I
lost a significant amount of work running the last released open source
version of QCAD.
11 years, 6 months
Is there an ath9k regression in recent stable x86_64 kernels?
by David Corking
I haven't seen problems mentioned in recent posts, so I suspect it is
only me experiencing trouble.
I have been using kernel 3.1.9-1.fc16.x86_64 which gives great WiFi
connectivity for a little Fedora netbook I look after.
However I tried upgrades to current stable kernels, and it can no
longer connect to its WPA-PSK network. (I haven't tried other
networks.) These are the log messages from 3.6.6-1
Nov 11 10:58:21 brownsea kernel: [ 318.841665] IPv6:
ADDRCONF(NETDEV_UP): wlan0: link is not ready
Nov 11 10:58:21 brownsea avahi-daemon[751]: Joining mDNS multicast
group on interface wlan0.IPv4 with address 192.168.1.7.
Nov 11 10:58:21 brownsea avahi-daemon[751]: New relevant interface
wlan0.IPv4 for mDNS.
Nov 11 10:58:21 brownsea avahi-daemon[751]: Registering new address
record for 192.168.1.7 on wlan0.IPv4.
Nov 11 10:58:22 brownsea kernel: [ 319.899275] wlan0: authenticate
with cc:5d:4e:bf:9c:b8
Nov 11 10:58:22 brownsea kernel: [ 319.911844] wlan0: send auth to
cc:5d:4e:bf:9c:b8 (try 1/3)
Nov 11 10:58:22 brownsea kernel: [ 320.112069] wlan0: send auth to
cc:5d:4e:bf:9c:b8 (try 2/3)
Nov 11 10:58:22 brownsea kernel: [ 320.313063] wlan0: send auth to
cc:5d:4e:bf:9c:b8 (try 3/3)
Nov 11 10:58:22 brownsea kernel: [ 320.514066] wlan0: authentication
with cc:5d:4e:bf:9c:b8 timed out
Nov 11 10:58:26 brownsea dbus-daemon[808]: ** Message: No devices in use, exit
Nov 11 10:58:27 brownsea fcoemon: error 111 Connection refused
Nov 11 10:58:27 brownsea fcoemon: Failed to connect to lldpad
Nov 11 10:58:33 brownsea kernel: [ 330.851849] wlan0: authenticate
with cc:5d:4e:bf:9c:b8
Nov 11 10:58:33 brownsea kernel: [ 330.864192] wlan0: direct probe to
cc:5d:4e:bf:9c:b8 (try 1/3)
Nov 11 10:58:33 brownsea kernel: [ 331.065042] wlan0: direct probe to
cc:5d:4e:bf:9c:b8 (try 2/3)
Nov 11 10:58:33 brownsea kernel: [ 331.266068] wlan0: direct probe to
cc:5d:4e:bf:9c:b8 (try 3/3)
Nov 11 10:58:33 brownsea kernel: [ 331.467063] wlan0: authentication
with cc:5d:4e:bf:9c:b8 timed out
lspci -vvv
<snip>
07:00.0 Network controller: Atheros Communications Inc. AR9285
Wireless Network Adapter (PCI-Express) (rev 01)
Subsystem: Lite-On Communications Inc Device 6613
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 17
Region 0: Memory at f0100000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: ath9k
Kernel modules: ath9k
<snip>
uname -a
Linux brownsea 3.6.6-1.fc16.x86_64 #1 SMP Mon Nov 5 16:56:43 UTC 2012
x86_64 x86_64 x86_64 GNU/Linux
Other kernels with similar failures for me are 3.6.5-2.fc16.x86_64 and
3.6.2-1.fc16.x86_64
I'd like to narrow this down, and so be able to use more recent
kernels. Your suggestions, please, for other kernels or kernel patches
to try? Or ideas what mistake I may have made?
David
p.s. In case it helps, we don't use a connection manager, but connect
directly with these commands:
wpa_supplicant -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf -B
ifconfig wlan0 192.168.1.7/24
ip route replace default via 192.168.1.1
11 years, 6 months