RPM build errors: No file attributes configured

25. July, 2016

The error comes from this lines in the RPM source code:

if (initAttrs(fc) < 1) {
rpmlog(RPMLOG_ERR, _("No file attributes configured\n"));
goto exit;

initAttrs() looks for “%{_fileattrsdir}/*.attr”

To solve this, install the package rpm-devel.

Another solution is to create a file “script.attr” in _fileattrsdir (default: /usr/lib/rpm/fileattrs/) with this content:

%__script_requires %{_rpmconfigdir}/script.req
%__script_magic ^.* script[, ].*$
%__script_flags exeonly

Googling Stack Traces

4. June, 2011

How often did you run into a problem, googled for it and eventually found a solution because someone else had had the same problem?

In this process, the key issue is to find a good query for Google.

Wouldn’t it be nice if your computer would support you here?

It wouldn’t even be hard to implement: When an error happens, programming languages have context, say, a stack trace. Some programs like the H2 database and Maven already use something like that: Every error message contains a URL where you can find additional information.

So what we would need is a wiki for stack traces.

And a plug-in for our favorite IDE to find similar stack traces in this wiki.

Kudos go to Marcel Bruch for the idea.

ORA-01461: can bind a LONG value only for insert into a LONG column tips

23. August, 2010

Should you ever encounter this message:

ORA-01461: can bind a LONG value only for insert into a LONG column tips

then chances are you tried to insert more than 4096 characters at once.

Again the price for useless error messages goes to … Oracle! 😉

To add insult to injury, I couldn’t find anything useful related to this error with Oracle’s own site search.