Error Line 51 Dependency Tokens Must Begin With Alphanumeric
Tags Search LQ Wiki Search Tutorials/Articles Search HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Software rpmbuild problem: Dependency tokens must begin with alpha-numeric, '_' or '/': User Name Remember Me? Password Linux - Software This forum is for Software issues. Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. The
Development Programming/Scripting rpmbuild cannot understand %kernel_module_package macro Welcome! If this is your first visit, be sure to check out the FAQ. You will have to register before you can post in the forums. (Be aware the forums do not accept user names with a dash "-") Also, logging in lets you avoid the CAPTCHA verification when searching . Select Articles, Forum, or Blog. Posting in the Forums implies acceptance of the Terms and Conditions. Results 1 to 2 of 2 Thread: rpmbuild cannot understand %kernel_module_package macro Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid http://www.linuxquestions.org/questions/linux-software-2/rpmbuild-problem-dependency-tokens-must-begin-with-alpha-numeric-'_'-or-'-'-723537/ Mode Switch to Threaded Mode 17-May-2013,02:22 #1 naruto_uzu View Profile View Forum Posts View Blog Entries View Articles Newcomer Join Date Mar 2013 Posts 3 rpmbuild cannot understand %kernel_module_package macro Hello everyone, Recently I used the document http://www.novell.com/developer/Kmpm-code11.pdf to build hello module. When I used BUILD command to build hello rpm package. Everything is ok. However when I used rpmbuild command to build rpmbuild -ba hello.spec I https://forums.opensuse.org/showthread.php/487046-rpmbuild-cannot-understand-kernel_module_package-macro got the error: "error: line 10: Dependency tokens must begin with alpha-numeric, '_' or '/': BuildRequires: %kernel_module_package_buildreqs " I tried to change BuildRequires to BuildRequires: kernel-default-devel kernel-source kernel-syms and continue building but it meets another issue "error: line 21: Unknown tag: %kernel_module_package". Does rpmbuild support these macro? How can rpmbuild understand the macro %kernel_module_package and %kernel_module_package_buildreqs? My build machine is currently installed suse 3.0.26 Thank you, Reply With Quote 17-May-2013,05:22 #2 malcolmlewis View Profile View Forum Posts View Blog Entries Visit Homepage View Articles Administrator Join Date Jun 2008 Location Podunk Posts 20,743 Re: rpmbuild cannot understand %kernel_module_package macro On Fri 17 May 2013 09:26:02 AM CDT, naruto uzu wrote: Hello everyone, Recently I used the document http://www.novell.com/developer/Kmpm-code11.pdf to build hello module. When I used BUILD command to build hello rpm package. Everything is ok. However when I used rpmbuild command to build rpmbuild -ba hello.spec I got the error: "error: line 10: Dependency tokens must begin with alpha-numeric, '_' or '/': BuildRequires: %kernel_module_package_buildreqs " I tried to change BuildRequires to BuildRequires: kernel-default-devel kernel-source kernel-syms and continue building but it meets another issue "error: line 21: Unknown tag: %kernel_module_package". Does rpmbuild support these macro? How can rpmbuild understand the macro %ke
Developers Corner » Packagers (Moderators: http://www.pclinuxos.com/forum/index.php?topic=115992.0 Archie, travisN000, daniel, Old-Polack, Neal ManBear) » Juffed -text editor « previous next » Print Pages: [1] Go Down Author Topic: Juffed -text http://comments.gmane.org/gmane.network.open-pegasus.general/6599 editor (Read 1634 times) tele Hero Member Posts: 1652 Juffed -text editor « on: May 09, 2013, 03:24:20 AM » Edited: http://www.pclinuxos.com/forum/index.php/topic,115988.0.htmlIn error line sourse exist .spec for fedoraI have changed some, and do not want to delete the settings and create new .specCode: [Select]# norootforbuild
%if 0%{?fedora_version} != 0
%define fedora_version 8
%define breq qt4-devel, qscintilla2-devel
%define qmake /usr/bin/qmake-qt4
%define lrelease /usr/bin/lrelease-qt4
%define juffed_release svn
%define error line 51 Source_index tar.bz2
%define Group0 Utility
%endif
%if 0%{?suse_version} != 0
%define fedora_version 8
%define breq libqt4-devel, qscintilla2-devel
%define qmake /usr/bin/qmake
%define lrelease /usr/bin/lrelease
%define juffed_release svn
%define Source_index tar.bz2
%define Group0 Utility
%endif
%if 0%{?mandriva_version} != 0
%define fedora_version 8
%define breq libqt4-devel, qt4-linguist, qscintilla2-devel
%define qmake /usr/lib/qt4/bin/qmake
%define lrelease /usr/lib/qt4/bin/lrelease
%define juffed_release svn
%define Source_index tar.bz2
%define Group0 Utility
%endif
%if 0%{?pclos_version} != 0
%define breq libqt4-devel, qt4-linguist, libqscintilla-qt4-devel
%define qmake /usr/lib/qt4/bin/qmake
%define lrelease /usr/lib/qt4/bin/lrelease
%define juffed_release %mkrel 1
%define Source_index tar.xz
URL: http://juffed.com/en/index.html
%define Group0 Editors
Requires: libqt4-devel, libqscintilla-qt4-devel
%endif
Name: juffed
Version: 0.10
Release: %{juffed_release}
License: GPL 2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: