FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 06-15-2008, 01:58 PM
Neal Becker
 
Default Help with build failure (updating mercurial)

gmane.linux.network.networkmanager.devel
http://koji.fedoraproject.org/koji/taskinfo?taskID=662698
...
error: File must begin with "/": unset
error: File must begin with "/": DISPLAY
Checking for unpackaged
file(s): /usr/lib/rpm/check-files /var/tmp/mercurial-1.0.1-3.fc10-root
RPM build errors:
File must begin with "/": unset
File must begin with "/": DISPLAY

What's causing this?

I also tried to reproduce this locally, but running make mockbuild, but I
only got an empty build log.

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 06-15-2008, 02:22 PM
Mamoru Tasaka
 
Default Help with build failure (updating mercurial)

Neal Becker wrote, at 06/15/2008 10:58 PM +9:00:

gmane.linux.network.networkmanager.devel
http://koji.fedoraproject.org/koji/taskinfo?taskID=662698
...
error: File must begin with "/": unset
error: File must begin with "/": DISPLAY
Checking for unpackaged
file(s): /usr/lib/rpm/check-files /var/tmp/mercurial-1.0.1-3.fc10-root
RPM build errors:
File must begin with "/": unset
File must begin with "/": DISPLAY

What's causing this?

I also tried to reproduce this locally, but running make mockbuild, but I
only got an empty build log.


This seems okay.

Index: mercurial.spec
================================================== =================
RCS file: /cvs/extras/rpms/mercurial/devel/mercurial.spec,v
retrieving revision 1.48
diff -u -r1.48 mercurial.spec
--- mercurial.spec 15 Jun 2008 12:52:43 -0000 1.48
+++ mercurial.spec 15 Jun 2008 14:19:40 -0000
@@ -3,7 +3,7 @@
Summary: A fast, lightweight distributed source control management system
Name: mercurial

Version: 1.0.1
-Release: 3%{?dist}
+Release: 3%{?dist}.1
License: GPLv2
Group: Development/Tools
URL: http://www.selenic.com/mercurial/
@@ -162,7 +162,7 @@
%{_libexecdir}/mercurial/
%{_sysconfdir}/mercurial/hgrc.d/hgk.rc

-#%check
+#%%check
#cd tests && python run-tests.py

%changelog
------------------------------------------------------------------

http://koji.fedoraproject.org/koji/taskinfo?taskID=662761

Regards,
Mamoru

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 06-16-2008, 05:11 AM
Matt Domsch
 
Default Help with build failure (updating mercurial)

On Sun, Jun 15, 2008 at 09:58:53AM -0400, Neal Becker wrote:
> gmane.linux.network.networkmanager.devel
> http://koji.fedoraproject.org/koji/taskinfo?taskID=662698
> ...
> error: File must begin with "/": unset
> error: File must begin with "/": DISPLAY
> Checking for unpackaged
> file(s): /usr/lib/rpm/check-files /var/tmp/mercurial-1.0.1-3.fc10-root
> RPM build errors:
> File must begin with "/": unset
> File must begin with "/": DISPLAY
>
> What's causing this?


My guess is the commented out %check. This section generally would
come before %files, after %build. Delete those lines, and it builds
fine.


--- mercurial.spec.orig 2008-06-16 00:02:53.000000000 -0500
+++ mercurial.spec 2008-06-16 00:04:37.000000000 -0500
@@ -162,9 +162,6 @@ rm -rf $RPM_BUILD_ROOT
%{_libexecdir}/mercurial/
%{_sysconfdir}/mercurial/hgrc.d/hgk.rc

-#%%check
-#cd tests && python run-tests.py
-
%changelog
* Sun Jun 15 2008 Neal Becker <ndbecker2@gmail.com> - 1.0.1-4
- Bitten by expansion of commented out macro (again)


--
Matt Domsch
Linux Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 

Thread Tools




All times are GMT. The time now is 01:29 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org