lintian | Static analysis tool for Debian packages
kandi X-RAY | lintian Summary
kandi X-RAY | lintian Summary
Running Lintian is as simple as invoking. Alternatively, you can pass Lintian binary/udeb or dsc files directly instead of the .changes file. Lintian is designed to work directly from the source tree (simply use "frontend/lintian" itself). For information about command options, please run lintian (or lintian-info) with "--help". Alternatively, you can also read the manpages lintian(1) and lintian-info(1).
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of lintian
lintian Key Features
lintian Examples and Code Snippets
Community Discussions
Trending Discussions on lintian
QUESTION
I‘m trying to create a .deb package using git buildpackage as described here: http://www.lpenz.org/articles/debgit/index.html
Basically, this works fine, the package is built and I can install and uninstall, no problem. But for some reason, my home dir (which is where I build it), is included in the package (just the directory structure up to the build dir, not the contents).
So, if I look at the package contents with „dpkg -c“, the first entry is „/home/wiggy/git/packagesource“. This results in a) lintian complaining that files from my home dir are included in the package, and b) a warning message during uninstallation of the package „Not deleting /home/wiggy since it‘s not empty.“
There‘s nothing in the „install“ target in the Makefile that installs anything into my home dir, and everything in the package is installed correctly where it‘s supposed to be (/usr/bin, /usr/share and so on), so I guess there must be some command line of config option that I‘m missing.
WHat can cause the build dir to be included in the package during building?
...ANSWER
Answered 2021-Apr-19 at 09:55OK, I found the reason: In the Makefile for the software I'm builing, there's a step where a Copyright-file is generated from a template (the correct years ia automatically added). This file is generated in the build dir and is then later installed in the INSTALL target.
I guess that gbp somehow detects that there is a file generated in the build dir and interprets this as an installation command or something, even though it does then not include this temporary file in the package.
Removing the auto-generation of this file from the Makefile fixed it.
QUESTION
We have a Docker file that worked as late as 22 December 2020, but all of a sudden it crashes in runtime if we build the same Docker file again and the exception is:
...ANSWER
Answered 2021-Feb-17 at 07:11So, I found the problem and document it here if it happens to someone else. It turned out to be how Visual Studio does the building now.
If I right-click and build the Dockerfile in Visual Studio the result will be correct just as my investigations above showed. The problem is that when I wanted to test the image, I run it by F5 (or Ctrl+F5) in VS and in that case Visual Studio does not build my Dockerfile by default. I thought that it used my recently build result (cached), but it actually uses another cached result. For performance reason it builds the project locally and take that result and adds it to the aspnet:3.1-buster-slim image, which means that my custom dependencies are not added.
This behaviour can be controlled by setting in the project file. The default value of if is Fast which does not use my Dockerfile, but setting it to Regular does, on the cost of slower start up. Documentation of this and other settings can be found here: https://docs.microsoft.com/en-us/visualstudio/containers/container-msbuild-properties?view=vs-2019
QUESTION
I have heard its a conventional practice to store program dependent files in /usr/share/application-folder
in linux. So I'm trying to do it in my c program in a function called load_interface_files()
for example. I am not sure if this is a good practice or not, I've heard about creating configuration files for this kind of issues.
Anyways, here's the the code I wrote to make a directory in /usr/share
.
ANSWER
Answered 2020-Dec-01 at 04:25use ls -ld /usr/share
to see what the permissions on the directory are (without -d
, you get the contents and their permissions).
Use code like:
QUESTION
I had a following error(debian-rules-is-dh_make-template
) from lintian
.
How should I fix to pass the error?
The message showed me that I didn't modify debian/rules
, but I already modified (I added override_dh_auto_clean:
), so I guess that my debian/rules
is insufficient but I can't figure out why my debian/rules
is insufficient...
ANSWER
Answered 2020-Nov-25 at 02:24How about delete commentary in debian/rules
?
QUESTION
I was working with VueJS to create a web application and I finally decide to change it into a desktop one. So i cloned my project and based on this QuickStart tutorial Vue CLI Plugin Electron Builder I changed my Vue application into an Electron one.
But now that I have finished developing my software, I would like to create an installer of that and use it anywhere i want. And that's where the problems started.
This tutorial Electron packager tutorial allowed me to create package of my application, and this one Electron installer debian package allowed me to create the debian installer. But when the .deb
file is generated and i execute it the size of the software is 0 byte and the software won't launch after installing.
I did anything but i can't find where the problem is.
Here are some elements that can help people help me..
package.json :
...ANSWER
Answered 2020-Feb-13 at 22:18Ok so i finally solved my problem. This github topic put me on the way saying that the problem was not at the debian installer creation but in the way the application was packaged.
After that i realized that instead of using electron-packager, run npm run electron:build
was also creating a package of my application named linux-unpacked in the dist_electron folder. When i tryed to use it as package to create my installer, electron-installer-debian specified me that some files where missing, LICENSE and version (version contain the electron version. I don't know if that is a rule but that is what mine contain).
So i just added them and my installer was created and my software was finally able to be launch on the computer.
QUESTION
I am attempting to build the Parrot SDK and when running the command it continuously fails due to multiple libav package variants not being found. Below is the error message.
...ANSWER
Answered 2019-Mar-19 at 07:49Assuming you followed FFmpeg Ubuntu compilation guidelines here:https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
The path you looking for must be here: PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig
QUESTION
Using OpenJFX 11
I am using a mediaplayer to play some clips on a Linux system. Some of them display, others don't. As far as I can tell the only difference in the encoding is, that the not playing video contains an audio track.
This is the output of mediainfo
for the video that plays:
ANSWER
Answered 2018-Dec-28 at 00:09Turns out that while MP3 is supported as audio, it is not supported for video, at least not out of the box for Linux.
What works through is MP4 together with AAC for the audio track. At least this is true for Java 11, OpenJFX 11 on Linux Mint 18.3.
QUESTION
I have cuda-9.0 installed, and in the /usr/local/cuda-9.0/lib64 library, there exists shared file libcublas.so.9.0
. However, whenever I do locate libcublas
, I get the following:
ANSWER
Answered 2018-Dec-05 at 20:55This worked for me:
I installed 4 libcublas
patches for CUDA 9.0
.
In the .bashrc file, I got rid of the quotations.
Instead of export PATH="/usr/local/cuda-9.0/bin:$PATH"
I used export PATH=/usr/local/cuda-9.0/bin:$PATH
Then I restarted all the terminals.
QUESTION
After installing the debuild toolchain with:
...ANSWER
Answered 2018-Jul-18 at 06:47I fixed it by installing the package config-package-dev
QUESTION
I am trying to build a binary package for Debian (with dpkg-deb --build
) and I need to copy some files into the target machine to complete the installation with a postinst
script (and remove them just after).
But I don't know where to put them.
I have tried /tmp/mypkg
, /bin/mypkgtmp/
, /usr/share/mypkg/tmp
.
But Lintian has produced error/warning for all of them :
It's a directory with some binaries so the only place I can use seems to be /usr/bin/mh
.
But /usr/bin/mh
seems to be related to mail handling (not really clear).
What's the right place to put my temporary files without producing a Lintian error or warning ?
Here is my actual tree :
...ANSWER
Answered 2018-Mar-28 at 13:39Keep them inside the source directory. Maybe there you create there a tmp
. Object file (.o
) and other intermediate file are generated and keep there. Just do no put them in the output directory $(DESTDIR)
, so they will not be included in the package. And do no put outside building directory, so that building tools have no problems insulating your package from the rest of build system).
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install lintian
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page