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 Packaging

 
 
LinkBack Thread Tools
 
Old 12-21-2011, 04:49 AM
"Eric H. Christensen"
 
Default A little help with TuDu, please

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

I'm having a little problem with updating my TuDu package. Since my last update upstream removed the Makefile that I had patched to make things work. I've temporarily commented out several lines in my spec file[0] to test things but I can't get around the following error:

RPM build errors:
File not found: /root/rpmbuild/BUILDROOT/tudu-0.8.1-1.fc17.x86_64/usr/bin/tudu
File not found by glob: /root/rpmbuild/BUILDROOT/tudu-0.8.1-1.fc17.x86_64/usr/share/man/man1/tudu*
File not found: /root/rpmbuild/BUILDROOT/tudu-0.8.1-1.fc17.x86_64/usr/share/tudu
File not found by glob: /root/rpmbuild/BUILDROOT/tudu-0.8.1-1.fc17.x86_64/etc/*
File not found: /root/rpmbuild/BUILDROOT/tudu-0.8.1-1.fc17.x86_64/etc/tudurc

You can also see the entire build log[1] as I'm sure that will be helpful.

I'm sure I'm missing something simple (and I probably shouldn't be trying to do these types of things late at night) but if someone could help me out with this I'd be greatful.

[0] http://sparks.fedorapeople.org/tudu.spec
[1] http://sparks.fedorapeople.org/tudu.error

- - -- Eric

- - --------------------------------------------------
Eric H Christensen eric@christensenplace.us
"Sparks" sparks@fedoraproject.org
.... .. .-.. .-.. --- .-- --- .-. .-.. -..
097C 82C3 52DF C64A 50C2 E3A3 8076 ABDE 024B B3D1
- - --------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJO8XOHAAoJEIB2q94CS7PRU0oP/0syYtdN0mZvCqCxny77tW7q
oxjsk+tm8xcFxV6bcTAU4Iadp4gV5qFH76ova4FgKzD0E7wVhq V6IY1HxpKGZR2z
IQtPKHrUhSaKYfmnxB5wUthlUE7dYRESiE3FeL7R8HjoMDwz0P kR0VKZ1RHhTdRf
7GpYoDeyVoVP1Q+2tlo54JmrNgzDk3cI5DwM7z7yRrcSNsppJ2 t3PlnaEgJeNjd4
XVcANO8nmTgCVi4NdMzojdwIj26K2mk41dd5ttUZRYxdEUC6UI poDIziXe5P1XNp
NGywPpOlfQkkrdu/kl8eHr/ZXVdE787pJodlUj+HZR+mzy3M0u2R7YhISYjs40JO
iALmDM4dEYecHlyGYaKh1CXE7ITbHZz8yvF6DHZTeyOm9SFH28 W7IM1Be0GkEx/K
O2CzOP3N4KDIMq7dy6rifT+ldY3V8rFggQGRj7780DYuDxYVuD JqiPUp9lPQWUUG
+J4cfbKnQuS5GGWDEqN5KHwr8d+3iTK0M3HWVSd0wI0uAzhnll SpkqBa8HCGYVxB
5o7tefeiJyhAl4KoI+abW8LIQQYZD9Cb+u0QoC9vhD490vtPvl 7HwaJaAfTcRUCE
8dEu7dIMVi36mSi4jGZXfAs+5uYzdiWcLYrR4FSEpm1tUL/oQCW3WoofaufcQLN4
VRZkj7Nm6XyiiWSCswlR
=ikWi
-----END PGP SIGNATURE-----
--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging
 
Old 12-21-2011, 09:45 AM
Michael Schwendt
 
Default A little help with TuDu, please

On Wed, 21 Dec 2011 00:49:59 -0500, EHC (Eric) wrote:

> File not found: /root/rpmbuild/BUILDROOT/tudu-0.8.1-1.fc17.x86_64/usr/bin/tudu
>

In the future, avoid building as superuser root. Your ordinary user account
should suffice.

> File not found by glob: /root/rpmbuild/BUILDROOT/tudu-0.8.1-1.fc17.x86_64/usr/share/man/man1/tudu*
> File not found: /root/rpmbuild/BUILDROOT/tudu-0.8.1-1.fc17.x86_64/usr/share/tudu
> File not found by glob: /root/rpmbuild/BUILDROOT/tudu-0.8.1-1.fc17.x86_64/etc/*
> File not found: /root/rpmbuild/BUILDROOT/tudu-0.8.1-1.fc17.x86_64/etc/tudurc
>
> You can also see the entire build log[1] as I'm sure that will be helpful.

The error messages are obvious, however. Your buildroot does not contain
the files specified in the %files section. That means they either have not
been installed to the specified locations, or the %install section has not
installed them at all.

> [0] http://sparks.fedorapeople.org/tudu.spec
> [1] http://sparks.fedorapeople.org/tudu.error

> g++ -Wall -O2 -c tudu.cc

It doesn't build with Fedora's global optflags. The packaging guidelines
contain a section about that.

> + make install

> mkdir -p /usr/local/bin
> /usr/bin/install -m 755 -s tudu /usr/local/bin

It doesn't install into buildroot, but directly into /usr/local, and
that didn't fail because you've built as "root". You need to figure out
whether it just ignored your DESTDIR= definition (or whether the linked
spec file is not the one that produced your tudu.error log file) and
whether it needs patching (or whether %makeinstall would be a work-around).
Consult the Fedora packaging guidelines about %makeinstall.
--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging
 

Thread Tools




All times are GMT. The time now is 10:33 PM.

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