Summary: | ASTERISK-18137: Configurations saved in ~/.asterisk.makeopts ignored | ||||
Reporter: | feyfre (feyfre) | Labels: | |||
Date Opened: | 2011-07-14 08:10:55 | Date Closed: | 2015-03-29 20:40:30 | ||
Priority: | Major | Regression? | |||
Status: | Closed/Complete | Components: | Core/BuildSystem | ||
Versions: | 1.8.5.0 | Frequency of Occurrence | |||
Related Issues: |
| ||||
Environment: | Slackware Linux(I thing it does not matter which distribution it is) | Attachments: | ( 0) .asterisk.makeopts | ||
Description: | 0. Configure asterisk with `make menuselect` once then menuselect.makeopts placed into ~/.asterisk.makeopts (as written in UPGRADE-1.4 and seen in Makefile). Among other options in configuration I have turned of installation of all sounds, and also turned off build of all utilities. 1. Unpacked fresh tarbal. Removed all sound packages from sounds directory 2. Run `configure` -success 3. Run `make all` and here is bug: 1) astcanary built unconditionally(I have unchecked all utilities!) 4. Run `make install` 2) build system tries to download sound packages(since there is no active internet connection, it fails) I made conclusion: Makefile absolutely ignores options in ~/.asterisk.makeopts related with categories Utilities and Sounds Attaching sample .astersik.makeopts file | ||||
Comments: | By: feyfre (feyfre) 2011-07-14 10:28:10.959-0500 also modules in addons directory built without taking into account ~/.asterisk.makeopts By: Leif Madsen (lmadsen) 2011-09-08 13:07:01.071-0500 Ya I can reproduce this. Another problem is that when you do 'make menuselect' it doesn't seem to be passing over the arguments as I would expect. I can make it do most of what it should with: menuselect/cmenuselect ~/.asterisk.makeopts But then I run into the same problems the reporters describe here. By: Luke H (luckman212) 2011-09-27 23:25:44.255-0500 Ah ha I thought I was crazy, I am seeing the same with Asterisk 1.8.7.0 -- I was asking on #asterisk-dev but nobody was sure. So, it seems this is a bug. By: puzzled (puzzled) 2011-10-19 05:43:13.848-0500 I can confirm that when using .asterisk.makeopts or menuselect.makeopts the settings in either file do not get honoured. They get overwritten by whatever the buildsystem does by default. This is with 1.8.8.0-rc1 By: puzzled (puzzled) 2011-10-19 06:08:12.938-0500 If I do ./configure then make menuselect followed by make then all the options that I selected are honoured. So that part seems to work. By: Corey Farrell (coreyfarrell) 2015-03-29 13:54:45.660-0500 I've posted a patch that resolves this issue on ASTERISK-13271. Since that ticket is older maybe this should be closed as duplicate? By: Matt Jordan (mjordan) 2015-03-29 20:40:23.129-0500 Works for me. |