Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Unable to build for Ubuntu PPA

<< < (2/3) > >>

Xaviou:
Hi.


--- Quote from: Xaviou on August 04, 2023, 01:54:20 pm ---I think I've found a fix : adding AC_CONFIG_MACRO_DIRS([m4]) after LT_INIT (configure.ac line 27) seems to do the job.

--- End quote ---

This fix works : I have succeeded  in building Code::Blocks for Ubuntu 22.04 and 23.04 (the build for 22.10 has been rejected saying that it was an obsolete version that won't accept new updated  :o ).
I' post a diff ASAP : I also have to modify the "setup_control.sh" file as ubuntu's wxWidgets dependencies for a version are not the same that the debian version it was created from.

I have another question regarding building with ppa : I saw in the "official" ppa ( https://launchpad.net/~codeblocks-devs ) that it was possible to launch builds for both i386 and amd64.
My ppa has i386 enabled, but as I create the source package on a 64bits VM of Ubuntu, it only launch amd64 builds.

I tried to modify manually the buildinfo file before signing the changes, replacing "Build-Architecture: amd64" by "Build-Architecture: i386 amd64", and updating the checksums in the ".changes" file.
Then I launched the "signing and uploading" process witch succeeded.

But I didn't received any acceptance or rejection mail as usual so I think the source package wasn't accepted.

Does anyone know how to specify both i386 and amd64 when creating the source package ?
I have also tested with "debuild -ai386" but it didn't worked : the sousrce package was created for amd64.

Regards
Xav'

sodev:
Ubuntu 22.10 is a non-LTS release and its support ended last month, probably because of that new packages aren't accepted.

Recent Ubuntu versions (20.04 or later? i can't remember) dropped the 32 bit subsystem completely, you can't do 32 bit builds for these releases.

Xaviou:
Hi

--- Quote from: sodev on August 07, 2023, 05:09:04 pm ---Ubuntu 22.10 is a non-LTS release and its support ended last month, probably because of that new packages aren't accepted.

--- End quote ---
You're definitely right.


--- Quote from: sodev on August 07, 2023, 05:09:04 pm ---Recent Ubuntu versions (20.04 or later? i can't remember) dropped the 32 bit subsystem completely, you can't do 32 bit builds for these releases.

--- End quote ---
It seems a bit older than that : having a look in alternatives mirrors for download shows that the last available 32bits version is 16.04.

So this problem seems to be solved...

Thank you
Regards
Xav'

Xaviou:
Hi.
Here are 2 patchs:

* diff1.patch if another update of the "setup_control.sh" script, using "lsb_release" to obtain codename instead of a simple "cat /etc/debian_version"
* diff2.patch is an addition to allow automatic building for ppa
Regards
Xav'

Miguel Gimenez:
Patchs applied in r13331 and r13332, thank you.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version