| Summary: | Do not use baudboy.h | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jiri Popelka <jpopelka> | ||||
| Component: | uucp | Assignee: | Ondrej Vasik <ovasik> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | nphilipp, ovasik | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-10-21 14:12:37 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
Thanks for heads-up and patch, fixed in uucp-1.07-27.fc17 - closing Rawhide. |
Created attachment 529507 [details] updated baudboy.patch (renamed to lockdev.patch) Description of problem: Lockdev has had new upstream for almost 2 year now. They merged all patches from various distros and done many other changes. The most important for you is that lockdev-devel in Fedora-17 no longer contains baudboy.h so you need to use ttylock.h instead of baudboy.h and link against liblockdev. You need to fix baudboy.patch (I'm attaching updated one - renamed to lockdev.patch) and run autoreconf before %configure. diff --git a/uucp.spec b/uucp.spec @@ -25,8 +25,8 @@ Source3: uucp.socket #Make the policy header better readable Patch0: uucp-1.07-config.patch Patch3: uucp-1.07-sigfpe.patch -#Use baudboy.h to create per-device lock(s) in /var/lock. -Patch6: uucp-1.07-baudboy.patch +#Use lockdev to create per-device lock(s) in /var/lock. +Patch6: uucp-1.07-lockdev.patch #Fix to deny to use address in pipe ports.(thanks joery)(#60771) Patch8: uucp-1.06.1-pipe.patch #fix truncation of values on 32b platforms where statvfs64 @@ -42,6 +42,7 @@ Requires: lockdev >= 1.0.0-14 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: tetex, texi2html BuildRequires: systemd-units +BuildRequires: autoconf, automake Requires(post): systemd-units Requires(preun): systemd-units Requires(postun): systemd-units @@ -56,12 +57,13 @@ local machines. %setup -q %patch0 -p1 -b .config %patch3 -p1 -b .sigfpe -%patch6 -p1 -b .baudboy +%patch6 -p1 -b .lockdev %patch8 -p1 -b .pipe %patch9 -p1 -b .lfs %patch10 -p1 -b .sigfpe2 %build +autoreconf --verbose --force --install export CFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE" %configure --with-newconfigdir=%{_newconfigdir} --with-oldconfigdir=%{_oldconfigdir} make %{?_smp_mflags}