designer library was
not being built.
The designer library is needed to build designer plugins, which allow loading,
dynamically at runtime, .ui interface files that use custom widgets.
The error the customer got at runtime is:
QFormBuilder was unable to create a custom widget of the class ' '; defaulting to base class 'QWidget'.
The library with the custom widget implementation was correctly linked, and
indeed the same custom widget was used by the application in other parts of its
interface not loaded via .ui files.
It turns out that it is not sufficient, and to load custom widgets
automatically, QUiLoader wants to read
their metadata from plugin libraries containing objects that implement the
QDesignerCustomWidgetInterface
interface.
Sadly, building such a library requires using QT += designer, and the
designer library, that was not being built by Qt5's build system. This looks
very much like a Qt5 bug.
A work around would be to subclass
QUiLoader extending
createWidget to teach it how to create the custom widgets we need.
Unfortunately, the customer has many custom widgets.
The investigation
To find out why designer was not being built, I added -d to the qmake
invocation at the end of qtbase/configure, and trawled through the 3.1G build
output.
The needle in the haystack seems to be here:
DEBUG 1: /home/build/armhf/qt-everywhere-src-5.15.0/qttools/src/designer/src/src.pro:18: SUBDIRS := uiplugin uitools lib components designer plugins DEBUG 1: /home/build/armhf/qt-everywhere-src-5.15.0/qttools/src/designer/src/src.pro:23: calling qtNomakeTools(lib components designer plugins)
qtNomakeTools seems to be intended to disable
building those components if QT_BUILD_PARTS doesn't contain tools. For
cross-building, QT_BUILD_PARTS is libs examples, so designer does not get
built.
However, designer contains the library part needed for
QDesignerCustomWidgetInterface
and that really needs to be built. I assume that part should really be built as
part of libs, not tools.
The fixes/workarounds
I tried removing designer from the qtNomakeTools invocation at
qttools/src/designer/src/src.pro:23, to see if
qttools/src/designer/src/designer/ would get built.
It did get built, but then build failed with designer/src/designer and
designer/src/uitools both claiming the designer plugin.
I tried editing qttools/src/designer/src/uitools/uitools.pro not to claim the
designer plugin when tools is not a build part.
I added the tweaks to the Qt5 build system as debian/patches.
2 hours of build time later...
make check is broken:
make[6]: Leaving directory '/home/build/armhf/qt-everywhere-src-5.15.0/qttools/src/designer/src/uitools' make[5]: *** No rule to make target 'sub-components-check', needed by 'sub-designer-check'. Stop.
make check doesn't do anything in this build, we can simply
override dh_auto_test to skip that step.
Finally, this patch builds a new executable, of an architecture that makes dh_shlibdeps struggle:
dpkg-shlibdeps: error: cannot find library libQt5DesignerComponentssystem.so.5 needed by debian/qtbase5system-armhf-dev/opt/qt5system-armhf/bin/designer (ELF format: 'elf32-little' abi: '0101002800000000'; RPATH: '') dpkg-shlibdeps: error: cannot find library libQt5Designersystem.so.5 needed by debian/qtbase5system-armhf-dev/opt/qt5system-armhf/bin/designer (ELF format: 'elf32-little' abi: '0101002800000000'; RPATH: '')
dh_shlibdeps on the designer executable.
The result is in the qt5custom git repository.
LWN published today yet another great piece of writing, Loaded terms
in free software. I am sorry, the
content will not be immediately available to anybody following at
home, as LWN is based on a subscription model But a week from now,
the article will be open for anybody to read. Or you can ask me (you
most likely can find my contact addresses, as they are basically
everywhere) for a subscriber link, I will happily provide it.
In consonance with the current mood that started with the killing of
George Floyd
and sparked worldwide revolts against police brutality, racism (mostly
related to police and law enforcement forces, but social as well) and
the like, the debate that already started some months ago in technical
communities has re-sparked:
We have many terms that come with long histories attached to them, and
we are usually oblivious to their obvious meaning. We? Yes, we, the
main users and creators of technology. I never felt using master and
slave to refer to different points of a protocol, bus, clock or
whatever (do refer to the Wikipedia article for a fuller
explanation)
had any negative connotations but then again, those terms have never
tainted my personal family. That is, I understand I speak from a
position of privilege.
A similar although less heated issue goes around the blacklist and
whitelist terms, or other uses that use white to refer to good,
law-abiding citizens, and black to refer to somewhat antisocial uses
(i.e. the white hat and black hat hackers).
For several years, this debate has been sparking and dying off. Some
important changes have been made Particularly, in 2017 the Internet
Software Consortium started recommending Primary and
Secondary,
Python dropped master/slave pairs after a quite thorough and deep
review throughout 2018, GitHub
changed the default branch from master to main earlier this
week. The
Internet Engineering Task Force has a draft (that lapsed and thus
sadly didn t become an RFC, but still, is archived), Terminology,
Power and Oppressive
Language
that lists suggested alternatives:
There are also many other relationships that can be used as metaphors, Eglash s research calls into question the accuracy of the master-slave metaphor. Fortunately, there are ample alternatives for the master-slave relationship. Several options are suggested here and should be chosen based on the pairing that is most clear in context:I ll add that I think we Spanish-speakers are not fully aware of the issue s importance, because the most common translation I have seen for master/slave is maestro/esclavo: Maestro is the word for teacher (although we do keep our slaves in place). But think whether it sounds any worse if you refer to device pairs, or members of a database high-availability cluster, or whatever as Amo and Esclavo. It does sound much worse I cannot add much of value to this debate. I am just happy issues like this are being recognized and dealt with. If the topic interests you, do refer to the LWN article! Some excrepts: I consider the following to be the core of Jonathan Corbet s writeup:
- Primary-secondary
- Leader-follower
- Active-standby
- Primary-replica
- Writer-reader
- Coordinator-worker
- Parent-helper
Recent events, though, have made it clear even to those of us who were happy to not question this view that the story of slavery and the wider racist systems around it is not yet finished. There are many people who are still living in the middle of it, and it is not a nice place to be. We are not so enlightened as we like to think we are. If there is no other lesson from the events of the last few weeks, we should certainly take to heart the point that we need to be listening to the people who have been saying, for many years, that they are still suffering. If there are people who are telling us that terms like slave or blacklist are a hurtful reminder of the inequities that persist in our society, we need to accept that as the truth and act upon it. Etymological discussions on what, say, master really means may be interesting, but they miss the point and are irrelevant to this discussion.Part of a comment by user yokem_55:
Often, it seems to me that the replacement words are much more descriptive and precise than the old language. Allowlist is far more obviously a list of explicitly authorized entities than whitelist . Mainline has a more obvious meaning of a core stream of development than master . The benefit of moving past this language is more than just changing cultural norms, it s better, more precise communication across the board.Another spot-on comment, by user alan:
From my perspective as a Black American male, I think that it s nice to see people willing to see and address racism in various spheres. I am concerned that some of these steps will be more performative than substantial. Terminology changes in software so as to be more welcoming is a nice thing. Ensuring that oppressed minorities have access to the tools and resources to help reduce inequity and ensuring equal protection under the laws is better. We ll get there one day I m sure. The current ask is much simpler, its just to stop randomly killing and terrorizing us. Please and thank you.So Maybe the protests of this year caught special notoriety because the society is reacting after (or during, for many of us) the lockdown. In any case, I hope for their success in changing the planet s culture of oppression.
Language is a tool of power
In school, we read the philologist diary of Victor Klemperer about the
changes in the German language during the Third Reich, LTI - Lingua Tertii Imperii, a book which makes it clear that the use of
language is political, creates realities, and has reverse repercussions on
concepts of an entire society. Language was one of the tools that supported Nazism in
insiduously pervading all parts of society.
Language shapes our concepts of society
Around the same time, a friend of mine proposed to read Egalia's daughters by Gerd Brantenberg, a book
in which gendered words were reversed: so that human becomes
huwim, for example. This book made me take notice of gendered concepts
that often go unnoticed.
Language shapes the way we think and feel
I spent a large part of my adult life in France, which confronted me with
the realization that a language provides its speakers with certain concepts. If
a concept does not exist in a language, people cannot easily feel or imagine
this concept either.
Back then (roughly 20 years ago), even though I was aware of gender inequality, I hated using
gender neutral language because in German and French it felt unnatural, and, or so
I thought, we were all alike. One day, at a party, we played a game that
consisted in guessing people's professions by asking them Yes/No questions.
Turns out that we were unable to guess that the woman we were talking with was
a doctor, because we could simply not imagine this profession for a
young woman. In French, docteur is male and almost nobody would use
the word doctoresse, ou femme docteur.
Unimaginable are also the concepts of words in German that have no
equivalent in French or vice versa:
You never change things by fighting the existing reality. To change something, build a new model that makes the existing model obsolete.A change in language is such a new model: it can make oppression and inequalities visible. Words do not only describe our world, they are a vehicle of ideas, and utopias. Analyzing and criticizing our use of language means paving the way for ideas and concepts of inclusion, equality, and unity. You might be guessing at where am I getting at with this Right: I am in favor of acknowledging past mistakes, and replacing oppressive metaphors in computing. As noted in the IETF draft about Terminology, Power and Oppressive Language, by Niels Ten Oever and Mallory Knodel, the metaphors "master/slave" and "blacklist/whitelist" associate "white with good and black with evil [which] is known as the 'bad is black effect'", all the while being technically inaccurate. I acknowledge that this will take time. There is a lot of work to do.
| Series: | Murderbot Diaries #5 |
| Publisher: | Tor |
| Copyright: | May 2020 |
| ISBN: | 1-250-22984-7 |
| Format: | Kindle |
| Pages: | 351 |
Overse added, "Just remember you're not alone here." I never know what to say to that. I am actually alone in my head, and that's where 90 plus percent of my problems are.Many of the loose ends in the novellas were tied up in the final one, Exit Strategy. The biggest one that wasn't, at least in my opinion, was ART, the research transport who helped Murderbot considerably in Artificial Condition and clearly was more than it appeared to be. That is exactly the loose end that Wells resolves here, to great effect. I liked the dynamic between ART and Murderbot before, but it's so much better with an audience to riff off of (and yet better still when there are two audiences, one who already knew Murderbot and one who already knew ART). I like ART almost as much as Murderbot, and that's saying a lot. The emotional loose end of the whole series has been how Murderbot will decide to interact with other humans. I think that's not quite resolved by the end of the novel, but we and Murderbot have both learned considerably more. The novellas, except for the first, are mostly solo missions even when Murderbot is protecting clients. This is something more complicated; the interpersonal dynamics hearken back to the first novella and then go much deeper, particularly in the story-justified flashbacks. Wells uses Murderbot's irritated avoidance to keep some emotional dynamics underplayed and indirect, letting the reader discover them at opportune moments, and this worked beautifully for me. And Murderbot's dynamic with Amena is just wonderful, mostly because of how smart, matter-of-fact, trusting, and perceptive Amena is. That's one place where the novel length helps: Wells has more room to expand the characterization of characters other than Murderbot, something that's usually limited in the novellas to a character or two. And these characters are great. Murderbot is clearly the center of the story, but the other characters aren't just furniture for it to react to. They have their own story arcs, they're thoughtful, they learn, and it's a delight to watch them slot Murderbot into various roles, change their minds, adjust, and occasionally surprise it in quite touching ways, all through Murderbot's eyes.
Thiago had said he felt like he should apologize and talk to me more about it. Ratthi had said, "I think you should let it go for a while, at least until we get ourselves out of this situation. SecUnit is a very private person, it doesn't like to discuss its feelings." This is why Ratthi is my friend.I have some minor quibbles. The targetSomething naming convention Murderbot comes up with and then is stuck with because it develops too much momentum is entertaining but confusing. A few of the action sequences were just a little on the long side; I find the emotional processing much more interesting. There's also a subplot with a character with memory holes and confusion that I thought dragged on too long, mostly because I found the character intensely irritating for some reason. But these are just quibbles. Network Effect is on par with the best of the novellas that precede it, and that's a high bar indeed. In this series, Wells has merged the long-running science fiction thread of artificial intelligences and the humanity of robots with the sarcastic and introspective first-person narration of urban fantasy, gotten the internal sensation of emotional avoidance note-perfect without making it irritating (that's some deep magic right there), and added in some top-tier negotiation of friendship and relationships without losing the action and excitement of a great action movie. It's a truly impressive feat and the novel is the best installment so far. I will be stunned if Network Effect doesn't make most of the award lists next year. Followed by Fugitive Telemetry, due out in April of 2021. You can believe that I have already preordered it. Rating: 9 out of 10
With the current four-month release cycle, the next Rcpp release is due in July following the 1.0.4 release in March. Just prior to the 1.0.4 release I had asked this:
It would be particularly beneficial if those with unsual build dependencies tested it as we would increase overall coverage beyond what I get from testing against 1800+ CRAN packages. BioConductor would also be welcome.but only on the rcpp-devel list, and only about a good week prior to the release. I remain rather disappointed and disillusioned about what happened after 1.0.4 was released. Two PRs in that release were soon seen to have side effects on more marginal test systems, precisely what added testing could have revealed. An additional issue arose from changes in R s make system, which is harder to anticipate or test. Each and every infelicity was fixed within a day or so, and we always make candidate releases available the current Rcpp as of this writing is 1.0.4.12 meaning twelve microreleases were made since 1.0.4. And those microreleases are always available for normal download and
install.packages use via the Rcpp drat repository accessible to all. So it was truly troubling to see some, especially those with experience in setting up or running testing / ci platforms, pretend to be unable to access, install, and provide these for their own tests, or the tests of their users. It just doesn t pass a basic logic test: it takes a single call to install.packages(), or, even more easily, a single assignment of an auxiliary repo. All told this was a rather sad experience.
So let s try to not repeat this. If you, or maybe users of a build or ci system you maintain, rely on Rcpp, and especially if you do so on systems outside the standard CRAN grid of three OSs and the triplet of previous, current, next releases of R, then please help by testing. I maitain these release as a volunteer, unpaid at that, and I simply cannot expand to more systesm. We take reverse dependency check seriously (and I just run two taking about a day each) but if you insist on building on stranger hardware or much older releases it will be up to you to ensure Rcpp passes. We prep for CRAN, and try our best to pass at CRAN. For nearly a dozen years.
To install the current microrelease from the Rcpp drat repository, just do
That is all there is to it. You could even add the Rcpp drat repository to your repository list.
Rcpp has become successful because so many people help with suggestions, documentation, and code. It is used by (as of today) 1958 CRAN packages, 205 BioConductor packages, and downloaded around a million times per month. So if you can, please help now with some more testing.
If you like this or other open-source work I do, you can now sponsor me at GitHub. For the first year, GitHub will match your contributions.
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
Could I be any more happier?Well, this time, my project is basically to write a linter (an extension to RuboCop). This tool is mostly to help the Debian Ruby team. And that is the best part, I love working in/for/with the Ruby team!
More details about the project can be found here, on the wiki.git ls-files in the gemspec files. This has been the most problematic thing for us.
Dir or Dir.glob, the best (closest) possible solution
(right now) is to use Rake::FileList which tries to respects the .gitignore file.:wq for today.
This post was originally published in the Wikimedia Tech blog, and
is authored by Arturo Borrero Gonzalez and Brooke Storm.
In the previous post, we shared the context on the recent Kubernetes upgrade that we
introduced in the Toolforge service. Today we would like to dive a bit more in the technical
details.
Custom admission controllers
One of the key components of the Toolforge Kubernetes are our custom admission controllers. We use
them to validate and enforce that the usage of the service is what we intended for. Basically, we
have 2 of them:
RBAC and PSP for Toolforge, original image in wikitech
I mentioned that we know about each user by means of TLS certificates. This is true, and in fact,
there is a key component in our setup called maintain-kubeusers. This custom piece
of Python software is run as a pod inside the cluster and is responsible for reading our external
user database (LDAP) and generating the required credentials, namespaces, and other configuration
bits for them. With the TLS cert, we basically create a kubeconfig file that is then written into
the homes NFS share, so each Toolforge user has it in their shell home directory.
Networking and Ingress setup
With the basic security controls in place, we can move on to explaining our networking and Ingress
setup. Yes, the Ingress word might be a bit overloaded already, but we refer here to
Ingress as the path that end-users follow from their web browser in their local machine to a
webservice running in the Toolforge cluster.
Some additional context here. Toolforge is not only Kubernetes, but we also have a Son of
GridEngine deployment, a job scheduler that covers some features not available in Kubernetes. The
grid can also run webservices, although we are encouraging users to migrate them to Kubernetes. For
compatibility reasons, we needed to adapt our Ingress setup to accommodate the old web grid.
Deciding the layout of the network and Ingress was definitely something that took us some time to
figure out because there is not a single way to do it right.
The following diagram can be used to explain the different steps involved in serving a web service
running in the new Toolforge Kubernetes.
Toolforge k8s network topology, original image in Wikitech
The end-user HTTP/HTTPs request first hits our front proxy in (1). Running here is
NGINX with a custom piece of LUA code that is able to decide whether to contact the web grid
or the new Kubernetes cluster. TLS termination happens here as well, for both domains
(toolforge.org and tools.wmflabs.org). Note this proxy is reachable from the internet, as it
uses a public IPv4 address, a floating IP from CloudVPS, the infrastructure service we
provide based on Openstack. Remember that our Kubernetes is directly built in virtual machines a
bare-metal type deployment.
If the request is directed to a webservice running in Kubernetes, the request now reaches
haproxy in (2), which knows the cluster nodes that are available for Ingress. The
original 80/TCP packet is now translated to 30000/TCP; this is the TCP port we use internally for
the Ingress traffic. This haproxy instance provides load-balancing also for the Kubernetes API as
well, using 6443/TCP. It s worth mentioning that unlike the Ingress, the API is only reachable from
within the cluster and not from the internet.
We have a NGINX-Ingress NodePort service listening in 30000/TCP in every Kubernetes worker node in
(3); this helps the request to eventually reach the actual NGINX-Ingress pod in (4), which is
listening in 8080/TCP. You can see in the diagram how in the API server (5) we hook the Ingress
admission controller (6) to validate Kubernetes Ingress configuration objects before allowing them
in for processing by NGINX-Ingress (7).
The NGINX-Ingress process knows which tools webservices are online and how to contact them by means
of an intermediate Service object in (8). This last Service object means the request finally
reaches the actual tool pod in (9). At this point, it is worth noting that our Kubernetes cluster
uses internally kube-proxy and Calico, both using Netfilter components to handle traffic.
tools-webservice
Most user-facing operations are simplified by means of another custom piece of Python code:
tools-webservice. This package provides users with the webservice command line
utility in our shell bastion hosts. Typical usage is to just run webservice start stop status. This
utility creates all the required Kubernetes objects on-demand like Deployment, ReplicaSet, Ingress
and Service to ease deploying web apps in Toolforge. Of course, advanced users can interact
directly with Kubernetes API and create their custom configuration objects. This utility is just a
wrapper, a shortcut.
tool-fourohfour and tool-k8s-status
The last couple of custom components we would like to mention are the tool-fourohfour
and tool-k8s-status web services. These two utilities run inside the cluster as if
they were any other user-created tool. The fourohfour tool allows for a controlled handling of HTTP
404 errors, and it works as the default NGINX-Ingress backend. The k8s-status tool shows plenty of
information about the cluster itself and each tool running in the cluster, including links to the
Server Admin Log, an auto-generated grafana dashboard for metrics, and more.
For metrics, we use an external Prometheus server that contacts the Kubernetes cluster to scrape
metrics. We created a custom metrics namespace in which we deploy all the different
components we use to observe the behavior of the system:
Those of you who watch a lot of Hollywood movies may have noticed a certain trend that has consumed the industry in the last few years. It ...
Video Essay Catalog No. 91 by Kevin B. Lee. Featured on the New York Times and other outlets. Originally published December 13, 2011 on Fandor. https://carpetbagger.blogs.nytimes.com/2011/12/19/staring-in-awe-its-the-spielberg-face/?_r=0
The Korowai cannibals live on top of trees. But is it true?
Bandicoot Cabbagepatch, Bandersnatch Cumberbund, and even Wimbledon Tennismatch: there seem to be endless variations on the name of Benedict Cumberbatch. [...] But how is a normal internet citizen supposed to know, when they hear someone say I just can t stop looking at gifs of Bombadil Rivendell that this person isn t talking about some other actor with a name and a voice and cheekbones? Or in other words, what makes for a reasonable variation of the name Bendandsnap Calldispatch?
The next video in our T^4 series of video lightning talks with tips, tricks, tools, and toys (where we had seen the announcement, shells sessions one, two, and three, as well as byoby sessions one and two) is now up at YouTube. It covers session management for the wonderful byobu tool that is both a text-based window manager and a terminal multiplexer :
The slides are here. This repo at GitHub support the series: use it to open issues for comments, criticism, suggestions, or feedback. If you like this or other open-source work I do, you can now sponsor me at GitHub. For the first year, GitHub will match your contributions.
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
Another maintenance RVowpalWabbit package update brings us to version 0.0.14. This time CRAN asked us to replace the (long obsoleted C-library) function ftime(). Along the way, we also updated links in the DESCRIPTION file to the (spiffy!!) new vowpalwabbit.org website, updated Travis use and fine-tuned some autoconf code in configure.ac.
There is a newer package rvw based on the excellent GSoC 2018 and beyond work by Ivan Pavlov (mentored by James and myself) so if you are into Vowpal Wabbit from R go check it out. It should go to CRAN eventually once we have better mechanisms to support external libraries.
CRANberries provides a summary of changes to the previous version. More information is on the RVowpalWabbit page. Issues and bugreports should go to the GitHub issue tracker.
If you like this or other open-source work I do, you can now sponsor me at GitHub. For the first year, GitHub will match your contributions.
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
Some time has passed since the last updated of my KDE/Plasma packages. In the meantime KDE/frameworks 0.70 was uploaded to Debian/unstable, and everyone should have smoothly transitioned to the official packages by now.
In the same vein, some packages from the Plasma stack have been updated to 5.18.5 via the official channels, but some aren t here my repos still might be helpful. Finally, KDE/Apps are also in the process of finally being updated to 20.04.0/1 in Debian/unstable, but 20.04.2 was already released the other day, as well as Plasma 5.19 some days ago.
So here is the current status in the repositories I maintain on OBS:
/etc/apt/trusted.gpg.d/obs-npreining.asc.
As mentioned in the previous post, collaboration with the Debian Qt/KDE Team unfortunately turned out to be impossible, but I will keep updating the packages here, and try to keep compatibility with the Debian official packages, so that if finally there are updates they will take precedence over the packages from my repositories.
Enjoy.
amd64 develpment systems, and a runtime part
to be installed on the target armhf hardware.
Building a Qt5 cross-building environment builds a mix of armhf and amd64
binares: the amd64 tools to use for cross-building, like moc, qmake,
plugins for Qt Creator, and so on; armhf headers and libraries to use at
cross-build time; armhf shared libraries to use at runtime.
The procedure I came up with builds a devel package for amd64 development
machines, which contains everything, and a second package that extracts from it
only what is needed at runtime.
The cross-build environment is coinstallable both with the version of Qt
distributed with Debian, and with the amd64 custom Qt development
package.
The current build is sadly using -skip qtwebengine, because I have had no
success so far getting QtWebEngine to compile as part of a cross-build Qt
setup (the last road bump I can't overcome is nss and nspr not being
coinstallable on amd64 and armhf, while both seem to be needed for it).
The resulting packaging is at https://github.com/Truelite/qt5custom.
Set up sources
Open the source tarball, and add the amd64 packaging:
tar axf qt-everywhere-src-5.15.0.tar.xz cp -a debian-cross qt-everywhere-src-5.15.0/debian
cp qt-license.txt ~/.qt-license
armhf development, remove
--no-strip from ./configure invocation in the rules file, to build
significantly smaller .deb packages.
Install build dependencies
Install cross-compilers:
dpkg --add-architecture armhf apt install crossbuild-essential-armhf
apt build-dep to install dependencies manually:
cd qt-everywhere-src-5.15.0
apt build-dep .
apt -a armhf build-dep .
.deb metapackages that depends on
the build dependencies:
apt install devscripts mk-build-deps --host-arch amd64 debian-cross/control mk-build-deps --host-arch armhf debian-cross/control apt -f install qt-everywhere-cross-build-deps_5.15.0-1_amd64.deb qt-everywhere-cross-cross-build-deps_5.15.0-1_armhf.deb
amd64 packages, and one
of armhf packages.
Building the cross-build environment
After installing the build dependencies, you can build like this:
cd qt-everywhere-src-5.15.0
fakeroot debian/rules binary
debian/rules you can configure NUMJOBS with the number of available
CPUs in the machine, to have parallel builds.
This will build a package with the cross-build development environment for
amd64, called qtbase5custom-armhf-dev
Building the runtime environment
To generate the runtime package for armhf, one needs to have the cross-build
package (qtbase5custom-armhf-dev) installed in the system together with its
build dependencies.
At that point, the armhf runtime package can be built using the
debian-armhf directory without further sources:
apt install crossbuild-essential-armhf debhelper qtbase5custom-armhf-dev*_amd64.deb qt-everywhere-src-cross-build-deps*_armhf.deb
mkdir runtime
cp -a debian-armhf runtime/debian
cd runtime
dpkg-buildpackage -a armhf
libqt5custom package for armhf, installable on the target devices,
containing the runtime Qt libraries and depending on the packages that they
need to run;libqt5custom-dbgym package for armhf with debugging symbols, to use for
debugging on the target hardware.--no-strip was removed, the
libqtcustom-dbgsym package with debugging symbols will not be generated.
Using the cross-build environment
These install their content in /opt, and are coninstallable with the version
of Qt distributed in Debian, and with the custom Qt packages for amd64.
One needs to be careful not to create programs that link, either directly or
indirectly, with more than one of these coinstalled Qt, because the in memory
layout of objects could be different and incompatible, causing unexpected
results.
Selecting which Qt version to use: qtchooser
These Qt custom packages integrate with qtchooser to select the version of Qt
to use at compile time.
qtchooser --list-versions lists available versions. One can choose what to
use by exporting QT_SELECT:
# apt install qtchooser qt5-qmake qt5-default $ qtchooser --list-versions 4 5 qt4-x86_64-linux-gnu qt4 qt5-x86_64-linux-gnu qt5 qt5custom-x86_64-linux-gnu qt5custom qt5custom-armhf-x86_64-linux-gnu qt5custom-armhf $ qmake --version QMake version 3.1 Using Qt version 5.11.3 in /usr/lib/x86_64-linux-gnu $ export QT_SELECT=qt5custom-armhf $ qmake --version QMake version 3.1 Using Qt version 5.15.0 in /opt/qt5custom-armhf/lib
QT_SELECT=qt5custom-armhf in the environment, then
proceed to build normally:
export QT_SELECT=qt5custom-armhf fakeroot ./debian/rules clean binary
export QT_SELECT=qt5custom-armhf qmake file.pro
armhf
device.
The DebConf team has had to take the hard decision that DebConf 20
cannot happen in-person, in Haifa, in August, as originally planned.
This decision is based on the status of the venue in Haifa, the local
team's view of the local health situation, the existing travel
restrictions and the results of a survey of potential participants.
DebConf 20 will be held online instead!
The Debian community can still get together to share ideas, discuss plans in Birds of
a Feather sessions, and eat cheese, from the safety of the desks at home.
So, please submit your talk, sprint, and BoF proposals for DebConf 20 Online.
It will be held within the same dates, as before, 23-29 August.
The DebConf team expects the event to be significantly shorter than a usual DebCamp +
DebConf, but that will depend on the volume of proposals received.
Hopefully in 2021 we can once again hold conferences in person.
DebConf 21 is scheduled to be taking place in Haifa.
The following planned DebConfs will be held a year later
than originally scheduled: 2022 in Kosovo and 2023 in Kochi, India.
See you online in August!
Two women sit in an office, one asks: "What's the difference between being
assertive and being aggressive?" The other replies: "Your gender." (Cartoon by
Judy Horacek, 1999.)
When a person of a marginalized group (read: a person with less privilege, a person with lower rank)
is being framed and blamed as being aggressive, she is being told that her
behavior is unacceptable. Marginalized people have learnt that they need to
comply to fit, and are likely to suppress their feelings. By being framed as aggressive, the marginalized
person is also being told that what they are saying cannot be listened to
because the way they are saying it does not comply with
expectations. There is a word for this: tone policing. This great comic by Robot Hugs has all the important
details. Tone policing is a silencing tactic in which privileged
participants of a discussion one-sidedly define the terms of the
conversation. This tactic has the interesting side effect of shifting the
responsibility to prove that one is not aggressive, hostile,
explosive, a minefield, etc. to the person being framed and blamed - proving
that one is worthy to be listened to. (Some of those words are actual quotes
taken from real life.)
Years ago, I worked in a company in which my female developer colleague would
put herself in a state of overly expressed sorriness, all the while pretending
to be stupid and helpless whenever she needed to ask anything from the
sysadmins. When I confronted her with that, she replied: "I do it because it
works." In the same company, another woman who generally asked assertively for
what she needed ended up being insulted by one of the project managers using
the word "dominatrix". While the example comes from my own experience, this kind
of thing happens across any oppression/privilege boundaries.
In some conversations, be they verbal or written, frustration and anger of one
person are sometimes being mistaken by the communication partner for
aggressiveness. Why is this happening? Asking a person with privilege to see,
question, or change their behavior, questions their privilege. I'm thinking
that it might be that most people think of themselves as "being good" and
when they are being asked to question themselves or their behavior, their
self-image is being challenged. "Me? But I did not do anything wrong! It's
certainly not my fault if you are being oppressed! I sacrificed myself to reach my
current position in life!" This comic by Toby Morris, "On a Plate", explains it quite nicely.
So are we stuck with seeing conversations derail? I'd argue instead that while anger and
frustration are unpleasant feelings, they're important: they show us
that our boundaries have been crossed, that we want something to change, to
stop, or that we need something different right now. We have the right to be
angry and to demand change.
I am recovering some tapes from back in the day that some of you may enjoy. Here is a log of the process so that maybe you can recover some of your own DV tapes. Seems to work well in modern Debian.
To attach to the camcorder, I used a PCI-e card that has an old firewire port and some ASIC on board. The PCI card came up and loaded the correct kernel drivers.
Here is a search link so that you can buy a similar card.
cjac@server0:~$ sudo lspci grep 1394.deb packages of the custom builds of Qt5, so they can be integrated
with the existing provisioning infrastructure.ui files at runtime.deb format,
so they can be integrated with the existing provisioning infrastructure..deb packages are for internal use only and do not
need to be compliant with Debian policy.
I estimate a difficulty level of: "Bring the One Ring to Mount Doom and
remember to get milk on the way back".
The journey begins.
The resulting packaging is at https://github.com/Truelite/qt5custom.
qtchooser configuration files to allow developers to easily
switch between Debian's standard Qt version or the custom version, at will.
The resulting packaging is at https://github.com/Truelite/qt5custom.
Set up sources
Open the source tarball, and add the amd64 packaging:
tar axf qt-everywhere-src-5.15.0.tar.xz cp -a debian-amd64 qt-everywhere-src-5.15.0/debian
cp qt-license.txt ~/.qt-license
apt build-dep to install dependencies manually:
cd qt-everywhere-src-5.15.0
apt build-dep .
.deb metapackage that depends on
the build dependencies:
apt install devscripts mk-build-deps debian-amd64/control apt -f install qt-everywhere-src-build-deps_5.15.0-1_amd64.deb
debian/rules base on the excellent work done by
Debian Qt5 maintainers
After installing the build dependencies, you can build like this:
cd qt-everywhere-src-5.15.0
fakeroot debian/rules binary
debian/rules you can configure NUMJOBS with the number of available
CPUs in the machine, to have parallel builds.
Build output
Building sources generates 4 packages:
libqt5custom: the runtime environmentlibqt5custom-dbgsym: debugging symbols for the runtime environmentqtbase5custom-dev: the build environmentqtbase5custom-dev-dbgsym: debugging symbols for the build environmentqtbase5custom-dev and libqt5custom are needed for development; only
libqt5custom is needed to run build programs.
Using custom Qt for amd64
These Qt custom packages install their content in /opt, and are
coninstallable with the version of Qt distributed in Debian.
One needs to be careful not to create programs that link, either directly or
indirectly, with both the Debian Qt and the custom Qt, because the in memory
layout of objects could be different and incompatible, causing unexpected
results.
Selecting which Qt version to use: qtchooser
These Qt custom packages integrate with qtchooser to select the version of Qt
to use at compile time.
qtchooser --list-versions lists available versions. One can choose what to
use by exporting QT_SELECT:
# apt install qtchooser qt5-qmake qt5-default $ qtchooser --list-versions 4 5 qt4-x86_64-linux-gnu qt4 qt5-x86_64-linux-gnu qt5 qt5custom-x86_64-linux-gnu qt5custom $ qmake --version QMake version 3.1 Using Qt version 5.11.3 in /usr/lib/x86_64-linux-gnu $ export QT_SELECT=qt5custom $ qmake --version QMake version 3.1 Using Qt version 5.15.0 in /opt/qt5custom/lib
QT_SELECT=qt5custom in the environment, then proceed
to build normally:
export QT_SELECT=qt5custom fakeroot ./debian/rules clean binary
export QT_SELECT=qt5custom qmake file.pro
Next.