Mailinglist Archive: opensuse-bugs (13048 mails)

< Previous Next >
[Bug 463464] sane-backends: fixes for SCSI and package does not build from source rpm
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 8 Jan 2009 06:39:47 -0700 (MST)
  • Message-id: <20090108133947.65F86245391@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=463464

User dieter.jurzitza@xxxxxxxxxxx added comment
https://bugzilla.novell.com/show_bug.cgi?id=463464#c10





--- Comment #10 from Dieter Jurzitza <dieter.jurzitza@xxxxxxxxxxx> 2009-01-08
06:39:44 MST ---
To be a little more specific:
sane-backends-1.0.19-99.1.src.rpm contains the file create_scanner_database fro
m December 4th 2008.

In this file the path directions to the database file is hard coded to

/var/tmp/sane-backends-1.0.19-build/usr/share ...

so, two impacts here:

1.) the current sed magic makes an error at the very first run with _this_
file, so the package never ever builds as is:

/var/tmp/sane-backends-1.0.19-build/var/tmp/sane-backends-1.0.19-build/...

2.) this path is prolonged by another /var/tmp/sane-backends-1.0.19-build
with each new attempt to rebuild the rpm, what should not happen.

Therefore I would strongly suggest to modify this in such a way that you change
your sed - magic to:
cat create_scanner_database | sed <change path> > create_scanner_database_rpm

and call create_scanner_database_rpm later on, so the original would not get
touched and never ending paths could be avoided.


--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
References